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 |
Synopsis
- data DiskSnapshot = DiskSnapshot' {
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- fromDiskArn :: Maybe Text
- fromDiskName :: Maybe Text
- fromInstanceArn :: Maybe Text
- fromInstanceName :: Maybe Text
- isFromAutoSnapshot :: Maybe Bool
- location :: Maybe ResourceLocation
- name :: Maybe Text
- progress :: Maybe Text
- resourceType :: Maybe ResourceType
- sizeInGb :: Maybe Int
- state :: Maybe DiskSnapshotState
- supportCode :: Maybe Text
- tags :: Maybe [Tag]
- newDiskSnapshot :: DiskSnapshot
- diskSnapshot_arn :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_createdAt :: Lens' DiskSnapshot (Maybe UTCTime)
- diskSnapshot_fromDiskArn :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_fromDiskName :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_fromInstanceArn :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_fromInstanceName :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_isFromAutoSnapshot :: Lens' DiskSnapshot (Maybe Bool)
- diskSnapshot_location :: Lens' DiskSnapshot (Maybe ResourceLocation)
- diskSnapshot_name :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_progress :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_resourceType :: Lens' DiskSnapshot (Maybe ResourceType)
- diskSnapshot_sizeInGb :: Lens' DiskSnapshot (Maybe Int)
- diskSnapshot_state :: Lens' DiskSnapshot (Maybe DiskSnapshotState)
- diskSnapshot_supportCode :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_tags :: Lens' DiskSnapshot (Maybe [Tag])
Documentation
data DiskSnapshot Source #
Describes a block storage disk snapshot.
See: newDiskSnapshot
smart constructor.
DiskSnapshot' | |
|
Instances
newDiskSnapshot :: DiskSnapshot Source #
Create a value of DiskSnapshot
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:arn:DiskSnapshot'
, diskSnapshot_arn
- The Amazon Resource Name (ARN) of the disk snapshot.
$sel:createdAt:DiskSnapshot'
, diskSnapshot_createdAt
- The date when the disk snapshot was created.
$sel:fromDiskArn:DiskSnapshot'
, diskSnapshot_fromDiskArn
- The Amazon Resource Name (ARN) of the source disk from which the disk
snapshot was created.
$sel:fromDiskName:DiskSnapshot'
, diskSnapshot_fromDiskName
- The unique name of the source disk from which the disk snapshot was
created.
$sel:fromInstanceArn:DiskSnapshot'
, diskSnapshot_fromInstanceArn
- The Amazon Resource Name (ARN) of the source instance from which the
disk (system volume) snapshot was created.
$sel:fromInstanceName:DiskSnapshot'
, diskSnapshot_fromInstanceName
- The unique name of the source instance from which the disk (system
volume) snapshot was created.
$sel:isFromAutoSnapshot:DiskSnapshot'
, diskSnapshot_isFromAutoSnapshot
- A Boolean value indicating whether the snapshot was created from an
automatic snapshot.
$sel:location:DiskSnapshot'
, diskSnapshot_location
- The AWS Region and Availability Zone where the disk snapshot was
created.
$sel:name:DiskSnapshot'
, diskSnapshot_name
- The name of the disk snapshot (e.g., my-disk-snapshot
).
$sel:progress:DiskSnapshot'
, diskSnapshot_progress
- The progress of the snapshot.
$sel:resourceType:DiskSnapshot'
, diskSnapshot_resourceType
- The Lightsail resource type (e.g., DiskSnapshot
).
$sel:sizeInGb:DiskSnapshot'
, diskSnapshot_sizeInGb
- The size of the disk in GB.
$sel:state:DiskSnapshot'
, diskSnapshot_state
- The status of the disk snapshot operation.
$sel:supportCode:DiskSnapshot'
, diskSnapshot_supportCode
- The support code. Include this code in your email to support when you
have questions about an instance or another resource in Lightsail. This
code enables our support team to look up your Lightsail information more
easily.
$sel:tags:DiskSnapshot'
, diskSnapshot_tags
- The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the
Amazon Lightsail Developer Guide.
diskSnapshot_arn :: Lens' DiskSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the disk snapshot.
diskSnapshot_createdAt :: Lens' DiskSnapshot (Maybe UTCTime) Source #
The date when the disk snapshot was created.
diskSnapshot_fromDiskArn :: Lens' DiskSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.
diskSnapshot_fromDiskName :: Lens' DiskSnapshot (Maybe Text) Source #
The unique name of the source disk from which the disk snapshot was created.
diskSnapshot_fromInstanceArn :: Lens' DiskSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.
diskSnapshot_fromInstanceName :: Lens' DiskSnapshot (Maybe Text) Source #
The unique name of the source instance from which the disk (system volume) snapshot was created.
diskSnapshot_isFromAutoSnapshot :: Lens' DiskSnapshot (Maybe Bool) Source #
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
diskSnapshot_location :: Lens' DiskSnapshot (Maybe ResourceLocation) Source #
The AWS Region and Availability Zone where the disk snapshot was created.
diskSnapshot_name :: Lens' DiskSnapshot (Maybe Text) Source #
The name of the disk snapshot (e.g., my-disk-snapshot
).
diskSnapshot_progress :: Lens' DiskSnapshot (Maybe Text) Source #
The progress of the snapshot.
diskSnapshot_resourceType :: Lens' DiskSnapshot (Maybe ResourceType) Source #
The Lightsail resource type (e.g., DiskSnapshot
).
diskSnapshot_sizeInGb :: Lens' DiskSnapshot (Maybe Int) Source #
The size of the disk in GB.
diskSnapshot_state :: Lens' DiskSnapshot (Maybe DiskSnapshotState) Source #
The status of the disk snapshot operation.
diskSnapshot_supportCode :: Lens' DiskSnapshot (Maybe Text) Source #
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
diskSnapshot_tags :: Lens' DiskSnapshot (Maybe [Tag]) Source #
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.