:doc:`Connect <../../connect>` / Client / delete_data_table_attribute

***************************
delete_data_table_attribute
***************************



.. py:method:: Connect.Client.delete_data_table_attribute(**kwargs)

  

  Deletes an attribute and all its values from a data table.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteDataTableAttribute>`_  


  **Request Syntax**
  ::

    response = client.delete_data_table_attribute(
        InstanceId='string',
        DataTableId='string',
        AttributeName='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The unique identifier for the Amazon Connect instance.

    

  
  :type DataTableId: string
  :param DataTableId: **[REQUIRED]** 

    The unique identifier for the data table.

    

  
  :type AttributeName: string
  :param AttributeName: **[REQUIRED]** 

    The name of the attribute to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'LockVersion': {
              'DataTable': 'string',
              'Attribute': 'string',
              'PrimaryValues': 'string',
              'Value': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LockVersion** *(dict) --* 

        The updated lock version of the data table.

        
        

        - **DataTable** *(string) --* 

          The lock version for the data table itself. Used for optimistic locking and table versioning. Changes with each update to the table's metadata or structure.

          
        

        - **Attribute** *(string) --* 

          The lock version for a specific attribute. When the ValueLockLevel is ATTRIBUTE, this version changes when any value for the attribute changes. For other lock levels, it only changes when the attribute's properties are directly updated.

          
        

        - **PrimaryValues** *(string) --* 

          The lock version for a specific set of primary values (record). This includes the default record even if the table does not have any primary attributes. Used for record-level locking.

          
        

        - **Value** *(string) --* 

          The lock version for a specific value. Changes each time the individual value is modified. Used for the finest-grained locking control.

          
    
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.ConflictException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  