libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LakeFormation.Types.PrincipalResourcePermissions

Description

 
Synopsis

Documentation

data PrincipalResourcePermissions Source #

The permissions granted or revoked on a resource.

See: newPrincipalResourcePermissions smart constructor.

Constructors

PrincipalResourcePermissions' 

Fields

Instances

Instances details
Eq PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

Read PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

Show PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

Generic PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

Associated Types

type Rep PrincipalResourcePermissions :: Type -> Type #

NFData PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

Hashable PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

FromJSON PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

type Rep PrincipalResourcePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.PrincipalResourcePermissions

type Rep PrincipalResourcePermissions = D1 ('MetaData "PrincipalResourcePermissions" "Amazonka.LakeFormation.Types.PrincipalResourcePermissions" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "PrincipalResourcePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "additionalDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetailsMap)) :*: S1 ('MetaSel ('Just "permissionsWithGrantOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Permission]))) :*: (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataLakePrincipal)) :*: (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Resource)) :*: S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Permission]))))))

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.