MigrationSummary
¶
Source code in docs_src/capo_s3tables/types/migration_summary.py
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.
state
instance-attribute
¶
state: MigrationState
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 withUpdateTableMigration. -
queued- The migration is waiting to start migrating data. -
migrating- The migration is running the plan from theplanningstate: it copies data and commits it to the destination table. A migration reaches this state only ifhasValidPlanistrue. -
succeeded- Every planned object migrated. -
failed- The migration failed. CheckfailureReasonfor 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
¶
type: MigrationType
The type of the migration. Valid values:
-
start- A migration thatStartTableMigrationstarted. -
sync- A migration thatSyncTableMigrationstarted.