Skip to main content

table_replication_status

Creates, updates, deletes, gets or lists a table_replication_status resource.

Overview

Nametable_replication_status
TypeResource
Idaws.s3tables.table_replication_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destinationsarrayAn array of status information for each replication destination, including the current state, last successful update, and any error messages.
source_table_arnstringThe Amazon Resource Name (ARN) of the source table being replicated. (pattern: <code>(arn:aws[-a-z0-9]:[a-z0-9]+:[-a-z0-9]:[0-9]{12}:bucket/[a-z0-9_-]{3,63}/table/[a-zA-Z0-9-_]{1,255})</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_table_replication_statusselecttableArn, regionRetrieves 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
tableArnstringThe Amazon Resource Name (ARN) of the table.

SELECT examples

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.

SELECT
destinations,
source_table_arn
FROM aws.s3tables.table_replication_status
WHERE tableArn = '{{ tableArn }}' -- required
AND region = '{{ region }}' -- required
;