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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TransactGetItemsInput as input to an Aws::Client method, you can use a vanilla 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
}

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.

Possible values:

  • INDEXES
  • TOTAL
  • NONE

Returns:

  • (String)

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

#transact_itemsArray<Types::TransactGetItem>

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

Returns:

  • (Array<Types::TransactGetItem>)

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