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

****************
list_data_tables
****************



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

  

  Lists all data tables for the specified Amazon Connect instance. Returns summary information for each table including basic metadata and modification details.

  

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


  **Request Syntax**
  ::

    response = client.list_data_tables(
        InstanceId='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The unique identifier for the Amazon Connect instance whose data tables should be listed.

    

  
  :type NextToken: string
  :param NextToken: 

    Specify the pagination token from a previous request to retrieve the next page of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of data tables to return in one page of results.

    

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

    
    ::

      {
          'NextToken': 'string',
          'DataTableSummaryList': [
              {
                  'Name': 'string',
                  'Id': 'string',
                  'Arn': 'string',
                  'LastModifiedTime': datetime(2015, 1, 1),
                  'LastModifiedRegion': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextToken** *(string) --* 

        Specify the pagination token from a previous request to retrieve the next page of results.

        
      

      - **DataTableSummaryList** *(list) --* 

        A list of data table summaries containing basic information about each table including ID, ARN, name, and modification details.

        
        

        - *(dict) --* 

          A data table summary.

          
          

          - **Name** *(string) --* 

            The summary's name.

            
          

          - **Id** *(string) --* 

            The summary's ID.

            
          

          - **Arn** *(string) --* 

            The summary's ARN.

            
          

          - **LastModifiedTime** *(datetime) --* 

            The summary's last modified time.

            
          

          - **LastModifiedRegion** *(string) --* 

            The summary's last modified region.

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

  
  *   :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`

  