@aws-sdk/client-dynamodb
Version:
AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native
15 lines (14 loc) • 769 B
TypeScript
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
import { type DescribeTableCommandInput } from "../commands/DescribeTableCommand";
import type { DynamoDBClient } from "../DynamoDBClient";
/**
*
* @deprecated Use waitUntilTableExists instead. waitForTableExists does not throw error in non-success cases.
*/
export declare const waitForTableExists: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeTableCommandInput) => Promise<WaiterResult>;
/**
*
* @param params - Waiter configuration options.
* @param input - The input to DescribeTableCommand for polling.
*/
export declare const waitUntilTableExists: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeTableCommandInput) => Promise<WaiterResult>;