:doc:`S3Tables <../../s3tables>` / Client / get_table

*********
get_table
*********



.. py:method:: S3Tables.Client.get_table(**kwargs)

  

  Gets details about a table. For more information, see `S3 Tables <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-tables.html>`__ in the *Amazon Simple Storage Service User Guide*.

    Permissions  

  You must have the ``s3tables:GetTable`` permission to use this operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTable>`_  


  **Request Syntax**
  ::

    response = client.get_table(
        tableBucketARN='string',
        namespace='string',
        name='string',
        tableArn='string'
    )
    
  :type tableBucketARN: string
  :param tableBucketARN: 

    The Amazon Resource Name (ARN) of the table bucket associated with the table.

    

  
  :type namespace: string
  :param namespace: 

    The name of the namespace the table is associated with.

    

  
  :type name: string
  :param name: 

    The name of the table.

    

  
  :type tableArn: string
  :param tableArn: 

    The Amazon Resource Name (ARN) of the table.

    

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

    
    ::

      {
          'name': 'string',
          'type': 'customer'|'aws',
          'tableARN': 'string',
          'namespace': [
              'string',
          ],
          'namespaceId': 'string',
          'versionToken': 'string',
          'metadataLocation': 'string',
          'warehouseLocation': 'string',
          'createdAt': datetime(2015, 1, 1),
          'createdBy': 'string',
          'managedByService': 'string',
          'modifiedAt': datetime(2015, 1, 1),
          'modifiedBy': 'string',
          'ownerAccountId': 'string',
          'format': 'ICEBERG',
          'tableBucketId': 'string',
          'managedTableInformation': {
              'replicationInformation': {
                  'sourceTableARN': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **name** *(string) --* 

        The name of the table.

        
      

      - **type** *(string) --* 

        The type of the table.

        
      

      - **tableARN** *(string) --* 

        The Amazon Resource Name (ARN) of the table.

        
      

      - **namespace** *(list) --* 

        The namespace associated with the table.

        
        

        - *(string) --* 
    
      

      - **namespaceId** *(string) --* 

        The unique identifier of the namespace containing this table.

        
      

      - **versionToken** *(string) --* 

        The version token of the table.

        
      

      - **metadataLocation** *(string) --* 

        The metadata location of the table.

        
      

      - **warehouseLocation** *(string) --* 

        The warehouse location of the table.

        
      

      - **createdAt** *(datetime) --* 

        The date and time the table bucket was created at.

        
      

      - **createdBy** *(string) --* 

        The ID of the account that created the table.

        
      

      - **managedByService** *(string) --* 

        The service that manages the table.

        
      

      - **modifiedAt** *(datetime) --* 

        The date and time the table was last modified on.

        
      

      - **modifiedBy** *(string) --* 

        The ID of the account that last modified the table.

        
      

      - **ownerAccountId** *(string) --* 

        The ID of the account that owns the table.

        
      

      - **format** *(string) --* 

        The format of the table.

        
      

      - **tableBucketId** *(string) --* 

        The unique identifier of the table bucket containing this table.

        
      

      - **managedTableInformation** *(dict) --* 

        If this table is managed by S3 Tables, contains additional information such as replication details.

        
        

        - **replicationInformation** *(dict) --* 

          If this table is a replica, contains information about the source table from which it is replicated.

          
          

          - **sourceTableARN** *(string) --* 

            The Amazon Resource Name (ARN) of the source table from which this table is replicated.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`S3Tables.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`S3Tables.Client.exceptions.ForbiddenException`

  
  *   :py:class:`S3Tables.Client.exceptions.NotFoundException`

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

  
  *   :py:class:`S3Tables.Client.exceptions.TooManyRequestsException`

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

  
  *   :py:class:`S3Tables.Client.exceptions.BadRequestException`

  