Class: Aws::DynamoDB::Types::Get

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

Overview

Specifies an item and related attribute values to retrieve in a TransactGetItem object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expression_attribute_names ⇒ Hash<String,String>

One or more substitution tokens for attribute names in the ProjectionExpression parameter.

Returns:

  • (Hash<String,String>)


4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 4127

class Get < Struct.new(
  :key,
  :table_name,
  :projection_expression,
  :expression_attribute_names)
  SENSITIVE = []
  include Aws::Structure
end

#key ⇒ Hash<String,Types::AttributeValue>

A map of attribute names to AttributeValue objects that specifies the primary key of the item to retrieve.

Returns:



4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 4127

class Get < Struct.new(
  :key,
  :table_name,
  :projection_expression,
  :expression_attribute_names)
  SENSITIVE = []
  include Aws::Structure
end

#projection_expression ⇒ String

A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.

Returns:

  • (String)


4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 4127

class Get < Struct.new(
  :key,
  :table_name,
  :projection_expression,
  :expression_attribute_names)
  SENSITIVE = []
  include Aws::Structure
end

#table_name ⇒ String

The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

Returns:

  • (String)


4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 4127

class Get < Struct.new(
  :key,
  :table_name,
  :projection_expression,
  :expression_attribute_names)
  SENSITIVE = []
  include Aws::Structure
end