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

Class: Aws::DynamoDB::Types::GetItemOutput

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

Overview

Represents the output of a GetItem operation.

Instance Attribute Summary collapse

Instance Attribute Details

#consumed_capacityTypes::ConsumedCapacity

The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.



2193
2194
2195
2196
2197
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 2193

class GetItemOutput < Struct.new(
  :item,
  :consumed_capacity)
  include Aws::Structure
end

#itemHash<String,Types::AttributeValue>

A map of attribute names to AttributeValue objects, as specified by ProjectionExpression.

Returns:



2193
2194
2195
2196
2197
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 2193

class GetItemOutput < Struct.new(
  :item,
  :consumed_capacity)
  include Aws::Structure
end