Class: Aws::DynamoDB::Types::RestoreTableToPointInTimeInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

Note:

When making an API call, you may pass RestoreTableToPointInTimeInput data as a hash:

{
  source_table_arn: "TableArn",
  source_table_name: "TableName",
  target_table_name: "TableName", # required
  use_latest_restorable_time: false,
  restore_date_time: Time.now,
  billing_mode_override: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
  global_secondary_index_override: [
    {
      index_name: "IndexName", # required
      key_schema: [ # required
        {
          attribute_name: "KeySchemaAttributeName", # required
          key_type: "HASH", # required, accepts HASH, RANGE
        },
      ],
      projection: { # required
        projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
        non_key_attributes: ["NonKeyAttributeName"],
      },
      provisioned_throughput: {
        read_capacity_units: 1, # required
        write_capacity_units: 1, # required
      },
    },
  ],
  local_secondary_index_override: [
    {
      index_name: "IndexName", # required
      key_schema: [ # required
        {
          attribute_name: "KeySchemaAttributeName", # required
          key_type: "HASH", # required, accepts HASH, RANGE
        },
      ],
      projection: { # required
        projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
        non_key_attributes: ["NonKeyAttributeName"],
      },
    },
  ],
  provisioned_throughput_override: {
    read_capacity_units: 1, # required
    write_capacity_units: 1, # required
  },
  sse_specification_override: {
    enabled: false,
    sse_type: "AES256", # accepts AES256, KMS
    kms_master_key_id: "KMSMasterKeyId",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#billing_mode_overrideString

The billing mode of the restored table.

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#global_secondary_index_overrideArray<Types::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.

Returns:



8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#local_secondary_index_overrideArray<Types::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.

Returns:



8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#provisioned_throughput_overrideTypes::ProvisionedThroughput

Provisioned throughput settings for the restored table.



8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#restore_date_timeTime

Time in the past to restore the table to.

Returns:

  • (Time)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#source_table_arnString

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

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#source_table_nameString

Name of the source table that is being restored.

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#sse_specification_overrideTypes::SSESpecification

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



8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#target_table_nameString

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

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end

#use_latest_restorable_timeBoolean

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

Returns:

  • (Boolean)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 8515

class RestoreTableToPointInTimeInput < Struct.new(
  :source_table_arn,
  :source_table_name,
  :target_table_name,
  :use_latest_restorable_time,
  :restore_date_time,
  :billing_mode_override,
  :global_secondary_index_override,
  :local_secondary_index_override,
  :provisioned_throughput_override,
  :sse_specification_override)
  SENSITIVE = []
  include Aws::Structure
end