You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DynamoDB::Types::UpdateTimeToLiveInput

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 UpdateTimeToLiveInput data as a hash:

{
  table_name: "TableName", # required
  time_to_live_specification: { # required
    enabled: false, # required
    attribute_name: "TimeToLiveAttributeName", # required
  },
}

Represents the input of an UpdateTimeToLive operation.

Instance Attribute Summary collapse

Instance Attribute Details

#table_nameString

The name of the table to be configured.

Returns:

  • (String)


5380
5381
5382
5383
5384
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 5380

class UpdateTimeToLiveInput < Struct.new(
  :table_name,
  :time_to_live_specification)
  include Aws::Structure
end

#time_to_live_specificationTypes::TimeToLiveSpecification

Represents the settings used to enable or disable Time to Live for the specified table.



5380
5381
5382
5383
5384
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 5380

class UpdateTimeToLiveInput < Struct.new(
  :table_name,
  :time_to_live_specification)
  include Aws::Structure
end