import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb"; import { Command as $Command } from "@smithy/core/client"; import type { Handler, MiddlewareStack } from "@smithy/types"; import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; /** * @public */ export { DynamoDBDocumentClientCommand, $Command }; /** * @public */ export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & { Key: Record | undefined; AttributeUpdates?: Record & { Value?: NativeAttributeValue | undefined; }> | undefined; Expected?: Record & { Value?: NativeAttributeValue | undefined; AttributeValueList?: NativeAttributeValue[] | undefined; }> | undefined; ExpressionAttributeValues?: Record | undefined; }; /** * @public */ export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & { Attributes?: Record | undefined; ItemCollectionMetrics?: (Omit & { ItemCollectionKey?: Record | undefined; }) | undefined; }; /** * Accepts native JavaScript types instead of `AttributeValue`s, and calls * UpdateItemCommand operation from {@link @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. * * @public */ export declare class UpdateCommand extends DynamoDBDocumentClientCommand { readonly input: UpdateCommandInput; protected readonly inputKeyNodes: { Key: import("../commands/utils").KeyNodeChildren; AttributeUpdates: { "*": { Value: null; }; }; Expected: { "*": { Value: null; AttributeValueList: import("../commands/utils").KeyNodeChildren; }; }; ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; }; protected readonly outputKeyNodes: { Attributes: import("../commands/utils").KeyNodeChildren; ItemCollectionMetrics: { ItemCollectionKey: import("../commands/utils").KeyNodeChildren; }; }; protected readonly clientCommand: __UpdateItemCommand; readonly middlewareStack: MiddlewareStack; constructor(input: UpdateCommandInput); /** * @internal */ resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; } import type { AttributeValueUpdate, ExpectedAttributeValue, ItemCollectionMetrics, UpdateItemCommandInput as __UpdateItemCommandInput, UpdateItemCommandOutput as __UpdateItemCommandOutput } from "@aws-sdk/client-dynamodb"; import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";