@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
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_UpdateClusterVersionCommand = exports.se_UpdateClusterConfigCommand = exports.se_UpdateAddonCommand = exports.se_UpdateAccessEntryCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterClusterCommand = exports.se_ListUpdatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPodIdentityAssociationsCommand = exports.se_ListNodegroupsCommand = exports.se_ListIdentityProviderConfigsCommand = exports.se_ListFargateProfilesCommand = exports.se_ListEksAnywhereSubscriptionsCommand = exports.se_ListClustersCommand = exports.se_ListAssociatedAccessPoliciesCommand = exports.se_ListAddonsCommand = exports.se_ListAccessPoliciesCommand = exports.se_ListAccessEntriesCommand = exports.se_DisassociateIdentityProviderConfigCommand = exports.se_DisassociateAccessPolicyCommand = exports.se_DescribeUpdateCommand = exports.se_DescribePodIdentityAssociationCommand = exports.se_DescribeNodegroupCommand = exports.se_DescribeIdentityProviderConfigCommand = exports.se_DescribeFargateProfileCommand = exports.se_DescribeEksAnywhereSubscriptionCommand = exports.se_DescribeClusterCommand = exports.se_DescribeAddonVersionsCommand = exports.se_DescribeAddonConfigurationCommand = exports.se_DescribeAddonCommand = exports.se_DescribeAccessEntryCommand = exports.se_DeregisterClusterCommand = exports.se_DeletePodIdentityAssociationCommand = exports.se_DeleteNodegroupCommand = exports.se_DeleteFargateProfileCommand = exports.se_DeleteEksAnywhereSubscriptionCommand = exports.se_DeleteClusterCommand = exports.se_DeleteAddonCommand = exports.se_DeleteAccessEntryCommand = exports.se_CreatePodIdentityAssociationCommand = exports.se_CreateNodegroupCommand = exports.se_CreateFargateProfileCommand = exports.se_CreateEksAnywhereSubscriptionCommand = exports.se_CreateClusterCommand = exports.se_CreateAddonCommand = exports.se_CreateAccessEntryCommand = exports.se_AssociateIdentityProviderConfigCommand = exports.se_AssociateEncryptionConfigCommand = exports.se_AssociateAccessPolicyCommand = void 0;
|
|
4
4
|
exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterClusterCommand = exports.de_ListUpdatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPodIdentityAssociationsCommand = exports.de_ListNodegroupsCommand = exports.de_ListIdentityProviderConfigsCommand = exports.de_ListFargateProfilesCommand = exports.de_ListEksAnywhereSubscriptionsCommand = exports.de_ListClustersCommand = exports.de_ListAssociatedAccessPoliciesCommand = exports.de_ListAddonsCommand = exports.de_ListAccessPoliciesCommand = exports.de_ListAccessEntriesCommand = exports.de_DisassociateIdentityProviderConfigCommand = exports.de_DisassociateAccessPolicyCommand = exports.de_DescribeUpdateCommand = exports.de_DescribePodIdentityAssociationCommand = exports.de_DescribeNodegroupCommand = exports.de_DescribeIdentityProviderConfigCommand = exports.de_DescribeFargateProfileCommand = exports.de_DescribeEksAnywhereSubscriptionCommand = exports.de_DescribeClusterCommand = exports.de_DescribeAddonVersionsCommand = exports.de_DescribeAddonConfigurationCommand = exports.de_DescribeAddonCommand = exports.de_DescribeAccessEntryCommand = exports.de_DeregisterClusterCommand = exports.de_DeletePodIdentityAssociationCommand = exports.de_DeleteNodegroupCommand = exports.de_DeleteFargateProfileCommand = exports.de_DeleteEksAnywhereSubscriptionCommand = exports.de_DeleteClusterCommand = exports.de_DeleteAddonCommand = exports.de_DeleteAccessEntryCommand = exports.de_CreatePodIdentityAssociationCommand = exports.de_CreateNodegroupCommand = exports.de_CreateFargateProfileCommand = exports.de_CreateEksAnywhereSubscriptionCommand = exports.de_CreateClusterCommand = exports.de_CreateAddonCommand = exports.de_CreateAccessEntryCommand = exports.de_AssociateIdentityProviderConfigCommand = exports.de_AssociateEncryptionConfigCommand = exports.de_AssociateAccessPolicyCommand = exports.se_UpdatePodIdentityAssociationCommand = exports.se_UpdateNodegroupVersionCommand = exports.se_UpdateNodegroupConfigCommand = exports.se_UpdateEksAnywhereSubscriptionCommand = void 0;
|
|
5
5
|
exports.de_UpdatePodIdentityAssociationCommand = exports.de_UpdateNodegroupVersionCommand = exports.de_UpdateNodegroupConfigCommand = exports.de_UpdateEksAnywhereSubscriptionCommand = exports.de_UpdateClusterVersionCommand = exports.de_UpdateClusterConfigCommand = exports.de_UpdateAddonCommand = exports.de_UpdateAccessEntryCommand = void 0;
|
|
6
|
+
const core_1 = require("@smithy/core");
|
|
6
7
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
7
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
9
|
const uuid_1 = require("uuid");
|
|
@@ -34,52 +35,36 @@ const se_AssociateAccessPolicyCommand = async (input, context) => {
|
|
|
34
35
|
};
|
|
35
36
|
exports.se_AssociateAccessPolicyCommand = se_AssociateAccessPolicyCommand;
|
|
36
37
|
const se_AssociateEncryptionConfigCommand = async (input, context) => {
|
|
37
|
-
const
|
|
38
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
38
39
|
const headers = {
|
|
39
40
|
"content-type": "application/json",
|
|
40
41
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
42
|
+
b.bp("/clusters/{clusterName}/encryption-config/associate");
|
|
43
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
44
44
|
let body;
|
|
45
45
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
46
46
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
47
47
|
encryptionConfig: (_) => (0, smithy_client_1._json)(_),
|
|
48
48
|
}));
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
hostname,
|
|
52
|
-
port,
|
|
53
|
-
method: "POST",
|
|
54
|
-
headers,
|
|
55
|
-
path: resolvedPath,
|
|
56
|
-
body,
|
|
57
|
-
});
|
|
49
|
+
b.m("POST").h(headers).b(body);
|
|
50
|
+
return b.build();
|
|
58
51
|
};
|
|
59
52
|
exports.se_AssociateEncryptionConfigCommand = se_AssociateEncryptionConfigCommand;
|
|
60
53
|
const se_AssociateIdentityProviderConfigCommand = async (input, context) => {
|
|
61
|
-
const
|
|
54
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
62
55
|
const headers = {
|
|
63
56
|
"content-type": "application/json",
|
|
64
57
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
58
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs/associate");
|
|
59
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
68
60
|
let body;
|
|
69
61
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
70
62
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
71
63
|
oidc: (_) => (0, smithy_client_1._json)(_),
|
|
72
64
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
73
65
|
}));
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
hostname,
|
|
77
|
-
port,
|
|
78
|
-
method: "POST",
|
|
79
|
-
headers,
|
|
80
|
-
path: resolvedPath,
|
|
81
|
-
body,
|
|
82
|
-
});
|
|
66
|
+
b.m("POST").h(headers).b(body);
|
|
67
|
+
return b.build();
|
|
83
68
|
};
|
|
84
69
|
exports.se_AssociateIdentityProviderConfigCommand = se_AssociateIdentityProviderConfigCommand;
|
|
85
70
|
const se_CreateAccessEntryCommand = async (input, context) => {
|
|
@@ -110,12 +95,12 @@ const se_CreateAccessEntryCommand = async (input, context) => {
|
|
|
110
95
|
};
|
|
111
96
|
exports.se_CreateAccessEntryCommand = se_CreateAccessEntryCommand;
|
|
112
97
|
const se_CreateAddonCommand = async (input, context) => {
|
|
113
|
-
const
|
|
98
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
114
99
|
const headers = {
|
|
115
100
|
"content-type": "application/json",
|
|
116
101
|
};
|
|
117
|
-
|
|
118
|
-
|
|
102
|
+
b.bp("/clusters/{clusterName}/addons");
|
|
103
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
119
104
|
let body;
|
|
120
105
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
121
106
|
addonName: [],
|
|
@@ -126,23 +111,16 @@ const se_CreateAddonCommand = async (input, context) => {
|
|
|
126
111
|
serviceAccountRoleArn: [],
|
|
127
112
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
128
113
|
}));
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
hostname,
|
|
132
|
-
port,
|
|
133
|
-
method: "POST",
|
|
134
|
-
headers,
|
|
135
|
-
path: resolvedPath,
|
|
136
|
-
body,
|
|
137
|
-
});
|
|
114
|
+
b.m("POST").h(headers).b(body);
|
|
115
|
+
return b.build();
|
|
138
116
|
};
|
|
139
117
|
exports.se_CreateAddonCommand = se_CreateAddonCommand;
|
|
140
118
|
const se_CreateClusterCommand = async (input, context) => {
|
|
141
|
-
const
|
|
119
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
142
120
|
const headers = {
|
|
143
121
|
"content-type": "application/json",
|
|
144
122
|
};
|
|
145
|
-
|
|
123
|
+
b.bp("/clusters");
|
|
146
124
|
let body;
|
|
147
125
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
148
126
|
accessConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -157,23 +135,16 @@ const se_CreateClusterCommand = async (input, context) => {
|
|
|
157
135
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
158
136
|
version: [],
|
|
159
137
|
}));
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
hostname,
|
|
163
|
-
port,
|
|
164
|
-
method: "POST",
|
|
165
|
-
headers,
|
|
166
|
-
path: resolvedPath,
|
|
167
|
-
body,
|
|
168
|
-
});
|
|
138
|
+
b.m("POST").h(headers).b(body);
|
|
139
|
+
return b.build();
|
|
169
140
|
};
|
|
170
141
|
exports.se_CreateClusterCommand = se_CreateClusterCommand;
|
|
171
142
|
const se_CreateEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
172
|
-
const
|
|
143
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
173
144
|
const headers = {
|
|
174
145
|
"content-type": "application/json",
|
|
175
146
|
};
|
|
176
|
-
|
|
147
|
+
b.bp("/eks-anywhere-subscriptions");
|
|
177
148
|
let body;
|
|
178
149
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
179
150
|
autoRenew: [],
|
|
@@ -184,24 +155,17 @@ const se_CreateEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
|
184
155
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
185
156
|
term: (_) => (0, smithy_client_1._json)(_),
|
|
186
157
|
}));
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
hostname,
|
|
190
|
-
port,
|
|
191
|
-
method: "POST",
|
|
192
|
-
headers,
|
|
193
|
-
path: resolvedPath,
|
|
194
|
-
body,
|
|
195
|
-
});
|
|
158
|
+
b.m("POST").h(headers).b(body);
|
|
159
|
+
return b.build();
|
|
196
160
|
};
|
|
197
161
|
exports.se_CreateEksAnywhereSubscriptionCommand = se_CreateEksAnywhereSubscriptionCommand;
|
|
198
162
|
const se_CreateFargateProfileCommand = async (input, context) => {
|
|
199
|
-
const
|
|
163
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
200
164
|
const headers = {
|
|
201
165
|
"content-type": "application/json",
|
|
202
166
|
};
|
|
203
|
-
|
|
204
|
-
|
|
167
|
+
b.bp("/clusters/{clusterName}/fargate-profiles");
|
|
168
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
205
169
|
let body;
|
|
206
170
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
207
171
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -211,24 +175,17 @@ const se_CreateFargateProfileCommand = async (input, context) => {
|
|
|
211
175
|
subnets: (_) => (0, smithy_client_1._json)(_),
|
|
212
176
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
213
177
|
}));
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
hostname,
|
|
217
|
-
port,
|
|
218
|
-
method: "POST",
|
|
219
|
-
headers,
|
|
220
|
-
path: resolvedPath,
|
|
221
|
-
body,
|
|
222
|
-
});
|
|
178
|
+
b.m("POST").h(headers).b(body);
|
|
179
|
+
return b.build();
|
|
223
180
|
};
|
|
224
181
|
exports.se_CreateFargateProfileCommand = se_CreateFargateProfileCommand;
|
|
225
182
|
const se_CreateNodegroupCommand = async (input, context) => {
|
|
226
|
-
const
|
|
183
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
227
184
|
const headers = {
|
|
228
185
|
"content-type": "application/json",
|
|
229
186
|
};
|
|
230
|
-
|
|
231
|
-
|
|
187
|
+
b.bp("/clusters/{clusterName}/node-groups");
|
|
188
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
232
189
|
let body;
|
|
233
190
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
234
191
|
amiType: [],
|
|
@@ -249,25 +206,17 @@ const se_CreateNodegroupCommand = async (input, context) => {
|
|
|
249
206
|
updateConfig: (_) => (0, smithy_client_1._json)(_),
|
|
250
207
|
version: [],
|
|
251
208
|
}));
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
hostname,
|
|
255
|
-
port,
|
|
256
|
-
method: "POST",
|
|
257
|
-
headers,
|
|
258
|
-
path: resolvedPath,
|
|
259
|
-
body,
|
|
260
|
-
});
|
|
209
|
+
b.m("POST").h(headers).b(body);
|
|
210
|
+
return b.build();
|
|
261
211
|
};
|
|
262
212
|
exports.se_CreateNodegroupCommand = se_CreateNodegroupCommand;
|
|
263
213
|
const se_CreatePodIdentityAssociationCommand = async (input, context) => {
|
|
264
|
-
const
|
|
214
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
265
215
|
const headers = {
|
|
266
216
|
"content-type": "application/json",
|
|
267
217
|
};
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
218
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations");
|
|
219
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
271
220
|
let body;
|
|
272
221
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
273
222
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -276,15 +225,8 @@ const se_CreatePodIdentityAssociationCommand = async (input, context) => {
|
|
|
276
225
|
serviceAccount: [],
|
|
277
226
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
278
227
|
}));
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
hostname,
|
|
282
|
-
port,
|
|
283
|
-
method: "POST",
|
|
284
|
-
headers,
|
|
285
|
-
path: resolvedPath,
|
|
286
|
-
body,
|
|
287
|
-
});
|
|
228
|
+
b.m("POST").h(headers).b(body);
|
|
229
|
+
return b.build();
|
|
288
230
|
};
|
|
289
231
|
exports.se_CreatePodIdentityAssociationCommand = se_CreatePodIdentityAssociationCommand;
|
|
290
232
|
const se_DeleteAccessEntryCommand = async (input, context) => {
|
|
@@ -307,134 +249,80 @@ const se_DeleteAccessEntryCommand = async (input, context) => {
|
|
|
307
249
|
};
|
|
308
250
|
exports.se_DeleteAccessEntryCommand = se_DeleteAccessEntryCommand;
|
|
309
251
|
const se_DeleteAddonCommand = async (input, context) => {
|
|
310
|
-
const
|
|
252
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
311
253
|
const headers = {};
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "addonName", () => input.addonName, "{addonName}", false);
|
|
254
|
+
b.bp("/clusters/{clusterName}/addons/{addonName}");
|
|
255
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
256
|
+
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
316
257
|
const query = (0, smithy_client_1.map)({
|
|
317
|
-
|
|
258
|
+
[_p]: [() => input.preserve !== void 0, () => input[_p].toString()],
|
|
318
259
|
});
|
|
319
260
|
let body;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
hostname,
|
|
323
|
-
port,
|
|
324
|
-
method: "DELETE",
|
|
325
|
-
headers,
|
|
326
|
-
path: resolvedPath,
|
|
327
|
-
query,
|
|
328
|
-
body,
|
|
329
|
-
});
|
|
261
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
262
|
+
return b.build();
|
|
330
263
|
};
|
|
331
264
|
exports.se_DeleteAddonCommand = se_DeleteAddonCommand;
|
|
332
265
|
const se_DeleteClusterCommand = async (input, context) => {
|
|
333
|
-
const
|
|
266
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
334
267
|
const headers = {};
|
|
335
|
-
|
|
336
|
-
|
|
268
|
+
b.bp("/clusters/{name}");
|
|
269
|
+
b.p("name", () => input.name, "{name}", false);
|
|
337
270
|
let body;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
hostname,
|
|
341
|
-
port,
|
|
342
|
-
method: "DELETE",
|
|
343
|
-
headers,
|
|
344
|
-
path: resolvedPath,
|
|
345
|
-
body,
|
|
346
|
-
});
|
|
271
|
+
b.m("DELETE").h(headers).b(body);
|
|
272
|
+
return b.build();
|
|
347
273
|
};
|
|
348
274
|
exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
|
|
349
275
|
const se_DeleteEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
350
|
-
const
|
|
276
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
351
277
|
const headers = {};
|
|
352
|
-
|
|
353
|
-
|
|
278
|
+
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
279
|
+
b.p("id", () => input.id, "{id}", false);
|
|
354
280
|
let body;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
hostname,
|
|
358
|
-
port,
|
|
359
|
-
method: "DELETE",
|
|
360
|
-
headers,
|
|
361
|
-
path: resolvedPath,
|
|
362
|
-
body,
|
|
363
|
-
});
|
|
281
|
+
b.m("DELETE").h(headers).b(body);
|
|
282
|
+
return b.build();
|
|
364
283
|
};
|
|
365
284
|
exports.se_DeleteEksAnywhereSubscriptionCommand = se_DeleteEksAnywhereSubscriptionCommand;
|
|
366
285
|
const se_DeleteFargateProfileCommand = async (input, context) => {
|
|
367
|
-
const
|
|
286
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
368
287
|
const headers = {};
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
288
|
+
b.bp("/clusters/{clusterName}/fargate-profiles/{fargateProfileName}");
|
|
289
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
290
|
+
b.p("fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
373
291
|
let body;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
hostname,
|
|
377
|
-
port,
|
|
378
|
-
method: "DELETE",
|
|
379
|
-
headers,
|
|
380
|
-
path: resolvedPath,
|
|
381
|
-
body,
|
|
382
|
-
});
|
|
292
|
+
b.m("DELETE").h(headers).b(body);
|
|
293
|
+
return b.build();
|
|
383
294
|
};
|
|
384
295
|
exports.se_DeleteFargateProfileCommand = se_DeleteFargateProfileCommand;
|
|
385
296
|
const se_DeleteNodegroupCommand = async (input, context) => {
|
|
386
|
-
const
|
|
297
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
387
298
|
const headers = {};
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
299
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}");
|
|
300
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
301
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
392
302
|
let body;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
hostname,
|
|
396
|
-
port,
|
|
397
|
-
method: "DELETE",
|
|
398
|
-
headers,
|
|
399
|
-
path: resolvedPath,
|
|
400
|
-
body,
|
|
401
|
-
});
|
|
303
|
+
b.m("DELETE").h(headers).b(body);
|
|
304
|
+
return b.build();
|
|
402
305
|
};
|
|
403
306
|
exports.se_DeleteNodegroupCommand = se_DeleteNodegroupCommand;
|
|
404
307
|
const se_DeletePodIdentityAssociationCommand = async (input, context) => {
|
|
405
|
-
const
|
|
308
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
406
309
|
const headers = {};
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
310
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
311
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
312
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
411
313
|
let body;
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
hostname,
|
|
415
|
-
port,
|
|
416
|
-
method: "DELETE",
|
|
417
|
-
headers,
|
|
418
|
-
path: resolvedPath,
|
|
419
|
-
body,
|
|
420
|
-
});
|
|
314
|
+
b.m("DELETE").h(headers).b(body);
|
|
315
|
+
return b.build();
|
|
421
316
|
};
|
|
422
317
|
exports.se_DeletePodIdentityAssociationCommand = se_DeletePodIdentityAssociationCommand;
|
|
423
318
|
const se_DeregisterClusterCommand = async (input, context) => {
|
|
424
|
-
const
|
|
319
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
425
320
|
const headers = {};
|
|
426
|
-
|
|
427
|
-
|
|
321
|
+
b.bp("/cluster-registrations/{name}");
|
|
322
|
+
b.p("name", () => input.name, "{name}", false);
|
|
428
323
|
let body;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
hostname,
|
|
432
|
-
port,
|
|
433
|
-
method: "DELETE",
|
|
434
|
-
headers,
|
|
435
|
-
path: resolvedPath,
|
|
436
|
-
body,
|
|
437
|
-
});
|
|
324
|
+
b.m("DELETE").h(headers).b(body);
|
|
325
|
+
return b.build();
|
|
438
326
|
};
|
|
439
327
|
exports.se_DeregisterClusterCommand = se_DeregisterClusterCommand;
|
|
440
328
|
const se_DescribeAccessEntryCommand = async (input, context) => {
|
|
@@ -457,206 +345,128 @@ const se_DescribeAccessEntryCommand = async (input, context) => {
|
|
|
457
345
|
};
|
|
458
346
|
exports.se_DescribeAccessEntryCommand = se_DescribeAccessEntryCommand;
|
|
459
347
|
const se_DescribeAddonCommand = async (input, context) => {
|
|
460
|
-
const
|
|
348
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
461
349
|
const headers = {};
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "addonName", () => input.addonName, "{addonName}", false);
|
|
350
|
+
b.bp("/clusters/{clusterName}/addons/{addonName}");
|
|
351
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
352
|
+
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
466
353
|
let body;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
hostname,
|
|
470
|
-
port,
|
|
471
|
-
method: "GET",
|
|
472
|
-
headers,
|
|
473
|
-
path: resolvedPath,
|
|
474
|
-
body,
|
|
475
|
-
});
|
|
354
|
+
b.m("GET").h(headers).b(body);
|
|
355
|
+
return b.build();
|
|
476
356
|
};
|
|
477
357
|
exports.se_DescribeAddonCommand = se_DescribeAddonCommand;
|
|
478
358
|
const se_DescribeAddonConfigurationCommand = async (input, context) => {
|
|
479
|
-
const
|
|
359
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
480
360
|
const headers = {};
|
|
481
|
-
|
|
361
|
+
b.bp("/addons/configuration-schemas");
|
|
482
362
|
const query = (0, smithy_client_1.map)({
|
|
483
|
-
|
|
484
|
-
|
|
363
|
+
[_aN]: [, (0, smithy_client_1.expectNonNull)(input[_aN], `addonName`)],
|
|
364
|
+
[_aV]: [, (0, smithy_client_1.expectNonNull)(input[_aV], `addonVersion`)],
|
|
485
365
|
});
|
|
486
366
|
let body;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
hostname,
|
|
490
|
-
port,
|
|
491
|
-
method: "GET",
|
|
492
|
-
headers,
|
|
493
|
-
path: resolvedPath,
|
|
494
|
-
query,
|
|
495
|
-
body,
|
|
496
|
-
});
|
|
367
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
368
|
+
return b.build();
|
|
497
369
|
};
|
|
498
370
|
exports.se_DescribeAddonConfigurationCommand = se_DescribeAddonConfigurationCommand;
|
|
499
371
|
const se_DescribeAddonVersionsCommand = async (input, context) => {
|
|
500
|
-
const
|
|
372
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
501
373
|
const headers = {};
|
|
502
|
-
|
|
374
|
+
b.bp("/addons/supported-versions");
|
|
503
375
|
const query = (0, smithy_client_1.map)({
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
376
|
+
[_kV]: [, input[_kV]],
|
|
377
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
378
|
+
[_nT]: [, input[_nT]],
|
|
379
|
+
[_aN]: [, input[_aN]],
|
|
380
|
+
[_t]: [() => input.types !== void 0, () => (input[_t] || []).map((_entry) => _entry)],
|
|
381
|
+
[_pu]: [() => input.publishers !== void 0, () => (input[_pu] || []).map((_entry) => _entry)],
|
|
382
|
+
[_o]: [() => input.owners !== void 0, () => (input[_o] || []).map((_entry) => _entry)],
|
|
511
383
|
});
|
|
512
384
|
let body;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
hostname,
|
|
516
|
-
port,
|
|
517
|
-
method: "GET",
|
|
518
|
-
headers,
|
|
519
|
-
path: resolvedPath,
|
|
520
|
-
query,
|
|
521
|
-
body,
|
|
522
|
-
});
|
|
385
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
386
|
+
return b.build();
|
|
523
387
|
};
|
|
524
388
|
exports.se_DescribeAddonVersionsCommand = se_DescribeAddonVersionsCommand;
|
|
525
389
|
const se_DescribeClusterCommand = async (input, context) => {
|
|
526
|
-
const
|
|
390
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
527
391
|
const headers = {};
|
|
528
|
-
|
|
529
|
-
|
|
392
|
+
b.bp("/clusters/{name}");
|
|
393
|
+
b.p("name", () => input.name, "{name}", false);
|
|
530
394
|
let body;
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
hostname,
|
|
534
|
-
port,
|
|
535
|
-
method: "GET",
|
|
536
|
-
headers,
|
|
537
|
-
path: resolvedPath,
|
|
538
|
-
body,
|
|
539
|
-
});
|
|
395
|
+
b.m("GET").h(headers).b(body);
|
|
396
|
+
return b.build();
|
|
540
397
|
};
|
|
541
398
|
exports.se_DescribeClusterCommand = se_DescribeClusterCommand;
|
|
542
399
|
const se_DescribeEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
543
|
-
const
|
|
400
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
544
401
|
const headers = {};
|
|
545
|
-
|
|
546
|
-
|
|
402
|
+
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
403
|
+
b.p("id", () => input.id, "{id}", false);
|
|
547
404
|
let body;
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
hostname,
|
|
551
|
-
port,
|
|
552
|
-
method: "GET",
|
|
553
|
-
headers,
|
|
554
|
-
path: resolvedPath,
|
|
555
|
-
body,
|
|
556
|
-
});
|
|
405
|
+
b.m("GET").h(headers).b(body);
|
|
406
|
+
return b.build();
|
|
557
407
|
};
|
|
558
408
|
exports.se_DescribeEksAnywhereSubscriptionCommand = se_DescribeEksAnywhereSubscriptionCommand;
|
|
559
409
|
const se_DescribeFargateProfileCommand = async (input, context) => {
|
|
560
|
-
const
|
|
410
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
561
411
|
const headers = {};
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
412
|
+
b.bp("/clusters/{clusterName}/fargate-profiles/{fargateProfileName}");
|
|
413
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
414
|
+
b.p("fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
566
415
|
let body;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
hostname,
|
|
570
|
-
port,
|
|
571
|
-
method: "GET",
|
|
572
|
-
headers,
|
|
573
|
-
path: resolvedPath,
|
|
574
|
-
body,
|
|
575
|
-
});
|
|
416
|
+
b.m("GET").h(headers).b(body);
|
|
417
|
+
return b.build();
|
|
576
418
|
};
|
|
577
419
|
exports.se_DescribeFargateProfileCommand = se_DescribeFargateProfileCommand;
|
|
578
420
|
const se_DescribeIdentityProviderConfigCommand = async (input, context) => {
|
|
579
|
-
const
|
|
421
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
580
422
|
const headers = {
|
|
581
423
|
"content-type": "application/json",
|
|
582
424
|
};
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
425
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs/describe");
|
|
426
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
586
427
|
let body;
|
|
587
428
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
588
429
|
identityProviderConfig: (_) => (0, smithy_client_1._json)(_),
|
|
589
430
|
}));
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
hostname,
|
|
593
|
-
port,
|
|
594
|
-
method: "POST",
|
|
595
|
-
headers,
|
|
596
|
-
path: resolvedPath,
|
|
597
|
-
body,
|
|
598
|
-
});
|
|
431
|
+
b.m("POST").h(headers).b(body);
|
|
432
|
+
return b.build();
|
|
599
433
|
};
|
|
600
434
|
exports.se_DescribeIdentityProviderConfigCommand = se_DescribeIdentityProviderConfigCommand;
|
|
601
435
|
const se_DescribeNodegroupCommand = async (input, context) => {
|
|
602
|
-
const
|
|
436
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
603
437
|
const headers = {};
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
438
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}");
|
|
439
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
440
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
608
441
|
let body;
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
hostname,
|
|
612
|
-
port,
|
|
613
|
-
method: "GET",
|
|
614
|
-
headers,
|
|
615
|
-
path: resolvedPath,
|
|
616
|
-
body,
|
|
617
|
-
});
|
|
442
|
+
b.m("GET").h(headers).b(body);
|
|
443
|
+
return b.build();
|
|
618
444
|
};
|
|
619
445
|
exports.se_DescribeNodegroupCommand = se_DescribeNodegroupCommand;
|
|
620
446
|
const se_DescribePodIdentityAssociationCommand = async (input, context) => {
|
|
621
|
-
const
|
|
622
|
-
const headers = {};
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
return
|
|
629
|
-
protocol,
|
|
630
|
-
hostname,
|
|
631
|
-
port,
|
|
632
|
-
method: "GET",
|
|
633
|
-
headers,
|
|
634
|
-
path: resolvedPath,
|
|
635
|
-
body,
|
|
636
|
-
});
|
|
447
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
448
|
+
const headers = {};
|
|
449
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
450
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
451
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
452
|
+
let body;
|
|
453
|
+
b.m("GET").h(headers).b(body);
|
|
454
|
+
return b.build();
|
|
637
455
|
};
|
|
638
456
|
exports.se_DescribePodIdentityAssociationCommand = se_DescribePodIdentityAssociationCommand;
|
|
639
457
|
const se_DescribeUpdateCommand = async (input, context) => {
|
|
640
|
-
const
|
|
458
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
641
459
|
const headers = {};
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
460
|
+
b.bp("/clusters/{name}/updates/{updateId}");
|
|
461
|
+
b.p("name", () => input.name, "{name}", false);
|
|
462
|
+
b.p("updateId", () => input.updateId, "{updateId}", false);
|
|
645
463
|
const query = (0, smithy_client_1.map)({
|
|
646
|
-
|
|
647
|
-
|
|
464
|
+
[_nN]: [, input[_nN]],
|
|
465
|
+
[_aN]: [, input[_aN]],
|
|
648
466
|
});
|
|
649
467
|
let body;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
hostname,
|
|
653
|
-
port,
|
|
654
|
-
method: "GET",
|
|
655
|
-
headers,
|
|
656
|
-
path: resolvedPath,
|
|
657
|
-
query,
|
|
658
|
-
body,
|
|
659
|
-
});
|
|
468
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
469
|
+
return b.build();
|
|
660
470
|
};
|
|
661
471
|
exports.se_DescribeUpdateCommand = se_DescribeUpdateCommand;
|
|
662
472
|
const se_DisassociateAccessPolicyCommand = async (input, context) => {
|
|
@@ -680,27 +490,19 @@ const se_DisassociateAccessPolicyCommand = async (input, context) => {
|
|
|
680
490
|
};
|
|
681
491
|
exports.se_DisassociateAccessPolicyCommand = se_DisassociateAccessPolicyCommand;
|
|
682
492
|
const se_DisassociateIdentityProviderConfigCommand = async (input, context) => {
|
|
683
|
-
const
|
|
493
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
684
494
|
const headers = {
|
|
685
495
|
"content-type": "application/json",
|
|
686
496
|
};
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
497
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs/disassociate");
|
|
498
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
690
499
|
let body;
|
|
691
500
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
692
501
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
693
502
|
identityProviderConfig: (_) => (0, smithy_client_1._json)(_),
|
|
694
503
|
}));
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
hostname,
|
|
698
|
-
port,
|
|
699
|
-
method: "POST",
|
|
700
|
-
headers,
|
|
701
|
-
path: resolvedPath,
|
|
702
|
-
body,
|
|
703
|
-
});
|
|
504
|
+
b.m("POST").h(headers).b(body);
|
|
505
|
+
return b.build();
|
|
704
506
|
};
|
|
705
507
|
exports.se_DisassociateIdentityProviderConfigCommand = se_DisassociateIdentityProviderConfigCommand;
|
|
706
508
|
const se_ListAccessEntriesCommand = async (input, context) => {
|
|
@@ -748,25 +550,17 @@ const se_ListAccessPoliciesCommand = async (input, context) => {
|
|
|
748
550
|
};
|
|
749
551
|
exports.se_ListAccessPoliciesCommand = se_ListAccessPoliciesCommand;
|
|
750
552
|
const se_ListAddonsCommand = async (input, context) => {
|
|
751
|
-
const
|
|
553
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
752
554
|
const headers = {};
|
|
753
|
-
|
|
754
|
-
|
|
555
|
+
b.bp("/clusters/{clusterName}/addons");
|
|
556
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
755
557
|
const query = (0, smithy_client_1.map)({
|
|
756
|
-
|
|
757
|
-
|
|
558
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
559
|
+
[_nT]: [, input[_nT]],
|
|
758
560
|
});
|
|
759
561
|
let body;
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
hostname,
|
|
763
|
-
port,
|
|
764
|
-
method: "GET",
|
|
765
|
-
headers,
|
|
766
|
-
path: resolvedPath,
|
|
767
|
-
query,
|
|
768
|
-
body,
|
|
769
|
-
});
|
|
562
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
563
|
+
return b.build();
|
|
770
564
|
};
|
|
771
565
|
exports.se_ListAddonsCommand = se_ListAddonsCommand;
|
|
772
566
|
const se_ListAssociatedAccessPoliciesCommand = async (input, context) => {
|
|
@@ -794,191 +588,123 @@ const se_ListAssociatedAccessPoliciesCommand = async (input, context) => {
|
|
|
794
588
|
};
|
|
795
589
|
exports.se_ListAssociatedAccessPoliciesCommand = se_ListAssociatedAccessPoliciesCommand;
|
|
796
590
|
const se_ListClustersCommand = async (input, context) => {
|
|
797
|
-
const
|
|
591
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
798
592
|
const headers = {};
|
|
799
|
-
|
|
593
|
+
b.bp("/clusters");
|
|
800
594
|
const query = (0, smithy_client_1.map)({
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
595
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
596
|
+
[_nT]: [, input[_nT]],
|
|
597
|
+
[_i]: [() => input.include !== void 0, () => (input[_i] || []).map((_entry) => _entry)],
|
|
804
598
|
});
|
|
805
599
|
let body;
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
hostname,
|
|
809
|
-
port,
|
|
810
|
-
method: "GET",
|
|
811
|
-
headers,
|
|
812
|
-
path: resolvedPath,
|
|
813
|
-
query,
|
|
814
|
-
body,
|
|
815
|
-
});
|
|
600
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
601
|
+
return b.build();
|
|
816
602
|
};
|
|
817
603
|
exports.se_ListClustersCommand = se_ListClustersCommand;
|
|
818
604
|
const se_ListEksAnywhereSubscriptionsCommand = async (input, context) => {
|
|
819
|
-
const
|
|
605
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
820
606
|
const headers = {};
|
|
821
|
-
|
|
607
|
+
b.bp("/eks-anywhere-subscriptions");
|
|
822
608
|
const query = (0, smithy_client_1.map)({
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
() => input.includeStatus !== void 0,
|
|
827
|
-
() => (input.includeStatus || []).map((_entry) => _entry),
|
|
828
|
-
],
|
|
609
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
610
|
+
[_nT]: [, input[_nT]],
|
|
611
|
+
[_iS]: [() => input.includeStatus !== void 0, () => (input[_iS] || []).map((_entry) => _entry)],
|
|
829
612
|
});
|
|
830
613
|
let body;
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
hostname,
|
|
834
|
-
port,
|
|
835
|
-
method: "GET",
|
|
836
|
-
headers,
|
|
837
|
-
path: resolvedPath,
|
|
838
|
-
query,
|
|
839
|
-
body,
|
|
840
|
-
});
|
|
614
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
615
|
+
return b.build();
|
|
841
616
|
};
|
|
842
617
|
exports.se_ListEksAnywhereSubscriptionsCommand = se_ListEksAnywhereSubscriptionsCommand;
|
|
843
618
|
const se_ListFargateProfilesCommand = async (input, context) => {
|
|
844
|
-
const
|
|
619
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
845
620
|
const headers = {};
|
|
846
|
-
|
|
847
|
-
|
|
621
|
+
b.bp("/clusters/{clusterName}/fargate-profiles");
|
|
622
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
848
623
|
const query = (0, smithy_client_1.map)({
|
|
849
|
-
|
|
850
|
-
|
|
624
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
625
|
+
[_nT]: [, input[_nT]],
|
|
851
626
|
});
|
|
852
627
|
let body;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
hostname,
|
|
856
|
-
port,
|
|
857
|
-
method: "GET",
|
|
858
|
-
headers,
|
|
859
|
-
path: resolvedPath,
|
|
860
|
-
query,
|
|
861
|
-
body,
|
|
862
|
-
});
|
|
628
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
629
|
+
return b.build();
|
|
863
630
|
};
|
|
864
631
|
exports.se_ListFargateProfilesCommand = se_ListFargateProfilesCommand;
|
|
865
632
|
const se_ListIdentityProviderConfigsCommand = async (input, context) => {
|
|
866
|
-
const
|
|
633
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
867
634
|
const headers = {};
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
635
|
+
b.bp("/clusters/{clusterName}/identity-provider-configs");
|
|
636
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
871
637
|
const query = (0, smithy_client_1.map)({
|
|
872
|
-
|
|
873
|
-
|
|
638
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
639
|
+
[_nT]: [, input[_nT]],
|
|
874
640
|
});
|
|
875
641
|
let body;
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
hostname,
|
|
879
|
-
port,
|
|
880
|
-
method: "GET",
|
|
881
|
-
headers,
|
|
882
|
-
path: resolvedPath,
|
|
883
|
-
query,
|
|
884
|
-
body,
|
|
885
|
-
});
|
|
642
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
643
|
+
return b.build();
|
|
886
644
|
};
|
|
887
645
|
exports.se_ListIdentityProviderConfigsCommand = se_ListIdentityProviderConfigsCommand;
|
|
888
646
|
const se_ListNodegroupsCommand = async (input, context) => {
|
|
889
|
-
const
|
|
647
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
890
648
|
const headers = {};
|
|
891
|
-
|
|
892
|
-
|
|
649
|
+
b.bp("/clusters/{clusterName}/node-groups");
|
|
650
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
893
651
|
const query = (0, smithy_client_1.map)({
|
|
894
|
-
|
|
895
|
-
|
|
652
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
653
|
+
[_nT]: [, input[_nT]],
|
|
896
654
|
});
|
|
897
655
|
let body;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
hostname,
|
|
901
|
-
port,
|
|
902
|
-
method: "GET",
|
|
903
|
-
headers,
|
|
904
|
-
path: resolvedPath,
|
|
905
|
-
query,
|
|
906
|
-
body,
|
|
907
|
-
});
|
|
656
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
657
|
+
return b.build();
|
|
908
658
|
};
|
|
909
659
|
exports.se_ListNodegroupsCommand = se_ListNodegroupsCommand;
|
|
910
660
|
const se_ListPodIdentityAssociationsCommand = async (input, context) => {
|
|
911
|
-
const
|
|
661
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
912
662
|
const headers = {};
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
663
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations");
|
|
664
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
916
665
|
const query = (0, smithy_client_1.map)({
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
666
|
+
[_n]: [, input[_n]],
|
|
667
|
+
[_sA]: [, input[_sA]],
|
|
668
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
669
|
+
[_nT]: [, input[_nT]],
|
|
921
670
|
});
|
|
922
671
|
let body;
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
hostname,
|
|
926
|
-
port,
|
|
927
|
-
method: "GET",
|
|
928
|
-
headers,
|
|
929
|
-
path: resolvedPath,
|
|
930
|
-
query,
|
|
931
|
-
body,
|
|
932
|
-
});
|
|
672
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
673
|
+
return b.build();
|
|
933
674
|
};
|
|
934
675
|
exports.se_ListPodIdentityAssociationsCommand = se_ListPodIdentityAssociationsCommand;
|
|
935
676
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
936
|
-
const
|
|
677
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
937
678
|
const headers = {};
|
|
938
|
-
|
|
939
|
-
|
|
679
|
+
b.bp("/tags/{resourceArn}");
|
|
680
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
940
681
|
let body;
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
hostname,
|
|
944
|
-
port,
|
|
945
|
-
method: "GET",
|
|
946
|
-
headers,
|
|
947
|
-
path: resolvedPath,
|
|
948
|
-
body,
|
|
949
|
-
});
|
|
682
|
+
b.m("GET").h(headers).b(body);
|
|
683
|
+
return b.build();
|
|
950
684
|
};
|
|
951
685
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
952
686
|
const se_ListUpdatesCommand = async (input, context) => {
|
|
953
|
-
const
|
|
687
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
954
688
|
const headers = {};
|
|
955
|
-
|
|
956
|
-
|
|
689
|
+
b.bp("/clusters/{name}/updates");
|
|
690
|
+
b.p("name", () => input.name, "{name}", false);
|
|
957
691
|
const query = (0, smithy_client_1.map)({
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
692
|
+
[_nN]: [, input[_nN]],
|
|
693
|
+
[_aN]: [, input[_aN]],
|
|
694
|
+
[_nT]: [, input[_nT]],
|
|
695
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
962
696
|
});
|
|
963
697
|
let body;
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
hostname,
|
|
967
|
-
port,
|
|
968
|
-
method: "GET",
|
|
969
|
-
headers,
|
|
970
|
-
path: resolvedPath,
|
|
971
|
-
query,
|
|
972
|
-
body,
|
|
973
|
-
});
|
|
698
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
699
|
+
return b.build();
|
|
974
700
|
};
|
|
975
701
|
exports.se_ListUpdatesCommand = se_ListUpdatesCommand;
|
|
976
702
|
const se_RegisterClusterCommand = async (input, context) => {
|
|
977
|
-
const
|
|
703
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
978
704
|
const headers = {
|
|
979
705
|
"content-type": "application/json",
|
|
980
706
|
};
|
|
981
|
-
|
|
707
|
+
b.bp("/cluster-registrations");
|
|
982
708
|
let body;
|
|
983
709
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
984
710
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -986,61 +712,39 @@ const se_RegisterClusterCommand = async (input, context) => {
|
|
|
986
712
|
name: [],
|
|
987
713
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
988
714
|
}));
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
hostname,
|
|
992
|
-
port,
|
|
993
|
-
method: "POST",
|
|
994
|
-
headers,
|
|
995
|
-
path: resolvedPath,
|
|
996
|
-
body,
|
|
997
|
-
});
|
|
715
|
+
b.m("POST").h(headers).b(body);
|
|
716
|
+
return b.build();
|
|
998
717
|
};
|
|
999
718
|
exports.se_RegisterClusterCommand = se_RegisterClusterCommand;
|
|
1000
719
|
const se_TagResourceCommand = async (input, context) => {
|
|
1001
|
-
const
|
|
720
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1002
721
|
const headers = {
|
|
1003
722
|
"content-type": "application/json",
|
|
1004
723
|
};
|
|
1005
|
-
|
|
1006
|
-
|
|
724
|
+
b.bp("/tags/{resourceArn}");
|
|
725
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1007
726
|
let body;
|
|
1008
727
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1009
728
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
1010
729
|
}));
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
hostname,
|
|
1014
|
-
port,
|
|
1015
|
-
method: "POST",
|
|
1016
|
-
headers,
|
|
1017
|
-
path: resolvedPath,
|
|
1018
|
-
body,
|
|
1019
|
-
});
|
|
730
|
+
b.m("POST").h(headers).b(body);
|
|
731
|
+
return b.build();
|
|
1020
732
|
};
|
|
1021
733
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1022
734
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1023
|
-
const
|
|
735
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1024
736
|
const headers = {};
|
|
1025
|
-
|
|
1026
|
-
|
|
737
|
+
b.bp("/tags/{resourceArn}");
|
|
738
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1027
739
|
const query = (0, smithy_client_1.map)({
|
|
1028
|
-
|
|
740
|
+
[_tK]: [
|
|
1029
741
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1030
|
-
() => (input
|
|
742
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
1031
743
|
],
|
|
1032
744
|
});
|
|
1033
745
|
let body;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
hostname,
|
|
1037
|
-
port,
|
|
1038
|
-
method: "DELETE",
|
|
1039
|
-
headers,
|
|
1040
|
-
path: resolvedPath,
|
|
1041
|
-
query,
|
|
1042
|
-
body,
|
|
1043
|
-
});
|
|
746
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
747
|
+
return b.build();
|
|
1044
748
|
};
|
|
1045
749
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1046
750
|
const se_UpdateAccessEntryCommand = async (input, context) => {
|
|
@@ -1070,14 +774,13 @@ const se_UpdateAccessEntryCommand = async (input, context) => {
|
|
|
1070
774
|
};
|
|
1071
775
|
exports.se_UpdateAccessEntryCommand = se_UpdateAccessEntryCommand;
|
|
1072
776
|
const se_UpdateAddonCommand = async (input, context) => {
|
|
1073
|
-
const
|
|
777
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1074
778
|
const headers = {
|
|
1075
779
|
"content-type": "application/json",
|
|
1076
780
|
};
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "addonName", () => input.addonName, "{addonName}", false);
|
|
781
|
+
b.bp("/clusters/{clusterName}/addons/{addonName}/update");
|
|
782
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
783
|
+
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
1081
784
|
let body;
|
|
1082
785
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1083
786
|
addonVersion: [],
|
|
@@ -1086,24 +789,17 @@ const se_UpdateAddonCommand = async (input, context) => {
|
|
|
1086
789
|
resolveConflicts: [],
|
|
1087
790
|
serviceAccountRoleArn: [],
|
|
1088
791
|
}));
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
hostname,
|
|
1092
|
-
port,
|
|
1093
|
-
method: "POST",
|
|
1094
|
-
headers,
|
|
1095
|
-
path: resolvedPath,
|
|
1096
|
-
body,
|
|
1097
|
-
});
|
|
792
|
+
b.m("POST").h(headers).b(body);
|
|
793
|
+
return b.build();
|
|
1098
794
|
};
|
|
1099
795
|
exports.se_UpdateAddonCommand = se_UpdateAddonCommand;
|
|
1100
796
|
const se_UpdateClusterConfigCommand = async (input, context) => {
|
|
1101
|
-
const
|
|
797
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1102
798
|
const headers = {
|
|
1103
799
|
"content-type": "application/json",
|
|
1104
800
|
};
|
|
1105
|
-
|
|
1106
|
-
|
|
801
|
+
b.bp("/clusters/{name}/update-config");
|
|
802
|
+
b.p("name", () => input.name, "{name}", false);
|
|
1107
803
|
let body;
|
|
1108
804
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1109
805
|
accessConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1111,72 +807,50 @@ const se_UpdateClusterConfigCommand = async (input, context) => {
|
|
|
1111
807
|
logging: (_) => (0, smithy_client_1._json)(_),
|
|
1112
808
|
resourcesVpcConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1113
809
|
}));
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
hostname,
|
|
1117
|
-
port,
|
|
1118
|
-
method: "POST",
|
|
1119
|
-
headers,
|
|
1120
|
-
path: resolvedPath,
|
|
1121
|
-
body,
|
|
1122
|
-
});
|
|
810
|
+
b.m("POST").h(headers).b(body);
|
|
811
|
+
return b.build();
|
|
1123
812
|
};
|
|
1124
813
|
exports.se_UpdateClusterConfigCommand = se_UpdateClusterConfigCommand;
|
|
1125
814
|
const se_UpdateClusterVersionCommand = async (input, context) => {
|
|
1126
|
-
const
|
|
815
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1127
816
|
const headers = {
|
|
1128
817
|
"content-type": "application/json",
|
|
1129
818
|
};
|
|
1130
|
-
|
|
1131
|
-
|
|
819
|
+
b.bp("/clusters/{name}/updates");
|
|
820
|
+
b.p("name", () => input.name, "{name}", false);
|
|
1132
821
|
let body;
|
|
1133
822
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1134
823
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1135
824
|
version: [],
|
|
1136
825
|
}));
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
hostname,
|
|
1140
|
-
port,
|
|
1141
|
-
method: "POST",
|
|
1142
|
-
headers,
|
|
1143
|
-
path: resolvedPath,
|
|
1144
|
-
body,
|
|
1145
|
-
});
|
|
826
|
+
b.m("POST").h(headers).b(body);
|
|
827
|
+
return b.build();
|
|
1146
828
|
};
|
|
1147
829
|
exports.se_UpdateClusterVersionCommand = se_UpdateClusterVersionCommand;
|
|
1148
830
|
const se_UpdateEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
1149
|
-
const
|
|
831
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1150
832
|
const headers = {
|
|
1151
833
|
"content-type": "application/json",
|
|
1152
834
|
};
|
|
1153
|
-
|
|
1154
|
-
|
|
835
|
+
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
836
|
+
b.p("id", () => input.id, "{id}", false);
|
|
1155
837
|
let body;
|
|
1156
838
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1157
839
|
autoRenew: [],
|
|
1158
840
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1159
841
|
}));
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
hostname,
|
|
1163
|
-
port,
|
|
1164
|
-
method: "POST",
|
|
1165
|
-
headers,
|
|
1166
|
-
path: resolvedPath,
|
|
1167
|
-
body,
|
|
1168
|
-
});
|
|
842
|
+
b.m("POST").h(headers).b(body);
|
|
843
|
+
return b.build();
|
|
1169
844
|
};
|
|
1170
845
|
exports.se_UpdateEksAnywhereSubscriptionCommand = se_UpdateEksAnywhereSubscriptionCommand;
|
|
1171
846
|
const se_UpdateNodegroupConfigCommand = async (input, context) => {
|
|
1172
|
-
const
|
|
847
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1173
848
|
const headers = {
|
|
1174
849
|
"content-type": "application/json",
|
|
1175
850
|
};
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
851
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}/update-config");
|
|
852
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
853
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
1180
854
|
let body;
|
|
1181
855
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1182
856
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1185,26 +859,18 @@ const se_UpdateNodegroupConfigCommand = async (input, context) => {
|
|
|
1185
859
|
taints: (_) => (0, smithy_client_1._json)(_),
|
|
1186
860
|
updateConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1187
861
|
}));
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
hostname,
|
|
1191
|
-
port,
|
|
1192
|
-
method: "POST",
|
|
1193
|
-
headers,
|
|
1194
|
-
path: resolvedPath,
|
|
1195
|
-
body,
|
|
1196
|
-
});
|
|
862
|
+
b.m("POST").h(headers).b(body);
|
|
863
|
+
return b.build();
|
|
1197
864
|
};
|
|
1198
865
|
exports.se_UpdateNodegroupConfigCommand = se_UpdateNodegroupConfigCommand;
|
|
1199
866
|
const se_UpdateNodegroupVersionCommand = async (input, context) => {
|
|
1200
|
-
const
|
|
867
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1201
868
|
const headers = {
|
|
1202
869
|
"content-type": "application/json",
|
|
1203
870
|
};
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
871
|
+
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}/update-version");
|
|
872
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
873
|
+
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
1208
874
|
let body;
|
|
1209
875
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1210
876
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1213,40 +879,25 @@ const se_UpdateNodegroupVersionCommand = async (input, context) => {
|
|
|
1213
879
|
releaseVersion: [],
|
|
1214
880
|
version: [],
|
|
1215
881
|
}));
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
hostname,
|
|
1219
|
-
port,
|
|
1220
|
-
method: "POST",
|
|
1221
|
-
headers,
|
|
1222
|
-
path: resolvedPath,
|
|
1223
|
-
body,
|
|
1224
|
-
});
|
|
882
|
+
b.m("POST").h(headers).b(body);
|
|
883
|
+
return b.build();
|
|
1225
884
|
};
|
|
1226
885
|
exports.se_UpdateNodegroupVersionCommand = se_UpdateNodegroupVersionCommand;
|
|
1227
886
|
const se_UpdatePodIdentityAssociationCommand = async (input, context) => {
|
|
1228
|
-
const
|
|
887
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1229
888
|
const headers = {
|
|
1230
889
|
"content-type": "application/json",
|
|
1231
890
|
};
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
891
|
+
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
892
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
893
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
1236
894
|
let body;
|
|
1237
895
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1238
896
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1239
897
|
roleArn: [],
|
|
1240
898
|
}));
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
hostname,
|
|
1244
|
-
port,
|
|
1245
|
-
method: "POST",
|
|
1246
|
-
headers,
|
|
1247
|
-
path: resolvedPath,
|
|
1248
|
-
body,
|
|
1249
|
-
});
|
|
899
|
+
b.m("POST").h(headers).b(body);
|
|
900
|
+
return b.build();
|
|
1250
901
|
};
|
|
1251
902
|
exports.se_UpdatePodIdentityAssociationCommand = se_UpdatePodIdentityAssociationCommand;
|
|
1252
903
|
const de_AssociateAccessPolicyCommand = async (output, context) => {
|
|
@@ -4054,6 +3705,21 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4054
3705
|
value !== "" &&
|
|
4055
3706
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4056
3707
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3708
|
+
const _aN = "addonName";
|
|
3709
|
+
const _aV = "addonVersion";
|
|
3710
|
+
const _i = "include";
|
|
3711
|
+
const _iS = "includeStatus";
|
|
3712
|
+
const _kV = "kubernetesVersion";
|
|
3713
|
+
const _mR = "maxResults";
|
|
3714
|
+
const _n = "namespace";
|
|
3715
|
+
const _nN = "nodegroupName";
|
|
3716
|
+
const _nT = "nextToken";
|
|
3717
|
+
const _o = "owners";
|
|
3718
|
+
const _p = "preserve";
|
|
3719
|
+
const _pu = "publishers";
|
|
3720
|
+
const _sA = "serviceAccount";
|
|
3721
|
+
const _t = "types";
|
|
3722
|
+
const _tK = "tagKeys";
|
|
4057
3723
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4058
3724
|
if (encoded.length) {
|
|
4059
3725
|
return JSON.parse(encoded);
|