@aws-sdk/lib-dynamodb

UpdateCommand Class

Accepts native JavaScript types instead of AttributeValues, and calls UpdateItemCommand operation from @aws-sdk/client-dynamodb#UpdateItemCommand.JavaScript objects passed in as parameters are marshalled into AttributeValue shapes required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.

Members

Name
Type
Details
(constructor) Requiredconstructor(input: UpdateCommandInput)
Constructs a new instance of the UpdateCommand class
addMarshallingMiddleware Requiredprotected addMarshallingMiddleware(configuration: DynamoDBDocumentClientResolvedConfig): void
clientCommand Required__UpdateItemCommand
input RequiredUpdateCommandInput
inputKeyNodes Required{ Key: import("../commands/utils").KeyNodeChildren AttributeUpdates: { "*": { Value: null; }; }; Expected: { "*": { Value: null; AttributeValueList: import("../commands/utils").KeyNodeChildren; }; }; ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; }
middlewareStack RequiredMiddlewareStack<UpdateCommandInput | __UpdateItemCommandInput, UpdateCommandOutput | __UpdateItemCommandOutput>
outputKeyNodes Required{ Attributes: import("../commands/utils").KeyNodeChildren ItemCollectionMetrics: { ItemCollectionKey: import("../commands/utils").KeyNodeChildren; }; }
resolveMiddleware Requiredabstract resolveMiddleware(stack: IMiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedClientConfiguration, options: any): Handler<Input, Output>
schema RequiredOperationSchema

Full Signature

export declare class UpdateCommand extends DynamoDBDocumentClientCommand<UpdateCommandInput, UpdateCommandOutput, __UpdateItemCommandInput, __UpdateItemCommandOutput, DynamoDBDocumentClientResolvedConfig>