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

****************************
get_table_replication_status
****************************



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

  

  Retrieves the replication status for a table, including the status of replication to each destination. This operation provides visibility into replication health and progress.

    Permissions  

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

  

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


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the table.

    

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

    
    ::

      {
          'sourceTableArn': 'string',
          'destinations': [
              {
                  'replicationStatus': 'pending'|'completed'|'failed',
                  'destinationTableBucketArn': 'string',
                  'destinationTableArn': 'string',
                  'lastSuccessfulReplicatedUpdate': {
                      'metadataLocation': 'string',
                      'timestamp': datetime(2015, 1, 1)
                  },
                  'failureMessage': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **sourceTableArn** *(string) --* 

        The Amazon Resource Name (ARN) of the source table being replicated.

        
      

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

        An array of status information for each replication destination, including the current state, last successful update, and any error messages.

        
        

        - *(dict) --* 

          Contains status information for a replication destination, including the current replication state, last successful update, and any error messages.

          
          

          - **replicationStatus** *(string) --* 

            The current status of replication to this destination.

            
          

          - **destinationTableBucketArn** *(string) --* 

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

            
          

          - **destinationTableArn** *(string) --* 

            The Amazon Resource Name (ARN) of the destination table.

            
          

          - **lastSuccessfulReplicatedUpdate** *(dict) --* 

            Information about the most recent successful replication update to this destination.

            
            

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

              The S3 location of the metadata that was successfully replicated.

              
            

            - **timestamp** *(datetime) --* 

              The timestamp when the replication update completed successfully.

              
        
          

          - **failureMessage** *(string) --* 

            If replication has failed, this field contains an error message describing the failure reason.

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

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

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

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

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

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

  