Paws::DynamoDB::RestoreTableToPointInTime - Arguments for method RestoreTableToPointInTime on Paws::DynamoDB
This class represents the parameters used for calling the method RestoreTableToPointInTime on the Amazon DynamoDB service. Use the attributes of this class as arguments to method RestoreTableToPointInTime.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RestoreTableToPointInTime.
my $dynamodb = Paws->service('DynamoDB'); my $RestoreTableToPointInTimeOutput = $dynamodb->RestoreTableToPointInTime( 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 RestoreDateTime => '1970-01-01T01:00:00', # OPTIONAL SSESpecificationOverride => { Enabled => 1, # OPTIONAL KMSMasterKeyId => 'MyKMSMasterKeyId', # OPTIONAL SSEType => 'AES256', # values: AES256, KMS; OPTIONAL }, # OPTIONAL SourceTableArn => 'MyTableArn', # OPTIONAL SourceTableName => 'MyTableName', # OPTIONAL UseLatestRestorableTime => 1, # OPTIONAL ); # Results: my $TableDescription = $RestoreTableToPointInTimeOutput->TableDescription; # Returns a L<Paws::DynamoDB::RestoreTableToPointInTimeOutput> 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/RestoreTableToPointInTime
The billing mode of the restored table.
Valid values are: "PROVISIONED", "PAY_PER_REQUEST"
"PROVISIONED"
"PAY_PER_REQUEST"
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.
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.
Provisioned throughput settings for the restored table.
Time in the past to restore the table to.
The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).
Name of the source table that is being restored.
The new server-side encryption settings for the restored table.
The name of the new table to which it must be restored to.
Restore the table to the latest possible time. LatestRestorableDateTime is typically 5 minutes before the current time.
LatestRestorableDateTime
This class forms part of Paws, documenting arguments for method RestoreTableToPointInTime in Paws::DynamoDB
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.