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 |
Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
Synopsis
- data RevokePermissions = RevokePermissions' {}
- newRevokePermissions :: DataLakePrincipal -> Resource -> RevokePermissions
- revokePermissions_catalogId :: Lens' RevokePermissions (Maybe Text)
- revokePermissions_permissionsWithGrantOption :: Lens' RevokePermissions (Maybe [Permission])
- revokePermissions_principal :: Lens' RevokePermissions DataLakePrincipal
- revokePermissions_resource :: Lens' RevokePermissions Resource
- revokePermissions_permissions :: Lens' RevokePermissions [Permission]
- data RevokePermissionsResponse = RevokePermissionsResponse' {
- httpStatus :: Int
- newRevokePermissionsResponse :: Int -> RevokePermissionsResponse
- revokePermissionsResponse_httpStatus :: Lens' RevokePermissionsResponse Int
Creating a Request
data RevokePermissions Source #
See: newRevokePermissions
smart constructor.
RevokePermissions' | |
|
Instances
Create a value of RevokePermissions
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:RevokePermissions'
, revokePermissions_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:permissionsWithGrantOption:RevokePermissions'
, revokePermissions_permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option
allowing the principal to pass permissions to other principals.
$sel:principal:RevokePermissions'
, revokePermissions_principal
- The principal to be revoked permissions on the resource.
$sel:resource:RevokePermissions'
, revokePermissions_resource
- The resource to which permissions are to be revoked.
$sel:permissions:RevokePermissions'
, revokePermissions_permissions
- The permissions revoked to the principal on the resource. For
information about permissions, see
Security and Access Control to Metadata and Data.
Request Lenses
revokePermissions_catalogId :: Lens' RevokePermissions (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.
revokePermissions_permissionsWithGrantOption :: Lens' RevokePermissions (Maybe [Permission]) Source #
Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
revokePermissions_principal :: Lens' RevokePermissions DataLakePrincipal Source #
The principal to be revoked permissions on the resource.
revokePermissions_resource :: Lens' RevokePermissions Resource Source #
The resource to which permissions are to be revoked.
revokePermissions_permissions :: Lens' RevokePermissions [Permission] Source #
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
Destructuring the Response
data RevokePermissionsResponse Source #
See: newRevokePermissionsResponse
smart constructor.
RevokePermissionsResponse' | |
|
Instances
newRevokePermissionsResponse Source #
Create a value of RevokePermissionsResponse
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:httpStatus:RevokePermissionsResponse'
, revokePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
revokePermissionsResponse_httpStatus :: Lens' RevokePermissionsResponse Int Source #
The response's http status code.