Cancel Operations Reference
Cancellable Operations
| Running command | Cancel command | Wait for cancellation |
|---|---|---|
start-metadata-model-conversion |
cancel-metadata-model-conversion |
aws dms wait metadata-model-conversion-cancelled |
start-metadata-model-creation |
cancel-metadata-model-creation |
aws dms wait metadata-model-creation-cancelled |
cancel-metadata-model-conversion
aws dms cancel-metadata-model-conversion \
--migration-project-identifier <project_arn>After cancelling, wait for completion:
aws dms wait metadata-model-conversion-cancelled \
--migration-project-identifier <project_arn>cancel-metadata-model-creation
aws dms cancel-metadata-model-creation \
--migration-project-identifier <project_arn>After cancelling, wait for completion:
aws dms wait metadata-model-creation-cancelled \
--migration-project-identifier <project_arn>All other operations (import, assessment, export) are non-cancellable — inform the customer they must wait for completion.
When Customer Requests Cancel
- Identify which async operation is currently running
- Check if it is cancellable (see table above)
- If cancellable: warn the customer that all progress will be lost and the operation will need to be restarted from scratch. If they confirm, run the cancel command
- Wait for the cancellation to complete using the corresponding waiter
- If not cancellable: inform the customer the operation cannot be cancelled and must complete
- Return to the actions menu