Skip to content

StartTableMigrationRequest

Source code in docs_src/capo_s3tables/types/start_table_migration_request.py
class StartTableMigrationRequest(TypedDict, closed=True):
    role_arn: "capo_s3tables.types.role_arn.RoleArn"
    """<p>The Amazon Resource Name (ARN) of the IAM role that the migration 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>"""
    destination_table: "capo_s3tables.types.destination_table.DestinationTable"
    """<p>The table to create and migrate the source into.</p>"""
    source_type: "capo_s3tables.types.migration_source_type.MigrationSourceType"
    """<p>The type of the source. It must match the member that you set in <code>source</code>.</p>"""
    source: "capo_s3tables.types.source_configuration.SourceConfiguration"
    """<p>The source table to migrate.</p>"""
    data_migration: NotRequired[
        "capo_s3tables.types.data_migration_settings.DataMigrationSettings"
    ]
    """<p>The maintenance settings and migration policies for the destination table.</p>"""
    review_migration_plan: NotRequired["bool"]
    """<p>Specifies whether the migration 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 migration 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 migration within 30 days, the migration fails with <code>internalError</code>.</p> </li> <li> <p> <code>false</code> - The migration 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 migration 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>"""

data_migration instance-attribute

data_migration: NotRequired[DataMigrationSettings]

The maintenance settings and migration policies for the destination table.

destination_table instance-attribute

destination_table: DestinationTable

The table to create and migrate the source into.

migration_output instance-attribute

migration_output: MigrationOutputConfiguration

The bucket and prefixes that the migration 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 migration waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data. Valid values:

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

  • false - The migration 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 migration 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.

source instance-attribute

The source table to migrate.

source_type instance-attribute

source_type: MigrationSourceType

The type of the source. It must match the member that you set in source.