@aws-sdk/client-eks 3.476.0 → 3.477.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/dist-cjs/protocols/Aws_restJson1.js +285 -619
- package/dist-es/protocols/Aws_restJson1.js +285 -619
- package/package.json +5 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -28,51 +29,35 @@ export const se_AssociateAccessPolicyCommand = async (input, context) => {
|
|
|
28
29
|
});
|
|
29
30
|
};
|
|
30
31
|
export const se_AssociateEncryptionConfigCommand = async (input, context) => {
|
|
31
|
-
const
|
|
32
|
+
const b = rb(input, context);
|
|
32
33
|
const headers = {
|
|
33
34
|
"content-type": "application/json",
|
|
34
35
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
36
|
+
b.bp("/clusters/{clusterName}/encryption-config/associate");
|
|
37
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
38
38
|
let body;
|
|
39
39
|
body = JSON.stringify(take(input, {
|
|
40
40
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
41
41
|
encryptionConfig: (_) => _json(_),
|
|
42
42
|
}));
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
hostname,
|
|
46
|
-
port,
|
|
47
|
-
method: "POST",
|
|
48
|
-
headers,
|
|
49
|
-
path: resolvedPath,
|
|
50
|
-
body,
|
|
51
|
-
});
|
|
43
|
+
b.m("POST").h(headers).b(body);
|
|
44
|
+
return b.build();
|
|
52
45
|
};
|
|
53
46
|
export const se_AssociateIdentityProviderConfigCommand = async (input, context) => {
|
|
54
|
-
const
|
|
47
|
+
const b = rb(input, context);
|
|
55
48
|
const headers = {
|
|
56
49
|
"content-type": "application/json",
|
|
57
50
|
};
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
51
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs/associate");
|
|
52
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
61
53
|
let body;
|
|
62
54
|
body = JSON.stringify(take(input, {
|
|
63
55
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
64
56
|
oidc: (_) => _json(_),
|
|
65
57
|
tags: (_) => _json(_),
|
|
66
58
|
}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
hostname,
|
|
70
|
-
port,
|
|
71
|
-
method: "POST",
|
|
72
|
-
headers,
|
|
73
|
-
path: resolvedPath,
|
|
74
|
-
body,
|
|
75
|
-
});
|
|
59
|
+
b.m("POST").h(headers).b(body);
|
|
60
|
+
return b.build();
|
|
76
61
|
};
|
|
77
62
|
export const se_CreateAccessEntryCommand = async (input, context) => {
|
|
78
63
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -101,12 +86,12 @@ export const se_CreateAccessEntryCommand = async (input, context) => {
|
|
|
101
86
|
});
|
|
102
87
|
};
|
|
103
88
|
export const se_CreateAddonCommand = async (input, context) => {
|
|
104
|
-
const
|
|
89
|
+
const b = rb(input, context);
|
|
105
90
|
const headers = {
|
|
106
91
|
"content-type": "application/json",
|
|
107
92
|
};
|
|
108
|
-
|
|
109
|
-
|
|
93
|
+
b.bp("/clusters/{clusterName}/addons");
|
|
94
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
110
95
|
let body;
|
|
111
96
|
body = JSON.stringify(take(input, {
|
|
112
97
|
addonName: [],
|
|
@@ -117,22 +102,15 @@ export const se_CreateAddonCommand = async (input, context) => {
|
|
|
117
102
|
serviceAccountRoleArn: [],
|
|
118
103
|
tags: (_) => _json(_),
|
|
119
104
|
}));
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
hostname,
|
|
123
|
-
port,
|
|
124
|
-
method: "POST",
|
|
125
|
-
headers,
|
|
126
|
-
path: resolvedPath,
|
|
127
|
-
body,
|
|
128
|
-
});
|
|
105
|
+
b.m("POST").h(headers).b(body);
|
|
106
|
+
return b.build();
|
|
129
107
|
};
|
|
130
108
|
export const se_CreateClusterCommand = async (input, context) => {
|
|
131
|
-
const
|
|
109
|
+
const b = rb(input, context);
|
|
132
110
|
const headers = {
|
|
133
111
|
"content-type": "application/json",
|
|
134
112
|
};
|
|
135
|
-
|
|
113
|
+
b.bp("/clusters");
|
|
136
114
|
let body;
|
|
137
115
|
body = JSON.stringify(take(input, {
|
|
138
116
|
accessConfig: (_) => _json(_),
|
|
@@ -147,22 +125,15 @@ export const se_CreateClusterCommand = async (input, context) => {
|
|
|
147
125
|
tags: (_) => _json(_),
|
|
148
126
|
version: [],
|
|
149
127
|
}));
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
hostname,
|
|
153
|
-
port,
|
|
154
|
-
method: "POST",
|
|
155
|
-
headers,
|
|
156
|
-
path: resolvedPath,
|
|
157
|
-
body,
|
|
158
|
-
});
|
|
128
|
+
b.m("POST").h(headers).b(body);
|
|
129
|
+
return b.build();
|
|
159
130
|
};
|
|
160
131
|
export const se_CreateEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
161
|
-
const
|
|
132
|
+
const b = rb(input, context);
|
|
162
133
|
const headers = {
|
|
163
134
|
"content-type": "application/json",
|
|
164
135
|
};
|
|
165
|
-
|
|
136
|
+
b.bp("/eks-anywhere-subscriptions");
|
|
166
137
|
let body;
|
|
167
138
|
body = JSON.stringify(take(input, {
|
|
168
139
|
autoRenew: [],
|
|
@@ -173,23 +144,16 @@ export const se_CreateEksAnywhereSubscriptionCommand = async (input, context) =>
|
|
|
173
144
|
tags: (_) => _json(_),
|
|
174
145
|
term: (_) => _json(_),
|
|
175
146
|
}));
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
hostname,
|
|
179
|
-
port,
|
|
180
|
-
method: "POST",
|
|
181
|
-
headers,
|
|
182
|
-
path: resolvedPath,
|
|
183
|
-
body,
|
|
184
|
-
});
|
|
147
|
+
b.m("POST").h(headers).b(body);
|
|
148
|
+
return b.build();
|
|
185
149
|
};
|
|
186
150
|
export const se_CreateFargateProfileCommand = async (input, context) => {
|
|
187
|
-
const
|
|
151
|
+
const b = rb(input, context);
|
|
188
152
|
const headers = {
|
|
189
153
|
"content-type": "application/json",
|
|
190
154
|
};
|
|
191
|
-
|
|
192
|
-
|
|
155
|
+
b.bp("/clusters/{clusterName}/fargate-profiles");
|
|
156
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
193
157
|
let body;
|
|
194
158
|
body = JSON.stringify(take(input, {
|
|
195
159
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -199,23 +163,16 @@ export const se_CreateFargateProfileCommand = async (input, context) => {
|
|
|
199
163
|
subnets: (_) => _json(_),
|
|
200
164
|
tags: (_) => _json(_),
|
|
201
165
|
}));
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
hostname,
|
|
205
|
-
port,
|
|
206
|
-
method: "POST",
|
|
207
|
-
headers,
|
|
208
|
-
path: resolvedPath,
|
|
209
|
-
body,
|
|
210
|
-
});
|
|
166
|
+
b.m("POST").h(headers).b(body);
|
|
167
|
+
return b.build();
|
|
211
168
|
};
|
|
212
169
|
export const se_CreateNodegroupCommand = async (input, context) => {
|
|
213
|
-
const
|
|
170
|
+
const b = rb(input, context);
|
|
214
171
|
const headers = {
|
|
215
172
|
"content-type": "application/json",
|
|
216
173
|
};
|
|
217
|
-
|
|
218
|
-
|
|
174
|
+
b.bp("/clusters/{clusterName}/node-groups");
|
|
175
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
219
176
|
let body;
|
|
220
177
|
body = JSON.stringify(take(input, {
|
|
221
178
|
amiType: [],
|
|
@@ -236,24 +193,16 @@ export const se_CreateNodegroupCommand = async (input, context) => {
|
|
|
236
193
|
updateConfig: (_) => _json(_),
|
|
237
194
|
version: [],
|
|
238
195
|
}));
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
hostname,
|
|
242
|
-
port,
|
|
243
|
-
method: "POST",
|
|
244
|
-
headers,
|
|
245
|
-
path: resolvedPath,
|
|
246
|
-
body,
|
|
247
|
-
});
|
|
196
|
+
b.m("POST").h(headers).b(body);
|
|
197
|
+
return b.build();
|
|
248
198
|
};
|
|
249
199
|
export const se_CreatePodIdentityAssociationCommand = async (input, context) => {
|
|
250
|
-
const
|
|
200
|
+
const b = rb(input, context);
|
|
251
201
|
const headers = {
|
|
252
202
|
"content-type": "application/json",
|
|
253
203
|
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
204
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations");
|
|
205
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
257
206
|
let body;
|
|
258
207
|
body = JSON.stringify(take(input, {
|
|
259
208
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -262,15 +211,8 @@ export const se_CreatePodIdentityAssociationCommand = async (input, context) =>
|
|
|
262
211
|
serviceAccount: [],
|
|
263
212
|
tags: (_) => _json(_),
|
|
264
213
|
}));
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
hostname,
|
|
268
|
-
port,
|
|
269
|
-
method: "POST",
|
|
270
|
-
headers,
|
|
271
|
-
path: resolvedPath,
|
|
272
|
-
body,
|
|
273
|
-
});
|
|
214
|
+
b.m("POST").h(headers).b(body);
|
|
215
|
+
return b.build();
|
|
274
216
|
};
|
|
275
217
|
export const se_DeleteAccessEntryCommand = async (input, context) => {
|
|
276
218
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -291,128 +233,74 @@ export const se_DeleteAccessEntryCommand = async (input, context) => {
|
|
|
291
233
|
});
|
|
292
234
|
};
|
|
293
235
|
export const se_DeleteAddonCommand = async (input, context) => {
|
|
294
|
-
const
|
|
236
|
+
const b = rb(input, context);
|
|
295
237
|
const headers = {};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "addonName", () => input.addonName, "{addonName}", false);
|
|
238
|
+
b.bp("/clusters/{clusterName}/addons/{addonName}");
|
|
239
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
240
|
+
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
300
241
|
const query = map({
|
|
301
|
-
|
|
242
|
+
[_p]: [() => input.preserve !== void 0, () => input[_p].toString()],
|
|
302
243
|
});
|
|
303
244
|
let body;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
hostname,
|
|
307
|
-
port,
|
|
308
|
-
method: "DELETE",
|
|
309
|
-
headers,
|
|
310
|
-
path: resolvedPath,
|
|
311
|
-
query,
|
|
312
|
-
body,
|
|
313
|
-
});
|
|
245
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
246
|
+
return b.build();
|
|
314
247
|
};
|
|
315
248
|
export const se_DeleteClusterCommand = async (input, context) => {
|
|
316
|
-
const
|
|
249
|
+
const b = rb(input, context);
|
|
317
250
|
const headers = {};
|
|
318
|
-
|
|
319
|
-
|
|
251
|
+
b.bp("/clusters/{name}");
|
|
252
|
+
b.p("name", () => input.name, "{name}", false);
|
|
320
253
|
let body;
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
hostname,
|
|
324
|
-
port,
|
|
325
|
-
method: "DELETE",
|
|
326
|
-
headers,
|
|
327
|
-
path: resolvedPath,
|
|
328
|
-
body,
|
|
329
|
-
});
|
|
254
|
+
b.m("DELETE").h(headers).b(body);
|
|
255
|
+
return b.build();
|
|
330
256
|
};
|
|
331
257
|
export const se_DeleteEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
332
|
-
const
|
|
258
|
+
const b = rb(input, context);
|
|
333
259
|
const headers = {};
|
|
334
|
-
|
|
335
|
-
|
|
260
|
+
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
261
|
+
b.p("id", () => input.id, "{id}", false);
|
|
336
262
|
let body;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
hostname,
|
|
340
|
-
port,
|
|
341
|
-
method: "DELETE",
|
|
342
|
-
headers,
|
|
343
|
-
path: resolvedPath,
|
|
344
|
-
body,
|
|
345
|
-
});
|
|
263
|
+
b.m("DELETE").h(headers).b(body);
|
|
264
|
+
return b.build();
|
|
346
265
|
};
|
|
347
266
|
export const se_DeleteFargateProfileCommand = async (input, context) => {
|
|
348
|
-
const
|
|
267
|
+
const b = rb(input, context);
|
|
349
268
|
const headers = {};
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
269
|
+
b.bp("/clusters/{clusterName}/fargate-profiles/{fargateProfileName}");
|
|
270
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
271
|
+
b.p("fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
354
272
|
let body;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
hostname,
|
|
358
|
-
port,
|
|
359
|
-
method: "DELETE",
|
|
360
|
-
headers,
|
|
361
|
-
path: resolvedPath,
|
|
362
|
-
body,
|
|
363
|
-
});
|
|
273
|
+
b.m("DELETE").h(headers).b(body);
|
|
274
|
+
return b.build();
|
|
364
275
|
};
|
|
365
276
|
export const se_DeleteNodegroupCommand = async (input, context) => {
|
|
366
|
-
const
|
|
277
|
+
const b = rb(input, context);
|
|
367
278
|
const headers = {};
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
279
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}");
|
|
280
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
281
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
372
282
|
let body;
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
hostname,
|
|
376
|
-
port,
|
|
377
|
-
method: "DELETE",
|
|
378
|
-
headers,
|
|
379
|
-
path: resolvedPath,
|
|
380
|
-
body,
|
|
381
|
-
});
|
|
283
|
+
b.m("DELETE").h(headers).b(body);
|
|
284
|
+
return b.build();
|
|
382
285
|
};
|
|
383
286
|
export const se_DeletePodIdentityAssociationCommand = async (input, context) => {
|
|
384
|
-
const
|
|
287
|
+
const b = rb(input, context);
|
|
385
288
|
const headers = {};
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
289
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
290
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
291
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
390
292
|
let body;
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
hostname,
|
|
394
|
-
port,
|
|
395
|
-
method: "DELETE",
|
|
396
|
-
headers,
|
|
397
|
-
path: resolvedPath,
|
|
398
|
-
body,
|
|
399
|
-
});
|
|
293
|
+
b.m("DELETE").h(headers).b(body);
|
|
294
|
+
return b.build();
|
|
400
295
|
};
|
|
401
296
|
export const se_DeregisterClusterCommand = async (input, context) => {
|
|
402
|
-
const
|
|
297
|
+
const b = rb(input, context);
|
|
403
298
|
const headers = {};
|
|
404
|
-
|
|
405
|
-
|
|
299
|
+
b.bp("/cluster-registrations/{name}");
|
|
300
|
+
b.p("name", () => input.name, "{name}", false);
|
|
406
301
|
let body;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
hostname,
|
|
410
|
-
port,
|
|
411
|
-
method: "DELETE",
|
|
412
|
-
headers,
|
|
413
|
-
path: resolvedPath,
|
|
414
|
-
body,
|
|
415
|
-
});
|
|
302
|
+
b.m("DELETE").h(headers).b(body);
|
|
303
|
+
return b.build();
|
|
416
304
|
};
|
|
417
305
|
export const se_DescribeAccessEntryCommand = async (input, context) => {
|
|
418
306
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -433,197 +321,119 @@ export const se_DescribeAccessEntryCommand = async (input, context) => {
|
|
|
433
321
|
});
|
|
434
322
|
};
|
|
435
323
|
export const se_DescribeAddonCommand = async (input, context) => {
|
|
436
|
-
const
|
|
324
|
+
const b = rb(input, context);
|
|
437
325
|
const headers = {};
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "addonName", () => input.addonName, "{addonName}", false);
|
|
326
|
+
b.bp("/clusters/{clusterName}/addons/{addonName}");
|
|
327
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
328
|
+
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
442
329
|
let body;
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
hostname,
|
|
446
|
-
port,
|
|
447
|
-
method: "GET",
|
|
448
|
-
headers,
|
|
449
|
-
path: resolvedPath,
|
|
450
|
-
body,
|
|
451
|
-
});
|
|
330
|
+
b.m("GET").h(headers).b(body);
|
|
331
|
+
return b.build();
|
|
452
332
|
};
|
|
453
333
|
export const se_DescribeAddonConfigurationCommand = async (input, context) => {
|
|
454
|
-
const
|
|
334
|
+
const b = rb(input, context);
|
|
455
335
|
const headers = {};
|
|
456
|
-
|
|
336
|
+
b.bp("/addons/configuration-schemas");
|
|
457
337
|
const query = map({
|
|
458
|
-
|
|
459
|
-
|
|
338
|
+
[_aN]: [, __expectNonNull(input[_aN], `addonName`)],
|
|
339
|
+
[_aV]: [, __expectNonNull(input[_aV], `addonVersion`)],
|
|
460
340
|
});
|
|
461
341
|
let body;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
hostname,
|
|
465
|
-
port,
|
|
466
|
-
method: "GET",
|
|
467
|
-
headers,
|
|
468
|
-
path: resolvedPath,
|
|
469
|
-
query,
|
|
470
|
-
body,
|
|
471
|
-
});
|
|
342
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
343
|
+
return b.build();
|
|
472
344
|
};
|
|
473
345
|
export const se_DescribeAddonVersionsCommand = async (input, context) => {
|
|
474
|
-
const
|
|
346
|
+
const b = rb(input, context);
|
|
475
347
|
const headers = {};
|
|
476
|
-
|
|
348
|
+
b.bp("/addons/supported-versions");
|
|
477
349
|
const query = map({
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
350
|
+
[_kV]: [, input[_kV]],
|
|
351
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
352
|
+
[_nT]: [, input[_nT]],
|
|
353
|
+
[_aN]: [, input[_aN]],
|
|
354
|
+
[_t]: [() => input.types !== void 0, () => (input[_t] || []).map((_entry) => _entry)],
|
|
355
|
+
[_pu]: [() => input.publishers !== void 0, () => (input[_pu] || []).map((_entry) => _entry)],
|
|
356
|
+
[_o]: [() => input.owners !== void 0, () => (input[_o] || []).map((_entry) => _entry)],
|
|
485
357
|
});
|
|
486
358
|
let body;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
hostname,
|
|
490
|
-
port,
|
|
491
|
-
method: "GET",
|
|
492
|
-
headers,
|
|
493
|
-
path: resolvedPath,
|
|
494
|
-
query,
|
|
495
|
-
body,
|
|
496
|
-
});
|
|
359
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
360
|
+
return b.build();
|
|
497
361
|
};
|
|
498
362
|
export const se_DescribeClusterCommand = async (input, context) => {
|
|
499
|
-
const
|
|
363
|
+
const b = rb(input, context);
|
|
500
364
|
const headers = {};
|
|
501
|
-
|
|
502
|
-
|
|
365
|
+
b.bp("/clusters/{name}");
|
|
366
|
+
b.p("name", () => input.name, "{name}", false);
|
|
503
367
|
let body;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
hostname,
|
|
507
|
-
port,
|
|
508
|
-
method: "GET",
|
|
509
|
-
headers,
|
|
510
|
-
path: resolvedPath,
|
|
511
|
-
body,
|
|
512
|
-
});
|
|
368
|
+
b.m("GET").h(headers).b(body);
|
|
369
|
+
return b.build();
|
|
513
370
|
};
|
|
514
371
|
export const se_DescribeEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
515
|
-
const
|
|
372
|
+
const b = rb(input, context);
|
|
516
373
|
const headers = {};
|
|
517
|
-
|
|
518
|
-
|
|
374
|
+
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
375
|
+
b.p("id", () => input.id, "{id}", false);
|
|
519
376
|
let body;
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
hostname,
|
|
523
|
-
port,
|
|
524
|
-
method: "GET",
|
|
525
|
-
headers,
|
|
526
|
-
path: resolvedPath,
|
|
527
|
-
body,
|
|
528
|
-
});
|
|
377
|
+
b.m("GET").h(headers).b(body);
|
|
378
|
+
return b.build();
|
|
529
379
|
};
|
|
530
380
|
export const se_DescribeFargateProfileCommand = async (input, context) => {
|
|
531
|
-
const
|
|
381
|
+
const b = rb(input, context);
|
|
532
382
|
const headers = {};
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
383
|
+
b.bp("/clusters/{clusterName}/fargate-profiles/{fargateProfileName}");
|
|
384
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
385
|
+
b.p("fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
537
386
|
let body;
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
hostname,
|
|
541
|
-
port,
|
|
542
|
-
method: "GET",
|
|
543
|
-
headers,
|
|
544
|
-
path: resolvedPath,
|
|
545
|
-
body,
|
|
546
|
-
});
|
|
387
|
+
b.m("GET").h(headers).b(body);
|
|
388
|
+
return b.build();
|
|
547
389
|
};
|
|
548
390
|
export const se_DescribeIdentityProviderConfigCommand = async (input, context) => {
|
|
549
|
-
const
|
|
391
|
+
const b = rb(input, context);
|
|
550
392
|
const headers = {
|
|
551
393
|
"content-type": "application/json",
|
|
552
394
|
};
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
395
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs/describe");
|
|
396
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
556
397
|
let body;
|
|
557
398
|
body = JSON.stringify(take(input, {
|
|
558
399
|
identityProviderConfig: (_) => _json(_),
|
|
559
400
|
}));
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
hostname,
|
|
563
|
-
port,
|
|
564
|
-
method: "POST",
|
|
565
|
-
headers,
|
|
566
|
-
path: resolvedPath,
|
|
567
|
-
body,
|
|
568
|
-
});
|
|
401
|
+
b.m("POST").h(headers).b(body);
|
|
402
|
+
return b.build();
|
|
569
403
|
};
|
|
570
404
|
export const se_DescribeNodegroupCommand = async (input, context) => {
|
|
571
|
-
const
|
|
405
|
+
const b = rb(input, context);
|
|
572
406
|
const headers = {};
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
407
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}");
|
|
408
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
409
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
577
410
|
let body;
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
hostname,
|
|
581
|
-
port,
|
|
582
|
-
method: "GET",
|
|
583
|
-
headers,
|
|
584
|
-
path: resolvedPath,
|
|
585
|
-
body,
|
|
586
|
-
});
|
|
411
|
+
b.m("GET").h(headers).b(body);
|
|
412
|
+
return b.build();
|
|
587
413
|
};
|
|
588
414
|
export const se_DescribePodIdentityAssociationCommand = async (input, context) => {
|
|
589
|
-
const
|
|
590
|
-
const headers = {};
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
return
|
|
597
|
-
protocol,
|
|
598
|
-
hostname,
|
|
599
|
-
port,
|
|
600
|
-
method: "GET",
|
|
601
|
-
headers,
|
|
602
|
-
path: resolvedPath,
|
|
603
|
-
body,
|
|
604
|
-
});
|
|
415
|
+
const b = rb(input, context);
|
|
416
|
+
const headers = {};
|
|
417
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
418
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
419
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
420
|
+
let body;
|
|
421
|
+
b.m("GET").h(headers).b(body);
|
|
422
|
+
return b.build();
|
|
605
423
|
};
|
|
606
424
|
export const se_DescribeUpdateCommand = async (input, context) => {
|
|
607
|
-
const
|
|
425
|
+
const b = rb(input, context);
|
|
608
426
|
const headers = {};
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
427
|
+
b.bp("/clusters/{name}/updates/{updateId}");
|
|
428
|
+
b.p("name", () => input.name, "{name}", false);
|
|
429
|
+
b.p("updateId", () => input.updateId, "{updateId}", false);
|
|
612
430
|
const query = map({
|
|
613
|
-
|
|
614
|
-
|
|
431
|
+
[_nN]: [, input[_nN]],
|
|
432
|
+
[_aN]: [, input[_aN]],
|
|
615
433
|
});
|
|
616
434
|
let body;
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
hostname,
|
|
620
|
-
port,
|
|
621
|
-
method: "GET",
|
|
622
|
-
headers,
|
|
623
|
-
path: resolvedPath,
|
|
624
|
-
query,
|
|
625
|
-
body,
|
|
626
|
-
});
|
|
435
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
436
|
+
return b.build();
|
|
627
437
|
};
|
|
628
438
|
export const se_DisassociateAccessPolicyCommand = async (input, context) => {
|
|
629
439
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -645,27 +455,19 @@ export const se_DisassociateAccessPolicyCommand = async (input, context) => {
|
|
|
645
455
|
});
|
|
646
456
|
};
|
|
647
457
|
export const se_DisassociateIdentityProviderConfigCommand = async (input, context) => {
|
|
648
|
-
const
|
|
458
|
+
const b = rb(input, context);
|
|
649
459
|
const headers = {
|
|
650
460
|
"content-type": "application/json",
|
|
651
461
|
};
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
462
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs/disassociate");
|
|
463
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
655
464
|
let body;
|
|
656
465
|
body = JSON.stringify(take(input, {
|
|
657
466
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
658
467
|
identityProviderConfig: (_) => _json(_),
|
|
659
468
|
}));
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
hostname,
|
|
663
|
-
port,
|
|
664
|
-
method: "POST",
|
|
665
|
-
headers,
|
|
666
|
-
path: resolvedPath,
|
|
667
|
-
body,
|
|
668
|
-
});
|
|
469
|
+
b.m("POST").h(headers).b(body);
|
|
470
|
+
return b.build();
|
|
669
471
|
};
|
|
670
472
|
export const se_ListAccessEntriesCommand = async (input, context) => {
|
|
671
473
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -710,25 +512,17 @@ export const se_ListAccessPoliciesCommand = async (input, context) => {
|
|
|
710
512
|
});
|
|
711
513
|
};
|
|
712
514
|
export const se_ListAddonsCommand = async (input, context) => {
|
|
713
|
-
const
|
|
515
|
+
const b = rb(input, context);
|
|
714
516
|
const headers = {};
|
|
715
|
-
|
|
716
|
-
|
|
517
|
+
b.bp("/clusters/{clusterName}/addons");
|
|
518
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
717
519
|
const query = map({
|
|
718
|
-
|
|
719
|
-
|
|
520
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
521
|
+
[_nT]: [, input[_nT]],
|
|
720
522
|
});
|
|
721
523
|
let body;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
hostname,
|
|
725
|
-
port,
|
|
726
|
-
method: "GET",
|
|
727
|
-
headers,
|
|
728
|
-
path: resolvedPath,
|
|
729
|
-
query,
|
|
730
|
-
body,
|
|
731
|
-
});
|
|
524
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
525
|
+
return b.build();
|
|
732
526
|
};
|
|
733
527
|
export const se_ListAssociatedAccessPoliciesCommand = async (input, context) => {
|
|
734
528
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -754,183 +548,115 @@ export const se_ListAssociatedAccessPoliciesCommand = async (input, context) =>
|
|
|
754
548
|
});
|
|
755
549
|
};
|
|
756
550
|
export const se_ListClustersCommand = async (input, context) => {
|
|
757
|
-
const
|
|
551
|
+
const b = rb(input, context);
|
|
758
552
|
const headers = {};
|
|
759
|
-
|
|
553
|
+
b.bp("/clusters");
|
|
760
554
|
const query = map({
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
555
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
556
|
+
[_nT]: [, input[_nT]],
|
|
557
|
+
[_i]: [() => input.include !== void 0, () => (input[_i] || []).map((_entry) => _entry)],
|
|
764
558
|
});
|
|
765
559
|
let body;
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
hostname,
|
|
769
|
-
port,
|
|
770
|
-
method: "GET",
|
|
771
|
-
headers,
|
|
772
|
-
path: resolvedPath,
|
|
773
|
-
query,
|
|
774
|
-
body,
|
|
775
|
-
});
|
|
560
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
561
|
+
return b.build();
|
|
776
562
|
};
|
|
777
563
|
export const se_ListEksAnywhereSubscriptionsCommand = async (input, context) => {
|
|
778
|
-
const
|
|
564
|
+
const b = rb(input, context);
|
|
779
565
|
const headers = {};
|
|
780
|
-
|
|
566
|
+
b.bp("/eks-anywhere-subscriptions");
|
|
781
567
|
const query = map({
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
() => input.includeStatus !== void 0,
|
|
786
|
-
() => (input.includeStatus || []).map((_entry) => _entry),
|
|
787
|
-
],
|
|
568
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
569
|
+
[_nT]: [, input[_nT]],
|
|
570
|
+
[_iS]: [() => input.includeStatus !== void 0, () => (input[_iS] || []).map((_entry) => _entry)],
|
|
788
571
|
});
|
|
789
572
|
let body;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
hostname,
|
|
793
|
-
port,
|
|
794
|
-
method: "GET",
|
|
795
|
-
headers,
|
|
796
|
-
path: resolvedPath,
|
|
797
|
-
query,
|
|
798
|
-
body,
|
|
799
|
-
});
|
|
573
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
574
|
+
return b.build();
|
|
800
575
|
};
|
|
801
576
|
export const se_ListFargateProfilesCommand = async (input, context) => {
|
|
802
|
-
const
|
|
577
|
+
const b = rb(input, context);
|
|
803
578
|
const headers = {};
|
|
804
|
-
|
|
805
|
-
|
|
579
|
+
b.bp("/clusters/{clusterName}/fargate-profiles");
|
|
580
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
806
581
|
const query = map({
|
|
807
|
-
|
|
808
|
-
|
|
582
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
583
|
+
[_nT]: [, input[_nT]],
|
|
809
584
|
});
|
|
810
585
|
let body;
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
hostname,
|
|
814
|
-
port,
|
|
815
|
-
method: "GET",
|
|
816
|
-
headers,
|
|
817
|
-
path: resolvedPath,
|
|
818
|
-
query,
|
|
819
|
-
body,
|
|
820
|
-
});
|
|
586
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
587
|
+
return b.build();
|
|
821
588
|
};
|
|
822
589
|
export const se_ListIdentityProviderConfigsCommand = async (input, context) => {
|
|
823
|
-
const
|
|
590
|
+
const b = rb(input, context);
|
|
824
591
|
const headers = {};
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
592
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs");
|
|
593
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
828
594
|
const query = map({
|
|
829
|
-
|
|
830
|
-
|
|
595
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
596
|
+
[_nT]: [, input[_nT]],
|
|
831
597
|
});
|
|
832
598
|
let body;
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
hostname,
|
|
836
|
-
port,
|
|
837
|
-
method: "GET",
|
|
838
|
-
headers,
|
|
839
|
-
path: resolvedPath,
|
|
840
|
-
query,
|
|
841
|
-
body,
|
|
842
|
-
});
|
|
599
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
600
|
+
return b.build();
|
|
843
601
|
};
|
|
844
602
|
export const se_ListNodegroupsCommand = async (input, context) => {
|
|
845
|
-
const
|
|
603
|
+
const b = rb(input, context);
|
|
846
604
|
const headers = {};
|
|
847
|
-
|
|
848
|
-
|
|
605
|
+
b.bp("/clusters/{clusterName}/node-groups");
|
|
606
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
849
607
|
const query = map({
|
|
850
|
-
|
|
851
|
-
|
|
608
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
609
|
+
[_nT]: [, input[_nT]],
|
|
852
610
|
});
|
|
853
611
|
let body;
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
hostname,
|
|
857
|
-
port,
|
|
858
|
-
method: "GET",
|
|
859
|
-
headers,
|
|
860
|
-
path: resolvedPath,
|
|
861
|
-
query,
|
|
862
|
-
body,
|
|
863
|
-
});
|
|
612
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
613
|
+
return b.build();
|
|
864
614
|
};
|
|
865
615
|
export const se_ListPodIdentityAssociationsCommand = async (input, context) => {
|
|
866
|
-
const
|
|
616
|
+
const b = rb(input, context);
|
|
867
617
|
const headers = {};
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
618
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations");
|
|
619
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
871
620
|
const query = map({
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
621
|
+
[_n]: [, input[_n]],
|
|
622
|
+
[_sA]: [, input[_sA]],
|
|
623
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
624
|
+
[_nT]: [, input[_nT]],
|
|
876
625
|
});
|
|
877
626
|
let body;
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
hostname,
|
|
881
|
-
port,
|
|
882
|
-
method: "GET",
|
|
883
|
-
headers,
|
|
884
|
-
path: resolvedPath,
|
|
885
|
-
query,
|
|
886
|
-
body,
|
|
887
|
-
});
|
|
627
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
628
|
+
return b.build();
|
|
888
629
|
};
|
|
889
630
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
890
|
-
const
|
|
631
|
+
const b = rb(input, context);
|
|
891
632
|
const headers = {};
|
|
892
|
-
|
|
893
|
-
|
|
633
|
+
b.bp("/tags/{resourceArn}");
|
|
634
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
894
635
|
let body;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
hostname,
|
|
898
|
-
port,
|
|
899
|
-
method: "GET",
|
|
900
|
-
headers,
|
|
901
|
-
path: resolvedPath,
|
|
902
|
-
body,
|
|
903
|
-
});
|
|
636
|
+
b.m("GET").h(headers).b(body);
|
|
637
|
+
return b.build();
|
|
904
638
|
};
|
|
905
639
|
export const se_ListUpdatesCommand = async (input, context) => {
|
|
906
|
-
const
|
|
640
|
+
const b = rb(input, context);
|
|
907
641
|
const headers = {};
|
|
908
|
-
|
|
909
|
-
|
|
642
|
+
b.bp("/clusters/{name}/updates");
|
|
643
|
+
b.p("name", () => input.name, "{name}", false);
|
|
910
644
|
const query = map({
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
645
|
+
[_nN]: [, input[_nN]],
|
|
646
|
+
[_aN]: [, input[_aN]],
|
|
647
|
+
[_nT]: [, input[_nT]],
|
|
648
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
915
649
|
});
|
|
916
650
|
let body;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
hostname,
|
|
920
|
-
port,
|
|
921
|
-
method: "GET",
|
|
922
|
-
headers,
|
|
923
|
-
path: resolvedPath,
|
|
924
|
-
query,
|
|
925
|
-
body,
|
|
926
|
-
});
|
|
651
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
652
|
+
return b.build();
|
|
927
653
|
};
|
|
928
654
|
export const se_RegisterClusterCommand = async (input, context) => {
|
|
929
|
-
const
|
|
655
|
+
const b = rb(input, context);
|
|
930
656
|
const headers = {
|
|
931
657
|
"content-type": "application/json",
|
|
932
658
|
};
|
|
933
|
-
|
|
659
|
+
b.bp("/cluster-registrations");
|
|
934
660
|
let body;
|
|
935
661
|
body = JSON.stringify(take(input, {
|
|
936
662
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -938,59 +664,37 @@ export const se_RegisterClusterCommand = async (input, context) => {
|
|
|
938
664
|
name: [],
|
|
939
665
|
tags: (_) => _json(_),
|
|
940
666
|
}));
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
hostname,
|
|
944
|
-
port,
|
|
945
|
-
method: "POST",
|
|
946
|
-
headers,
|
|
947
|
-
path: resolvedPath,
|
|
948
|
-
body,
|
|
949
|
-
});
|
|
667
|
+
b.m("POST").h(headers).b(body);
|
|
668
|
+
return b.build();
|
|
950
669
|
};
|
|
951
670
|
export const se_TagResourceCommand = async (input, context) => {
|
|
952
|
-
const
|
|
671
|
+
const b = rb(input, context);
|
|
953
672
|
const headers = {
|
|
954
673
|
"content-type": "application/json",
|
|
955
674
|
};
|
|
956
|
-
|
|
957
|
-
|
|
675
|
+
b.bp("/tags/{resourceArn}");
|
|
676
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
958
677
|
let body;
|
|
959
678
|
body = JSON.stringify(take(input, {
|
|
960
679
|
tags: (_) => _json(_),
|
|
961
680
|
}));
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
hostname,
|
|
965
|
-
port,
|
|
966
|
-
method: "POST",
|
|
967
|
-
headers,
|
|
968
|
-
path: resolvedPath,
|
|
969
|
-
body,
|
|
970
|
-
});
|
|
681
|
+
b.m("POST").h(headers).b(body);
|
|
682
|
+
return b.build();
|
|
971
683
|
};
|
|
972
684
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
973
|
-
const
|
|
685
|
+
const b = rb(input, context);
|
|
974
686
|
const headers = {};
|
|
975
|
-
|
|
976
|
-
|
|
687
|
+
b.bp("/tags/{resourceArn}");
|
|
688
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
977
689
|
const query = map({
|
|
978
|
-
|
|
690
|
+
[_tK]: [
|
|
979
691
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
980
|
-
() => (input
|
|
692
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
981
693
|
],
|
|
982
694
|
});
|
|
983
695
|
let body;
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
hostname,
|
|
987
|
-
port,
|
|
988
|
-
method: "DELETE",
|
|
989
|
-
headers,
|
|
990
|
-
path: resolvedPath,
|
|
991
|
-
query,
|
|
992
|
-
body,
|
|
993
|
-
});
|
|
696
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
697
|
+
return b.build();
|
|
994
698
|
};
|
|
995
699
|
export const se_UpdateAccessEntryCommand = async (input, context) => {
|
|
996
700
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1018,14 +722,13 @@ export const se_UpdateAccessEntryCommand = async (input, context) => {
|
|
|
1018
722
|
});
|
|
1019
723
|
};
|
|
1020
724
|
export const se_UpdateAddonCommand = async (input, context) => {
|
|
1021
|
-
const
|
|
725
|
+
const b = rb(input, context);
|
|
1022
726
|
const headers = {
|
|
1023
727
|
"content-type": "application/json",
|
|
1024
728
|
};
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "addonName", () => input.addonName, "{addonName}", false);
|
|
729
|
+
b.bp("/clusters/{clusterName}/addons/{addonName}/update");
|
|
730
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
731
|
+
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
1029
732
|
let body;
|
|
1030
733
|
body = JSON.stringify(take(input, {
|
|
1031
734
|
addonVersion: [],
|
|
@@ -1034,23 +737,16 @@ export const se_UpdateAddonCommand = async (input, context) => {
|
|
|
1034
737
|
resolveConflicts: [],
|
|
1035
738
|
serviceAccountRoleArn: [],
|
|
1036
739
|
}));
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
hostname,
|
|
1040
|
-
port,
|
|
1041
|
-
method: "POST",
|
|
1042
|
-
headers,
|
|
1043
|
-
path: resolvedPath,
|
|
1044
|
-
body,
|
|
1045
|
-
});
|
|
740
|
+
b.m("POST").h(headers).b(body);
|
|
741
|
+
return b.build();
|
|
1046
742
|
};
|
|
1047
743
|
export const se_UpdateClusterConfigCommand = async (input, context) => {
|
|
1048
|
-
const
|
|
744
|
+
const b = rb(input, context);
|
|
1049
745
|
const headers = {
|
|
1050
746
|
"content-type": "application/json",
|
|
1051
747
|
};
|
|
1052
|
-
|
|
1053
|
-
|
|
748
|
+
b.bp("/clusters/{name}/update-config");
|
|
749
|
+
b.p("name", () => input.name, "{name}", false);
|
|
1054
750
|
let body;
|
|
1055
751
|
body = JSON.stringify(take(input, {
|
|
1056
752
|
accessConfig: (_) => _json(_),
|
|
@@ -1058,69 +754,47 @@ export const se_UpdateClusterConfigCommand = async (input, context) => {
|
|
|
1058
754
|
logging: (_) => _json(_),
|
|
1059
755
|
resourcesVpcConfig: (_) => _json(_),
|
|
1060
756
|
}));
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
hostname,
|
|
1064
|
-
port,
|
|
1065
|
-
method: "POST",
|
|
1066
|
-
headers,
|
|
1067
|
-
path: resolvedPath,
|
|
1068
|
-
body,
|
|
1069
|
-
});
|
|
757
|
+
b.m("POST").h(headers).b(body);
|
|
758
|
+
return b.build();
|
|
1070
759
|
};
|
|
1071
760
|
export const se_UpdateClusterVersionCommand = async (input, context) => {
|
|
1072
|
-
const
|
|
761
|
+
const b = rb(input, context);
|
|
1073
762
|
const headers = {
|
|
1074
763
|
"content-type": "application/json",
|
|
1075
764
|
};
|
|
1076
|
-
|
|
1077
|
-
|
|
765
|
+
b.bp("/clusters/{name}/updates");
|
|
766
|
+
b.p("name", () => input.name, "{name}", false);
|
|
1078
767
|
let body;
|
|
1079
768
|
body = JSON.stringify(take(input, {
|
|
1080
769
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1081
770
|
version: [],
|
|
1082
771
|
}));
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
hostname,
|
|
1086
|
-
port,
|
|
1087
|
-
method: "POST",
|
|
1088
|
-
headers,
|
|
1089
|
-
path: resolvedPath,
|
|
1090
|
-
body,
|
|
1091
|
-
});
|
|
772
|
+
b.m("POST").h(headers).b(body);
|
|
773
|
+
return b.build();
|
|
1092
774
|
};
|
|
1093
775
|
export const se_UpdateEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
1094
|
-
const
|
|
776
|
+
const b = rb(input, context);
|
|
1095
777
|
const headers = {
|
|
1096
778
|
"content-type": "application/json",
|
|
1097
779
|
};
|
|
1098
|
-
|
|
1099
|
-
|
|
780
|
+
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
781
|
+
b.p("id", () => input.id, "{id}", false);
|
|
1100
782
|
let body;
|
|
1101
783
|
body = JSON.stringify(take(input, {
|
|
1102
784
|
autoRenew: [],
|
|
1103
785
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1104
786
|
}));
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
hostname,
|
|
1108
|
-
port,
|
|
1109
|
-
method: "POST",
|
|
1110
|
-
headers,
|
|
1111
|
-
path: resolvedPath,
|
|
1112
|
-
body,
|
|
1113
|
-
});
|
|
787
|
+
b.m("POST").h(headers).b(body);
|
|
788
|
+
return b.build();
|
|
1114
789
|
};
|
|
1115
790
|
export const se_UpdateNodegroupConfigCommand = async (input, context) => {
|
|
1116
|
-
const
|
|
791
|
+
const b = rb(input, context);
|
|
1117
792
|
const headers = {
|
|
1118
793
|
"content-type": "application/json",
|
|
1119
794
|
};
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
795
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}/update-config");
|
|
796
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
797
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
1124
798
|
let body;
|
|
1125
799
|
body = JSON.stringify(take(input, {
|
|
1126
800
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -1129,25 +803,17 @@ export const se_UpdateNodegroupConfigCommand = async (input, context) => {
|
|
|
1129
803
|
taints: (_) => _json(_),
|
|
1130
804
|
updateConfig: (_) => _json(_),
|
|
1131
805
|
}));
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
hostname,
|
|
1135
|
-
port,
|
|
1136
|
-
method: "POST",
|
|
1137
|
-
headers,
|
|
1138
|
-
path: resolvedPath,
|
|
1139
|
-
body,
|
|
1140
|
-
});
|
|
806
|
+
b.m("POST").h(headers).b(body);
|
|
807
|
+
return b.build();
|
|
1141
808
|
};
|
|
1142
809
|
export const se_UpdateNodegroupVersionCommand = async (input, context) => {
|
|
1143
|
-
const
|
|
810
|
+
const b = rb(input, context);
|
|
1144
811
|
const headers = {
|
|
1145
812
|
"content-type": "application/json",
|
|
1146
813
|
};
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
814
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}/update-version");
|
|
815
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
816
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
1151
817
|
let body;
|
|
1152
818
|
body = JSON.stringify(take(input, {
|
|
1153
819
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -1156,39 +822,24 @@ export const se_UpdateNodegroupVersionCommand = async (input, context) => {
|
|
|
1156
822
|
releaseVersion: [],
|
|
1157
823
|
version: [],
|
|
1158
824
|
}));
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
hostname,
|
|
1162
|
-
port,
|
|
1163
|
-
method: "POST",
|
|
1164
|
-
headers,
|
|
1165
|
-
path: resolvedPath,
|
|
1166
|
-
body,
|
|
1167
|
-
});
|
|
825
|
+
b.m("POST").h(headers).b(body);
|
|
826
|
+
return b.build();
|
|
1168
827
|
};
|
|
1169
828
|
export const se_UpdatePodIdentityAssociationCommand = async (input, context) => {
|
|
1170
|
-
const
|
|
829
|
+
const b = rb(input, context);
|
|
1171
830
|
const headers = {
|
|
1172
831
|
"content-type": "application/json",
|
|
1173
832
|
};
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
833
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
834
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
835
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
1178
836
|
let body;
|
|
1179
837
|
body = JSON.stringify(take(input, {
|
|
1180
838
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1181
839
|
roleArn: [],
|
|
1182
840
|
}));
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
hostname,
|
|
1186
|
-
port,
|
|
1187
|
-
method: "POST",
|
|
1188
|
-
headers,
|
|
1189
|
-
path: resolvedPath,
|
|
1190
|
-
body,
|
|
1191
|
-
});
|
|
841
|
+
b.m("POST").h(headers).b(body);
|
|
842
|
+
return b.build();
|
|
1192
843
|
};
|
|
1193
844
|
export const de_AssociateAccessPolicyCommand = async (output, context) => {
|
|
1194
845
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -3941,6 +3592,21 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3941
3592
|
value !== "" &&
|
|
3942
3593
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3943
3594
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3595
|
+
const _aN = "addonName";
|
|
3596
|
+
const _aV = "addonVersion";
|
|
3597
|
+
const _i = "include";
|
|
3598
|
+
const _iS = "includeStatus";
|
|
3599
|
+
const _kV = "kubernetesVersion";
|
|
3600
|
+
const _mR = "maxResults";
|
|
3601
|
+
const _n = "namespace";
|
|
3602
|
+
const _nN = "nodegroupName";
|
|
3603
|
+
const _nT = "nextToken";
|
|
3604
|
+
const _o = "owners";
|
|
3605
|
+
const _p = "preserve";
|
|
3606
|
+
const _pu = "publishers";
|
|
3607
|
+
const _sA = "serviceAccount";
|
|
3608
|
+
const _t = "types";
|
|
3609
|
+
const _tK = "tagKeys";
|
|
3944
3610
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3945
3611
|
if (encoded.length) {
|
|
3946
3612
|
return JSON.parse(encoded);
|