UNPKG

@aws-sdk/client-dynamodb

Version:

AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native

46 lines (45 loc) 2.61 kB
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { TransactGetItemsInput, TransactGetItemsOutput } from "../models/models_0"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types"; export declare type TransactGetItemsCommandInput = TransactGetItemsInput; export declare type TransactGetItemsCommandOutput = TransactGetItemsOutput & __MetadataBearer; /** * <p> * <code>TransactGetItems</code> is a synchronous operation that atomically retrieves * multiple items from one or more tables (but not from indexes) in a single account and * Region. A <code>TransactGetItems</code> call can contain up to 25 * <code>TransactGetItem</code> objects, each of which contains a <code>Get</code> * structure that specifies an item to retrieve from a table in the account and Region. A * call to <code>TransactGetItems</code> cannot retrieve items from tables in more than one * AWS account or Region. The aggregate size of the items in the transaction cannot exceed * 4 MB.</p> * <p>DynamoDB rejects the entire <code>TransactGetItems</code> request if any of the following is true:</p> * <ul> * <li> * <p>A conflicting operation is in the process of updating an * item to be read.</p> * </li> * <li> * <p>There is insufficient provisioned capacity for the transaction * to be completed.</p> * </li> * <li> * <p>There is a user error, such as an invalid data format.</p> * </li> * <li> * <p>The aggregate size of the items in the transaction cannot exceed 4 MB.</p> * </li> * </ul> */ export declare class TransactGetItemsCommand extends $Command<TransactGetItemsCommandInput, TransactGetItemsCommandOutput, DynamoDBClientResolvedConfig> { readonly input: TransactGetItemsCommandInput; private resolved; constructor(input: TransactGetItemsCommandInput); /** * @internal */ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransactGetItemsCommandInput, TransactGetItemsCommandOutput>; private serialize; private deserialize; }