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

Description

Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.

You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

You must manually set up the following on the restored table:

  • Auto scaling policies
  • IAM policies
  • Amazon CloudWatch metrics and alarms
  • Tags
  • Stream settings
  • Time to Live (TTL) settings
Synopsis

Creating a Request

data RestoreTableFromBackup Source #

See: newRestoreTableFromBackup smart constructor.

Constructors

RestoreTableFromBackup' 

Fields

Instances

Instances details
Eq RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Read RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Show RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Generic RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Associated Types

type Rep RestoreTableFromBackup :: Type -> Type #

NFData RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Methods

rnf :: RestoreTableFromBackup -> () #

Hashable RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

ToJSON RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

AWSRequest RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Associated Types

type AWSResponse RestoreTableFromBackup #

ToHeaders RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

ToPath RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

ToQuery RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

type Rep RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

type Rep RestoreTableFromBackup = D1 ('MetaData "RestoreTableFromBackup" "Amazonka.DynamoDB.RestoreTableFromBackup" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "RestoreTableFromBackup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "billingModeOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BillingMode)) :*: (S1 ('MetaSel ('Just "globalSecondaryIndexOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GlobalSecondaryIndex])) :*: S1 ('MetaSel ('Just "provisionedThroughputOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisionedThroughput)))) :*: ((S1 ('MetaSel ('Just "sSESpecificationOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SSESpecification)) :*: S1 ('MetaSel ('Just "localSecondaryIndexOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LocalSecondaryIndex]))) :*: (S1 ('MetaSel ('Just "targetTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "backupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse RestoreTableFromBackup Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

newRestoreTableFromBackup Source #

Create a value of RestoreTableFromBackup 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:billingModeOverride:RestoreTableFromBackup', restoreTableFromBackup_billingModeOverride - The billing mode of the restored table.

$sel:globalSecondaryIndexOverride:RestoreTableFromBackup', restoreTableFromBackup_globalSecondaryIndexOverride - List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

$sel:provisionedThroughputOverride:RestoreTableFromBackup', restoreTableFromBackup_provisionedThroughputOverride - Provisioned throughput settings for the restored table.

$sel:sSESpecificationOverride:RestoreTableFromBackup', restoreTableFromBackup_sSESpecificationOverride - The new server-side encryption settings for the restored table.

$sel:localSecondaryIndexOverride:RestoreTableFromBackup', restoreTableFromBackup_localSecondaryIndexOverride - List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

$sel:targetTableName:RestoreTableFromBackup', restoreTableFromBackup_targetTableName - The name of the new table to which the backup must be restored.

$sel:backupArn:RestoreTableFromBackup', restoreTableFromBackup_backupArn - The Amazon Resource Name (ARN) associated with the backup.

Request Lenses

restoreTableFromBackup_globalSecondaryIndexOverride :: Lens' RestoreTableFromBackup (Maybe [GlobalSecondaryIndex]) Source #

List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

restoreTableFromBackup_sSESpecificationOverride :: Lens' RestoreTableFromBackup (Maybe SSESpecification) Source #

The new server-side encryption settings for the restored table.

restoreTableFromBackup_localSecondaryIndexOverride :: Lens' RestoreTableFromBackup (Maybe [LocalSecondaryIndex]) Source #

List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.

restoreTableFromBackup_targetTableName :: Lens' RestoreTableFromBackup Text Source #

The name of the new table to which the backup must be restored.

restoreTableFromBackup_backupArn :: Lens' RestoreTableFromBackup Text Source #

The Amazon Resource Name (ARN) associated with the backup.

Destructuring the Response

data RestoreTableFromBackupResponse Source #

See: newRestoreTableFromBackupResponse smart constructor.

Constructors

RestoreTableFromBackupResponse' 

Fields

Instances

Instances details
Eq RestoreTableFromBackupResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Read RestoreTableFromBackupResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Show RestoreTableFromBackupResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Generic RestoreTableFromBackupResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

Associated Types

type Rep RestoreTableFromBackupResponse :: Type -> Type #

NFData RestoreTableFromBackupResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

type Rep RestoreTableFromBackupResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.RestoreTableFromBackup

type Rep RestoreTableFromBackupResponse = D1 ('MetaData "RestoreTableFromBackupResponse" "Amazonka.DynamoDB.RestoreTableFromBackup" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "RestoreTableFromBackupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRestoreTableFromBackupResponse Source #

Create a value of RestoreTableFromBackupResponse 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:tableDescription:RestoreTableFromBackupResponse', restoreTableFromBackupResponse_tableDescription - The description of the table created from an existing backup.

$sel:httpStatus:RestoreTableFromBackupResponse', restoreTableFromBackupResponse_httpStatus - The response's http status code.

Response Lenses