/AWS1/CL_LKF=>DELETEOBJECTSONCANCEL()
¶
About DeleteObjectsOnCancel¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_DATABASENAME
TYPE /AWS1/LKFNAMESTRING
/AWS1/LKFNAMESTRING
¶
The database that contains the governed table.
IV_TABLENAME
TYPE /AWS1/LKFNAMESTRING
/AWS1/LKFNAMESTRING
¶
The name of the governed table.
IV_TRANSACTIONID
TYPE /AWS1/LKFTRANSACTIONIDSTRING
/AWS1/LKFTRANSACTIONIDSTRING
¶
ID of the transaction that the writes occur in.
IT_OBJECTS
TYPE /AWS1/CL_LKFVIRTUALOBJECT=>TT_VIRTUALOBJECTLIST
TT_VIRTUALOBJECTLIST
¶
A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.
Optional arguments:¶
IV_CATALOGID
TYPE /AWS1/LKFCATALOGIDSTRING
/AWS1/LKFCATALOGIDSTRING
¶
The Glue data catalog that contains the governed table. Defaults to the current account ID.