Class: Aws::DynamoDB::Types::TransactGetItemsInput

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

Overview

Note:

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

{
  transact_items: [ # required
    {
      get: { # required
        key: { # required
          "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
        },
        table_name: "TableName", # required
        projection_expression: "ProjectionExpression",
        expression_attribute_names: {
          "ExpressionAttributeNameVariable" => "AttributeName",
        },
      },
    },
  ],
  return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#return_consumed_capacityString

A value of `TOTAL` causes consumed capacity information to be returned, and a value of `NONE` prevents that information from being returned. No other value is valid.

Returns:

  • (String)

9174
9175
9176
9177
9178
9179
# File 'lib/aws-sdk-dynamodb/types.rb', line 9174

class TransactGetItemsInput < Struct.new(
  :transact_items,
  :return_consumed_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#transact_itemsArray<Types::TransactGetItem>

An ordered array of up to 25 `TransactGetItem` objects, each of which contains a `Get` structure.

Returns:


9174
9175
9176
9177
9178
9179
# File 'lib/aws-sdk-dynamodb/types.rb', line 9174

class TransactGetItemsInput < Struct.new(
  :transact_items,
  :return_consumed_capacity)
  SENSITIVE = []
  include Aws::Structure
end