update_data_table_attribute
¶
update_data_table_attribute(
instance_id: InstanceId,
data_table_id: DataTableId,
attribute_name: DataTableName,
name: DataTableName,
value_type: DataTableAttributeValueType,
*,
config_overrides: Optional[ConnectClientConfig] = None,
description: Optional[DataTableDescription] = None,
primary: Optional[Boolean] = None,
validation: Optional[Validation] = None,
) -> UpdateDataTableAttributeResponse
Updates 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.
Parameters:
-
instance_id(InstanceId) –The unique identifier for the Amazon Connect instance.
-
data_table_id(DataTableId) –The unique identifier for the data table. Must also accept the table ARN with or without a version alias.
-
attribute_name(DataTableName) –The current name of the attribute to update. Used as an identifier since attribute names can be changed.
-
name(DataTableName) –The new name for the attribute. Must conform to Connect human readable string specification and be unique within the data table.
-
value_type(DataTableAttributeValueType) –The updated value type for the attribute. When changing value types, existing values are not deleted but may return default values if incompatible.
-
description(Optional[DataTableDescription], default:None) –The updated description for the attribute.
-
primary(Optional[Boolean], default:None) –Whether the attribute should be treated as a primary key. Converting to primary attribute requires existing values to maintain uniqueness.
-
validation(Optional[Validation], default:None) –The updated validation rules for the attribute. Changes do not affect existing values until they are modified.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–Operation cannot be performed at this time as there is a conflict with another operation or contact state.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
26140 26141 26142 26143 26144 26145 26146 26147 26148 26149 26150 26151 26152 26153 26154 26155 26156 26157 26158 26159 26160 26161 26162 26163 26164 26165 26166 26167 26168 26169 26170 26171 26172 26173 26174 26175 26176 26177 26178 26179 26180 26181 26182 26183 26184 26185 26186 26187 26188 26189 26190 26191 26192 26193 26194 26195 26196 26197 26198 26199 26200 26201 26202 26203 26204 26205 26206 26207 26208 26209 26210 26211 26212 26213 26214 26215 26216 26217 | |