UNPKG

@aws-sdk/client-eks

Version:

AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native

16 lines (15 loc) 958 B
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"; /** * * @deprecated Use waitUntilClusterActive instead. waitForClusterActive does not throw error in non-success cases. */ export declare const waitForClusterActive: (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 waitUntilClusterActive: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult<DescribeClusterCommandOutput>>;