CreateDataTableAttributeRequest
¶
Source code in docs_src/capo_connect/types/create_data_table_attribute_request.py
data_table_id
instance-attribute
¶
data_table_id: DataTableId
The unique identifier for the data table. Must also accept the table ARN with or without a version alias. If the version is provided as part of the identifier or ARN, the version must be one of the two available system managed aliases, $SAVED or $LATEST.
description
instance-attribute
¶
description: NotRequired[DataTableDescription]
An optional description for the attribute. Must conform to Connect human readable string specification and have 0-250 characters. Whitespace trimmed before persisting.
instance_id
instance-attribute
¶
instance_id: InstanceId
The unique identifier for the Amazon Connect instance.
name
instance-attribute
¶
name: DataTableName
The name for the attribute. Must conform to Connect human readable string specification and have 1-127 characters. Must not start with the reserved case insensitive values 'connect:' and 'aws:'. Whitespace trimmed before persisting. Must be unique for the data table using case-insensitive comparison.
primary
instance-attribute
¶
primary: Boolean
Optional boolean that defaults to false. Determines if the value is used to identify a record in the table. Values for primary attributes must not be expressions.
validation
instance-attribute
¶
validation: NotRequired[Validation]
Optional validation rules for the attribute. Borrows heavily from JSON Schema - Draft 2020-12. The maximum length of arrays within validations and depth of validations is 5. There are default limits that apply to all types. Customer specified limits in excess of the default limits are not permitted.
value_type
instance-attribute
¶
value_type: DataTableAttributeValueType
The type of value allowed or the resultant type after the value's expression is evaluated. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, and BOOLEAN.