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

Description

 
Synopsis

Documentation

data InstanceSnapshotInfo Source #

Describes an instance snapshot.

See: newInstanceSnapshotInfo smart constructor.

Constructors

InstanceSnapshotInfo' 

Fields

Instances

Instances details
FromJSON InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

Generic InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

Associated Types

type Rep InstanceSnapshotInfo :: Type -> Type #

Read InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

Show InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

NFData InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

Methods

rnf :: InstanceSnapshotInfo -> () #

Eq InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

Hashable InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

type Rep InstanceSnapshotInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceSnapshotInfo

type Rep InstanceSnapshotInfo = D1 ('MetaData "InstanceSnapshotInfo" "Amazonka.Lightsail.Types.InstanceSnapshotInfo" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "InstanceSnapshotInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBlueprintId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fromBundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fromDiskInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DiskInfo])))))

newInstanceSnapshotInfo :: InstanceSnapshotInfo Source #

Create a value of InstanceSnapshotInfo 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:InstanceSnapshotInfo', instanceSnapshotInfo_fromBlueprintId - The blueprint ID from which the source instance (e.g., os_debian_8_3).

$sel:fromBundleId:InstanceSnapshotInfo', instanceSnapshotInfo_fromBundleId - The bundle ID from which the source instance was created (e.g., micro_1_0).

$sel:fromDiskInfo:InstanceSnapshotInfo', instanceSnapshotInfo_fromDiskInfo - A list of objects describing the disks that were attached to the source instance.

instanceSnapshotInfo_fromBlueprintId :: Lens' InstanceSnapshotInfo (Maybe Text) Source #

The blueprint ID from which the source instance (e.g., os_debian_8_3).

instanceSnapshotInfo_fromBundleId :: Lens' InstanceSnapshotInfo (Maybe Text) Source #

The bundle ID from which the source instance was created (e.g., micro_1_0).

instanceSnapshotInfo_fromDiskInfo :: Lens' InstanceSnapshotInfo (Maybe [DiskInfo]) Source #

A list of objects describing the disks that were attached to the source instance.