update_data_table_attribute
async
¶
update_data_table_attribute(
instance_id: InstanceId,
data_table_id: DataTableId,
attribute_name: DataTableName,
name: DataTableName,
value_type: DataTableAttributeValueType,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
26738 26739 26740 26741 26742 26743 26744 26745 26746 26747 26748 26749 26750 26751 26752 26753 26754 26755 26756 26757 26758 26759 26760 26761 26762 26763 26764 26765 26766 26767 26768 26769 26770 26771 26772 26773 26774 26775 26776 26777 26778 26779 26780 26781 26782 26783 26784 26785 26786 26787 26788 26789 26790 26791 26792 26793 26794 26795 26796 26797 26798 26799 26800 26801 26802 26803 26804 26805 26806 26807 26808 26809 26810 26811 26812 26813 26814 26815 26816 | |