amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.SnapshotTierStatus

Description

 
Synopsis

Documentation

data SnapshotTierStatus Source #

Provides information about a snapshot's storage tier.

See: newSnapshotTierStatus smart constructor.

Constructors

SnapshotTierStatus' 

Fields

Instances

Instances details
FromXML SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

Generic SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

Associated Types

type Rep SnapshotTierStatus :: Type -> Type #

Read SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

Show SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

NFData SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

Methods

rnf :: SnapshotTierStatus -> () #

Eq SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

Hashable SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

type Rep SnapshotTierStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SnapshotTierStatus

type Rep SnapshotTierStatus = D1 ('MetaData "SnapshotTierStatus" "Amazonka.EC2.Types.SnapshotTierStatus" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "SnapshotTierStatus'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "archivalCompleteTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "lastTieringOperationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TieringOperationStatus)) :*: S1 ('MetaSel ('Just "lastTieringOperationStatusDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "lastTieringProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "lastTieringStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "restoreExpiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapshotState)))) :*: (S1 ('MetaSel ('Just "storageTier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageTier)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "volumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newSnapshotTierStatus :: SnapshotTierStatus Source #

Create a value of SnapshotTierStatus 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:archivalCompleteTime:SnapshotTierStatus', snapshotTierStatus_archivalCompleteTime - The date and time when the last archive process was completed.

$sel:lastTieringOperationStatus:SnapshotTierStatus', snapshotTierStatus_lastTieringOperationStatus - The status of the last archive or restore process.

$sel:lastTieringOperationStatusDetail:SnapshotTierStatus', snapshotTierStatus_lastTieringOperationStatusDetail - A message describing the status of the last archive or restore process.

$sel:lastTieringProgress:SnapshotTierStatus', snapshotTierStatus_lastTieringProgress - The progress of the last archive or restore process, as a percentage.

$sel:lastTieringStartTime:SnapshotTierStatus', snapshotTierStatus_lastTieringStartTime - The date and time when the last archive or restore process was started.

$sel:ownerId:SnapshotTierStatus', snapshotTierStatus_ownerId - The ID of the Amazon Web Services account that owns the snapshot.

$sel:restoreExpiryTime:SnapshotTierStatus', snapshotTierStatus_restoreExpiryTime - Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.

$sel:snapshotId:SnapshotTierStatus', snapshotTierStatus_snapshotId - The ID of the snapshot.

$sel:status:SnapshotTierStatus', snapshotTierStatus_status - The state of the snapshot.

$sel:storageTier:SnapshotTierStatus', snapshotTierStatus_storageTier - The storage tier in which the snapshot is stored. standard indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive indicates that the snapshot is currently archived and that it must be restored before it can be used.

$sel:tags:SnapshotTierStatus', snapshotTierStatus_tags - The tags that are assigned to the snapshot.

$sel:volumeId:SnapshotTierStatus', snapshotTierStatus_volumeId - The ID of the volume from which the snapshot was created.

snapshotTierStatus_archivalCompleteTime :: Lens' SnapshotTierStatus (Maybe UTCTime) Source #

The date and time when the last archive process was completed.

snapshotTierStatus_lastTieringOperationStatusDetail :: Lens' SnapshotTierStatus (Maybe Text) Source #

A message describing the status of the last archive or restore process.

snapshotTierStatus_lastTieringProgress :: Lens' SnapshotTierStatus (Maybe Int) Source #

The progress of the last archive or restore process, as a percentage.

snapshotTierStatus_lastTieringStartTime :: Lens' SnapshotTierStatus (Maybe UTCTime) Source #

The date and time when the last archive or restore process was started.

snapshotTierStatus_ownerId :: Lens' SnapshotTierStatus (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the snapshot.

snapshotTierStatus_restoreExpiryTime :: Lens' SnapshotTierStatus (Maybe UTCTime) Source #

Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.

snapshotTierStatus_storageTier :: Lens' SnapshotTierStatus (Maybe StorageTier) Source #

The storage tier in which the snapshot is stored. standard indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive indicates that the snapshot is currently archived and that it must be restored before it can be used.

snapshotTierStatus_tags :: Lens' SnapshotTierStatus (Maybe [Tag]) Source #

The tags that are assigned to the snapshot.

snapshotTierStatus_volumeId :: Lens' SnapshotTierStatus (Maybe Text) Source #

The ID of the volume from which the snapshot was created.