@aws-sdk/client-dynamodb
Version:
AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native
27 lines (26 loc) • 1.7 kB
TypeScript
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
import { GetItemInput, GetItemOutput } 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 GetItemCommandInput = GetItemInput;
export declare type GetItemCommandOutput = GetItemOutput & __MetadataBearer;
/**
* <p>The <code>GetItem</code> operation returns a set of attributes for the item with the given primary
* key. If there is no matching item, <code>GetItem</code> does not return any data and there will be no <code>Item</code> element in the response.</p>
* <p>
* <code>GetItem</code> provides an eventually consistent read by default. If your application
* requires a strongly consistent read, set <code>ConsistentRead</code> to <code>true</code>. Although
* a strongly consistent read might take more time than an eventually consistent read, it always
* returns the last updated value.</p>
*/
export declare class GetItemCommand extends $Command<GetItemCommandInput, GetItemCommandOutput, DynamoDBClientResolvedConfig> {
readonly input: GetItemCommandInput;
private resolved;
constructor(input: GetItemCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetItemCommandInput, GetItemCommandOutput>;
private serialize;
private deserialize;
}