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

*********************
get_table_replication
*********************



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

  

  Retrieves the replication configuration for a specific table.

    Permissions  

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

  

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


  **Request Syntax**
  ::

    response = client.get_table_replication(
        tableArn='string'
    )
    
  :type tableArn: string
  :param tableArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the table.

    

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

    
    ::

      {
          'versionToken': 'string',
          'configuration': {
              'role': 'string',
              'rules': [
                  {
                      'destinations': [
                          {
                              'destinationTableBucketARN': 'string'
                          },
                      ]
                  },
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        A version token that represents the current state of the table's replication configuration. Use this token when updating the configuration to ensure consistency.

        
      

      - **configuration** *(dict) --* 

        The replication configuration for the table, including the IAM role and replication rules.

        
        

        - **role** *(string) --* 

          The Amazon Resource Name (ARN) of the IAM role that S3 Tables assumes to replicate the table on your behalf.

          
        

        - **rules** *(list) --* 

          An array of replication rules that define where this table should be replicated.

          
          

          - *(dict) --* 

            Defines a rule for replicating a table to one or more destination tables.

            
            

            - **destinations** *(list) --* 

              An array of destination table buckets where this table should be replicated.

              
              

              - *(dict) --* 

                Specifies a destination table bucket for replication.

                
                

                - **destinationTableBucketARN** *(string) --* 

                  The Amazon Resource Name (ARN) of the destination table bucket where tables will be 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`

  