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 { DescribeCapabilityRequest, DescribeCapabilityResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeCapabilityCommand}. */ export interface DescribeCapabilityCommandInput extends DescribeCapabilityRequest { } /** * @public * * The output of {@link DescribeCapabilityCommand}. */ export interface DescribeCapabilityCommandOutput extends DescribeCapabilityResponse, __MetadataBearer { } declare const DescribeCapabilityCommand_base: { new (input: DescribeCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns detailed information about a specific managed capability in your Amazon EKS cluster, including its current status, configuration, health information, and any issues that may be affecting its operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EKSClient, DescribeCapabilityCommand } from "@aws-sdk/client-eks"; // ES Modules import * // const { EKSClient, DescribeCapabilityCommand } = 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 = { // DescribeCapabilityRequest * clusterName: "STRING_VALUE", // required * capabilityName: "STRING_VALUE", // required * }; * const command = new DescribeCapabilityCommand(input); * const response = await client.send(command); * // { // DescribeCapabilityResponse * // capability: { // Capability * // capabilityName: "STRING_VALUE", * // arn: "STRING_VALUE", * // clusterName: "STRING_VALUE", * // type: "ACK" || "KRO" || "ARGOCD", * // roleArn: "STRING_VALUE", * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "DELETING" || "DELETE_FAILED" || "ACTIVE" || "DEGRADED", * // version: "STRING_VALUE", * // configuration: { // CapabilityConfigurationResponse * // argoCd: { // ArgoCdConfigResponse * // namespace: "STRING_VALUE", * // awsIdc: { // ArgoCdAwsIdcConfigResponse * // idcInstanceArn: "STRING_VALUE", * // idcRegion: "STRING_VALUE", * // idcManagedApplicationArn: "STRING_VALUE", * // }, * // rbacRoleMappings: [ // ArgoCdRoleMappingList * // { // ArgoCdRoleMapping * // role: "ADMIN" || "EDITOR" || "VIEWER", // required * // identities: [ // SsoIdentityList // required * // { // SsoIdentity * // id: "STRING_VALUE", // required * // type: "SSO_USER" || "SSO_GROUP", // required * // }, * // ], * // }, * // ], * // networkAccess: { // ArgoCdNetworkAccessConfigResponse * // vpceIds: [ // StringList * // "STRING_VALUE", * // ], * // }, * // serverUrl: "STRING_VALUE", * // }, * // }, * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // health: { // CapabilityHealth * // issues: [ // CapabilityIssueList * // { // CapabilityIssue * // code: "AccessDenied" || "ClusterUnreachable", * // message: "STRING_VALUE", * // }, * // ], * // }, * // createdAt: new Date("TIMESTAMP"), * // modifiedAt: new Date("TIMESTAMP"), * // deletePropagationPolicy: "RETAIN", * // }, * // }; * * ``` * * @param DescribeCapabilityCommandInput - {@link DescribeCapabilityCommandInput} * @returns {@link DescribeCapabilityCommandOutput} * @see {@link DescribeCapabilityCommandInput} for command's `input` shape. * @see {@link DescribeCapabilityCommandOutput} for command's `response` shape. * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have permissions to perform the requested operation. The IAM principal * making the request must have at least one IAM permissions policy attached that grants * the required permissions. For more information, see Access * management in the IAM User Guide.

* * @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 DescribeCapabilityCommand extends DescribeCapabilityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeCapabilityRequest; output: DescribeCapabilityResponse; }; sdk: { input: DescribeCapabilityCommandInput; output: DescribeCapabilityCommandOutput; }; }; }