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.AccessControlPolicy

Description

 
Synopsis

Documentation

data AccessControlPolicy Source #

Contains the elements that set the ACL permissions for an object per grantee.

See: newAccessControlPolicy smart constructor.

Constructors

AccessControlPolicy' 

Fields

Instances

Instances details
ToXML AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Generic AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Associated Types

type Rep AccessControlPolicy :: Type -> Type #

Read AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Show AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

NFData AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Methods

rnf :: AccessControlPolicy -> () #

Eq AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Hashable AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

type Rep AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

type Rep AccessControlPolicy = D1 ('MetaData "AccessControlPolicy" "Amazonka.S3.Types.AccessControlPolicy" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "AccessControlPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "grants") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Grant])) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Owner))))

newAccessControlPolicy :: AccessControlPolicy Source #

Create a value of AccessControlPolicy 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:grants:AccessControlPolicy', accessControlPolicy_grants - A list of grants.

$sel:owner:AccessControlPolicy', accessControlPolicy_owner - Container for the bucket owner's display name and ID.

accessControlPolicy_owner :: Lens' AccessControlPolicy (Maybe Owner) Source #

Container for the bucket owner's display name and ID.