import { TransactWriteItemsCommand as __TransactWriteItemsCommand } 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 TransactWriteCommandInput = Pick< __TransactWriteItemsCommandInput, Exclude > & { TransactItems: | (Pick< TransactWriteItem, Exclude< keyof TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update" > > & { ConditionCheck?: | (Pick< ConditionCheck, Exclude > & { Key: Record | undefined; ExpressionAttributeValues?: | Record | undefined; }) | undefined; Put?: | (Pick< Put, Exclude > & { Item: Record | undefined; ExpressionAttributeValues?: | Record | undefined; }) | undefined; Delete?: | (Pick< Delete, Exclude > & { Key: Record | undefined; ExpressionAttributeValues?: | Record | undefined; }) | undefined; Update?: | (Pick< Update, Exclude > & { Key: Record | undefined; ExpressionAttributeValues?: | Record | undefined; }) | undefined; })[] | undefined; }; export type TransactWriteCommandOutput = Pick< __TransactWriteItemsCommandOutput, Exclude > & { ItemCollectionMetrics?: | Record< string, (Pick< ItemCollectionMetrics, Exclude > & { ItemCollectionKey?: Record | undefined; })[] > | undefined; }; export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand< TransactWriteCommandInput, TransactWriteCommandOutput, __TransactWriteItemsCommandInput, __TransactWriteItemsCommandOutput, DynamoDBDocumentClientResolvedConfig > { 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< TransactWriteCommandInput | __TransactWriteItemsCommandInput, TransactWriteCommandOutput | __TransactWriteItemsCommandOutput >; constructor(input: TransactWriteCommandInput); resolveMiddleware( clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions ): Handler; } import { ConditionCheck, Delete, ItemCollectionMetrics, Put, TransactWriteItem, TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput, Update, } from "@aws-sdk/client-dynamodb"; import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";