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