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

Description

 
Synopsis

Documentation

data DiskSnapshot Source #

Describes a block storage disk snapshot.

See: newDiskSnapshot smart constructor.

Constructors

DiskSnapshot' 

Fields

Instances

Instances details
FromJSON DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

Generic DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

Associated Types

type Rep DiskSnapshot :: Type -> Type #

Read DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

Show DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

NFData DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

Methods

rnf :: DiskSnapshot -> () #

Eq DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

Hashable DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

type Rep DiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskSnapshot

type Rep DiskSnapshot = D1 ('MetaData "DiskSnapshot" "Amazonka.Lightsail.Types.DiskSnapshot" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DiskSnapshot'" '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 "fromDiskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "fromDiskName") '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 DiskSnapshotState))) :*: (S1 ('MetaSel ('Just "supportCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))))

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: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:fromDiskArn:DiskSnapshot', diskSnapshot_fromDiskArn - The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

$sel:fromDiskName:DiskSnapshot', diskSnapshot_fromDiskName - The unique name of the source disk from which the disk snapshot was created.

$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:isFromAutoSnapshot:DiskSnapshot', diskSnapshot_isFromAutoSnapshot - A Boolean value indicating whether the snapshot was created from an automatic snapshot.

$sel:location:DiskSnapshot', diskSnapshot_location - The AWS Region and Availability Zone where the disk snapshot was created.

$sel:name:DiskSnapshot', diskSnapshot_name - The name of the disk snapshot (e.g., my-disk-snapshot).

$sel:progress:DiskSnapshot', diskSnapshot_progress - The progress of the snapshot.

$sel:resourceType:DiskSnapshot', diskSnapshot_resourceType - The Lightsail resource type (e.g., DiskSnapshot).

$sel:sizeInGb:DiskSnapshot', diskSnapshot_sizeInGb - The size of the disk in GB.

$sel:state:DiskSnapshot', diskSnapshot_state - The status of the disk snapshot operation.

$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: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_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_fromDiskArn :: Lens' DiskSnapshot (Maybe Text) Source #

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

diskSnapshot_fromDiskName :: Lens' DiskSnapshot (Maybe Text) Source #

The unique name of the source disk from which the disk snapshot was created.

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_isFromAutoSnapshot :: Lens' DiskSnapshot (Maybe Bool) Source #

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

diskSnapshot_location :: Lens' DiskSnapshot (Maybe ResourceLocation) Source #

The AWS Region and Availability Zone where the disk snapshot was created.

diskSnapshot_name :: Lens' DiskSnapshot (Maybe Text) Source #

The name of the disk snapshot (e.g., my-disk-snapshot).

diskSnapshot_progress :: Lens' DiskSnapshot (Maybe Text) Source #

The progress of the snapshot.

diskSnapshot_resourceType :: Lens' DiskSnapshot (Maybe ResourceType) Source #

The Lightsail resource type (e.g., DiskSnapshot).

diskSnapshot_sizeInGb :: Lens' DiskSnapshot (Maybe Int) Source #

The size of the disk in GB.

diskSnapshot_state :: Lens' DiskSnapshot (Maybe DiskSnapshotState) Source #

The status of the disk snapshot operation.

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