Updates all properties for an attribute using all properties from CreateDataTableAttribute
Source:R/connect_operations.R
connect_update_data_table_attribute.RdUpdates all properties for an attribute using all properties from CreateDataTableAttribute. There are no other granular update endpoints. It does not act as a patch operation - all properties must be provided. System managed attributes are not mutable by customers. Changing an attribute's validation does not invalidate existing values since validation only runs when values are created or updated.
See https://www.paws-r-sdk.com/docs/connect_update_data_table_attribute/ for full documentation.
Usage
connect_update_data_table_attribute(
InstanceId,
DataTableId,
AttributeName,
Name,
ValueType,
Description = NULL,
Primary = NULL,
Validation = NULL
)Arguments
- InstanceId
[required] The unique identifier for the Amazon Connect instance.
- DataTableId
[required] The unique identifier for the data table. Must also accept the table ARN with or without a version alias.
- AttributeName
[required] The current name of the attribute to update. Used as an identifier since attribute names can be changed.
- Name
[required] The new name for the attribute. Must conform to Connect human readable string specification and be unique within the data table.
- ValueType
[required] The updated value type for the attribute. When changing value types, existing values are not deleted but may return default values if incompatible.
- Description
The updated description for the attribute.
- Primary
Whether the attribute should be treated as a primary key. Converting to primary attribute requires existing values to maintain uniqueness.
- Validation
The updated validation rules for the attribute. Changes do not affect existing values until they are modified.