import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb"; import { Command as $Command } from "@smithy/core/client"; import { Handler, MiddlewareStack } from "@smithy/types"; import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, } from "../DynamoDBDocumentClient"; export { DynamoDBDocumentClientCommand, $Command }; export type UpdateCommandInput = Pick< __UpdateItemCommandInput, Exclude< keyof __UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues" > > & { Key: Record | undefined; AttributeUpdates?: | Record< string, Pick< AttributeValueUpdate, Exclude > & { Value?: NativeAttributeValue | undefined; } > | undefined; Expected?: | Record< string, Pick< ExpectedAttributeValue, Exclude > & { Value?: NativeAttributeValue | undefined; AttributeValueList?: NativeAttributeValue[] | undefined; } > | undefined; ExpressionAttributeValues?: Record | undefined; }; export type UpdateCommandOutput = Pick< __UpdateItemCommandOutput, Exclude< keyof __UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics" > > & { Attributes?: Record | undefined; ItemCollectionMetrics?: | (Pick< ItemCollectionMetrics, Exclude > & { ItemCollectionKey?: Record | undefined; }) | undefined; }; export declare class UpdateCommand extends DynamoDBDocumentClientCommand< UpdateCommandInput, UpdateCommandOutput, __UpdateItemCommandInput, __UpdateItemCommandOutput, DynamoDBDocumentClientResolvedConfig > { 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< UpdateCommandInput | __UpdateItemCommandInput, UpdateCommandOutput | __UpdateItemCommandOutput >; constructor(input: UpdateCommandInput); resolveMiddleware( clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions ): Handler; } import { AttributeValueUpdate, ExpectedAttributeValue, ItemCollectionMetrics, UpdateItemCommandInput as __UpdateItemCommandInput, UpdateItemCommandOutput as __UpdateItemCommandOutput, } from "@aws-sdk/client-dynamodb"; import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";