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

Description

 
Synopsis

Documentation

data PolicyStatus Source #

The container element for a bucket's policy status.

See: newPolicyStatus smart constructor.

Constructors

PolicyStatus' 

Fields

  • isPublic :: Maybe Bool

    The policy status for this bucket. TRUE indicates that this bucket is public. FALSE indicates that the bucket is not public.

Instances

Instances details
Eq PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Read PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Show PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Generic PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Associated Types

type Rep PolicyStatus :: Type -> Type #

NFData PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Methods

rnf :: PolicyStatus -> () #

Hashable PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

FromXML PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

type Rep PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

type Rep PolicyStatus = D1 ('MetaData "PolicyStatus" "Amazonka.S3.Types.PolicyStatus" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "PolicyStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isPublic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newPolicyStatus :: PolicyStatus Source #

Create a value of PolicyStatus 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:isPublic:PolicyStatus', policyStatus_isPublic - The policy status for this bucket. TRUE indicates that this bucket is public. FALSE indicates that the bucket is not public.

policyStatus_isPublic :: Lens' PolicyStatus (Maybe Bool) Source #

The policy status for this bucket. TRUE indicates that this bucket is public. FALSE indicates that the bucket is not public.