403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/aws/dist/awscli/examples/lakeformation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/aws/dist/awscli/examples/lakeformation/delete-objects-on-cancel.rst
**To delete object when transaction is cancelled**

The following ``delete-objects-on-cancel`` example deletes the listed s3 object when the transaction is cancelled. ::

    aws lakeformation delete-objects-on-cancel \
        --cli-input-json file://input.json

Contents of ``input.json``::

    {
        "CatalogId": "012345678901",
        "DatabaseName": "tpc",
        "TableName": "dl_tpc_household_demographics_gov",
        "TransactionId": "1234d972ca8347b89825e33c5774aec4",
        "Objects": [{
            "Uri": "s3://lf-data-lake-012345678901/target/dl_tpc_household_demographics_gov/run-unnamed-1-part-block-0-r-00000-snappy-ff26b17504414fe88b302cd795eabd00.parquet",
            "ETag": "1234ab1fc50a316b149b4e1f21a73800"
        }]
    }

This command produces no output.

For more information, see `Reading from and writing to the data lake within transactions <https://docs.aws.amazon.com/lake-formation/latest/dg/transaction-ops.html>`__ in the *AWS Lake Formation Developer Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit