amazonka-storagegateway-2.0: Amazon Storage Gateway 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.StorageGateway.Types.TapeArchive

Description

 
Synopsis

Documentation

data TapeArchive Source #

Represents a virtual tape that is archived in the virtual tape shelf (VTS).

See: newTapeArchive smart constructor.

Constructors

TapeArchive' 

Fields

  • completionTime :: Maybe POSIX

    The time that the archiving of the virtual tape was completed.

    The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

  • kmsKey :: Maybe Text
     
  • poolEntryDate :: Maybe POSIX

    The time that the tape entered the custom tape pool.

    The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

  • poolId :: Maybe Text

    The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.

  • retentionStartDate :: Maybe POSIX

    If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.

  • retrievedTo :: Maybe Text

    The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.

    The virtual tape is retrieved from the virtual tape shelf (VTS).

  • tapeARN :: Maybe Text

    The Amazon Resource Name (ARN) of an archived virtual tape.

  • tapeBarcode :: Maybe Text

    The barcode that identifies the archived virtual tape.

  • tapeCreatedDate :: Maybe POSIX

    The date the virtual tape was created.

  • tapeSizeInBytes :: Maybe Integer

    The size, in bytes, of the archived virtual tape.

  • tapeStatus :: Maybe Text

    The current state of the archived virtual tape.

  • tapeUsedInBytes :: Maybe Integer

    The size, in bytes, of data stored on the virtual tape.

    This value is not available for tapes created prior to May 13, 2015.

  • worm :: Maybe Bool

    Set to true if the archived tape is stored as write-once-read-many (WORM).

Instances

Instances details
FromJSON TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

Generic TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

Associated Types

type Rep TapeArchive :: Type -> Type #

Read TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

Show TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

NFData TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

Methods

rnf :: TapeArchive -> () #

Eq TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

Hashable TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

type Rep TapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.TapeArchive

type Rep TapeArchive = D1 ('MetaData "TapeArchive" "Amazonka.StorageGateway.Types.TapeArchive" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "TapeArchive'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "completionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "poolEntryDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "poolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "retentionStartDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "retrievedTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "tapeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tapeBarcode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tapeCreatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "tapeSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "tapeStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tapeUsedInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "worm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

newTapeArchive :: TapeArchive Source #

Create a value of TapeArchive 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:completionTime:TapeArchive', tapeArchive_completionTime - The time that the archiving of the virtual tape was completed.

The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

$sel:kmsKey:TapeArchive', tapeArchive_kmsKey - Undocumented member.

$sel:poolEntryDate:TapeArchive', tapeArchive_poolEntryDate - The time that the tape entered the custom tape pool.

The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

$sel:poolId:TapeArchive', tapeArchive_poolId - The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.

$sel:retentionStartDate:TapeArchive', tapeArchive_retentionStartDate - If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.

$sel:retrievedTo:TapeArchive', tapeArchive_retrievedTo - The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.

The virtual tape is retrieved from the virtual tape shelf (VTS).

$sel:tapeARN:TapeArchive', tapeArchive_tapeARN - The Amazon Resource Name (ARN) of an archived virtual tape.

$sel:tapeBarcode:TapeArchive', tapeArchive_tapeBarcode - The barcode that identifies the archived virtual tape.

$sel:tapeCreatedDate:TapeArchive', tapeArchive_tapeCreatedDate - The date the virtual tape was created.

$sel:tapeSizeInBytes:TapeArchive', tapeArchive_tapeSizeInBytes - The size, in bytes, of the archived virtual tape.

$sel:tapeStatus:TapeArchive', tapeArchive_tapeStatus - The current state of the archived virtual tape.

$sel:tapeUsedInBytes:TapeArchive', tapeArchive_tapeUsedInBytes - The size, in bytes, of data stored on the virtual tape.

This value is not available for tapes created prior to May 13, 2015.

$sel:worm:TapeArchive', tapeArchive_worm - Set to true if the archived tape is stored as write-once-read-many (WORM).

tapeArchive_completionTime :: Lens' TapeArchive (Maybe UTCTime) Source #

The time that the archiving of the virtual tape was completed.

The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

tapeArchive_poolEntryDate :: Lens' TapeArchive (Maybe UTCTime) Source #

The time that the tape entered the custom tape pool.

The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

tapeArchive_poolId :: Lens' TapeArchive (Maybe Text) Source #

The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.

tapeArchive_retentionStartDate :: Lens' TapeArchive (Maybe UTCTime) Source #

If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.

tapeArchive_retrievedTo :: Lens' TapeArchive (Maybe Text) Source #

The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.

The virtual tape is retrieved from the virtual tape shelf (VTS).

tapeArchive_tapeARN :: Lens' TapeArchive (Maybe Text) Source #

The Amazon Resource Name (ARN) of an archived virtual tape.

tapeArchive_tapeBarcode :: Lens' TapeArchive (Maybe Text) Source #

The barcode that identifies the archived virtual tape.

tapeArchive_tapeCreatedDate :: Lens' TapeArchive (Maybe UTCTime) Source #

The date the virtual tape was created.

tapeArchive_tapeSizeInBytes :: Lens' TapeArchive (Maybe Integer) Source #

The size, in bytes, of the archived virtual tape.

tapeArchive_tapeStatus :: Lens' TapeArchive (Maybe Text) Source #

The current state of the archived virtual tape.

tapeArchive_tapeUsedInBytes :: Lens' TapeArchive (Maybe Integer) Source #

The size, in bytes, of data stored on the virtual tape.

This value is not available for tapes created prior to May 13, 2015.

tapeArchive_worm :: Lens' TapeArchive (Maybe Bool) Source #

Set to true if the archived tape is stored as write-once-read-many (WORM).