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 |
Synopsis
- data PrincipalResourcePermissions = PrincipalResourcePermissions' {}
- newPrincipalResourcePermissions :: PrincipalResourcePermissions
- principalResourcePermissions_additionalDetails :: Lens' PrincipalResourcePermissions (Maybe DetailsMap)
- principalResourcePermissions_permissionsWithGrantOption :: Lens' PrincipalResourcePermissions (Maybe [Permission])
- principalResourcePermissions_principal :: Lens' PrincipalResourcePermissions (Maybe DataLakePrincipal)
- principalResourcePermissions_resource :: Lens' PrincipalResourcePermissions (Maybe Resource)
- principalResourcePermissions_permissions :: Lens' PrincipalResourcePermissions (Maybe [Permission])
Documentation
data PrincipalResourcePermissions Source #
The permissions granted or revoked on a resource.
See: newPrincipalResourcePermissions
smart constructor.
PrincipalResourcePermissions' | |
|
Instances
newPrincipalResourcePermissions :: PrincipalResourcePermissions Source #
Create a value of PrincipalResourcePermissions
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:additionalDetails:PrincipalResourcePermissions'
, principalResourcePermissions_additionalDetails
- This attribute can be used to return any additional details of
PrincipalResourcePermissions
. Currently returns only as a RAM resource
share ARN.
$sel:permissionsWithGrantOption:PrincipalResourcePermissions'
, principalResourcePermissions_permissionsWithGrantOption
- Indicates whether to grant the ability to grant permissions (as a subset
of permissions granted).
$sel:principal:PrincipalResourcePermissions'
, principalResourcePermissions_principal
- The Data Lake principal to be granted or revoked permissions.
$sel:resource:PrincipalResourcePermissions'
, principalResourcePermissions_resource
- The resource where permissions are to be granted or revoked.
$sel:permissions:PrincipalResourcePermissions'
, principalResourcePermissions_permissions
- The permissions to be granted or revoked on the resource.
principalResourcePermissions_additionalDetails :: Lens' PrincipalResourcePermissions (Maybe DetailsMap) Source #
This attribute can be used to return any additional details of
PrincipalResourcePermissions
. Currently returns only as a RAM resource
share ARN.
principalResourcePermissions_permissionsWithGrantOption :: Lens' PrincipalResourcePermissions (Maybe [Permission]) Source #
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
principalResourcePermissions_principal :: Lens' PrincipalResourcePermissions (Maybe DataLakePrincipal) Source #
The Data Lake principal to be granted or revoked permissions.
principalResourcePermissions_resource :: Lens' PrincipalResourcePermissions (Maybe Resource) Source #
The resource where permissions are to be granted or revoked.
principalResourcePermissions_permissions :: Lens' PrincipalResourcePermissions (Maybe [Permission]) Source #
The permissions to be granted or revoked on the resource.