Skip to content

SyncTableMigrationRequest

Source code in docs_src/capo_s3tables/types/sync_table_migration_request.py
class SyncTableMigrationRequest(TypedDict, closed=True):
    role_arn: "capo_s3tables.types.role_arn.RoleArn"
    """<p>The Amazon Resource Name (ARN) of the IAM role that the sync uses to read the source table and its data and to write the destination table and the reports. The role must be in your account, and its trust policy must allow <code>migration.s3tables.amazonaws.com</code> to assume it. You can limit the trust policy to the destination table bucket with the <code>aws:SourceArn</code> and <code>aws:SourceAccount</code> condition keys.</p>"""
    table_arn: "capo_s3tables.types.table_arn.TableARN"
    """<p>The Amazon Resource Name (ARN) of the destination table to sync. The table must have a migration, and you must not have called <code>CompleteTableMigration</code> for it.</p>"""
    review_migration_plan: NotRequired["bool"]
    """<p>Specifies whether the sync waits in the <code>pendingReview</code> state, so that you can review the compatibility reports before it migrates any data. Valid values:</p> <ul> <li> <p> <code>true</code> - The sync waits in <code>pendingReview</code> until you call <code>UpdateTableMigration</code> with <code>requestedState</code> set to <code>queued</code>. If you don't continue or cancel the sync within 30 days, the sync fails with <code>internalError</code>.</p> </li> <li> <p> <code>false</code> - The sync continues without waiting for review. This is the default.</p> </li> </ul>"""
    migration_output: "capo_s3tables.types.migration_output_configuration.MigrationOutputConfiguration"
    """<p>The bucket and prefixes that the sync writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.</p>"""

migration_output instance-attribute

migration_output: MigrationOutputConfiguration

The bucket and prefixes that the sync writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.

review_migration_plan instance-attribute

review_migration_plan: NotRequired[bool]

Specifies whether the sync waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data. Valid values:

  • true - The sync waits in pendingReview until you call UpdateTableMigration with requestedState set to queued. If you don't continue or cancel the sync within 30 days, the sync fails with internalError.

  • false - The sync continues without waiting for review. This is the default.

role_arn instance-attribute

role_arn: RoleArn

The Amazon Resource Name (ARN) of the IAM role that the sync uses to read the source table and its data and to write the destination table and the reports. The role must be in your account, and its trust policy must allow migration.s3tables.amazonaws.com to assume it. You can limit the trust policy to the destination table bucket with the aws:SourceArn and aws:SourceAccount condition keys.

table_arn instance-attribute

table_arn: TableARN

The Amazon Resource Name (ARN) of the destination table to sync. The table must have a migration, and you must not have called CompleteTableMigration for it.