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 grant permissions to the principal.
Synopsis
- data BatchGrantPermissions = BatchGrantPermissions' {}
- newBatchGrantPermissions :: BatchGrantPermissions
- batchGrantPermissions_catalogId :: Lens' BatchGrantPermissions (Maybe Text)
- batchGrantPermissions_entries :: Lens' BatchGrantPermissions [BatchPermissionsRequestEntry]
- data BatchGrantPermissionsResponse = BatchGrantPermissionsResponse' {}
- newBatchGrantPermissionsResponse :: Int -> BatchGrantPermissionsResponse
- batchGrantPermissionsResponse_failures :: Lens' BatchGrantPermissionsResponse (Maybe [BatchPermissionsFailureEntry])
- batchGrantPermissionsResponse_httpStatus :: Lens' BatchGrantPermissionsResponse Int
Creating a Request
data BatchGrantPermissions Source #
See: newBatchGrantPermissions
smart constructor.
BatchGrantPermissions' | |
|
Instances
newBatchGrantPermissions :: BatchGrantPermissions Source #
Create a value of BatchGrantPermissions
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:BatchGrantPermissions'
, batchGrantPermissions_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:BatchGrantPermissions'
, batchGrantPermissions_entries
- A list of up to 20 entries for resource permissions to be granted by
batch operation to the principal.
Request Lenses
batchGrantPermissions_catalogId :: Lens' BatchGrantPermissions (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.
batchGrantPermissions_entries :: Lens' BatchGrantPermissions [BatchPermissionsRequestEntry] Source #
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
Destructuring the Response
data BatchGrantPermissionsResponse Source #
See: newBatchGrantPermissionsResponse
smart constructor.
BatchGrantPermissionsResponse' | |
|
Instances
newBatchGrantPermissionsResponse Source #
Create a value of BatchGrantPermissionsResponse
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:BatchGrantPermissionsResponse'
, batchGrantPermissionsResponse_failures
- A list of failures to grant permissions to the resources.
$sel:httpStatus:BatchGrantPermissionsResponse'
, batchGrantPermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGrantPermissionsResponse_failures :: Lens' BatchGrantPermissionsResponse (Maybe [BatchPermissionsFailureEntry]) Source #
A list of failures to grant permissions to the resources.
batchGrantPermissionsResponse_httpStatus :: Lens' BatchGrantPermissionsResponse Int Source #
The response's http status code.