libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.Types.BucketState

Description

 
Synopsis

Documentation

data BucketState Source #

Describes the state of an Amazon Lightsail bucket.

See: newBucketState smart constructor.

Constructors

BucketState' 

Fields

  • code :: Maybe Text

    The state code of the bucket.

    The following codes are possible:

    • OK - The bucket is in a running state.
    • Unknown - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.
  • message :: Maybe Text

    A message that describes the state of the bucket.

Instances

Instances details
Eq BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

Read BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

Show BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

Generic BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

Associated Types

type Rep BucketState :: Type -> Type #

NFData BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

Methods

rnf :: BucketState -> () #

Hashable BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

FromJSON BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

type Rep BucketState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.BucketState

type Rep BucketState = D1 ('MetaData "BucketState" "Amazonka.Lightsail.Types.BucketState" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "BucketState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBucketState :: BucketState Source #

Create a value of BucketState 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:code:BucketState', bucketState_code - The state code of the bucket.

The following codes are possible:

  • OK - The bucket is in a running state.
  • Unknown - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.

$sel:message:BucketState', bucketState_message - A message that describes the state of the bucket.

bucketState_code :: Lens' BucketState (Maybe Text) Source #

The state code of the bucket.

The following codes are possible:

  • OK - The bucket is in a running state.
  • Unknown - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.

bucketState_message :: Lens' BucketState (Maybe Text) Source #

A message that describes the state of the bucket.