@aws-sdk/client-eks 3.186.0 → 3.190.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/CHANGELOG.md +16 -0
- package/dist-es/EKS.js +138 -145
- package/dist-es/EKSClient.js +22 -28
- package/dist-es/commands/AssociateEncryptionConfigCommand.js +21 -28
- package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +21 -28
- package/dist-es/commands/CreateAddonCommand.js +21 -28
- package/dist-es/commands/CreateClusterCommand.js +21 -28
- package/dist-es/commands/CreateFargateProfileCommand.js +21 -28
- package/dist-es/commands/CreateNodegroupCommand.js +21 -28
- package/dist-es/commands/DeleteAddonCommand.js +21 -28
- package/dist-es/commands/DeleteClusterCommand.js +21 -28
- package/dist-es/commands/DeleteFargateProfileCommand.js +21 -28
- package/dist-es/commands/DeleteNodegroupCommand.js +21 -28
- package/dist-es/commands/DeregisterClusterCommand.js +21 -28
- package/dist-es/commands/DescribeAddonCommand.js +21 -28
- package/dist-es/commands/DescribeAddonVersionsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterCommand.js +21 -28
- package/dist-es/commands/DescribeFargateProfileCommand.js +21 -28
- package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +21 -28
- package/dist-es/commands/DescribeNodegroupCommand.js +21 -28
- package/dist-es/commands/DescribeUpdateCommand.js +21 -28
- package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +21 -28
- package/dist-es/commands/ListAddonsCommand.js +21 -28
- package/dist-es/commands/ListClustersCommand.js +21 -28
- package/dist-es/commands/ListFargateProfilesCommand.js +21 -28
- package/dist-es/commands/ListIdentityProviderConfigsCommand.js +21 -28
- package/dist-es/commands/ListNodegroupsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListUpdatesCommand.js +21 -28
- package/dist-es/commands/RegisterClusterCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateAddonCommand.js +21 -28
- package/dist-es/commands/UpdateClusterConfigCommand.js +21 -28
- package/dist-es/commands/UpdateClusterVersionCommand.js +21 -28
- package/dist-es/commands/UpdateNodegroupConfigCommand.js +21 -28
- package/dist-es/commands/UpdateNodegroupVersionCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/EKSServiceException.js +5 -10
- package/dist-es/models/models_0.js +507 -282
- package/dist-es/pagination/DescribeAddonVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListAddonsPaginator.js +25 -68
- package/dist-es/pagination/ListClustersPaginator.js +25 -68
- package/dist-es/pagination/ListFargateProfilesPaginator.js +25 -68
- package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListNodegroupsPaginator.js +25 -68
- package/dist-es/pagination/ListUpdatesPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2836 -3829
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForAddonActive.js +45 -65
- package/dist-es/waiters/waitForAddonDeleted.js +30 -50
- package/dist-es/waiters/waitForClusterActive.js +45 -65
- package/dist-es/waiters/waitForClusterDeleted.js +48 -68
- package/dist-es/waiters/waitForFargateProfileActive.js +36 -56
- package/dist-es/waiters/waitForFargateProfileDeleted.js +30 -50
- package/dist-es/waiters/waitForNodegroupActive.js +36 -56
- package/dist-es/waiters/waitForNodegroupDeleted.js +30 -50
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-eks
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-eks
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/client-eks
|
package/dist-es/EKS.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { AssociateEncryptionConfigCommand, } from "./commands/AssociateEncryptionConfigCommand";
|
|
3
2
|
import { AssociateIdentityProviderConfigCommand, } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
4
3
|
import { CreateAddonCommand } from "./commands/CreateAddonCommand";
|
|
@@ -34,487 +33,481 @@ import { UpdateClusterVersionCommand, } from "./commands/UpdateClusterVersionCom
|
|
|
34
33
|
import { UpdateNodegroupConfigCommand, } from "./commands/UpdateNodegroupConfigCommand";
|
|
35
34
|
import { UpdateNodegroupVersionCommand, } from "./commands/UpdateNodegroupVersionCommand";
|
|
36
35
|
import { EKSClient } from "./EKSClient";
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
41
|
-
}
|
|
42
|
-
EKS.prototype.associateEncryptionConfig = function (args, optionsOrCb, cb) {
|
|
43
|
-
var command = new AssociateEncryptionConfigCommand(args);
|
|
36
|
+
export class EKS extends EKSClient {
|
|
37
|
+
associateEncryptionConfig(args, optionsOrCb, cb) {
|
|
38
|
+
const command = new AssociateEncryptionConfigCommand(args);
|
|
44
39
|
if (typeof optionsOrCb === "function") {
|
|
45
40
|
this.send(command, optionsOrCb);
|
|
46
41
|
}
|
|
47
42
|
else if (typeof cb === "function") {
|
|
48
43
|
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(
|
|
44
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
45
|
this.send(command, optionsOrCb || {}, cb);
|
|
51
46
|
}
|
|
52
47
|
else {
|
|
53
48
|
return this.send(command, optionsOrCb);
|
|
54
49
|
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
}
|
|
51
|
+
associateIdentityProviderConfig(args, optionsOrCb, cb) {
|
|
52
|
+
const command = new AssociateIdentityProviderConfigCommand(args);
|
|
58
53
|
if (typeof optionsOrCb === "function") {
|
|
59
54
|
this.send(command, optionsOrCb);
|
|
60
55
|
}
|
|
61
56
|
else if (typeof cb === "function") {
|
|
62
57
|
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(
|
|
58
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
59
|
this.send(command, optionsOrCb || {}, cb);
|
|
65
60
|
}
|
|
66
61
|
else {
|
|
67
62
|
return this.send(command, optionsOrCb);
|
|
68
63
|
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
}
|
|
65
|
+
createAddon(args, optionsOrCb, cb) {
|
|
66
|
+
const command = new CreateAddonCommand(args);
|
|
72
67
|
if (typeof optionsOrCb === "function") {
|
|
73
68
|
this.send(command, optionsOrCb);
|
|
74
69
|
}
|
|
75
70
|
else if (typeof cb === "function") {
|
|
76
71
|
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(
|
|
72
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
73
|
this.send(command, optionsOrCb || {}, cb);
|
|
79
74
|
}
|
|
80
75
|
else {
|
|
81
76
|
return this.send(command, optionsOrCb);
|
|
82
77
|
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
}
|
|
79
|
+
createCluster(args, optionsOrCb, cb) {
|
|
80
|
+
const command = new CreateClusterCommand(args);
|
|
86
81
|
if (typeof optionsOrCb === "function") {
|
|
87
82
|
this.send(command, optionsOrCb);
|
|
88
83
|
}
|
|
89
84
|
else if (typeof cb === "function") {
|
|
90
85
|
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(
|
|
86
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
87
|
this.send(command, optionsOrCb || {}, cb);
|
|
93
88
|
}
|
|
94
89
|
else {
|
|
95
90
|
return this.send(command, optionsOrCb);
|
|
96
91
|
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
}
|
|
93
|
+
createFargateProfile(args, optionsOrCb, cb) {
|
|
94
|
+
const command = new CreateFargateProfileCommand(args);
|
|
100
95
|
if (typeof optionsOrCb === "function") {
|
|
101
96
|
this.send(command, optionsOrCb);
|
|
102
97
|
}
|
|
103
98
|
else if (typeof cb === "function") {
|
|
104
99
|
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(
|
|
100
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
101
|
this.send(command, optionsOrCb || {}, cb);
|
|
107
102
|
}
|
|
108
103
|
else {
|
|
109
104
|
return this.send(command, optionsOrCb);
|
|
110
105
|
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
}
|
|
107
|
+
createNodegroup(args, optionsOrCb, cb) {
|
|
108
|
+
const command = new CreateNodegroupCommand(args);
|
|
114
109
|
if (typeof optionsOrCb === "function") {
|
|
115
110
|
this.send(command, optionsOrCb);
|
|
116
111
|
}
|
|
117
112
|
else if (typeof cb === "function") {
|
|
118
113
|
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(
|
|
114
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
115
|
this.send(command, optionsOrCb || {}, cb);
|
|
121
116
|
}
|
|
122
117
|
else {
|
|
123
118
|
return this.send(command, optionsOrCb);
|
|
124
119
|
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
}
|
|
121
|
+
deleteAddon(args, optionsOrCb, cb) {
|
|
122
|
+
const command = new DeleteAddonCommand(args);
|
|
128
123
|
if (typeof optionsOrCb === "function") {
|
|
129
124
|
this.send(command, optionsOrCb);
|
|
130
125
|
}
|
|
131
126
|
else if (typeof cb === "function") {
|
|
132
127
|
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error(
|
|
128
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
129
|
this.send(command, optionsOrCb || {}, cb);
|
|
135
130
|
}
|
|
136
131
|
else {
|
|
137
132
|
return this.send(command, optionsOrCb);
|
|
138
133
|
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
134
|
+
}
|
|
135
|
+
deleteCluster(args, optionsOrCb, cb) {
|
|
136
|
+
const command = new DeleteClusterCommand(args);
|
|
142
137
|
if (typeof optionsOrCb === "function") {
|
|
143
138
|
this.send(command, optionsOrCb);
|
|
144
139
|
}
|
|
145
140
|
else if (typeof cb === "function") {
|
|
146
141
|
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error(
|
|
142
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
143
|
this.send(command, optionsOrCb || {}, cb);
|
|
149
144
|
}
|
|
150
145
|
else {
|
|
151
146
|
return this.send(command, optionsOrCb);
|
|
152
147
|
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
}
|
|
149
|
+
deleteFargateProfile(args, optionsOrCb, cb) {
|
|
150
|
+
const command = new DeleteFargateProfileCommand(args);
|
|
156
151
|
if (typeof optionsOrCb === "function") {
|
|
157
152
|
this.send(command, optionsOrCb);
|
|
158
153
|
}
|
|
159
154
|
else if (typeof cb === "function") {
|
|
160
155
|
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error(
|
|
156
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
157
|
this.send(command, optionsOrCb || {}, cb);
|
|
163
158
|
}
|
|
164
159
|
else {
|
|
165
160
|
return this.send(command, optionsOrCb);
|
|
166
161
|
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
162
|
+
}
|
|
163
|
+
deleteNodegroup(args, optionsOrCb, cb) {
|
|
164
|
+
const command = new DeleteNodegroupCommand(args);
|
|
170
165
|
if (typeof optionsOrCb === "function") {
|
|
171
166
|
this.send(command, optionsOrCb);
|
|
172
167
|
}
|
|
173
168
|
else if (typeof cb === "function") {
|
|
174
169
|
if (typeof optionsOrCb !== "object")
|
|
175
|
-
throw new Error(
|
|
170
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
176
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
177
172
|
}
|
|
178
173
|
else {
|
|
179
174
|
return this.send(command, optionsOrCb);
|
|
180
175
|
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
176
|
+
}
|
|
177
|
+
deregisterCluster(args, optionsOrCb, cb) {
|
|
178
|
+
const command = new DeregisterClusterCommand(args);
|
|
184
179
|
if (typeof optionsOrCb === "function") {
|
|
185
180
|
this.send(command, optionsOrCb);
|
|
186
181
|
}
|
|
187
182
|
else if (typeof cb === "function") {
|
|
188
183
|
if (typeof optionsOrCb !== "object")
|
|
189
|
-
throw new Error(
|
|
184
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
191
186
|
}
|
|
192
187
|
else {
|
|
193
188
|
return this.send(command, optionsOrCb);
|
|
194
189
|
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
190
|
+
}
|
|
191
|
+
describeAddon(args, optionsOrCb, cb) {
|
|
192
|
+
const command = new DescribeAddonCommand(args);
|
|
198
193
|
if (typeof optionsOrCb === "function") {
|
|
199
194
|
this.send(command, optionsOrCb);
|
|
200
195
|
}
|
|
201
196
|
else if (typeof cb === "function") {
|
|
202
197
|
if (typeof optionsOrCb !== "object")
|
|
203
|
-
throw new Error(
|
|
198
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
204
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
205
200
|
}
|
|
206
201
|
else {
|
|
207
202
|
return this.send(command, optionsOrCb);
|
|
208
203
|
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
204
|
+
}
|
|
205
|
+
describeAddonVersions(args, optionsOrCb, cb) {
|
|
206
|
+
const command = new DescribeAddonVersionsCommand(args);
|
|
212
207
|
if (typeof optionsOrCb === "function") {
|
|
213
208
|
this.send(command, optionsOrCb);
|
|
214
209
|
}
|
|
215
210
|
else if (typeof cb === "function") {
|
|
216
211
|
if (typeof optionsOrCb !== "object")
|
|
217
|
-
throw new Error(
|
|
212
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
218
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
219
214
|
}
|
|
220
215
|
else {
|
|
221
216
|
return this.send(command, optionsOrCb);
|
|
222
217
|
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
218
|
+
}
|
|
219
|
+
describeCluster(args, optionsOrCb, cb) {
|
|
220
|
+
const command = new DescribeClusterCommand(args);
|
|
226
221
|
if (typeof optionsOrCb === "function") {
|
|
227
222
|
this.send(command, optionsOrCb);
|
|
228
223
|
}
|
|
229
224
|
else if (typeof cb === "function") {
|
|
230
225
|
if (typeof optionsOrCb !== "object")
|
|
231
|
-
throw new Error(
|
|
226
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
232
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
233
228
|
}
|
|
234
229
|
else {
|
|
235
230
|
return this.send(command, optionsOrCb);
|
|
236
231
|
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
232
|
+
}
|
|
233
|
+
describeFargateProfile(args, optionsOrCb, cb) {
|
|
234
|
+
const command = new DescribeFargateProfileCommand(args);
|
|
240
235
|
if (typeof optionsOrCb === "function") {
|
|
241
236
|
this.send(command, optionsOrCb);
|
|
242
237
|
}
|
|
243
238
|
else if (typeof cb === "function") {
|
|
244
239
|
if (typeof optionsOrCb !== "object")
|
|
245
|
-
throw new Error(
|
|
240
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
246
241
|
this.send(command, optionsOrCb || {}, cb);
|
|
247
242
|
}
|
|
248
243
|
else {
|
|
249
244
|
return this.send(command, optionsOrCb);
|
|
250
245
|
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
246
|
+
}
|
|
247
|
+
describeIdentityProviderConfig(args, optionsOrCb, cb) {
|
|
248
|
+
const command = new DescribeIdentityProviderConfigCommand(args);
|
|
254
249
|
if (typeof optionsOrCb === "function") {
|
|
255
250
|
this.send(command, optionsOrCb);
|
|
256
251
|
}
|
|
257
252
|
else if (typeof cb === "function") {
|
|
258
253
|
if (typeof optionsOrCb !== "object")
|
|
259
|
-
throw new Error(
|
|
254
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
255
|
this.send(command, optionsOrCb || {}, cb);
|
|
261
256
|
}
|
|
262
257
|
else {
|
|
263
258
|
return this.send(command, optionsOrCb);
|
|
264
259
|
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
|
|
260
|
+
}
|
|
261
|
+
describeNodegroup(args, optionsOrCb, cb) {
|
|
262
|
+
const command = new DescribeNodegroupCommand(args);
|
|
268
263
|
if (typeof optionsOrCb === "function") {
|
|
269
264
|
this.send(command, optionsOrCb);
|
|
270
265
|
}
|
|
271
266
|
else if (typeof cb === "function") {
|
|
272
267
|
if (typeof optionsOrCb !== "object")
|
|
273
|
-
throw new Error(
|
|
268
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
274
269
|
this.send(command, optionsOrCb || {}, cb);
|
|
275
270
|
}
|
|
276
271
|
else {
|
|
277
272
|
return this.send(command, optionsOrCb);
|
|
278
273
|
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
274
|
+
}
|
|
275
|
+
describeUpdate(args, optionsOrCb, cb) {
|
|
276
|
+
const command = new DescribeUpdateCommand(args);
|
|
282
277
|
if (typeof optionsOrCb === "function") {
|
|
283
278
|
this.send(command, optionsOrCb);
|
|
284
279
|
}
|
|
285
280
|
else if (typeof cb === "function") {
|
|
286
281
|
if (typeof optionsOrCb !== "object")
|
|
287
|
-
throw new Error(
|
|
282
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
283
|
this.send(command, optionsOrCb || {}, cb);
|
|
289
284
|
}
|
|
290
285
|
else {
|
|
291
286
|
return this.send(command, optionsOrCb);
|
|
292
287
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
288
|
+
}
|
|
289
|
+
disassociateIdentityProviderConfig(args, optionsOrCb, cb) {
|
|
290
|
+
const command = new DisassociateIdentityProviderConfigCommand(args);
|
|
296
291
|
if (typeof optionsOrCb === "function") {
|
|
297
292
|
this.send(command, optionsOrCb);
|
|
298
293
|
}
|
|
299
294
|
else if (typeof cb === "function") {
|
|
300
295
|
if (typeof optionsOrCb !== "object")
|
|
301
|
-
throw new Error(
|
|
296
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
302
297
|
this.send(command, optionsOrCb || {}, cb);
|
|
303
298
|
}
|
|
304
299
|
else {
|
|
305
300
|
return this.send(command, optionsOrCb);
|
|
306
301
|
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
|
|
302
|
+
}
|
|
303
|
+
listAddons(args, optionsOrCb, cb) {
|
|
304
|
+
const command = new ListAddonsCommand(args);
|
|
310
305
|
if (typeof optionsOrCb === "function") {
|
|
311
306
|
this.send(command, optionsOrCb);
|
|
312
307
|
}
|
|
313
308
|
else if (typeof cb === "function") {
|
|
314
309
|
if (typeof optionsOrCb !== "object")
|
|
315
|
-
throw new Error(
|
|
310
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
316
311
|
this.send(command, optionsOrCb || {}, cb);
|
|
317
312
|
}
|
|
318
313
|
else {
|
|
319
314
|
return this.send(command, optionsOrCb);
|
|
320
315
|
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
316
|
+
}
|
|
317
|
+
listClusters(args, optionsOrCb, cb) {
|
|
318
|
+
const command = new ListClustersCommand(args);
|
|
324
319
|
if (typeof optionsOrCb === "function") {
|
|
325
320
|
this.send(command, optionsOrCb);
|
|
326
321
|
}
|
|
327
322
|
else if (typeof cb === "function") {
|
|
328
323
|
if (typeof optionsOrCb !== "object")
|
|
329
|
-
throw new Error(
|
|
324
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
330
325
|
this.send(command, optionsOrCb || {}, cb);
|
|
331
326
|
}
|
|
332
327
|
else {
|
|
333
328
|
return this.send(command, optionsOrCb);
|
|
334
329
|
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
330
|
+
}
|
|
331
|
+
listFargateProfiles(args, optionsOrCb, cb) {
|
|
332
|
+
const command = new ListFargateProfilesCommand(args);
|
|
338
333
|
if (typeof optionsOrCb === "function") {
|
|
339
334
|
this.send(command, optionsOrCb);
|
|
340
335
|
}
|
|
341
336
|
else if (typeof cb === "function") {
|
|
342
337
|
if (typeof optionsOrCb !== "object")
|
|
343
|
-
throw new Error(
|
|
338
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
344
339
|
this.send(command, optionsOrCb || {}, cb);
|
|
345
340
|
}
|
|
346
341
|
else {
|
|
347
342
|
return this.send(command, optionsOrCb);
|
|
348
343
|
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
|
|
344
|
+
}
|
|
345
|
+
listIdentityProviderConfigs(args, optionsOrCb, cb) {
|
|
346
|
+
const command = new ListIdentityProviderConfigsCommand(args);
|
|
352
347
|
if (typeof optionsOrCb === "function") {
|
|
353
348
|
this.send(command, optionsOrCb);
|
|
354
349
|
}
|
|
355
350
|
else if (typeof cb === "function") {
|
|
356
351
|
if (typeof optionsOrCb !== "object")
|
|
357
|
-
throw new Error(
|
|
352
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
358
353
|
this.send(command, optionsOrCb || {}, cb);
|
|
359
354
|
}
|
|
360
355
|
else {
|
|
361
356
|
return this.send(command, optionsOrCb);
|
|
362
357
|
}
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
358
|
+
}
|
|
359
|
+
listNodegroups(args, optionsOrCb, cb) {
|
|
360
|
+
const command = new ListNodegroupsCommand(args);
|
|
366
361
|
if (typeof optionsOrCb === "function") {
|
|
367
362
|
this.send(command, optionsOrCb);
|
|
368
363
|
}
|
|
369
364
|
else if (typeof cb === "function") {
|
|
370
365
|
if (typeof optionsOrCb !== "object")
|
|
371
|
-
throw new Error(
|
|
366
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
372
367
|
this.send(command, optionsOrCb || {}, cb);
|
|
373
368
|
}
|
|
374
369
|
else {
|
|
375
370
|
return this.send(command, optionsOrCb);
|
|
376
371
|
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
|
|
372
|
+
}
|
|
373
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
374
|
+
const command = new ListTagsForResourceCommand(args);
|
|
380
375
|
if (typeof optionsOrCb === "function") {
|
|
381
376
|
this.send(command, optionsOrCb);
|
|
382
377
|
}
|
|
383
378
|
else if (typeof cb === "function") {
|
|
384
379
|
if (typeof optionsOrCb !== "object")
|
|
385
|
-
throw new Error(
|
|
380
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
386
381
|
this.send(command, optionsOrCb || {}, cb);
|
|
387
382
|
}
|
|
388
383
|
else {
|
|
389
384
|
return this.send(command, optionsOrCb);
|
|
390
385
|
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
|
|
386
|
+
}
|
|
387
|
+
listUpdates(args, optionsOrCb, cb) {
|
|
388
|
+
const command = new ListUpdatesCommand(args);
|
|
394
389
|
if (typeof optionsOrCb === "function") {
|
|
395
390
|
this.send(command, optionsOrCb);
|
|
396
391
|
}
|
|
397
392
|
else if (typeof cb === "function") {
|
|
398
393
|
if (typeof optionsOrCb !== "object")
|
|
399
|
-
throw new Error(
|
|
394
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
400
395
|
this.send(command, optionsOrCb || {}, cb);
|
|
401
396
|
}
|
|
402
397
|
else {
|
|
403
398
|
return this.send(command, optionsOrCb);
|
|
404
399
|
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
400
|
+
}
|
|
401
|
+
registerCluster(args, optionsOrCb, cb) {
|
|
402
|
+
const command = new RegisterClusterCommand(args);
|
|
408
403
|
if (typeof optionsOrCb === "function") {
|
|
409
404
|
this.send(command, optionsOrCb);
|
|
410
405
|
}
|
|
411
406
|
else if (typeof cb === "function") {
|
|
412
407
|
if (typeof optionsOrCb !== "object")
|
|
413
|
-
throw new Error(
|
|
408
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
414
409
|
this.send(command, optionsOrCb || {}, cb);
|
|
415
410
|
}
|
|
416
411
|
else {
|
|
417
412
|
return this.send(command, optionsOrCb);
|
|
418
413
|
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
|
|
414
|
+
}
|
|
415
|
+
tagResource(args, optionsOrCb, cb) {
|
|
416
|
+
const command = new TagResourceCommand(args);
|
|
422
417
|
if (typeof optionsOrCb === "function") {
|
|
423
418
|
this.send(command, optionsOrCb);
|
|
424
419
|
}
|
|
425
420
|
else if (typeof cb === "function") {
|
|
426
421
|
if (typeof optionsOrCb !== "object")
|
|
427
|
-
throw new Error(
|
|
422
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
428
423
|
this.send(command, optionsOrCb || {}, cb);
|
|
429
424
|
}
|
|
430
425
|
else {
|
|
431
426
|
return this.send(command, optionsOrCb);
|
|
432
427
|
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
428
|
+
}
|
|
429
|
+
untagResource(args, optionsOrCb, cb) {
|
|
430
|
+
const command = new UntagResourceCommand(args);
|
|
436
431
|
if (typeof optionsOrCb === "function") {
|
|
437
432
|
this.send(command, optionsOrCb);
|
|
438
433
|
}
|
|
439
434
|
else if (typeof cb === "function") {
|
|
440
435
|
if (typeof optionsOrCb !== "object")
|
|
441
|
-
throw new Error(
|
|
436
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
442
437
|
this.send(command, optionsOrCb || {}, cb);
|
|
443
438
|
}
|
|
444
439
|
else {
|
|
445
440
|
return this.send(command, optionsOrCb);
|
|
446
441
|
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
|
|
442
|
+
}
|
|
443
|
+
updateAddon(args, optionsOrCb, cb) {
|
|
444
|
+
const command = new UpdateAddonCommand(args);
|
|
450
445
|
if (typeof optionsOrCb === "function") {
|
|
451
446
|
this.send(command, optionsOrCb);
|
|
452
447
|
}
|
|
453
448
|
else if (typeof cb === "function") {
|
|
454
449
|
if (typeof optionsOrCb !== "object")
|
|
455
|
-
throw new Error(
|
|
450
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
456
451
|
this.send(command, optionsOrCb || {}, cb);
|
|
457
452
|
}
|
|
458
453
|
else {
|
|
459
454
|
return this.send(command, optionsOrCb);
|
|
460
455
|
}
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
|
|
456
|
+
}
|
|
457
|
+
updateClusterConfig(args, optionsOrCb, cb) {
|
|
458
|
+
const command = new UpdateClusterConfigCommand(args);
|
|
464
459
|
if (typeof optionsOrCb === "function") {
|
|
465
460
|
this.send(command, optionsOrCb);
|
|
466
461
|
}
|
|
467
462
|
else if (typeof cb === "function") {
|
|
468
463
|
if (typeof optionsOrCb !== "object")
|
|
469
|
-
throw new Error(
|
|
464
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
470
465
|
this.send(command, optionsOrCb || {}, cb);
|
|
471
466
|
}
|
|
472
467
|
else {
|
|
473
468
|
return this.send(command, optionsOrCb);
|
|
474
469
|
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
470
|
+
}
|
|
471
|
+
updateClusterVersion(args, optionsOrCb, cb) {
|
|
472
|
+
const command = new UpdateClusterVersionCommand(args);
|
|
478
473
|
if (typeof optionsOrCb === "function") {
|
|
479
474
|
this.send(command, optionsOrCb);
|
|
480
475
|
}
|
|
481
476
|
else if (typeof cb === "function") {
|
|
482
477
|
if (typeof optionsOrCb !== "object")
|
|
483
|
-
throw new Error(
|
|
478
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
484
479
|
this.send(command, optionsOrCb || {}, cb);
|
|
485
480
|
}
|
|
486
481
|
else {
|
|
487
482
|
return this.send(command, optionsOrCb);
|
|
488
483
|
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
484
|
+
}
|
|
485
|
+
updateNodegroupConfig(args, optionsOrCb, cb) {
|
|
486
|
+
const command = new UpdateNodegroupConfigCommand(args);
|
|
492
487
|
if (typeof optionsOrCb === "function") {
|
|
493
488
|
this.send(command, optionsOrCb);
|
|
494
489
|
}
|
|
495
490
|
else if (typeof cb === "function") {
|
|
496
491
|
if (typeof optionsOrCb !== "object")
|
|
497
|
-
throw new Error(
|
|
492
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
498
493
|
this.send(command, optionsOrCb || {}, cb);
|
|
499
494
|
}
|
|
500
495
|
else {
|
|
501
496
|
return this.send(command, optionsOrCb);
|
|
502
497
|
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
|
|
498
|
+
}
|
|
499
|
+
updateNodegroupVersion(args, optionsOrCb, cb) {
|
|
500
|
+
const command = new UpdateNodegroupVersionCommand(args);
|
|
506
501
|
if (typeof optionsOrCb === "function") {
|
|
507
502
|
this.send(command, optionsOrCb);
|
|
508
503
|
}
|
|
509
504
|
else if (typeof cb === "function") {
|
|
510
505
|
if (typeof optionsOrCb !== "object")
|
|
511
|
-
throw new Error(
|
|
506
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
512
507
|
this.send(command, optionsOrCb || {}, cb);
|
|
513
508
|
}
|
|
514
509
|
else {
|
|
515
510
|
return this.send(command, optionsOrCb);
|
|
516
511
|
}
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
}(EKSClient));
|
|
520
|
-
export { EKS };
|
|
512
|
+
}
|
|
513
|
+
}
|