Skip to content

DynamoDB  >  Structures  >  Get

Get

Structure Class

Get dataclass

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

Attributes

expression_attribute_names class-attribute instance-attribute
expression_attribute_names: dict[str, str] | None = None

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

key instance-attribute

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

projection_expression class-attribute instance-attribute
projection_expression: str | None = None

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.

table_name instance-attribute
table_name: str

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.