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 InstanceSnapshot = InstanceSnapshot' {
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- fromAttachedDisks :: Maybe [Disk]
- fromBlueprintId :: Maybe Text
- fromBundleId :: 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 InstanceSnapshotState
- supportCode :: Maybe Text
- tags :: Maybe [Tag]
- newInstanceSnapshot :: InstanceSnapshot
- instanceSnapshot_arn :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_createdAt :: Lens' InstanceSnapshot (Maybe UTCTime)
- instanceSnapshot_fromAttachedDisks :: Lens' InstanceSnapshot (Maybe [Disk])
- instanceSnapshot_fromBlueprintId :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_fromBundleId :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_fromInstanceArn :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_fromInstanceName :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_isFromAutoSnapshot :: Lens' InstanceSnapshot (Maybe Bool)
- instanceSnapshot_location :: Lens' InstanceSnapshot (Maybe ResourceLocation)
- instanceSnapshot_name :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_progress :: Lens' InstanceSnapshot (Maybe Text)
- instanceSnapshot_resourceType :: Lens' InstanceSnapshot (Maybe ResourceType)
- instanceSnapshot_sizeInGb :: Lens' InstanceSnapshot (Maybe Int)
- instanceSnapshot_state :: Lens' InstanceSnapshot (Maybe InstanceSnapshotState)
- instanceSnapshot_supportCode :: 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:
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
).
InstanceSnapshot
, instanceSnapshot_createdAt
- The timestamp when the snapshot was created (e.g., 1479907467.024
).
$sel:fromAttachedDisks:InstanceSnapshot'
, instanceSnapshot_fromAttachedDisks
- An array of disk objects containing information about all block storage
disks.
$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:fromBundleId:InstanceSnapshot'
, instanceSnapshot_fromBundleId
- The bundle ID from which you created the snapshot (e.g., micro_1_0
).
$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:isFromAutoSnapshot:InstanceSnapshot'
, instanceSnapshot_isFromAutoSnapshot
- A Boolean value indicating whether the snapshot was created from an
automatic snapshot.
InstanceSnapshot
, instanceSnapshot_location
- The region name and Availability Zone where you created the snapshot.
InstanceSnapshot
, instanceSnapshot_name
- The name of 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.
InstanceSnapshot
, instanceSnapshot_resourceType
- The type of resource (usually InstanceSnapshot
).
InstanceSnapshot
, instanceSnapshot_sizeInGb
- The size in GB of the SSD.
InstanceSnapshot
, instanceSnapshot_state
- The state the snapshot is in.
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.
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_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_fromAttachedDisks :: Lens' InstanceSnapshot (Maybe [Disk]) Source #
An array of disk objects containing information about all block storage disks.
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_fromBundleId :: Lens' InstanceSnapshot (Maybe Text) Source #
The bundle ID from which you created the snapshot (e.g., micro_1_0
).
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_isFromAutoSnapshot :: Lens' InstanceSnapshot (Maybe Bool) Source #
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
instanceSnapshot_location :: Lens' InstanceSnapshot (Maybe ResourceLocation) Source #
The region name and Availability Zone where you created the snapshot.
instanceSnapshot_name :: Lens' InstanceSnapshot (Maybe Text) Source #
The name of 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_resourceType :: Lens' InstanceSnapshot (Maybe ResourceType) Source #
The type of resource (usually InstanceSnapshot
).
instanceSnapshot_sizeInGb :: Lens' InstanceSnapshot (Maybe Int) Source #
The size in GB of the SSD.
instanceSnapshot_state :: Lens' InstanceSnapshot (Maybe InstanceSnapshotState) Source #
The state the snapshot is in.
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_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.