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.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
Eq AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Read AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Show 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 #

NFData AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

Methods

rnf :: AccessControlPolicy -> () #

Hashable AccessControlPolicy Source # 
Instance details

Defined in Amazonka.S3.Types.AccessControlPolicy

ToXML 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" "libZSservicesZSamazonka-s3ZSamazonka-s3" '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.