| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
| |
Instances
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.