amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.AclGrantee

Description

 
Synopsis

Documentation

data AclGrantee Source #

You specify each grantee as a type-value pair using one of these types. You can specify only one type of grantee. For more information, see PutBucketAcl.

See: newAclGrantee smart constructor.

Constructors

AclGrantee' 

Fields

  • id :: Maybe Text

    The value specified is the canonical user ID of an Amazon Web Services account.

  • uri :: Maybe Text

    Used for granting permissions to a predefined group.

Instances

Instances details
FromJSON AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

ToJSON AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

Generic AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

Associated Types

type Rep AclGrantee :: Type -> Type #

Read AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

Show AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

NFData AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

Methods

rnf :: AclGrantee -> () #

Eq AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

Hashable AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

type Rep AclGrantee Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AclGrantee

type Rep AclGrantee = D1 ('MetaData "AclGrantee" "Amazonka.AccessAnalyzer.Types.AclGrantee" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "AclGrantee'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAclGrantee :: AclGrantee Source #

Create a value of AclGrantee 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:id:AclGrantee', aclGrantee_id - The value specified is the canonical user ID of an Amazon Web Services account.

$sel:uri:AclGrantee', aclGrantee_uri - Used for granting permissions to a predefined group.

aclGrantee_id :: Lens' AclGrantee (Maybe Text) Source #

The value specified is the canonical user ID of an Amazon Web Services account.

aclGrantee_uri :: Lens' AclGrantee (Maybe Text) Source #

Used for granting permissions to a predefined group.