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 InstanceSnapshot = InstanceSnapshot' {
- fromBlueprintId :: Maybe Text
- isFromAutoSnapshot :: Maybe Bool
- state :: Maybe InstanceSnapshotState
- resourceType :: Maybe ResourceType
- fromAttachedDisks :: Maybe [Disk]
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- location :: Maybe ResourceLocation
- progress :: Maybe Text
- name :: Maybe Text
- fromBundleId :: Maybe Text
- sizeInGb :: Maybe Int
- supportCode :: Maybe Text
- fromInstanceArn :: Maybe Text
- fromInstanceName :: Maybe Text
- tags :: Maybe [Tag]
- newInstanceSnapshot :: InstanceSnapshot
- instanceSnapshot_fromBlueprintId :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_isFromAutoSnapshot :: Lens' InstanceSnapshot (Maybe Bool)
- instanceSnapshot_state :: Lens' InstanceSnapshot (Maybe InstanceSnapshotState)
- instanceSnapshot_resourceType :: Lens' InstanceSnapshot (Maybe ResourceType)
- instanceSnapshot_fromAttachedDisks :: Lens' InstanceSnapshot (Maybe [Disk])
- instanceSnapshot_arn :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_createdAt :: Lens' InstanceSnapshot (Maybe UTCTime)
- instanceSnapshot_location :: Lens' InstanceSnapshot (Maybe ResourceLocation)
- instanceSnapshot_progress :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_name :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_fromBundleId :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_sizeInGb :: Lens' InstanceSnapshot (Maybe Int)
- instanceSnapshot_supportCode :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_fromInstanceArn :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_fromInstanceName :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_tags :: Lens' InstanceSnapshot (Maybe [Tag])
Documentation
data InstanceSnapshot Source #
Describes an instance snapshot.
See: newInstanceSnapshot
smart constructor.
InstanceSnapshot' | |
|
Instances
newInstanceSnapshot :: InstanceSnapshot Source #
Create a value of InstanceSnapshot
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:fromBlueprintId:InstanceSnapshot'
, instanceSnapshot_fromBlueprintId
- The blueprint ID from which you created the snapshot (e.g.,
os_debian_8_3
). A blueprint is a virtual private server (or
instance) image used to create instances quickly.
$sel:isFromAutoSnapshot:InstanceSnapshot'
, instanceSnapshot_isFromAutoSnapshot
- A Boolean value indicating whether the snapshot was created from an
automatic snapshot.
$sel:state:InstanceSnapshot'
, instanceSnapshot_state
- The state the snapshot is in.
$sel:resourceType:InstanceSnapshot'
, instanceSnapshot_resourceType
- The type of resource (usually InstanceSnapshot
).
$sel:fromAttachedDisks:InstanceSnapshot'
, instanceSnapshot_fromAttachedDisks
- An array of disk objects containing information about all block storage
disks.
$sel:arn:InstanceSnapshot'
, instanceSnapshot_arn
- The Amazon Resource Name (ARN) of the snapshot (e.g.,
arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE
).
$sel:createdAt:InstanceSnapshot'
, instanceSnapshot_createdAt
- The timestamp when the snapshot was created (e.g., 1479907467.024
).
$sel:location:InstanceSnapshot'
, instanceSnapshot_location
- The region name and Availability Zone where you created the snapshot.
$sel:progress:InstanceSnapshot'
, instanceSnapshot_progress
- The progress of the snapshot.
This is populated only for disk snapshots, and is null
for instance
snapshots.
$sel:name:InstanceSnapshot'
, instanceSnapshot_name
- The name of the snapshot.
$sel:fromBundleId:InstanceSnapshot'
, instanceSnapshot_fromBundleId
- The bundle ID from which you created the snapshot (e.g., micro_1_0
).
$sel:sizeInGb:InstanceSnapshot'
, instanceSnapshot_sizeInGb
- The size in GB of the SSD.
$sel:supportCode:InstanceSnapshot'
, instanceSnapshot_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:InstanceSnapshot'
, instanceSnapshot_fromInstanceArn
- The Amazon Resource Name (ARN) of the instance from which the snapshot
was created (e.g.,
arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE
).
$sel:fromInstanceName:InstanceSnapshot'
, instanceSnapshot_fromInstanceName
- The instance from which the snapshot was created.
$sel:tags:InstanceSnapshot'
, instanceSnapshot_tags
- The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the
Amazon Lightsail Developer Guide.
instanceSnapshot_fromBlueprintId :: Lens' InstanceSnapshot (Maybe Text) Source #
The blueprint ID from which you created the snapshot (e.g.,
os_debian_8_3
). A blueprint is a virtual private server (or
instance) image used to create instances quickly.
instanceSnapshot_isFromAutoSnapshot :: Lens' InstanceSnapshot (Maybe Bool) Source #
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
instanceSnapshot_state :: Lens' InstanceSnapshot (Maybe InstanceSnapshotState) Source #
The state the snapshot is in.
instanceSnapshot_resourceType :: Lens' InstanceSnapshot (Maybe ResourceType) Source #
The type of resource (usually InstanceSnapshot
).
instanceSnapshot_fromAttachedDisks :: Lens' InstanceSnapshot (Maybe [Disk]) Source #
An array of disk objects containing information about all block storage disks.
instanceSnapshot_arn :: Lens' InstanceSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the snapshot (e.g.,
arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE
).
instanceSnapshot_createdAt :: Lens' InstanceSnapshot (Maybe UTCTime) Source #
The timestamp when the snapshot was created (e.g., 1479907467.024
).
instanceSnapshot_location :: Lens' InstanceSnapshot (Maybe ResourceLocation) Source #
The region name and Availability Zone where you created the snapshot.
instanceSnapshot_progress :: Lens' InstanceSnapshot (Maybe Text) Source #
The progress of the snapshot.
This is populated only for disk snapshots, and is null
for instance
snapshots.
instanceSnapshot_name :: Lens' InstanceSnapshot (Maybe Text) Source #
The name of the snapshot.
instanceSnapshot_fromBundleId :: Lens' InstanceSnapshot (Maybe Text) Source #
The bundle ID from which you created the snapshot (e.g., micro_1_0
).
instanceSnapshot_sizeInGb :: Lens' InstanceSnapshot (Maybe Int) Source #
The size in GB of the SSD.
instanceSnapshot_supportCode :: Lens' InstanceSnapshot (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.
instanceSnapshot_fromInstanceArn :: Lens' InstanceSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the instance from which the snapshot
was created (e.g.,
arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE
).
instanceSnapshot_fromInstanceName :: Lens' InstanceSnapshot (Maybe Text) Source #
The instance from which the snapshot was created.
instanceSnapshot_tags :: Lens' InstanceSnapshot (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.