@aws-sdk/client-ssm
Version:
AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native
16 lines (15 loc) • 1.01 kB
TypeScript
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
import { type GetCommandInvocationCommandInput, type GetCommandInvocationCommandOutput } from "../commands/GetCommandInvocationCommand";
import type { SSMServiceException } from "../models/SSMServiceException";
import type { SSMClient } from "../SSMClient";
/**
*
* @deprecated Use waitUntilCommandExecuted instead. waitForCommandExecuted does not throw error in non-success cases.
*/
export declare const waitForCommandExecuted: (params: WaiterConfiguration<SSMClient>, input: GetCommandInvocationCommandInput) => Promise<WaiterResult<GetCommandInvocationCommandOutput | SSMServiceException>>;
/**
*
* @param params - Waiter configuration options.
* @param input - The input to GetCommandInvocationCommand for polling.
*/
export declare const waitUntilCommandExecuted: (params: WaiterConfiguration<SSMClient>, input: GetCommandInvocationCommandInput) => Promise<WaiterResult<GetCommandInvocationCommandOutput>>;