@aws-sdk/client-dynamodb
Version:
AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native
26 lines (25 loc) • 1.79 kB
TypeScript
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
import { DescribeTableInput, DescribeTableOutput } 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 DescribeTableCommandInput = DescribeTableInput;
export declare type DescribeTableCommandOutput = DescribeTableOutput & __MetadataBearer;
/**
* <p>Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.</p>
* <note>
* <p>If you issue a <code>DescribeTable</code> request immediately after a <code>CreateTable</code> request, DynamoDB might
* return a <code>ResourceNotFoundException</code>. This is because <code>DescribeTable</code> uses an eventually
* consistent query, and the metadata for your table might not be available at that moment.
* Wait for a few seconds, and then try the <code>DescribeTable</code> request again.</p>
* </note>
*/
export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, DynamoDBClientResolvedConfig> {
readonly input: DescribeTableCommandInput;
constructor(input: DescribeTableCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
private serialize;
private deserialize;
}