v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1447264222.7 KB

For a specific governed table, provides a list of Amazon S3 objects that will be written during the current transaction and that can be automatically deleted if the transaction is canceled. Without this call, no Amazon S3 objects are automatically deleted when a transaction cancels.

The Glue ETL library function write_dynamic_frame.from_catalog() includes an option to automatically call DeleteObjectsOnCancel before writes. For more information, see Rolling Back Amazon S3 Writes.

post/DeleteObjectsOnCancel

Request body

CatalogIdstring

The Glue data catalog that contains the governed table. Defaults to the current account ID.

DatabaseNamestring required

The database that contains the governed table.

TableNamestring required

The name of the governed table.

TransactionIdstring required

ID of the transaction that the writes occur in.

Response

Success

DeleteObjectsOnCancelResponse required