libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DynamoDB.Types.ArchivalSummary

Description

 
Synopsis

Documentation

data ArchivalSummary Source #

Contains details of a table archival operation.

See: newArchivalSummary smart constructor.

Constructors

ArchivalSummary' 

Fields

  • 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 AWS KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.
  • archivalDateTime :: Maybe POSIX

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

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

Instances

Instances details
Eq ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Read ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Show 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 #

NFData ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

Methods

rnf :: ArchivalSummary -> () #

Hashable ArchivalSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ArchivalSummary

FromJSON 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" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ArchivalSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "archivalReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "archivalDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "archivalBackupArn") '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: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 AWS KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.

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

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

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 AWS KMS key being inaccessible for more than seven days. An On-Demand backup was created at the archival time.

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

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

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.