amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.InstanceSnapshot

Description

 
Synopsis

Documentation

data InstanceSnapshot Source #

Describes an instance snapshot.

See: newInstanceSnapshot smart constructor.

Constructors

InstanceSnapshot' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

  • createdAt :: Maybe POSIX

    The timestamp when the snapshot was created (e.g., 1479907467.024).

  • fromAttachedDisks :: Maybe [Disk]

    An array of disk objects containing information about all block storage disks.

  • fromBlueprintId :: Maybe Text

    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.

  • fromBundleId :: Maybe Text

    The bundle ID from which you created the snapshot (e.g., micro_1_0).

  • fromInstanceArn :: Maybe Text

    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).

  • fromInstanceName :: Maybe Text

    The instance from which the snapshot was created.

  • isFromAutoSnapshot :: Maybe Bool

    A Boolean value indicating whether the snapshot was created from an automatic snapshot.

  • location :: Maybe ResourceLocation

    The region name and Availability Zone where you created the snapshot.

  • name :: Maybe Text

    The name of the snapshot.

  • progress :: Maybe Text

    The progress of the snapshot.

    This is populated only for disk snapshots, and is null for instance snapshots.

  • resourceType :: Maybe ResourceType

    The type of resource (usually InstanceSnapshot).

  • sizeInGb :: Maybe Int

    The size in GB of the SSD.

  • state :: Maybe InstanceSnapshotState

    The state the snapshot is in.

  • supportCode :: Maybe Text

    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.

  • tags :: Maybe [Tag]

    The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

Instances

Instances details
FromJSON InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

Generic InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

Associated Types

type Rep InstanceSnapshot :: Type -> Type #

Read InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

Show InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

NFData InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

Methods

rnf :: InstanceSnapshot -> () #

Eq InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

Hashable InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

type Rep InstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshot

type Rep InstanceSnapshot = D1 ('MetaData "InstanceSnapshot" "Amazonka.Lightsail.Types.InstanceSnapshot" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "InstanceSnapshot'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "fromAttachedDisks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Disk])) :*: S1 ('MetaSel ('Just "fromBlueprintId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "fromBundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fromInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "fromInstanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isFromAutoSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceLocation)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "progress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)))) :*: ((S1 ('MetaSel ('Just "sizeInGb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceSnapshotState))) :*: (S1 ('MetaSel ('Just "supportCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))))

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_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_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.