Skip to content

MigrationSummary

Source code in docs_src/capo_s3tables/types/migration_summary.py
class MigrationSummary(TypedDict, closed=True):
    migration_id: "capo_s3tables.types.migration_id.MigrationId"
    """<p>The ID of the migration.</p>"""
    table_bucket_arn: "capo_s3tables.types.table_bucket_arn.TableBucketARN"
    """<p>The Amazon Resource Name (ARN) of the table bucket that contains the destination table.</p>"""
    namespace: "capo_s3tables.types.namespace_name.NamespaceName"
    """<p>The namespace of the destination table.</p>"""
    table_arn: NotRequired["capo_s3tables.types.table_arn.TableARN"]
    """<p>The Amazon Resource Name (ARN) of the destination table, once the migration creates it.</p>"""
    name: "capo_s3tables.types.table_name.TableName"
    """<p>The name of the destination table.</p>"""
    type: "capo_s3tables.types.migration_type.MigrationType"
    """<p>The type of the migration. Valid values:</p> <ul> <li> <p> <code>start</code> - A migration that <code>StartTableMigration</code> started.</p> </li> <li> <p> <code>sync</code> - A migration that <code>SyncTableMigration</code> started.</p> </li> </ul>"""
    state: "capo_s3tables.types.migration_state.MigrationState"
    """<p>The state of the migration. Valid values:</p> <ul> <li> <p> <code>new</code> - S3 Tables accepted the request.</p> </li> <li> <p> <code>planning</code> - The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports.</p> </li> <li> <p> <code>pendingReview</code> - Planning finished, and the migration waits for you to continue or cancel it with <code>UpdateTableMigration</code>.</p> </li> <li> <p> <code>queued</code> - The migration is waiting to start migrating data.</p> </li> <li> <p> <code>migrating</code> - The migration is running the plan from the <code>planning</code> state: it copies data and commits it to the destination table. A migration reaches this state only if <code>hasValidPlan</code> is <code>true</code>.</p> </li> <li> <p> <code>succeeded</code> - Every planned object migrated.</p> </li> <li> <p> <code>failed</code> - The migration failed. Check <code>failureReason</code> for the cause.</p> </li> <li> <p> <code>cancelling</code> - You cancelled the migration, and it is finishing the work in progress.</p> </li> <li> <p> <code>cancelled</code> - The migration is cancelled.</p> </li> </ul>"""
    has_valid_plan: NotRequired["bool"]
    """<p>A Boolean value that specifies whether planning produced a plan that the migration can run. If planning hasn't finished, this value isn't returned.</p>"""
    created_at: "datetime.datetime"
    """<p>The date and time that the migration was created.</p>"""
    state_updated_at: "datetime.datetime"
    """<p>The date and time that the migration's state last changed.</p>"""

created_at instance-attribute

created_at: datetime

The date and time that the migration was created.

has_valid_plan instance-attribute

has_valid_plan: NotRequired[bool]

A Boolean value that specifies whether planning produced a plan that the migration can run. If planning hasn't finished, this value isn't returned.

migration_id instance-attribute

migration_id: MigrationId

The ID of the migration.

name instance-attribute

name: TableName

The name of the destination table.

namespace instance-attribute

namespace: NamespaceName

The namespace of the destination table.

state instance-attribute

The state of the migration. Valid values:

  • new - S3 Tables accepted the request.

  • planning - The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports.

  • pendingReview - Planning finished, and the migration waits for you to continue or cancel it with UpdateTableMigration.

  • queued - The migration is waiting to start migrating data.

  • migrating - The migration is running the plan from the planning state: it copies data and commits it to the destination table. A migration reaches this state only if hasValidPlan is true.

  • succeeded - Every planned object migrated.

  • failed - The migration failed. Check failureReason for the cause.

  • cancelling - You cancelled the migration, and it is finishing the work in progress.

  • cancelled - The migration is cancelled.

state_updated_at instance-attribute

state_updated_at: datetime

The date and time that the migration's state last changed.

table_arn instance-attribute

table_arn: NotRequired[TableARN]

The Amazon Resource Name (ARN) of the destination table, once the migration creates it.

table_bucket_arn instance-attribute

table_bucket_arn: TableBucketARN

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

type instance-attribute

The type of the migration. Valid values:

  • start - A migration that StartTableMigration started.

  • sync - A migration that SyncTableMigration started.