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
26493 26494 26495 26496 26497 26498 26499 26500 26501 26502 26503 26504 26505 26506 26507 26508 26509 26510 26511 26512 26513 26514 26515 26516 26517 26518 26519 26520 26521 26522 26523 26524 26525 26526 26527 26528 26529 26530 26531 26532 26533 26534 26535 26536 26537 26538 26539 26540 26541 26542 26543 26544 26545 26546 26547 26548 26549 26550 26551 26552 26553 26554 26555 26556 26557 26558 26559 26560 26561 26562 26563 26564 26565 26566 26567 26568 26569 26570 26571 | |