404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.220.152.28: ~ $
**To bulk revoke permissions on resources from the principals**

The following ``batch-revoke-permissions`` example bulk revokes access on specified resources from the principals. ::

    aws lakeformation batch-revoke-permissions \
        --cli-input-json file://input.json

Contents of ``input.json``::

    {
        "CatalogId": "123456789111",
        "Entries": [{
                "Id": "1",
                "Principal": {
                    "DataLakePrincipalIdentifier": "arn:aws:iam::123456789111:user/lf-developer"
                },
                "Resource": {
                    "Table": {
                        "CatalogId": "123456789111",
                        "DatabaseName": "tpc",
                        "Name": "dl_tpc_promotion"
                    }
                },
                "Permissions": [
                    "ALL"
                ],
                "PermissionsWithGrantOption": [
                    "ALL"
                ]
            },
            {
                "Id": "2",
                "Principal": {
                    "DataLakePrincipalIdentifier": "arn:aws:iam::123456789111:user/lf-business-analyst"
                },
                "Resource": {
                    "Table": {
                        "CatalogId": "123456789111",
                        "DatabaseName": "tpc",
                        "Name": "dl_tpc_promotion"
                    }
                },
                "Permissions": [
                    "ALL"
                ],
                "PermissionsWithGrantOption": [
                    "ALL"
                ]
            }
        ]
    }

Output::

    {
        "Failures": []
    }

For more information, see `Granting and revoking permissions on Data Catalog resources <https://docs.aws.amazon.com/lake-formation/latest/dg/granting-catalog-permissions.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