AWS DynamoDB

Get item

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Return a set of attributes for the item with the given primary key.

Inputs

Champ

Type

Description

region [required]

enum

default: us-east-1

tableName [required]

string

The name of the table containing the requested item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

key [required]

object

A map of attribute names to AttributeValue objects, representing the primary key of the item.

attributes

string

A string that identifies one or more attributes to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, all attributes are returned.

consistentRead

boolean

allowMissingValues

boolean

When this is enabled, values not found in the database will be considered undefined. When disabled, missing values are treated as errors.

Outputs

Champ

Type

Description

item

object

amzRequestId [required]

string