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.

Constant Summary collapse

SENSITIVE =
[]

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/ProvisionedThroughput.html#ItemSizeCalculations.Reads



4006
4007
4008
4009
4010
4011
# File 'lib/aws-sdk-dynamodb/types.rb', line 4006

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

#itemHash<String,Types::AttributeValue>

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

Returns:



4006
4007
4008
4009
4010
4011
# File 'lib/aws-sdk-dynamodb/types.rb', line 4006

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