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