import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient"; import type { DescribeAddonVersionsRequest, DescribeAddonVersionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeAddonVersionsCommand}. */ export interface DescribeAddonVersionsCommandInput extends DescribeAddonVersionsRequest { } /** * @public * * The output of {@link DescribeAddonVersionsCommand}. */ export interface DescribeAddonVersionsCommandOutput extends DescribeAddonVersionsResponse, __MetadataBearer { } declare const DescribeAddonVersionsCommand_base: { new (input: DescribeAddonVersionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeAddonVersionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes the versions for an add-on.

*

Information such as the Kubernetes versions that you can use the add-on with, the * owner, publisher, and the type of the add-on * are returned.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EKSClient, DescribeAddonVersionsCommand } from "@aws-sdk/client-eks"; // ES Modules import * // const { EKSClient, DescribeAddonVersionsCommand } = require("@aws-sdk/client-eks"); // CommonJS import * // import type { EKSClientConfig } from "@aws-sdk/client-eks"; * const config = {}; // type is EKSClientConfig * const client = new EKSClient(config); * const input = { // DescribeAddonVersionsRequest * kubernetesVersion: "STRING_VALUE", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * addonName: "STRING_VALUE", * types: [ // StringList * "STRING_VALUE", * ], * publishers: [ * "STRING_VALUE", * ], * owners: [ * "STRING_VALUE", * ], * }; * const command = new DescribeAddonVersionsCommand(input); * const response = await client.send(command); * // { // DescribeAddonVersionsResponse * // addons: [ // Addons * // { // AddonInfo * // addonName: "STRING_VALUE", * // type: "STRING_VALUE", * // addonVersions: [ // AddonVersionInfoList * // { // AddonVersionInfo * // addonVersion: "STRING_VALUE", * // architecture: [ // StringList * // "STRING_VALUE", * // ], * // computeTypes: [ * // "STRING_VALUE", * // ], * // compatibilities: [ // Compatibilities * // { // Compatibility * // clusterVersion: "STRING_VALUE", * // platformVersions: [ * // "STRING_VALUE", * // ], * // defaultVersion: true || false, * // }, * // ], * // requiresConfiguration: true || false, * // requiresIamPermissions: true || false, * // }, * // ], * // publisher: "STRING_VALUE", * // owner: "STRING_VALUE", * // marketplaceInformation: { // MarketplaceInformation * // productId: "STRING_VALUE", * // productUrl: "STRING_VALUE", * // }, * // defaultNamespace: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeAddonVersionsCommandInput - {@link DescribeAddonVersionsCommandInput} * @returns {@link DescribeAddonVersionsCommandOutput} * @see {@link DescribeAddonVersionsCommandInput} for command's `input` shape. * @see {@link DescribeAddonVersionsCommandOutput} for command's `response` shape. * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape. * * @throws {@link InvalidParameterException} (client fault) *

The specified parameter is invalid. Review the available parameters for the API * request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource could not be found. You can view your available clusters with * ListClusters. You can view your available managed node groups with * ListNodegroups. Amazon EKS clusters and node groups are Amazon Web Services Region * specific.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server-side issue.

* * @throws {@link EKSServiceException} *

Base exception class for all service exceptions from EKS service.

* * * @public */ export declare class DescribeAddonVersionsCommand extends DescribeAddonVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeAddonVersionsRequest; output: DescribeAddonVersionsResponse; }; sdk: { input: DescribeAddonVersionsCommandInput; output: DescribeAddonVersionsCommandOutput; }; }; }