404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.129.218.83: ~ $
**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*.

Filemanager

Name Type Size Permission Actions
add-lf-tags-to-resource.rst File 984 B 0644
batch-grant-permissions.rst File 3.19 KB 0644
batch-revoke-permissions.rst File 1.92 KB 0644
cancel-transaction.rst File 464 B 0644
commit-transaction.rst File 496 B 0644
create-data-cells-filter.rst File 2.89 KB 0644
create-lf-tag.rst File 528 B 0644
delete-data-cells-filter.rst File 667 B 0644
delete-lf-tag.rst File 451 B 0644
delete-objects-on-cancel.rst File 1 KB 0644
deregister-resource.rst File 591 B 0644
describe-transaction.rst File 794 B 0644
extend-transaction.rst File 464 B 0644
get-data-lake-settings.rst File 1.52 KB 0644
get-effective-permissions-for-path.rst File 3.48 KB 0644
get-lf-tag.rst File 620 B 0644
get-query-state.rst File 499 B 0644
get-query-statistics.rst File 932 B 0644
get-resource-lf-tags.rst File 1.08 KB 0644
get-table-objects.rst File 1.09 KB 0644
get-work-unit-results.rst File 583 B 0644
get-work-units.rst File 1.6 KB 0644
grant-permissions.rst File 5.5 KB 0644
list-data-cells-filter.rst File 1.92 KB 0644
list-permissions.rst File 6.71 KB 0644
list-resources.rst File 1.28 KB 0644
list-transactions.rst File 1.61 KB 0644
put-data-lake-settings.rst File 1.14 KB 0644
register-resource.rst File 1.4 KB 0644
remove-lf-tags-from-resource.rst File 983 B 0644
revoke-permissions.rst File 1.02 KB 0644
search-databases-by-lf-tags.rst File 1.11 KB 0644
search-tables-by-lf-tags.rst File 8.99 KB 0644
start-query-planning.rst File 800 B 0644
start-transaction.rst File 534 B 0644
update-lf-tag.rst File 494 B 0644
update-table-objects.rst File 1.07 KB 0644