import { TransactWriteItemsCommand as __TransactWriteItemsCommand } 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 TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & { TransactItems: (Omit & { ConditionCheck?: (Omit & { Key: Record | undefined; ExpressionAttributeValues?: Record | undefined; }) | undefined; Put?: (Omit & { Item: Record | undefined; ExpressionAttributeValues?: Record | undefined; }) | undefined; Delete?: (Omit & { Key: Record | undefined; ExpressionAttributeValues?: Record | undefined; }) | undefined; Update?: (Omit & { Key: Record | undefined; ExpressionAttributeValues?: Record | undefined; }) | undefined; })[] | undefined; }; /** * @public */ export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, "ItemCollectionMetrics"> & { ItemCollectionMetrics?: Record & { ItemCollectionKey?: Record | undefined; })[]> | undefined; }; /** * Accepts native JavaScript types instead of `AttributeValue`s, and calls * TransactWriteItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactWriteItemsCommand}. * * 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 TransactWriteCommand extends DynamoDBDocumentClientCommand { readonly input: TransactWriteCommandInput; protected readonly inputKeyNodes: { TransactItems: { "*": { ConditionCheck: { Key: import("../commands/utils").KeyNodeChildren; ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; }; Put: { Item: import("../commands/utils").KeyNodeChildren; ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; }; Delete: { Key: import("../commands/utils").KeyNodeChildren; ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; }; Update: { Key: import("../commands/utils").KeyNodeChildren; ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; }; }; }; }; protected readonly outputKeyNodes: { ItemCollectionMetrics: { "*": { "*": { ItemCollectionKey: import("../commands/utils").KeyNodeChildren; }; }; }; }; protected readonly clientCommand: __TransactWriteItemsCommand; readonly middlewareStack: MiddlewareStack; constructor(input: TransactWriteCommandInput); /** * @internal */ resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; } import type { ConditionCheck, Delete, ItemCollectionMetrics, Put, TransactWriteItem, TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput, Update } from "@aws-sdk/client-dynamodb"; import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";