NAME

Paws::DynamoDB::RestoreTableToPointInTime - Arguments for method RestoreTableToPointInTime on Paws::DynamoDB

DESCRIPTION

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.

SYNOPSIS

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

ATTRIBUTES

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.

RestoreDateTime => Str

Time in the past to restore the table to.

SourceTableArn => Str

The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).

SourceTableName => Str

Name of the source table that is being restored.

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 it must be restored to.

UseLatestRestorableTime => Bool

Restore the table to the latest possible time. LatestRestorableDateTime is typically 5 minutes before the current time.

SEE ALSO

This class forms part of Paws, documenting arguments for method RestoreTableToPointInTime 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