@aws-sdk/lib-dynamodb
UpdateCommand Class
Accepts native JavaScript types instead of
AttributeValue
s, 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) Required | constructor(input: UpdateCommandInput) | Constructs a new instance of the UpdateCommand class |
addMarshallingMiddleware Required | protected addMarshallingMiddleware(configuration: DynamoDBDocumentClientResolvedConfig): void | |
clientCommand Required | __UpdateItemCommand | |
input Required | UpdateCommandInput | |
inputKeyNodes Required | {
Key: import("../commands/utils").KeyNodeChildren
AttributeUpdates: {
"*": {
Value: null;
};
};
Expected: {
"*": {
Value: null;
AttributeValueList: import("../commands/utils").KeyNodeChildren;
};
};
ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
} | |
middlewareStack Required | MiddlewareStack<UpdateCommandInput | __UpdateItemCommandInput, UpdateCommandOutput | __UpdateItemCommandOutput> | |
outputKeyNodes Required | {
Attributes: import("../commands/utils").KeyNodeChildren
ItemCollectionMetrics: {
ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
};
} | |
resolveMiddleware Required | abstract resolveMiddleware(stack: IMiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedClientConfiguration, options: any): Handler<Input, Output> | |
schema Required | OperationSchema |
Full Signature
export declare class UpdateCommand extends DynamoDBDocumentClientCommand<UpdateCommandInput, UpdateCommandOutput, __UpdateItemCommandInput, __UpdateItemCommandOutput, DynamoDBDocumentClientResolvedConfig>