libZSservicesZSamazonka-s3ZSamazonka-s3
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.S3.Types.TargetGrant

Description

 
Synopsis

Documentation

data TargetGrant Source #

Container for granting information.

See: newTargetGrant smart constructor.

Constructors

TargetGrant' 

Fields

Instances

Instances details
Eq TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Read TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Show TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Generic TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Associated Types

type Rep TargetGrant :: Type -> Type #

NFData TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Methods

rnf :: TargetGrant -> () #

Hashable TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

FromXML TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

ToXML TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Methods

toXML :: TargetGrant -> XML #

type Rep TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

type Rep TargetGrant = D1 ('MetaData "TargetGrant" "Amazonka.S3.Types.TargetGrant" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "TargetGrant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BucketLogsPermission)) :*: S1 ('MetaSel ('Just "grantee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Grantee))))

newTargetGrant :: TargetGrant Source #

Create a value of TargetGrant 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:permission:TargetGrant', targetGrant_permission - Logging permissions assigned to the grantee for the bucket.

$sel:grantee:TargetGrant', targetGrant_grantee - Container for the person being granted permissions.

targetGrant_permission :: Lens' TargetGrant (Maybe BucketLogsPermission) Source #

Logging permissions assigned to the grantee for the bucket.

targetGrant_grantee :: Lens' TargetGrant (Maybe Grantee) Source #

Container for the person being granted permissions.