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 [Read/Write Capacity Mode] in the *Amazon DynamoDB Developer Guide*.

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


4168
4169
4170
4171
4172
4173
# File 'lib/aws-sdk-dynamodb/types.rb', line 4168

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:


4168
4169
4170
4171
4172
4173
# File 'lib/aws-sdk-dynamodb/types.rb', line 4168

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