import { BatchWriteItemCommand as __BatchWriteItemCommand } 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 BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & { RequestItems: Record & { PutRequest?: (Omit & { Item: Record | undefined; }) | undefined; DeleteRequest?: (Omit & { Key: Record | undefined; }) | undefined; })[]> | undefined; }; /** * @public */ export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & { UnprocessedItems?: Record & { PutRequest?: (Omit & { Item: Record | undefined; }) | undefined; DeleteRequest?: (Omit & { Key: Record | undefined; }) | undefined; })[]> | undefined; ItemCollectionMetrics?: Record & { ItemCollectionKey?: Record | undefined; })[]> | undefined; }; /** * Accepts native JavaScript types instead of `AttributeValue`s, and calls * BatchWriteItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchWriteItemCommand}. * * 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 BatchWriteCommand extends DynamoDBDocumentClientCommand { readonly input: BatchWriteCommandInput; protected readonly inputKeyNodes: { RequestItems: { "*": { "*": { PutRequest: { Item: import("../commands/utils").KeyNodeChildren; }; DeleteRequest: { Key: import("../commands/utils").KeyNodeChildren; }; }; }; }; }; protected readonly outputKeyNodes: { UnprocessedItems: { "*": { "*": { PutRequest: { Item: import("../commands/utils").KeyNodeChildren; }; DeleteRequest: { Key: import("../commands/utils").KeyNodeChildren; }; }; }; }; ItemCollectionMetrics: { "*": { "*": { ItemCollectionKey: import("../commands/utils").KeyNodeChildren; }; }; }; }; protected readonly clientCommand: __BatchWriteItemCommand; readonly middlewareStack: MiddlewareStack; constructor(input: BatchWriteCommandInput); /** * @internal */ resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; } import type { BatchWriteItemCommandInput as __BatchWriteItemCommandInput, BatchWriteItemCommandOutput as __BatchWriteItemCommandOutput, DeleteRequest, ItemCollectionMetrics, PutRequest, WriteRequest } from "@aws-sdk/client-dynamodb"; import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";