@aws-sdk/client-eks
Version:
AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native
17 lines (16 loc) • 1.03 kB
TypeScript
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
import { type DescribeClusterCommandInput, type DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
import type { EKSClient } from "../EKSClient";
import type { EKSServiceException } from "../models/EKSServiceException";
import type { ResourceNotFoundException } from "../models/errors";
/**
*
* @deprecated Use waitUntilClusterDeleted instead. waitForClusterDeleted does not throw error in non-success cases.
*/
export declare const waitForClusterDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult<DescribeClusterCommandOutput | EKSServiceException>>;
/**
*
* @param params - Waiter configuration options.
* @param input - The input to DescribeClusterCommand for polling.
*/
export declare const waitUntilClusterDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;