amazonka-dynamodb-2.0: Amazon DynamoDB 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.DynamoDB.Types.ArchivalSummary

Description

 
Synopsis

Documentation

data ArchivalSummary Source #

Contains details of a table archival operation.

See: newArchivalSummary smart constructor.

Constructors

ArchivalSummary' 

Fields

  • archivalBackupArn :: Maybe Text

    The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.

  • archivalDateTime :: Maybe POSIX

    The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.

  • archivalReason :: Maybe Text

    The reason DynamoDB archived the table. Currently, the only possible value is:

    • INACCESSIBLE_ENCRYPTION_CREDENTIALS - The table was archived due to the table's KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.

Instances

Instances details
FromJSON ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Generic ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Associated Types

type Rep ArchivalSummary :: Type -> Type #

Read ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Show ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

NFData ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Methods

rnf :: ArchivalSummary -> () #

Eq ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Hashable ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

type Rep ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

type Rep ArchivalSummary = D1 ('MetaData "ArchivalSummary" "Amazonka.DynamoDB.Types.ArchivalSummary" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "ArchivalSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "archivalBackupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "archivalDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "archivalReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newArchivalSummary :: ArchivalSummary Source #

Create a value of ArchivalSummary 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:archivalBackupArn:ArchivalSummary', archivalSummary_archivalBackupArn - The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.

$sel:archivalDateTime:ArchivalSummary', archivalSummary_archivalDateTime - The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.

$sel:archivalReason:ArchivalSummary', archivalSummary_archivalReason - The reason DynamoDB archived the table. Currently, the only possible value is:

  • INACCESSIBLE_ENCRYPTION_CREDENTIALS - The table was archived due to the table's KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.

archivalSummary_archivalBackupArn :: Lens' ArchivalSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.

archivalSummary_archivalDateTime :: Lens' ArchivalSummary (Maybe UTCTime) Source #

The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.

archivalSummary_archivalReason :: Lens' ArchivalSummary (Maybe Text) Source #

The reason DynamoDB archived the table. Currently, the only possible value is:

  • INACCESSIBLE_ENCRYPTION_CREDENTIALS - The table was archived due to the table's KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.