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.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
FromXML 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 #

Read PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Show PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

NFData PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Methods

rnf :: PolicyStatus -> () #

Eq PolicyStatus Source # 
Instance details

Defined in Amazonka.S3.Types.PolicyStatus

Hashable 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" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" '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.