amazonka-s3-2.0: Amazon Simple Storage Service 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.S3.Types.TargetGrant

Description

 
Synopsis

Documentation

data TargetGrant Source #

Container for granting information.

Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. For more information, see Permissions server access log delivery in the Amazon S3 User Guide.

See: newTargetGrant smart constructor.

Constructors

TargetGrant' 

Fields

Instances

Instances details
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 #

Generic TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Associated Types

type Rep TargetGrant :: Type -> Type #

Read TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Show TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

NFData TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Methods

rnf :: TargetGrant -> () #

Eq TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

Hashable TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

type Rep TargetGrant Source # 
Instance details

Defined in Amazonka.S3.Types.TargetGrant

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

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:grantee:TargetGrant', targetGrant_grantee - Container for the person being granted permissions.

$sel:permission:TargetGrant', targetGrant_permission - Logging permissions assigned to the grantee for the bucket.

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

Container for the person being granted permissions.

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

Logging permissions assigned to the grantee for the bucket.