Skip to content

UpdateDataTableAttributeRequest

Source code in docs_src/capo_connect/types/update_data_table_attribute_request.py
class UpdateDataTableAttributeRequest(TypedDict, closed=True):
    instance_id: "capo_connect.types.instance_id.InstanceId"
    """<p>The unique identifier for the Amazon Connect instance.</p>"""
    data_table_id: "capo_connect.types.data_table_id.DataTableId"
    """<p>The unique identifier for the data table. Must also accept the table ARN with or without a version alias.</p>"""
    attribute_name: "capo_connect.types.data_table_name.DataTableName"
    """<p>The current name of the attribute to update. Used as an identifier since attribute names can be changed.</p>"""
    name: "capo_connect.types.data_table_name.DataTableName"
    """<p>The new name for the attribute. Must conform to Connect human readable string specification and be unique within the data table.</p>"""
    value_type: (
        "capo_connect.types.data_table_attribute_value_type.DataTableAttributeValueType"
    )
    """<p>The updated value type for the attribute. When changing value types, existing values are not deleted but may return default values if incompatible.</p>"""
    description: NotRequired[
        "capo_connect.types.data_table_description.DataTableDescription"
    ]
    """<p>The updated description for the attribute.</p>"""
    primary: "capo_connect.types.boolean.Boolean"
    """<p>Whether the attribute should be treated as a primary key. Converting to primary attribute requires existing values to maintain uniqueness.</p>"""
    validation: NotRequired["capo_connect.types.validation.Validation"]
    """<p>The updated validation rules for the attribute. Changes do not affect existing values until they are modified.</p>"""

attribute_name instance-attribute

attribute_name: DataTableName

The current name of the attribute to update. Used as an identifier since attribute names can be changed.

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.

description instance-attribute

description: NotRequired[DataTableDescription]

The updated description for the attribute.

instance_id instance-attribute

instance_id: InstanceId

The unique identifier for the Amazon Connect instance.

name instance-attribute

The new name for the attribute. Must conform to Connect human readable string specification and be unique within the data table.

primary instance-attribute

primary: Boolean

Whether the attribute should be treated as a primary key. Converting to primary attribute requires existing values to maintain uniqueness.

validation instance-attribute

validation: NotRequired[Validation]

The updated validation rules for the attribute. Changes do not affect existing values until they are modified.

value_type instance-attribute

The updated value type for the attribute. When changing value types, existing values are not deleted but may return default values if incompatible.