Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DiskSnapshot = DiskSnapshot' {
- fromDiskName :: Maybe Text
- isFromAutoSnapshot :: Maybe Bool
- state :: Maybe DiskSnapshotState
- resourceType :: Maybe ResourceType
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- location :: Maybe ResourceLocation
- progress :: Maybe Text
- name :: Maybe Text
- sizeInGb :: Maybe Int
- supportCode :: Maybe Text
- fromInstanceArn :: Maybe Text
- fromInstanceName :: Maybe Text
- fromDiskArn :: Maybe Text
- tags :: Maybe [Tag]
- newDiskSnapshot :: DiskSnapshot
- diskSnapshot_fromDiskName :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_isFromAutoSnapshot :: Lens' DiskSnapshot (Maybe Bool)
- diskSnapshot_state :: Lens' DiskSnapshot (Maybe DiskSnapshotState)
- diskSnapshot_resourceType :: Lens' DiskSnapshot (Maybe ResourceType)
- diskSnapshot_arn :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_createdAt :: Lens' DiskSnapshot (Maybe UTCTime)
- diskSnapshot_location :: Lens' DiskSnapshot (Maybe ResourceLocation)
- diskSnapshot_progress :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_name :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_sizeInGb :: Lens' DiskSnapshot (Maybe Int)
- diskSnapshot_supportCode :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_fromInstanceArn :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_fromInstanceName :: Lens' DiskSnapshot (Maybe Text)
- diskSnapshot_fromDiskArn :: 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:fromDiskName:DiskSnapshot'
, diskSnapshot_fromDiskName
- The unique name of the source disk from which the disk snapshot was
created.
$sel:isFromAutoSnapshot:DiskSnapshot'
, diskSnapshot_isFromAutoSnapshot
- A Boolean value indicating whether the snapshot was created from an
automatic snapshot.
$sel:state:DiskSnapshot'
, diskSnapshot_state
- The status of the disk snapshot operation.
$sel:resourceType:DiskSnapshot'
, diskSnapshot_resourceType
- The Lightsail resource type (e.g., DiskSnapshot
).
$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:location:DiskSnapshot'
, diskSnapshot_location
- The AWS Region and Availability Zone where the disk snapshot was
created.
$sel:progress:DiskSnapshot'
, diskSnapshot_progress
- The progress of the snapshot.
$sel:name:DiskSnapshot'
, diskSnapshot_name
- The name of the disk snapshot (e.g., my-disk-snapshot
).
$sel:sizeInGb:DiskSnapshot'
, diskSnapshot_sizeInGb
- The size of the disk in GB.
$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: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:fromDiskArn:DiskSnapshot'
, diskSnapshot_fromDiskArn
- The Amazon Resource Name (ARN) of the source disk from which the disk
snapshot was created.
$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_fromDiskName :: Lens' DiskSnapshot (Maybe Text) Source #
The unique name of the source disk from which the disk snapshot was created.
diskSnapshot_isFromAutoSnapshot :: Lens' DiskSnapshot (Maybe Bool) Source #
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
diskSnapshot_state :: Lens' DiskSnapshot (Maybe DiskSnapshotState) Source #
The status of the disk snapshot operation.
diskSnapshot_resourceType :: Lens' DiskSnapshot (Maybe ResourceType) Source #
The Lightsail resource type (e.g., DiskSnapshot
).
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_location :: Lens' DiskSnapshot (Maybe ResourceLocation) Source #
The AWS Region and Availability Zone where the disk snapshot was created.
diskSnapshot_progress :: Lens' DiskSnapshot (Maybe Text) Source #
The progress of the snapshot.
diskSnapshot_name :: Lens' DiskSnapshot (Maybe Text) Source #
The name of the disk snapshot (e.g., my-disk-snapshot
).
diskSnapshot_sizeInGb :: Lens' DiskSnapshot (Maybe Int) Source #
The size of the disk in GB.
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_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_fromDiskArn :: Lens' DiskSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.
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.