updateItem
Spec
async updateItem(
tnmInput: TynamoUpdateItemInput<TSource>
): Promise<TynamoUpdateItemOutput<TSource>>Input
export interface TynamoUpdateItemInput<TSource> {
Key: Partial<TSource>;
ExpressionAttributeValues?: any;
// Derived from DynamoDB.
ReturnValues?: ReturnValue;
ReturnConsumedCapacity?: ReturnConsumedCapacity;
ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics;
ConditionExpression?: ConditionExpression;
UpdateExpression?: UpdateExpression;
ExpressionAttributeNames?: ExpressionAttributeNameMap;
}Name
Type
Info
Key
@DynamoEntity
The key of item.
ExpressionAttributeValues
@DynamoEntity
Value used for expression.
Output
Name
Type
Info
Attributes
@DynamoEntity
Result of updateItem operation.
Example
Last updated
Was this helpful?