GetTableMigrationResponse
¶
Source code in docs_src/capo_s3tables/types/get_table_migration_response.py
created_at
instance-attribute
¶
created_at: datetime
The date and time that the migration was created.
data_migration
instance-attribute
¶
data_migration: DataMigrationOverview
The maintenance settings and migration policies for the destination table.
failure_reason
instance-attribute
¶
failure_reason: NotRequired[MigrationFailureReason]
The reason that the migration failed. The code names the cause, such as a migration role that S3 Tables can't assume or an Amazon Web Services Glue table that doesn't exist, or the report that lists the findings. This value is returned only when the migration is in the failed state.
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_output
instance-attribute
¶
migration_output: MigrationOutputOverview
The bucket and prefixes for the migration's reports, and the location of each report once it is written.
migration_stats
instance-attribute
¶
migration_stats: NotRequired[MigrationStats]
The number of objects that migrated, failed or are pending. These counts are set when planning finishes and updated when the migration ends.
planning_stats
instance-attribute
¶
planning_stats: NotRequired[PlanningStats]
Statistics about the source and the partitions in the migration. This value is returned after planning finishes.
review_migration_plan
instance-attribute
¶
review_migration_plan: bool
A Boolean value that specifies whether the migration waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data.
role_arn
instance-attribute
¶
role_arn: RoleArn
The Amazon Resource Name (ARN) of the IAM role that the migration uses.
source_type
instance-attribute
¶
source_type: MigrationSourceType
The type of the migration's source.
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.
A migration ends in the succeeded, failed or cancelled state. You can cancel it until it ends.
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.