Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Batch operation to revoke permissions from the principal.
Synopsis
- data BatchRevokePermissions = BatchRevokePermissions' {}
- newBatchRevokePermissions :: BatchRevokePermissions
- batchRevokePermissions_catalogId :: Lens' BatchRevokePermissions (Maybe Text)
- batchRevokePermissions_entries :: Lens' BatchRevokePermissions [BatchPermissionsRequestEntry]
- data BatchRevokePermissionsResponse = BatchRevokePermissionsResponse' {}
- newBatchRevokePermissionsResponse :: Int -> BatchRevokePermissionsResponse
- batchRevokePermissionsResponse_failures :: Lens' BatchRevokePermissionsResponse (Maybe [BatchPermissionsFailureEntry])
- batchRevokePermissionsResponse_httpStatus :: Lens' BatchRevokePermissionsResponse Int
Creating a Request
data BatchRevokePermissions Source #
See: newBatchRevokePermissions
smart constructor.
BatchRevokePermissions' | |
|
Instances
newBatchRevokePermissions :: BatchRevokePermissions Source #
Create a value of BatchRevokePermissions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:catalogId:BatchRevokePermissions'
, batchRevokePermissions_catalogId
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your AWS Lake Formation environment.
$sel:entries:BatchRevokePermissions'
, batchRevokePermissions_entries
- A list of up to 20 entries for resource permissions to be revoked by
batch operation to the principal.
Request Lenses
batchRevokePermissions_catalogId :: Lens' BatchRevokePermissions (Maybe Text) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
batchRevokePermissions_entries :: Lens' BatchRevokePermissions [BatchPermissionsRequestEntry] Source #
A list of up to 20 entries for resource permissions to be revoked by batch operation to the principal.
Destructuring the Response
data BatchRevokePermissionsResponse Source #
See: newBatchRevokePermissionsResponse
smart constructor.
BatchRevokePermissionsResponse' | |
|
Instances
Eq BatchRevokePermissionsResponse Source # | |
Read BatchRevokePermissionsResponse Source # | |
Show BatchRevokePermissionsResponse Source # | |
Generic BatchRevokePermissionsResponse Source # | |
NFData BatchRevokePermissionsResponse Source # | |
Defined in Amazonka.LakeFormation.BatchRevokePermissions rnf :: BatchRevokePermissionsResponse -> () # | |
type Rep BatchRevokePermissionsResponse Source # | |
Defined in Amazonka.LakeFormation.BatchRevokePermissions type Rep BatchRevokePermissionsResponse = D1 ('MetaData "BatchRevokePermissionsResponse" "Amazonka.LakeFormation.BatchRevokePermissions" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "BatchRevokePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchPermissionsFailureEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newBatchRevokePermissionsResponse Source #
Create a value of BatchRevokePermissionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failures:BatchRevokePermissionsResponse'
, batchRevokePermissionsResponse_failures
- A list of failures to revoke permissions to the resources.
$sel:httpStatus:BatchRevokePermissionsResponse'
, batchRevokePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
batchRevokePermissionsResponse_failures :: Lens' BatchRevokePermissionsResponse (Maybe [BatchPermissionsFailureEntry]) Source #
A list of failures to revoke permissions to the resources.
batchRevokePermissionsResponse_httpStatus :: Lens' BatchRevokePermissionsResponse Int Source #
The response's http status code.