AWS DynamoDB

Update 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.

Edit an existing item’s attributes, or add a new item to the table if it does not already exist.

Inputs

Champ

Type

Description

region [required]

enum

default: us-east-1

tableName [required]

string

The name of the table containing the item to update. 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.

updateExpression [required]

string

An expression that defines one or more attributes to be updated, the action to be performed on them, and new values for them. See AWS documentation for details.

updateValues [required]

object

One or more values that can be substituted in an expression.

Outputs

Champ

Type

Description

item [required]

object

amzRequestId [required]

string