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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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*.

[1]: docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html



3183
3184
3185
3186
3187
# File 'lib/aws-sdk-dynamodb/types.rb', line 3183

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:



3183
3184
3185
3186
3187
# File 'lib/aws-sdk-dynamodb/types.rb', line 3183

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