import { PutItemCommand as __PutItemCommand } 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 PutCommandInput = Pick< __PutItemCommandInput, Exclude< keyof __PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues" > > & { Item: Record | undefined; Expected?: | Record< string, Pick< ExpectedAttributeValue, Exclude > & { Value?: NativeAttributeValue | undefined; AttributeValueList?: NativeAttributeValue[] | undefined; } > | undefined; ExpressionAttributeValues?: Record | undefined; }; export type PutCommandOutput = Pick< __PutItemCommandOutput, Exclude > & { Attributes?: Record | undefined; ItemCollectionMetrics?: | (Pick< ItemCollectionMetrics, Exclude > & { ItemCollectionKey?: Record | undefined; }) | undefined; }; export declare class PutCommand extends DynamoDBDocumentClientCommand< PutCommandInput, PutCommandOutput, __PutItemCommandInput, __PutItemCommandOutput, DynamoDBDocumentClientResolvedConfig > { readonly input: PutCommandInput; protected readonly inputKeyNodes: { Item: import("../commands/utils").KeyNodeChildren; 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: __PutItemCommand; readonly middlewareStack: MiddlewareStack< PutCommandInput | __PutItemCommandInput, PutCommandOutput | __PutItemCommandOutput >; constructor(input: PutCommandInput); resolveMiddleware( clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions ): Handler; } import { ExpectedAttributeValue, ItemCollectionMetrics, PutItemCommandInput as __PutItemCommandInput, PutItemCommandOutput as __PutItemCommandOutput, } from "@aws-sdk/client-dynamodb"; import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";