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
26383 26384 26385 26386 26387 26388 26389 26390 26391 26392 26393 26394 26395 26396 26397 26398 26399 26400 26401 26402 26403 26404 26405 26406 26407 26408 26409 26410 26411 26412 26413 26414 26415 26416 26417 26418 26419 26420 26421 26422 26423 26424 26425 26426 26427 26428 26429 26430 26431 26432 26433 26434 26435 26436 26437 26438 26439 26440 26441 26442 26443 26444 26445 26446 26447 26448 26449 26450 26451 26452 26453 26454 26455 26456 26457 26458 26459 26460 | |