NAME
Paws::DynamoDB::RestoreTableFromBackup - Arguments for method RestoreTableFromBackup on Paws::DynamoDB
DESCRIPTION
This class represents the parameters used for calling the method RestoreTableFromBackup on the Amazon DynamoDB service. Use the attributes of this class as arguments to method RestoreTableFromBackup.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RestoreTableFromBackup.
SYNOPSIS
my $dynamodb = Paws->service('DynamoDB');
my $RestoreTableFromBackupOutput = $dynamodb->RestoreTableFromBackup(
BackupArn => 'MyBackupArn',
TargetTableName => 'MyTableName',
BillingModeOverride => 'PROVISIONED', # OPTIONAL
GlobalSecondaryIndexOverride => [
{
IndexName => 'MyIndexName', # min: 3, max: 255
KeySchema => [
{
AttributeName => 'MyKeySchemaAttributeName', # min: 1, max: 255
KeyType => 'HASH', # values: HASH, RANGE
},
...
], # min: 1, max: 2
Projection => {
NonKeyAttributes => [
'MyNonKeyAttributeName', ... # min: 1, max: 255
], # min: 1, max: 20; OPTIONAL
ProjectionType => 'ALL', # values: ALL, KEYS_ONLY, INCLUDE; OPTIONAL
},
ProvisionedThroughput => {
ReadCapacityUnits => 1, # min: 1
WriteCapacityUnits => 1, # min: 1
}, # OPTIONAL
},
...
], # OPTIONAL
LocalSecondaryIndexOverride => [
{
IndexName => 'MyIndexName', # min: 3, max: 255
KeySchema => [
{
AttributeName => 'MyKeySchemaAttributeName', # min: 1, max: 255
KeyType => 'HASH', # values: HASH, RANGE
},
...
], # min: 1, max: 2
Projection => {
NonKeyAttributes => [
'MyNonKeyAttributeName', ... # min: 1, max: 255
], # min: 1, max: 20; OPTIONAL
ProjectionType => 'ALL', # values: ALL, KEYS_ONLY, INCLUDE; OPTIONAL
},
},
...
], # OPTIONAL
ProvisionedThroughputOverride => {
ReadCapacityUnits => 1, # min: 1
WriteCapacityUnits => 1, # min: 1
}, # OPTIONAL
SSESpecificationOverride => {
Enabled => 1, # OPTIONAL
KMSMasterKeyId => 'MyKMSMasterKeyId', # OPTIONAL
SSEType => 'AES256', # values: AES256, KMS; OPTIONAL
}, # OPTIONAL
);
# Results:
my $TableDescription = $RestoreTableFromBackupOutput->TableDescription;
# Returns a L<Paws::DynamoDB::RestoreTableFromBackupOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/dynamodb/RestoreTableFromBackup
ATTRIBUTES
REQUIRED BackupArn => Str
The Amazon Resource Name (ARN) associated with the backup.
BillingModeOverride => Str
The billing mode of the restored table.
Valid values are: "PROVISIONED"
, "PAY_PER_REQUEST"
GlobalSecondaryIndexOverride => ArrayRef[Paws::DynamoDB::GlobalSecondaryIndex]
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.
LocalSecondaryIndexOverride => ArrayRef[Paws::DynamoDB::LocalSecondaryIndex]
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.
ProvisionedThroughputOverride => Paws::DynamoDB::ProvisionedThroughput
Provisioned throughput settings for the restored table.
SSESpecificationOverride => Paws::DynamoDB::SSESpecification
The new server-side encryption settings for the restored table.
REQUIRED TargetTableName => Str
The name of the new table to which the backup must be restored.
SEE ALSO
This class forms part of Paws, documenting arguments for method RestoreTableFromBackup in Paws::DynamoDB
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues