@aws-sdk/client-eks 3.940.0 → 3.943.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/index.js +435 -68
- package/dist-es/EKS.js +10 -0
- package/dist-es/commands/CreateCapabilityCommand.js +16 -0
- package/dist-es/commands/DeleteCapabilityCommand.js +16 -0
- package/dist-es/commands/DescribeCapabilityCommand.js +16 -0
- package/dist-es/commands/ListCapabilitiesCommand.js +16 -0
- package/dist-es/commands/UpdateCapabilityCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +30 -0
- package/dist-es/pagination/ListCapabilitiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +326 -68
- package/dist-types/EKS.d.ts +35 -0
- package/dist-types/EKSClient.d.ts +7 -2
- package/dist-types/commands/CreateCapabilityCommand.d.ts +186 -0
- package/dist-types/commands/DeleteCapabilityCommand.d.ts +147 -0
- package/dist-types/commands/DescribeCapabilityCommand.d.ts +143 -0
- package/dist-types/commands/DescribeUpdateCommand.d.ts +1 -0
- package/dist-types/commands/ListCapabilitiesCommand.d.ts +94 -0
- package/dist-types/commands/ListUpdatesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +154 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +672 -1
- package/dist-types/pagination/ListCapabilitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/EKS.d.ts +85 -0
- package/dist-types/ts3.4/EKSClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateCapabilityCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteCapabilityCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeCapabilityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCapabilitiesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateCapabilityCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +139 -0
- package/dist-types/ts3.4/pagination/ListCapabilitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +5 -5
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
4
|
+
import { DescribeCapabilityRequest, DescribeCapabilityResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeCapabilityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeCapabilityCommandInput extends DescribeCapabilityRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeCapabilityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeCapabilityCommandOutput extends DescribeCapabilityResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeCapabilityCommand_base: {
|
|
25
|
+
new (input: DescribeCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCapabilityCommandInput, DescribeCapabilityCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCapabilityCommandInput, DescribeCapabilityCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>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.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EKSClient, DescribeCapabilityCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
35
|
+
* // const { EKSClient, DescribeCapabilityCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
36
|
+
* // import type { EKSClientConfig } from "@aws-sdk/client-eks";
|
|
37
|
+
* const config = {}; // type is EKSClientConfig
|
|
38
|
+
* const client = new EKSClient(config);
|
|
39
|
+
* const input = { // DescribeCapabilityRequest
|
|
40
|
+
* clusterName: "STRING_VALUE", // required
|
|
41
|
+
* capabilityName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DescribeCapabilityCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DescribeCapabilityResponse
|
|
46
|
+
* // capability: { // Capability
|
|
47
|
+
* // capabilityName: "STRING_VALUE",
|
|
48
|
+
* // arn: "STRING_VALUE",
|
|
49
|
+
* // clusterName: "STRING_VALUE",
|
|
50
|
+
* // type: "ACK" || "KRO" || "ARGOCD",
|
|
51
|
+
* // roleArn: "STRING_VALUE",
|
|
52
|
+
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "DELETING" || "DELETE_FAILED" || "ACTIVE" || "DEGRADED",
|
|
53
|
+
* // version: "STRING_VALUE",
|
|
54
|
+
* // configuration: { // CapabilityConfigurationResponse
|
|
55
|
+
* // argoCd: { // ArgoCdConfigResponse
|
|
56
|
+
* // namespace: "STRING_VALUE",
|
|
57
|
+
* // awsIdc: { // ArgoCdAwsIdcConfigResponse
|
|
58
|
+
* // idcInstanceArn: "STRING_VALUE",
|
|
59
|
+
* // idcRegion: "STRING_VALUE",
|
|
60
|
+
* // idcManagedApplicationArn: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // rbacRoleMappings: [ // ArgoCdRoleMappingList
|
|
63
|
+
* // { // ArgoCdRoleMapping
|
|
64
|
+
* // role: "ADMIN" || "EDITOR" || "VIEWER", // required
|
|
65
|
+
* // identities: [ // SsoIdentityList // required
|
|
66
|
+
* // { // SsoIdentity
|
|
67
|
+
* // id: "STRING_VALUE", // required
|
|
68
|
+
* // type: "SSO_USER" || "SSO_GROUP", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // networkAccess: { // ArgoCdNetworkAccessConfigResponse
|
|
74
|
+
* // vpceIds: [ // StringList
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // serverUrl: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // tags: { // TagMap
|
|
82
|
+
* // "<keys>": "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // health: { // CapabilityHealth
|
|
85
|
+
* // issues: [ // CapabilityIssueList
|
|
86
|
+
* // { // CapabilityIssue
|
|
87
|
+
* // code: "AccessDenied" || "ClusterUnreachable",
|
|
88
|
+
* // message: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
93
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
94
|
+
* // deletePropagationPolicy: "RETAIN",
|
|
95
|
+
* // },
|
|
96
|
+
* // };
|
|
97
|
+
*
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @param DescribeCapabilityCommandInput - {@link DescribeCapabilityCommandInput}
|
|
101
|
+
* @returns {@link DescribeCapabilityCommandOutput}
|
|
102
|
+
* @see {@link DescribeCapabilityCommandInput} for command's `input` shape.
|
|
103
|
+
* @see {@link DescribeCapabilityCommandOutput} for command's `response` shape.
|
|
104
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
107
|
+
* <p>You don't have permissions to perform the requested operation. The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a>
|
|
108
|
+
* making the request must have at least one IAM permissions policy attached that grants
|
|
109
|
+
* the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access
|
|
110
|
+
* management</a> in the <i>IAM User Guide</i>. </p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
113
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
114
|
+
* request.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
117
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
118
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
119
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
|
|
120
|
+
* specific.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ServerException} (server fault)
|
|
123
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link EKSServiceException}
|
|
126
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
127
|
+
*
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export declare class DescribeCapabilityCommand extends DescribeCapabilityCommand_base {
|
|
132
|
+
/** @internal type navigation helper, not in runtime. */
|
|
133
|
+
protected static __types: {
|
|
134
|
+
api: {
|
|
135
|
+
input: DescribeCapabilityRequest;
|
|
136
|
+
output: DescribeCapabilityResponse;
|
|
137
|
+
};
|
|
138
|
+
sdk: {
|
|
139
|
+
input: DescribeCapabilityCommandInput;
|
|
140
|
+
output: DescribeCapabilityCommandOutput;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -44,6 +44,7 @@ declare const DescribeUpdateCommand_base: {
|
|
|
44
44
|
* updateId: "STRING_VALUE", // required
|
|
45
45
|
* nodegroupName: "STRING_VALUE",
|
|
46
46
|
* addonName: "STRING_VALUE",
|
|
47
|
+
* capabilityName: "STRING_VALUE",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new DescribeUpdateCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
4
|
+
import { ListCapabilitiesRequest, ListCapabilitiesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListCapabilitiesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListCapabilitiesCommandInput extends ListCapabilitiesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListCapabilitiesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListCapabilitiesCommandOutput extends ListCapabilitiesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListCapabilitiesCommand_base: {
|
|
25
|
+
new (input: ListCapabilitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListCapabilitiesCommandInput, ListCapabilitiesCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListCapabilitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListCapabilitiesCommandInput, ListCapabilitiesCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all managed capabilities in your Amazon EKS cluster. You can use this operation to get an overview of all capabilities and their current status.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EKSClient, ListCapabilitiesCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
35
|
+
* // const { EKSClient, ListCapabilitiesCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
36
|
+
* // import type { EKSClientConfig } from "@aws-sdk/client-eks";
|
|
37
|
+
* const config = {}; // type is EKSClientConfig
|
|
38
|
+
* const client = new EKSClient(config);
|
|
39
|
+
* const input = { // ListCapabilitiesRequest
|
|
40
|
+
* clusterName: "STRING_VALUE", // required
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListCapabilitiesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListCapabilitiesResponse
|
|
47
|
+
* // capabilities: [ // CapabilitySummaryList
|
|
48
|
+
* // { // CapabilitySummary
|
|
49
|
+
* // capabilityName: "STRING_VALUE",
|
|
50
|
+
* // arn: "STRING_VALUE",
|
|
51
|
+
* // type: "ACK" || "KRO" || "ARGOCD",
|
|
52
|
+
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "DELETING" || "DELETE_FAILED" || "ACTIVE" || "DEGRADED",
|
|
53
|
+
* // version: "STRING_VALUE",
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListCapabilitiesCommandInput - {@link ListCapabilitiesCommandInput}
|
|
64
|
+
* @returns {@link ListCapabilitiesCommandOutput}
|
|
65
|
+
* @see {@link ListCapabilitiesCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListCapabilitiesCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
70
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
71
|
+
* request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServerException} (server fault)
|
|
74
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link EKSServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListCapabilitiesCommand extends ListCapabilitiesCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListCapabilitiesRequest;
|
|
87
|
+
output: ListCapabilitiesResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListCapabilitiesCommandInput;
|
|
91
|
+
output: ListCapabilitiesCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
4
|
+
import { UpdateCapabilityRequest, UpdateCapabilityResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateCapabilityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateCapabilityCommandInput extends UpdateCapabilityRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateCapabilityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCapabilityCommandOutput extends UpdateCapabilityResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateCapabilityCommand_base: {
|
|
25
|
+
new (input: UpdateCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCapabilityCommandInput, UpdateCapabilityCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateCapabilityCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCapabilityCommandInput, UpdateCapabilityCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of a managed capability in your Amazon EKS cluster. You can update the IAM role, configuration settings, and delete propagation policy for a capability.</p>
|
|
31
|
+
* <p>When you update a capability, Amazon EKS applies the changes and may restart capability components as needed. The capability remains available during the update process, but some operations may be temporarily unavailable.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { EKSClient, UpdateCapabilityCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
36
|
+
* // const { EKSClient, UpdateCapabilityCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
37
|
+
* // import type { EKSClientConfig } from "@aws-sdk/client-eks";
|
|
38
|
+
* const config = {}; // type is EKSClientConfig
|
|
39
|
+
* const client = new EKSClient(config);
|
|
40
|
+
* const input = { // UpdateCapabilityRequest
|
|
41
|
+
* clusterName: "STRING_VALUE", // required
|
|
42
|
+
* capabilityName: "STRING_VALUE", // required
|
|
43
|
+
* roleArn: "STRING_VALUE",
|
|
44
|
+
* configuration: { // UpdateCapabilityConfiguration
|
|
45
|
+
* argoCd: { // UpdateArgoCdConfig
|
|
46
|
+
* rbacRoleMappings: { // UpdateRoleMappings
|
|
47
|
+
* addOrUpdateRoleMappings: [ // ArgoCdRoleMappingList
|
|
48
|
+
* { // ArgoCdRoleMapping
|
|
49
|
+
* role: "ADMIN" || "EDITOR" || "VIEWER", // required
|
|
50
|
+
* identities: [ // SsoIdentityList // required
|
|
51
|
+
* { // SsoIdentity
|
|
52
|
+
* id: "STRING_VALUE", // required
|
|
53
|
+
* type: "SSO_USER" || "SSO_GROUP", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* removeRoleMappings: [
|
|
59
|
+
* {
|
|
60
|
+
* role: "ADMIN" || "EDITOR" || "VIEWER", // required
|
|
61
|
+
* identities: [ // required
|
|
62
|
+
* {
|
|
63
|
+
* id: "STRING_VALUE", // required
|
|
64
|
+
* type: "SSO_USER" || "SSO_GROUP", // required
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* networkAccess: { // ArgoCdNetworkAccessConfigRequest
|
|
71
|
+
* vpceIds: [ // StringList
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* clientRequestToken: "STRING_VALUE",
|
|
78
|
+
* deletePropagationPolicy: "RETAIN",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new UpdateCapabilityCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // UpdateCapabilityResponse
|
|
83
|
+
* // update: { // Update
|
|
84
|
+
* // id: "STRING_VALUE",
|
|
85
|
+
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
86
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "ControlPlaneScalingConfigUpdate",
|
|
87
|
+
* // params: [ // UpdateParams
|
|
88
|
+
* // { // UpdateParam
|
|
89
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "UpdatedTier" || "PreviousTier",
|
|
90
|
+
* // value: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
94
|
+
* // errors: [ // ErrorDetails
|
|
95
|
+
* // { // ErrorDetail
|
|
96
|
+
* // errorCode: "SubnetNotFound" || "SecurityGroupNotFound" || "EniLimitReached" || "IpNotAvailable" || "AccessDenied" || "OperationNotPermitted" || "VpcIdNotFound" || "Unknown" || "NodeCreationFailure" || "PodEvictionFailure" || "InsufficientFreeAddresses" || "ClusterUnreachable" || "InsufficientNumberOfReplicas" || "ConfigurationConflict" || "AdmissionRequestDenied" || "UnsupportedAddonModification" || "K8sResourceNotFound",
|
|
97
|
+
* // errorMessage: "STRING_VALUE",
|
|
98
|
+
* // resourceIds: [ // StringList
|
|
99
|
+
* // "STRING_VALUE",
|
|
100
|
+
* // ],
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
104
|
+
* // };
|
|
105
|
+
*
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @param UpdateCapabilityCommandInput - {@link UpdateCapabilityCommandInput}
|
|
109
|
+
* @returns {@link UpdateCapabilityCommandOutput}
|
|
110
|
+
* @see {@link UpdateCapabilityCommandInput} for command's `input` shape.
|
|
111
|
+
* @see {@link UpdateCapabilityCommandOutput} for command's `response` shape.
|
|
112
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
115
|
+
* <p>You don't have permissions to perform the requested operation. The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a>
|
|
116
|
+
* making the request must have at least one IAM permissions policy attached that grants
|
|
117
|
+
* the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access
|
|
118
|
+
* management</a> in the <i>IAM User Guide</i>. </p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
121
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
122
|
+
* request.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
125
|
+
* <p>The specified resource is in use.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
128
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
129
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
130
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
|
|
131
|
+
* specific.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ServerException} (server fault)
|
|
134
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link EKSServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class UpdateCapabilityCommand extends UpdateCapabilityCommand_base {
|
|
143
|
+
/** @internal type navigation helper, not in runtime. */
|
|
144
|
+
protected static __types: {
|
|
145
|
+
api: {
|
|
146
|
+
input: UpdateCapabilityRequest;
|
|
147
|
+
output: UpdateCapabilityResponse;
|
|
148
|
+
};
|
|
149
|
+
sdk: {
|
|
150
|
+
input: UpdateCapabilityCommandInput;
|
|
151
|
+
output: UpdateCapabilityCommandOutput;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./AssociateEncryptionConfigCommand";
|
|
|
3
3
|
export * from "./AssociateIdentityProviderConfigCommand";
|
|
4
4
|
export * from "./CreateAccessEntryCommand";
|
|
5
5
|
export * from "./CreateAddonCommand";
|
|
6
|
+
export * from "./CreateCapabilityCommand";
|
|
6
7
|
export * from "./CreateClusterCommand";
|
|
7
8
|
export * from "./CreateEksAnywhereSubscriptionCommand";
|
|
8
9
|
export * from "./CreateFargateProfileCommand";
|
|
@@ -10,6 +11,7 @@ export * from "./CreateNodegroupCommand";
|
|
|
10
11
|
export * from "./CreatePodIdentityAssociationCommand";
|
|
11
12
|
export * from "./DeleteAccessEntryCommand";
|
|
12
13
|
export * from "./DeleteAddonCommand";
|
|
14
|
+
export * from "./DeleteCapabilityCommand";
|
|
13
15
|
export * from "./DeleteClusterCommand";
|
|
14
16
|
export * from "./DeleteEksAnywhereSubscriptionCommand";
|
|
15
17
|
export * from "./DeleteFargateProfileCommand";
|
|
@@ -20,6 +22,7 @@ export * from "./DescribeAccessEntryCommand";
|
|
|
20
22
|
export * from "./DescribeAddonCommand";
|
|
21
23
|
export * from "./DescribeAddonConfigurationCommand";
|
|
22
24
|
export * from "./DescribeAddonVersionsCommand";
|
|
25
|
+
export * from "./DescribeCapabilityCommand";
|
|
23
26
|
export * from "./DescribeClusterCommand";
|
|
24
27
|
export * from "./DescribeClusterVersionsCommand";
|
|
25
28
|
export * from "./DescribeEksAnywhereSubscriptionCommand";
|
|
@@ -36,6 +39,7 @@ export * from "./ListAccessEntriesCommand";
|
|
|
36
39
|
export * from "./ListAccessPoliciesCommand";
|
|
37
40
|
export * from "./ListAddonsCommand";
|
|
38
41
|
export * from "./ListAssociatedAccessPoliciesCommand";
|
|
42
|
+
export * from "./ListCapabilitiesCommand";
|
|
39
43
|
export * from "./ListClustersCommand";
|
|
40
44
|
export * from "./ListEksAnywhereSubscriptionsCommand";
|
|
41
45
|
export * from "./ListFargateProfilesCommand";
|
|
@@ -51,6 +55,7 @@ export * from "./TagResourceCommand";
|
|
|
51
55
|
export * from "./UntagResourceCommand";
|
|
52
56
|
export * from "./UpdateAccessEntryCommand";
|
|
53
57
|
export * from "./UpdateAddonCommand";
|
|
58
|
+
export * from "./UpdateCapabilityCommand";
|
|
54
59
|
export * from "./UpdateClusterConfigCommand";
|
|
55
60
|
export * from "./UpdateClusterVersionCommand";
|
|
56
61
|
export * from "./UpdateEksAnywhereSubscriptionCommand";
|
|
@@ -90,6 +90,31 @@ export declare const AMITypes: {
|
|
|
90
90
|
* @public
|
|
91
91
|
*/
|
|
92
92
|
export type AMITypes = (typeof AMITypes)[keyof typeof AMITypes];
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* @enum
|
|
96
|
+
*/
|
|
97
|
+
export declare const SsoIdentityType: {
|
|
98
|
+
readonly SSO_GROUP: "SSO_GROUP";
|
|
99
|
+
readonly SSO_USER: "SSO_USER";
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export type SsoIdentityType = (typeof SsoIdentityType)[keyof typeof SsoIdentityType];
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* @enum
|
|
108
|
+
*/
|
|
109
|
+
export declare const ArgoCdRole: {
|
|
110
|
+
readonly ADMIN: "ADMIN";
|
|
111
|
+
readonly EDITOR: "EDITOR";
|
|
112
|
+
readonly VIEWER: "VIEWER";
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
export type ArgoCdRole = (typeof ArgoCdRole)[keyof typeof ArgoCdRole];
|
|
93
118
|
/**
|
|
94
119
|
* @public
|
|
95
120
|
* @enum
|
|
@@ -220,6 +245,59 @@ export declare const ResolveConflicts: {
|
|
|
220
245
|
* @public
|
|
221
246
|
*/
|
|
222
247
|
export type ResolveConflicts = (typeof ResolveConflicts)[keyof typeof ResolveConflicts];
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
* @enum
|
|
251
|
+
*/
|
|
252
|
+
export declare const CapabilityDeletePropagationPolicy: {
|
|
253
|
+
readonly RETAIN: "RETAIN";
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
export type CapabilityDeletePropagationPolicy = (typeof CapabilityDeletePropagationPolicy)[keyof typeof CapabilityDeletePropagationPolicy];
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
* @enum
|
|
262
|
+
*/
|
|
263
|
+
export declare const CapabilityType: {
|
|
264
|
+
readonly ACK: "ACK";
|
|
265
|
+
readonly ARGOCD: "ARGOCD";
|
|
266
|
+
readonly KRO: "KRO";
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
export type CapabilityType = (typeof CapabilityType)[keyof typeof CapabilityType];
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
* @enum
|
|
275
|
+
*/
|
|
276
|
+
export declare const CapabilityIssueCode: {
|
|
277
|
+
readonly ACCESS_DENIED: "AccessDenied";
|
|
278
|
+
readonly CLUSTER_UNREACHABLE: "ClusterUnreachable";
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
export type CapabilityIssueCode = (typeof CapabilityIssueCode)[keyof typeof CapabilityIssueCode];
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
* @enum
|
|
287
|
+
*/
|
|
288
|
+
export declare const CapabilityStatus: {
|
|
289
|
+
readonly ACTIVE: "ACTIVE";
|
|
290
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
291
|
+
readonly CREATING: "CREATING";
|
|
292
|
+
readonly DEGRADED: "DEGRADED";
|
|
293
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
294
|
+
readonly DELETING: "DELETING";
|
|
295
|
+
readonly UPDATING: "UPDATING";
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export type CapabilityStatus = (typeof CapabilityStatus)[keyof typeof CapabilityStatus];
|
|
223
301
|
/**
|
|
224
302
|
* @public
|
|
225
303
|
* @enum
|