@aws-sdk/client-eks 3.928.0 → 3.929.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/index.js +3037 -2731
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/EKSClient.js +2 -0
- package/dist-es/commands/AssociateAccessPolicyCommand.js +3 -9
- package/dist-es/commands/AssociateEncryptionConfigCommand.js +3 -9
- package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +3 -9
- package/dist-es/commands/CreateAccessEntryCommand.js +3 -9
- package/dist-es/commands/CreateAddonCommand.js +3 -9
- package/dist-es/commands/CreateClusterCommand.js +3 -9
- package/dist-es/commands/CreateEksAnywhereSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateFargateProfileCommand.js +3 -9
- package/dist-es/commands/CreateNodegroupCommand.js +3 -9
- package/dist-es/commands/CreatePodIdentityAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteAccessEntryCommand.js +3 -9
- package/dist-es/commands/DeleteAddonCommand.js +3 -9
- package/dist-es/commands/DeleteClusterCommand.js +3 -9
- package/dist-es/commands/DeleteEksAnywhereSubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteFargateProfileCommand.js +3 -9
- package/dist-es/commands/DeleteNodegroupCommand.js +3 -9
- package/dist-es/commands/DeletePodIdentityAssociationCommand.js +3 -9
- package/dist-es/commands/DeregisterClusterCommand.js +3 -9
- package/dist-es/commands/DescribeAccessEntryCommand.js +3 -9
- package/dist-es/commands/DescribeAddonCommand.js +3 -9
- package/dist-es/commands/DescribeAddonConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeAddonVersionsCommand.js +3 -9
- package/dist-es/commands/DescribeClusterCommand.js +3 -9
- package/dist-es/commands/DescribeClusterVersionsCommand.js +3 -9
- package/dist-es/commands/DescribeEksAnywhereSubscriptionCommand.js +3 -9
- package/dist-es/commands/DescribeFargateProfileCommand.js +3 -9
- package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +3 -9
- package/dist-es/commands/DescribeInsightCommand.js +3 -9
- package/dist-es/commands/DescribeInsightsRefreshCommand.js +3 -9
- package/dist-es/commands/DescribeNodegroupCommand.js +3 -9
- package/dist-es/commands/DescribePodIdentityAssociationCommand.js +3 -9
- package/dist-es/commands/DescribeUpdateCommand.js +3 -9
- package/dist-es/commands/DisassociateAccessPolicyCommand.js +3 -9
- package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +3 -9
- package/dist-es/commands/ListAccessEntriesCommand.js +3 -9
- package/dist-es/commands/ListAccessPoliciesCommand.js +3 -9
- package/dist-es/commands/ListAddonsCommand.js +3 -9
- package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +3 -9
- package/dist-es/commands/ListClustersCommand.js +3 -9
- package/dist-es/commands/ListEksAnywhereSubscriptionsCommand.js +3 -9
- package/dist-es/commands/ListFargateProfilesCommand.js +3 -9
- package/dist-es/commands/ListIdentityProviderConfigsCommand.js +3 -9
- package/dist-es/commands/ListInsightsCommand.js +3 -9
- package/dist-es/commands/ListNodegroupsCommand.js +3 -9
- package/dist-es/commands/ListPodIdentityAssociationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListUpdatesCommand.js +3 -9
- package/dist-es/commands/RegisterClusterCommand.js +3 -9
- package/dist-es/commands/StartInsightsRefreshCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAccessEntryCommand.js +3 -9
- package/dist-es/commands/UpdateAddonCommand.js +3 -9
- package/dist-es/commands/UpdateClusterConfigCommand.js +3 -9
- package/dist-es/commands/UpdateClusterVersionCommand.js +3 -9
- package/dist-es/commands/UpdateEksAnywhereSubscriptionCommand.js +3 -9
- package/dist-es/commands/UpdateNodegroupConfigCommand.js +3 -9
- package/dist-es/commands/UpdateNodegroupVersionCommand.js +3 -9
- package/dist-es/commands/UpdatePodIdentityAssociationCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2900 -0
- package/dist-types/EKSClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +331 -0
- package/dist-types/ts3.4/EKSClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +336 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -2288
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -533
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -713
|
@@ -1,2288 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
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, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { EKSServiceException as __BaseException } from "../models/EKSServiceException";
|
|
6
|
-
import { AccessDeniedException, BadRequestException, ClientException, InvalidParameterException, InvalidRequestException, InvalidStateException, NotFoundException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourcePropagationDelayException, ServerException, ServiceUnavailableException, ThrottlingException, UnsupportedAvailabilityZoneException, } from "../models/models_0";
|
|
7
|
-
export const se_AssociateAccessPolicyCommand = async (input, context) => {
|
|
8
|
-
const b = rb(input, context);
|
|
9
|
-
const headers = {
|
|
10
|
-
"content-type": "application/json",
|
|
11
|
-
};
|
|
12
|
-
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies");
|
|
13
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
14
|
-
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
15
|
-
let body;
|
|
16
|
-
body = JSON.stringify(take(input, {
|
|
17
|
-
accessScope: (_) => _json(_),
|
|
18
|
-
policyArn: [],
|
|
19
|
-
}));
|
|
20
|
-
b.m("POST").h(headers).b(body);
|
|
21
|
-
return b.build();
|
|
22
|
-
};
|
|
23
|
-
export const se_AssociateEncryptionConfigCommand = async (input, context) => {
|
|
24
|
-
const b = rb(input, context);
|
|
25
|
-
const headers = {
|
|
26
|
-
"content-type": "application/json",
|
|
27
|
-
};
|
|
28
|
-
b.bp("/clusters/{clusterName}/encryption-config/associate");
|
|
29
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
30
|
-
let body;
|
|
31
|
-
body = JSON.stringify(take(input, {
|
|
32
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
33
|
-
encryptionConfig: (_) => _json(_),
|
|
34
|
-
}));
|
|
35
|
-
b.m("POST").h(headers).b(body);
|
|
36
|
-
return b.build();
|
|
37
|
-
};
|
|
38
|
-
export const se_AssociateIdentityProviderConfigCommand = async (input, context) => {
|
|
39
|
-
const b = rb(input, context);
|
|
40
|
-
const headers = {
|
|
41
|
-
"content-type": "application/json",
|
|
42
|
-
};
|
|
43
|
-
b.bp("/clusters/{clusterName}/identity-provider-configs/associate");
|
|
44
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
45
|
-
let body;
|
|
46
|
-
body = JSON.stringify(take(input, {
|
|
47
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
48
|
-
oidc: (_) => _json(_),
|
|
49
|
-
tags: (_) => _json(_),
|
|
50
|
-
}));
|
|
51
|
-
b.m("POST").h(headers).b(body);
|
|
52
|
-
return b.build();
|
|
53
|
-
};
|
|
54
|
-
export const se_CreateAccessEntryCommand = async (input, context) => {
|
|
55
|
-
const b = rb(input, context);
|
|
56
|
-
const headers = {
|
|
57
|
-
"content-type": "application/json",
|
|
58
|
-
};
|
|
59
|
-
b.bp("/clusters/{clusterName}/access-entries");
|
|
60
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
61
|
-
let body;
|
|
62
|
-
body = JSON.stringify(take(input, {
|
|
63
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
64
|
-
kubernetesGroups: (_) => _json(_),
|
|
65
|
-
principalArn: [],
|
|
66
|
-
tags: (_) => _json(_),
|
|
67
|
-
type: [],
|
|
68
|
-
username: [],
|
|
69
|
-
}));
|
|
70
|
-
b.m("POST").h(headers).b(body);
|
|
71
|
-
return b.build();
|
|
72
|
-
};
|
|
73
|
-
export const se_CreateAddonCommand = async (input, context) => {
|
|
74
|
-
const b = rb(input, context);
|
|
75
|
-
const headers = {
|
|
76
|
-
"content-type": "application/json",
|
|
77
|
-
};
|
|
78
|
-
b.bp("/clusters/{clusterName}/addons");
|
|
79
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(take(input, {
|
|
82
|
-
addonName: [],
|
|
83
|
-
addonVersion: [],
|
|
84
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
85
|
-
configurationValues: [],
|
|
86
|
-
namespaceConfig: (_) => _json(_),
|
|
87
|
-
podIdentityAssociations: (_) => _json(_),
|
|
88
|
-
resolveConflicts: [],
|
|
89
|
-
serviceAccountRoleArn: [],
|
|
90
|
-
tags: (_) => _json(_),
|
|
91
|
-
}));
|
|
92
|
-
b.m("POST").h(headers).b(body);
|
|
93
|
-
return b.build();
|
|
94
|
-
};
|
|
95
|
-
export const se_CreateClusterCommand = async (input, context) => {
|
|
96
|
-
const b = rb(input, context);
|
|
97
|
-
const headers = {
|
|
98
|
-
"content-type": "application/json",
|
|
99
|
-
};
|
|
100
|
-
b.bp("/clusters");
|
|
101
|
-
let body;
|
|
102
|
-
body = JSON.stringify(take(input, {
|
|
103
|
-
accessConfig: (_) => _json(_),
|
|
104
|
-
bootstrapSelfManagedAddons: [],
|
|
105
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
106
|
-
computeConfig: (_) => _json(_),
|
|
107
|
-
deletionProtection: [],
|
|
108
|
-
encryptionConfig: (_) => _json(_),
|
|
109
|
-
kubernetesNetworkConfig: (_) => _json(_),
|
|
110
|
-
logging: (_) => _json(_),
|
|
111
|
-
name: [],
|
|
112
|
-
outpostConfig: (_) => _json(_),
|
|
113
|
-
remoteNetworkConfig: (_) => _json(_),
|
|
114
|
-
resourcesVpcConfig: (_) => _json(_),
|
|
115
|
-
roleArn: [],
|
|
116
|
-
storageConfig: (_) => _json(_),
|
|
117
|
-
tags: (_) => _json(_),
|
|
118
|
-
upgradePolicy: (_) => _json(_),
|
|
119
|
-
version: [],
|
|
120
|
-
zonalShiftConfig: (_) => _json(_),
|
|
121
|
-
}));
|
|
122
|
-
b.m("POST").h(headers).b(body);
|
|
123
|
-
return b.build();
|
|
124
|
-
};
|
|
125
|
-
export const se_CreateEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
126
|
-
const b = rb(input, context);
|
|
127
|
-
const headers = {
|
|
128
|
-
"content-type": "application/json",
|
|
129
|
-
};
|
|
130
|
-
b.bp("/eks-anywhere-subscriptions");
|
|
131
|
-
let body;
|
|
132
|
-
body = JSON.stringify(take(input, {
|
|
133
|
-
autoRenew: [],
|
|
134
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
135
|
-
licenseQuantity: [],
|
|
136
|
-
licenseType: [],
|
|
137
|
-
name: [],
|
|
138
|
-
tags: (_) => _json(_),
|
|
139
|
-
term: (_) => _json(_),
|
|
140
|
-
}));
|
|
141
|
-
b.m("POST").h(headers).b(body);
|
|
142
|
-
return b.build();
|
|
143
|
-
};
|
|
144
|
-
export const se_CreateFargateProfileCommand = async (input, context) => {
|
|
145
|
-
const b = rb(input, context);
|
|
146
|
-
const headers = {
|
|
147
|
-
"content-type": "application/json",
|
|
148
|
-
};
|
|
149
|
-
b.bp("/clusters/{clusterName}/fargate-profiles");
|
|
150
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
151
|
-
let body;
|
|
152
|
-
body = JSON.stringify(take(input, {
|
|
153
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
154
|
-
fargateProfileName: [],
|
|
155
|
-
podExecutionRoleArn: [],
|
|
156
|
-
selectors: (_) => _json(_),
|
|
157
|
-
subnets: (_) => _json(_),
|
|
158
|
-
tags: (_) => _json(_),
|
|
159
|
-
}));
|
|
160
|
-
b.m("POST").h(headers).b(body);
|
|
161
|
-
return b.build();
|
|
162
|
-
};
|
|
163
|
-
export const se_CreateNodegroupCommand = async (input, context) => {
|
|
164
|
-
const b = rb(input, context);
|
|
165
|
-
const headers = {
|
|
166
|
-
"content-type": "application/json",
|
|
167
|
-
};
|
|
168
|
-
b.bp("/clusters/{clusterName}/node-groups");
|
|
169
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(take(input, {
|
|
172
|
-
amiType: [],
|
|
173
|
-
capacityType: [],
|
|
174
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
175
|
-
diskSize: [],
|
|
176
|
-
instanceTypes: (_) => _json(_),
|
|
177
|
-
labels: (_) => _json(_),
|
|
178
|
-
launchTemplate: (_) => _json(_),
|
|
179
|
-
nodeRepairConfig: (_) => _json(_),
|
|
180
|
-
nodeRole: [],
|
|
181
|
-
nodegroupName: [],
|
|
182
|
-
releaseVersion: [],
|
|
183
|
-
remoteAccess: (_) => _json(_),
|
|
184
|
-
scalingConfig: (_) => _json(_),
|
|
185
|
-
subnets: (_) => _json(_),
|
|
186
|
-
tags: (_) => _json(_),
|
|
187
|
-
taints: (_) => _json(_),
|
|
188
|
-
updateConfig: (_) => _json(_),
|
|
189
|
-
version: [],
|
|
190
|
-
}));
|
|
191
|
-
b.m("POST").h(headers).b(body);
|
|
192
|
-
return b.build();
|
|
193
|
-
};
|
|
194
|
-
export const se_CreatePodIdentityAssociationCommand = async (input, context) => {
|
|
195
|
-
const b = rb(input, context);
|
|
196
|
-
const headers = {
|
|
197
|
-
"content-type": "application/json",
|
|
198
|
-
};
|
|
199
|
-
b.bp("/clusters/{clusterName}/pod-identity-associations");
|
|
200
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
201
|
-
let body;
|
|
202
|
-
body = JSON.stringify(take(input, {
|
|
203
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
204
|
-
disableSessionTags: [],
|
|
205
|
-
namespace: [],
|
|
206
|
-
roleArn: [],
|
|
207
|
-
serviceAccount: [],
|
|
208
|
-
tags: (_) => _json(_),
|
|
209
|
-
targetRoleArn: [],
|
|
210
|
-
}));
|
|
211
|
-
b.m("POST").h(headers).b(body);
|
|
212
|
-
return b.build();
|
|
213
|
-
};
|
|
214
|
-
export const se_DeleteAccessEntryCommand = async (input, context) => {
|
|
215
|
-
const b = rb(input, context);
|
|
216
|
-
const headers = {};
|
|
217
|
-
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
218
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
219
|
-
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
220
|
-
let body;
|
|
221
|
-
b.m("DELETE").h(headers).b(body);
|
|
222
|
-
return b.build();
|
|
223
|
-
};
|
|
224
|
-
export const se_DeleteAddonCommand = async (input, context) => {
|
|
225
|
-
const b = rb(input, context);
|
|
226
|
-
const headers = {};
|
|
227
|
-
b.bp("/clusters/{clusterName}/addons/{addonName}");
|
|
228
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
229
|
-
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
230
|
-
const query = map({
|
|
231
|
-
[_p]: [() => input.preserve !== void 0, () => input[_p].toString()],
|
|
232
|
-
});
|
|
233
|
-
let body;
|
|
234
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
235
|
-
return b.build();
|
|
236
|
-
};
|
|
237
|
-
export const se_DeleteClusterCommand = async (input, context) => {
|
|
238
|
-
const b = rb(input, context);
|
|
239
|
-
const headers = {};
|
|
240
|
-
b.bp("/clusters/{name}");
|
|
241
|
-
b.p("name", () => input.name, "{name}", false);
|
|
242
|
-
let body;
|
|
243
|
-
b.m("DELETE").h(headers).b(body);
|
|
244
|
-
return b.build();
|
|
245
|
-
};
|
|
246
|
-
export const se_DeleteEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
247
|
-
const b = rb(input, context);
|
|
248
|
-
const headers = {};
|
|
249
|
-
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
250
|
-
b.p("id", () => input.id, "{id}", false);
|
|
251
|
-
let body;
|
|
252
|
-
b.m("DELETE").h(headers).b(body);
|
|
253
|
-
return b.build();
|
|
254
|
-
};
|
|
255
|
-
export const se_DeleteFargateProfileCommand = async (input, context) => {
|
|
256
|
-
const b = rb(input, context);
|
|
257
|
-
const headers = {};
|
|
258
|
-
b.bp("/clusters/{clusterName}/fargate-profiles/{fargateProfileName}");
|
|
259
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
260
|
-
b.p("fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
261
|
-
let body;
|
|
262
|
-
b.m("DELETE").h(headers).b(body);
|
|
263
|
-
return b.build();
|
|
264
|
-
};
|
|
265
|
-
export const se_DeleteNodegroupCommand = async (input, context) => {
|
|
266
|
-
const b = rb(input, context);
|
|
267
|
-
const headers = {};
|
|
268
|
-
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}");
|
|
269
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
270
|
-
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
271
|
-
let body;
|
|
272
|
-
b.m("DELETE").h(headers).b(body);
|
|
273
|
-
return b.build();
|
|
274
|
-
};
|
|
275
|
-
export const se_DeletePodIdentityAssociationCommand = async (input, context) => {
|
|
276
|
-
const b = rb(input, context);
|
|
277
|
-
const headers = {};
|
|
278
|
-
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
279
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
280
|
-
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
281
|
-
let body;
|
|
282
|
-
b.m("DELETE").h(headers).b(body);
|
|
283
|
-
return b.build();
|
|
284
|
-
};
|
|
285
|
-
export const se_DeregisterClusterCommand = async (input, context) => {
|
|
286
|
-
const b = rb(input, context);
|
|
287
|
-
const headers = {};
|
|
288
|
-
b.bp("/cluster-registrations/{name}");
|
|
289
|
-
b.p("name", () => input.name, "{name}", false);
|
|
290
|
-
let body;
|
|
291
|
-
b.m("DELETE").h(headers).b(body);
|
|
292
|
-
return b.build();
|
|
293
|
-
};
|
|
294
|
-
export const se_DescribeAccessEntryCommand = async (input, context) => {
|
|
295
|
-
const b = rb(input, context);
|
|
296
|
-
const headers = {};
|
|
297
|
-
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
298
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
299
|
-
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
300
|
-
let body;
|
|
301
|
-
b.m("GET").h(headers).b(body);
|
|
302
|
-
return b.build();
|
|
303
|
-
};
|
|
304
|
-
export const se_DescribeAddonCommand = async (input, context) => {
|
|
305
|
-
const b = rb(input, context);
|
|
306
|
-
const headers = {};
|
|
307
|
-
b.bp("/clusters/{clusterName}/addons/{addonName}");
|
|
308
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
309
|
-
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
310
|
-
let body;
|
|
311
|
-
b.m("GET").h(headers).b(body);
|
|
312
|
-
return b.build();
|
|
313
|
-
};
|
|
314
|
-
export const se_DescribeAddonConfigurationCommand = async (input, context) => {
|
|
315
|
-
const b = rb(input, context);
|
|
316
|
-
const headers = {};
|
|
317
|
-
b.bp("/addons/configuration-schemas");
|
|
318
|
-
const query = map({
|
|
319
|
-
[_aN]: [, __expectNonNull(input[_aN], `addonName`)],
|
|
320
|
-
[_aV]: [, __expectNonNull(input[_aV], `addonVersion`)],
|
|
321
|
-
});
|
|
322
|
-
let body;
|
|
323
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
324
|
-
return b.build();
|
|
325
|
-
};
|
|
326
|
-
export const se_DescribeAddonVersionsCommand = async (input, context) => {
|
|
327
|
-
const b = rb(input, context);
|
|
328
|
-
const headers = {};
|
|
329
|
-
b.bp("/addons/supported-versions");
|
|
330
|
-
const query = map({
|
|
331
|
-
[_kV]: [, input[_kV]],
|
|
332
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
333
|
-
[_nT]: [, input[_nT]],
|
|
334
|
-
[_aN]: [, input[_aN]],
|
|
335
|
-
[_t]: [() => input.types !== void 0, () => input[_t] || []],
|
|
336
|
-
[_pu]: [() => input.publishers !== void 0, () => input[_pu] || []],
|
|
337
|
-
[_o]: [() => input.owners !== void 0, () => input[_o] || []],
|
|
338
|
-
});
|
|
339
|
-
let body;
|
|
340
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
341
|
-
return b.build();
|
|
342
|
-
};
|
|
343
|
-
export const se_DescribeClusterCommand = async (input, context) => {
|
|
344
|
-
const b = rb(input, context);
|
|
345
|
-
const headers = {};
|
|
346
|
-
b.bp("/clusters/{name}");
|
|
347
|
-
b.p("name", () => input.name, "{name}", false);
|
|
348
|
-
let body;
|
|
349
|
-
b.m("GET").h(headers).b(body);
|
|
350
|
-
return b.build();
|
|
351
|
-
};
|
|
352
|
-
export const se_DescribeClusterVersionsCommand = async (input, context) => {
|
|
353
|
-
const b = rb(input, context);
|
|
354
|
-
const headers = {};
|
|
355
|
-
b.bp("/cluster-versions");
|
|
356
|
-
const query = map({
|
|
357
|
-
[_cT]: [, input[_cT]],
|
|
358
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
359
|
-
[_nT]: [, input[_nT]],
|
|
360
|
-
[_dO]: [() => input.defaultOnly !== void 0, () => input[_dO].toString()],
|
|
361
|
-
[_iA]: [() => input.includeAll !== void 0, () => input[_iA].toString()],
|
|
362
|
-
[_cV]: [() => input.clusterVersions !== void 0, () => input[_cV] || []],
|
|
363
|
-
[_s]: [, input[_s]],
|
|
364
|
-
[_vS]: [, input[_vS]],
|
|
365
|
-
});
|
|
366
|
-
let body;
|
|
367
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
368
|
-
return b.build();
|
|
369
|
-
};
|
|
370
|
-
export const se_DescribeEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
371
|
-
const b = rb(input, context);
|
|
372
|
-
const headers = {};
|
|
373
|
-
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
374
|
-
b.p("id", () => input.id, "{id}", false);
|
|
375
|
-
let body;
|
|
376
|
-
b.m("GET").h(headers).b(body);
|
|
377
|
-
return b.build();
|
|
378
|
-
};
|
|
379
|
-
export const se_DescribeFargateProfileCommand = async (input, context) => {
|
|
380
|
-
const b = rb(input, context);
|
|
381
|
-
const headers = {};
|
|
382
|
-
b.bp("/clusters/{clusterName}/fargate-profiles/{fargateProfileName}");
|
|
383
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
384
|
-
b.p("fargateProfileName", () => input.fargateProfileName, "{fargateProfileName}", false);
|
|
385
|
-
let body;
|
|
386
|
-
b.m("GET").h(headers).b(body);
|
|
387
|
-
return b.build();
|
|
388
|
-
};
|
|
389
|
-
export const se_DescribeIdentityProviderConfigCommand = async (input, context) => {
|
|
390
|
-
const b = rb(input, context);
|
|
391
|
-
const headers = {
|
|
392
|
-
"content-type": "application/json",
|
|
393
|
-
};
|
|
394
|
-
b.bp("/clusters/{clusterName}/identity-provider-configs/describe");
|
|
395
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
396
|
-
let body;
|
|
397
|
-
body = JSON.stringify(take(input, {
|
|
398
|
-
identityProviderConfig: (_) => _json(_),
|
|
399
|
-
}));
|
|
400
|
-
b.m("POST").h(headers).b(body);
|
|
401
|
-
return b.build();
|
|
402
|
-
};
|
|
403
|
-
export const se_DescribeInsightCommand = async (input, context) => {
|
|
404
|
-
const b = rb(input, context);
|
|
405
|
-
const headers = {};
|
|
406
|
-
b.bp("/clusters/{clusterName}/insights/{id}");
|
|
407
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
408
|
-
b.p("id", () => input.id, "{id}", false);
|
|
409
|
-
let body;
|
|
410
|
-
b.m("GET").h(headers).b(body);
|
|
411
|
-
return b.build();
|
|
412
|
-
};
|
|
413
|
-
export const se_DescribeInsightsRefreshCommand = async (input, context) => {
|
|
414
|
-
const b = rb(input, context);
|
|
415
|
-
const headers = {};
|
|
416
|
-
b.bp("/clusters/{clusterName}/insights-refresh");
|
|
417
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
418
|
-
let body;
|
|
419
|
-
b.m("GET").h(headers).b(body);
|
|
420
|
-
return b.build();
|
|
421
|
-
};
|
|
422
|
-
export const se_DescribeNodegroupCommand = async (input, context) => {
|
|
423
|
-
const b = rb(input, context);
|
|
424
|
-
const headers = {};
|
|
425
|
-
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}");
|
|
426
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
427
|
-
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
428
|
-
let body;
|
|
429
|
-
b.m("GET").h(headers).b(body);
|
|
430
|
-
return b.build();
|
|
431
|
-
};
|
|
432
|
-
export const se_DescribePodIdentityAssociationCommand = async (input, context) => {
|
|
433
|
-
const b = rb(input, context);
|
|
434
|
-
const headers = {};
|
|
435
|
-
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
436
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
437
|
-
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
438
|
-
let body;
|
|
439
|
-
b.m("GET").h(headers).b(body);
|
|
440
|
-
return b.build();
|
|
441
|
-
};
|
|
442
|
-
export const se_DescribeUpdateCommand = async (input, context) => {
|
|
443
|
-
const b = rb(input, context);
|
|
444
|
-
const headers = {};
|
|
445
|
-
b.bp("/clusters/{name}/updates/{updateId}");
|
|
446
|
-
b.p("name", () => input.name, "{name}", false);
|
|
447
|
-
b.p("updateId", () => input.updateId, "{updateId}", false);
|
|
448
|
-
const query = map({
|
|
449
|
-
[_nN]: [, input[_nN]],
|
|
450
|
-
[_aN]: [, input[_aN]],
|
|
451
|
-
});
|
|
452
|
-
let body;
|
|
453
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
454
|
-
return b.build();
|
|
455
|
-
};
|
|
456
|
-
export const se_DisassociateAccessPolicyCommand = async (input, context) => {
|
|
457
|
-
const b = rb(input, context);
|
|
458
|
-
const headers = {};
|
|
459
|
-
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies/{policyArn}");
|
|
460
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
461
|
-
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
462
|
-
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
463
|
-
let body;
|
|
464
|
-
b.m("DELETE").h(headers).b(body);
|
|
465
|
-
return b.build();
|
|
466
|
-
};
|
|
467
|
-
export const se_DisassociateIdentityProviderConfigCommand = async (input, context) => {
|
|
468
|
-
const b = rb(input, context);
|
|
469
|
-
const headers = {
|
|
470
|
-
"content-type": "application/json",
|
|
471
|
-
};
|
|
472
|
-
b.bp("/clusters/{clusterName}/identity-provider-configs/disassociate");
|
|
473
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
474
|
-
let body;
|
|
475
|
-
body = JSON.stringify(take(input, {
|
|
476
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
477
|
-
identityProviderConfig: (_) => _json(_),
|
|
478
|
-
}));
|
|
479
|
-
b.m("POST").h(headers).b(body);
|
|
480
|
-
return b.build();
|
|
481
|
-
};
|
|
482
|
-
export const se_ListAccessEntriesCommand = async (input, context) => {
|
|
483
|
-
const b = rb(input, context);
|
|
484
|
-
const headers = {};
|
|
485
|
-
b.bp("/clusters/{clusterName}/access-entries");
|
|
486
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
487
|
-
const query = map({
|
|
488
|
-
[_aPA]: [, input[_aPA]],
|
|
489
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
490
|
-
[_nT]: [, input[_nT]],
|
|
491
|
-
});
|
|
492
|
-
let body;
|
|
493
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
494
|
-
return b.build();
|
|
495
|
-
};
|
|
496
|
-
export const se_ListAccessPoliciesCommand = async (input, context) => {
|
|
497
|
-
const b = rb(input, context);
|
|
498
|
-
const headers = {};
|
|
499
|
-
b.bp("/access-policies");
|
|
500
|
-
const query = map({
|
|
501
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
502
|
-
[_nT]: [, input[_nT]],
|
|
503
|
-
});
|
|
504
|
-
let body;
|
|
505
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
506
|
-
return b.build();
|
|
507
|
-
};
|
|
508
|
-
export const se_ListAddonsCommand = async (input, context) => {
|
|
509
|
-
const b = rb(input, context);
|
|
510
|
-
const headers = {};
|
|
511
|
-
b.bp("/clusters/{clusterName}/addons");
|
|
512
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
513
|
-
const query = map({
|
|
514
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
515
|
-
[_nT]: [, input[_nT]],
|
|
516
|
-
});
|
|
517
|
-
let body;
|
|
518
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
519
|
-
return b.build();
|
|
520
|
-
};
|
|
521
|
-
export const se_ListAssociatedAccessPoliciesCommand = async (input, context) => {
|
|
522
|
-
const b = rb(input, context);
|
|
523
|
-
const headers = {};
|
|
524
|
-
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies");
|
|
525
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
526
|
-
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
527
|
-
const query = map({
|
|
528
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
529
|
-
[_nT]: [, input[_nT]],
|
|
530
|
-
});
|
|
531
|
-
let body;
|
|
532
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
533
|
-
return b.build();
|
|
534
|
-
};
|
|
535
|
-
export const se_ListClustersCommand = async (input, context) => {
|
|
536
|
-
const b = rb(input, context);
|
|
537
|
-
const headers = {};
|
|
538
|
-
b.bp("/clusters");
|
|
539
|
-
const query = map({
|
|
540
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
541
|
-
[_nT]: [, input[_nT]],
|
|
542
|
-
[_i]: [() => input.include !== void 0, () => input[_i] || []],
|
|
543
|
-
});
|
|
544
|
-
let body;
|
|
545
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
546
|
-
return b.build();
|
|
547
|
-
};
|
|
548
|
-
export const se_ListEksAnywhereSubscriptionsCommand = async (input, context) => {
|
|
549
|
-
const b = rb(input, context);
|
|
550
|
-
const headers = {};
|
|
551
|
-
b.bp("/eks-anywhere-subscriptions");
|
|
552
|
-
const query = map({
|
|
553
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
554
|
-
[_nT]: [, input[_nT]],
|
|
555
|
-
[_iS]: [() => input.includeStatus !== void 0, () => input[_iS] || []],
|
|
556
|
-
});
|
|
557
|
-
let body;
|
|
558
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
559
|
-
return b.build();
|
|
560
|
-
};
|
|
561
|
-
export const se_ListFargateProfilesCommand = async (input, context) => {
|
|
562
|
-
const b = rb(input, context);
|
|
563
|
-
const headers = {};
|
|
564
|
-
b.bp("/clusters/{clusterName}/fargate-profiles");
|
|
565
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
566
|
-
const query = map({
|
|
567
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
568
|
-
[_nT]: [, input[_nT]],
|
|
569
|
-
});
|
|
570
|
-
let body;
|
|
571
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
572
|
-
return b.build();
|
|
573
|
-
};
|
|
574
|
-
export const se_ListIdentityProviderConfigsCommand = async (input, context) => {
|
|
575
|
-
const b = rb(input, context);
|
|
576
|
-
const headers = {};
|
|
577
|
-
b.bp("/clusters/{clusterName}/identity-provider-configs");
|
|
578
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
579
|
-
const query = map({
|
|
580
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
581
|
-
[_nT]: [, input[_nT]],
|
|
582
|
-
});
|
|
583
|
-
let body;
|
|
584
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
585
|
-
return b.build();
|
|
586
|
-
};
|
|
587
|
-
export const se_ListInsightsCommand = async (input, context) => {
|
|
588
|
-
const b = rb(input, context);
|
|
589
|
-
const headers = {
|
|
590
|
-
"content-type": "application/json",
|
|
591
|
-
};
|
|
592
|
-
b.bp("/clusters/{clusterName}/insights");
|
|
593
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
594
|
-
let body;
|
|
595
|
-
body = JSON.stringify(take(input, {
|
|
596
|
-
filter: (_) => _json(_),
|
|
597
|
-
maxResults: [],
|
|
598
|
-
nextToken: [],
|
|
599
|
-
}));
|
|
600
|
-
b.m("POST").h(headers).b(body);
|
|
601
|
-
return b.build();
|
|
602
|
-
};
|
|
603
|
-
export const se_ListNodegroupsCommand = async (input, context) => {
|
|
604
|
-
const b = rb(input, context);
|
|
605
|
-
const headers = {};
|
|
606
|
-
b.bp("/clusters/{clusterName}/node-groups");
|
|
607
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
608
|
-
const query = map({
|
|
609
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
610
|
-
[_nT]: [, input[_nT]],
|
|
611
|
-
});
|
|
612
|
-
let body;
|
|
613
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
614
|
-
return b.build();
|
|
615
|
-
};
|
|
616
|
-
export const se_ListPodIdentityAssociationsCommand = async (input, context) => {
|
|
617
|
-
const b = rb(input, context);
|
|
618
|
-
const headers = {};
|
|
619
|
-
b.bp("/clusters/{clusterName}/pod-identity-associations");
|
|
620
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
621
|
-
const query = map({
|
|
622
|
-
[_n]: [, input[_n]],
|
|
623
|
-
[_sA]: [, input[_sA]],
|
|
624
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
625
|
-
[_nT]: [, input[_nT]],
|
|
626
|
-
});
|
|
627
|
-
let body;
|
|
628
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
629
|
-
return b.build();
|
|
630
|
-
};
|
|
631
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
632
|
-
const b = rb(input, context);
|
|
633
|
-
const headers = {};
|
|
634
|
-
b.bp("/tags/{resourceArn}");
|
|
635
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
636
|
-
let body;
|
|
637
|
-
b.m("GET").h(headers).b(body);
|
|
638
|
-
return b.build();
|
|
639
|
-
};
|
|
640
|
-
export const se_ListUpdatesCommand = async (input, context) => {
|
|
641
|
-
const b = rb(input, context);
|
|
642
|
-
const headers = {};
|
|
643
|
-
b.bp("/clusters/{name}/updates");
|
|
644
|
-
b.p("name", () => input.name, "{name}", false);
|
|
645
|
-
const query = map({
|
|
646
|
-
[_nN]: [, input[_nN]],
|
|
647
|
-
[_aN]: [, input[_aN]],
|
|
648
|
-
[_nT]: [, input[_nT]],
|
|
649
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
650
|
-
});
|
|
651
|
-
let body;
|
|
652
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
653
|
-
return b.build();
|
|
654
|
-
};
|
|
655
|
-
export const se_RegisterClusterCommand = async (input, context) => {
|
|
656
|
-
const b = rb(input, context);
|
|
657
|
-
const headers = {
|
|
658
|
-
"content-type": "application/json",
|
|
659
|
-
};
|
|
660
|
-
b.bp("/cluster-registrations");
|
|
661
|
-
let body;
|
|
662
|
-
body = JSON.stringify(take(input, {
|
|
663
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
664
|
-
connectorConfig: (_) => _json(_),
|
|
665
|
-
name: [],
|
|
666
|
-
tags: (_) => _json(_),
|
|
667
|
-
}));
|
|
668
|
-
b.m("POST").h(headers).b(body);
|
|
669
|
-
return b.build();
|
|
670
|
-
};
|
|
671
|
-
export const se_StartInsightsRefreshCommand = async (input, context) => {
|
|
672
|
-
const b = rb(input, context);
|
|
673
|
-
const headers = {};
|
|
674
|
-
b.bp("/clusters/{clusterName}/insights-refresh");
|
|
675
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
676
|
-
let body;
|
|
677
|
-
b.m("POST").h(headers).b(body);
|
|
678
|
-
return b.build();
|
|
679
|
-
};
|
|
680
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
681
|
-
const b = rb(input, context);
|
|
682
|
-
const headers = {
|
|
683
|
-
"content-type": "application/json",
|
|
684
|
-
};
|
|
685
|
-
b.bp("/tags/{resourceArn}");
|
|
686
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
687
|
-
let body;
|
|
688
|
-
body = JSON.stringify(take(input, {
|
|
689
|
-
tags: (_) => _json(_),
|
|
690
|
-
}));
|
|
691
|
-
b.m("POST").h(headers).b(body);
|
|
692
|
-
return b.build();
|
|
693
|
-
};
|
|
694
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
695
|
-
const b = rb(input, context);
|
|
696
|
-
const headers = {};
|
|
697
|
-
b.bp("/tags/{resourceArn}");
|
|
698
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
699
|
-
const query = map({
|
|
700
|
-
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
701
|
-
});
|
|
702
|
-
let body;
|
|
703
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
704
|
-
return b.build();
|
|
705
|
-
};
|
|
706
|
-
export const se_UpdateAccessEntryCommand = async (input, context) => {
|
|
707
|
-
const b = rb(input, context);
|
|
708
|
-
const headers = {
|
|
709
|
-
"content-type": "application/json",
|
|
710
|
-
};
|
|
711
|
-
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
712
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
713
|
-
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
714
|
-
let body;
|
|
715
|
-
body = JSON.stringify(take(input, {
|
|
716
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
717
|
-
kubernetesGroups: (_) => _json(_),
|
|
718
|
-
username: [],
|
|
719
|
-
}));
|
|
720
|
-
b.m("POST").h(headers).b(body);
|
|
721
|
-
return b.build();
|
|
722
|
-
};
|
|
723
|
-
export const se_UpdateAddonCommand = async (input, context) => {
|
|
724
|
-
const b = rb(input, context);
|
|
725
|
-
const headers = {
|
|
726
|
-
"content-type": "application/json",
|
|
727
|
-
};
|
|
728
|
-
b.bp("/clusters/{clusterName}/addons/{addonName}/update");
|
|
729
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
730
|
-
b.p("addonName", () => input.addonName, "{addonName}", false);
|
|
731
|
-
let body;
|
|
732
|
-
body = JSON.stringify(take(input, {
|
|
733
|
-
addonVersion: [],
|
|
734
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
735
|
-
configurationValues: [],
|
|
736
|
-
podIdentityAssociations: (_) => _json(_),
|
|
737
|
-
resolveConflicts: [],
|
|
738
|
-
serviceAccountRoleArn: [],
|
|
739
|
-
}));
|
|
740
|
-
b.m("POST").h(headers).b(body);
|
|
741
|
-
return b.build();
|
|
742
|
-
};
|
|
743
|
-
export const se_UpdateClusterConfigCommand = async (input, context) => {
|
|
744
|
-
const b = rb(input, context);
|
|
745
|
-
const headers = {
|
|
746
|
-
"content-type": "application/json",
|
|
747
|
-
};
|
|
748
|
-
b.bp("/clusters/{name}/update-config");
|
|
749
|
-
b.p("name", () => input.name, "{name}", false);
|
|
750
|
-
let body;
|
|
751
|
-
body = JSON.stringify(take(input, {
|
|
752
|
-
accessConfig: (_) => _json(_),
|
|
753
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
754
|
-
computeConfig: (_) => _json(_),
|
|
755
|
-
deletionProtection: [],
|
|
756
|
-
kubernetesNetworkConfig: (_) => _json(_),
|
|
757
|
-
logging: (_) => _json(_),
|
|
758
|
-
remoteNetworkConfig: (_) => _json(_),
|
|
759
|
-
resourcesVpcConfig: (_) => _json(_),
|
|
760
|
-
storageConfig: (_) => _json(_),
|
|
761
|
-
upgradePolicy: (_) => _json(_),
|
|
762
|
-
zonalShiftConfig: (_) => _json(_),
|
|
763
|
-
}));
|
|
764
|
-
b.m("POST").h(headers).b(body);
|
|
765
|
-
return b.build();
|
|
766
|
-
};
|
|
767
|
-
export const se_UpdateClusterVersionCommand = async (input, context) => {
|
|
768
|
-
const b = rb(input, context);
|
|
769
|
-
const headers = {
|
|
770
|
-
"content-type": "application/json",
|
|
771
|
-
};
|
|
772
|
-
b.bp("/clusters/{name}/updates");
|
|
773
|
-
b.p("name", () => input.name, "{name}", false);
|
|
774
|
-
let body;
|
|
775
|
-
body = JSON.stringify(take(input, {
|
|
776
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
777
|
-
force: [],
|
|
778
|
-
version: [],
|
|
779
|
-
}));
|
|
780
|
-
b.m("POST").h(headers).b(body);
|
|
781
|
-
return b.build();
|
|
782
|
-
};
|
|
783
|
-
export const se_UpdateEksAnywhereSubscriptionCommand = async (input, context) => {
|
|
784
|
-
const b = rb(input, context);
|
|
785
|
-
const headers = {
|
|
786
|
-
"content-type": "application/json",
|
|
787
|
-
};
|
|
788
|
-
b.bp("/eks-anywhere-subscriptions/{id}");
|
|
789
|
-
b.p("id", () => input.id, "{id}", false);
|
|
790
|
-
let body;
|
|
791
|
-
body = JSON.stringify(take(input, {
|
|
792
|
-
autoRenew: [],
|
|
793
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
794
|
-
}));
|
|
795
|
-
b.m("POST").h(headers).b(body);
|
|
796
|
-
return b.build();
|
|
797
|
-
};
|
|
798
|
-
export const se_UpdateNodegroupConfigCommand = async (input, context) => {
|
|
799
|
-
const b = rb(input, context);
|
|
800
|
-
const headers = {
|
|
801
|
-
"content-type": "application/json",
|
|
802
|
-
};
|
|
803
|
-
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}/update-config");
|
|
804
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
805
|
-
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
806
|
-
let body;
|
|
807
|
-
body = JSON.stringify(take(input, {
|
|
808
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
809
|
-
labels: (_) => _json(_),
|
|
810
|
-
nodeRepairConfig: (_) => _json(_),
|
|
811
|
-
scalingConfig: (_) => _json(_),
|
|
812
|
-
taints: (_) => _json(_),
|
|
813
|
-
updateConfig: (_) => _json(_),
|
|
814
|
-
}));
|
|
815
|
-
b.m("POST").h(headers).b(body);
|
|
816
|
-
return b.build();
|
|
817
|
-
};
|
|
818
|
-
export const se_UpdateNodegroupVersionCommand = async (input, context) => {
|
|
819
|
-
const b = rb(input, context);
|
|
820
|
-
const headers = {
|
|
821
|
-
"content-type": "application/json",
|
|
822
|
-
};
|
|
823
|
-
b.bp("/clusters/{clusterName}/node-groups/{nodegroupName}/update-version");
|
|
824
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
825
|
-
b.p("nodegroupName", () => input.nodegroupName, "{nodegroupName}", false);
|
|
826
|
-
let body;
|
|
827
|
-
body = JSON.stringify(take(input, {
|
|
828
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
829
|
-
force: [],
|
|
830
|
-
launchTemplate: (_) => _json(_),
|
|
831
|
-
releaseVersion: [],
|
|
832
|
-
version: [],
|
|
833
|
-
}));
|
|
834
|
-
b.m("POST").h(headers).b(body);
|
|
835
|
-
return b.build();
|
|
836
|
-
};
|
|
837
|
-
export const se_UpdatePodIdentityAssociationCommand = async (input, context) => {
|
|
838
|
-
const b = rb(input, context);
|
|
839
|
-
const headers = {
|
|
840
|
-
"content-type": "application/json",
|
|
841
|
-
};
|
|
842
|
-
b.bp("/clusters/{clusterName}/pod-identity-associations/{associationId}");
|
|
843
|
-
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
844
|
-
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
845
|
-
let body;
|
|
846
|
-
body = JSON.stringify(take(input, {
|
|
847
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
848
|
-
disableSessionTags: [],
|
|
849
|
-
roleArn: [],
|
|
850
|
-
targetRoleArn: [],
|
|
851
|
-
}));
|
|
852
|
-
b.m("POST").h(headers).b(body);
|
|
853
|
-
return b.build();
|
|
854
|
-
};
|
|
855
|
-
export const de_AssociateAccessPolicyCommand = async (output, context) => {
|
|
856
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
857
|
-
return de_CommandError(output, context);
|
|
858
|
-
}
|
|
859
|
-
const contents = map({
|
|
860
|
-
$metadata: deserializeMetadata(output),
|
|
861
|
-
});
|
|
862
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
863
|
-
const doc = take(data, {
|
|
864
|
-
associatedAccessPolicy: (_) => de_AssociatedAccessPolicy(_, context),
|
|
865
|
-
clusterName: __expectString,
|
|
866
|
-
principalArn: __expectString,
|
|
867
|
-
});
|
|
868
|
-
Object.assign(contents, doc);
|
|
869
|
-
return contents;
|
|
870
|
-
};
|
|
871
|
-
export const de_AssociateEncryptionConfigCommand = async (output, context) => {
|
|
872
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
873
|
-
return de_CommandError(output, context);
|
|
874
|
-
}
|
|
875
|
-
const contents = map({
|
|
876
|
-
$metadata: deserializeMetadata(output),
|
|
877
|
-
});
|
|
878
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
879
|
-
const doc = take(data, {
|
|
880
|
-
update: (_) => de_Update(_, context),
|
|
881
|
-
});
|
|
882
|
-
Object.assign(contents, doc);
|
|
883
|
-
return contents;
|
|
884
|
-
};
|
|
885
|
-
export const de_AssociateIdentityProviderConfigCommand = async (output, context) => {
|
|
886
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
887
|
-
return de_CommandError(output, context);
|
|
888
|
-
}
|
|
889
|
-
const contents = map({
|
|
890
|
-
$metadata: deserializeMetadata(output),
|
|
891
|
-
});
|
|
892
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
893
|
-
const doc = take(data, {
|
|
894
|
-
tags: _json,
|
|
895
|
-
update: (_) => de_Update(_, context),
|
|
896
|
-
});
|
|
897
|
-
Object.assign(contents, doc);
|
|
898
|
-
return contents;
|
|
899
|
-
};
|
|
900
|
-
export const de_CreateAccessEntryCommand = async (output, context) => {
|
|
901
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
902
|
-
return de_CommandError(output, context);
|
|
903
|
-
}
|
|
904
|
-
const contents = map({
|
|
905
|
-
$metadata: deserializeMetadata(output),
|
|
906
|
-
});
|
|
907
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
908
|
-
const doc = take(data, {
|
|
909
|
-
accessEntry: (_) => de_AccessEntry(_, context),
|
|
910
|
-
});
|
|
911
|
-
Object.assign(contents, doc);
|
|
912
|
-
return contents;
|
|
913
|
-
};
|
|
914
|
-
export const de_CreateAddonCommand = async (output, context) => {
|
|
915
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
916
|
-
return de_CommandError(output, context);
|
|
917
|
-
}
|
|
918
|
-
const contents = map({
|
|
919
|
-
$metadata: deserializeMetadata(output),
|
|
920
|
-
});
|
|
921
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
922
|
-
const doc = take(data, {
|
|
923
|
-
addon: (_) => de_Addon(_, context),
|
|
924
|
-
});
|
|
925
|
-
Object.assign(contents, doc);
|
|
926
|
-
return contents;
|
|
927
|
-
};
|
|
928
|
-
export const de_CreateClusterCommand = async (output, context) => {
|
|
929
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
930
|
-
return de_CommandError(output, context);
|
|
931
|
-
}
|
|
932
|
-
const contents = map({
|
|
933
|
-
$metadata: deserializeMetadata(output),
|
|
934
|
-
});
|
|
935
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
936
|
-
const doc = take(data, {
|
|
937
|
-
cluster: (_) => de_Cluster(_, context),
|
|
938
|
-
});
|
|
939
|
-
Object.assign(contents, doc);
|
|
940
|
-
return contents;
|
|
941
|
-
};
|
|
942
|
-
export const de_CreateEksAnywhereSubscriptionCommand = async (output, context) => {
|
|
943
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
944
|
-
return de_CommandError(output, context);
|
|
945
|
-
}
|
|
946
|
-
const contents = map({
|
|
947
|
-
$metadata: deserializeMetadata(output),
|
|
948
|
-
});
|
|
949
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
950
|
-
const doc = take(data, {
|
|
951
|
-
subscription: (_) => de_EksAnywhereSubscription(_, context),
|
|
952
|
-
});
|
|
953
|
-
Object.assign(contents, doc);
|
|
954
|
-
return contents;
|
|
955
|
-
};
|
|
956
|
-
export const de_CreateFargateProfileCommand = async (output, context) => {
|
|
957
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
958
|
-
return de_CommandError(output, context);
|
|
959
|
-
}
|
|
960
|
-
const contents = map({
|
|
961
|
-
$metadata: deserializeMetadata(output),
|
|
962
|
-
});
|
|
963
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
964
|
-
const doc = take(data, {
|
|
965
|
-
fargateProfile: (_) => de_FargateProfile(_, context),
|
|
966
|
-
});
|
|
967
|
-
Object.assign(contents, doc);
|
|
968
|
-
return contents;
|
|
969
|
-
};
|
|
970
|
-
export const de_CreateNodegroupCommand = async (output, context) => {
|
|
971
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
972
|
-
return de_CommandError(output, context);
|
|
973
|
-
}
|
|
974
|
-
const contents = map({
|
|
975
|
-
$metadata: deserializeMetadata(output),
|
|
976
|
-
});
|
|
977
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
978
|
-
const doc = take(data, {
|
|
979
|
-
nodegroup: (_) => de_Nodegroup(_, context),
|
|
980
|
-
});
|
|
981
|
-
Object.assign(contents, doc);
|
|
982
|
-
return contents;
|
|
983
|
-
};
|
|
984
|
-
export const de_CreatePodIdentityAssociationCommand = async (output, context) => {
|
|
985
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
|
-
return de_CommandError(output, context);
|
|
987
|
-
}
|
|
988
|
-
const contents = map({
|
|
989
|
-
$metadata: deserializeMetadata(output),
|
|
990
|
-
});
|
|
991
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
992
|
-
const doc = take(data, {
|
|
993
|
-
association: (_) => de_PodIdentityAssociation(_, context),
|
|
994
|
-
});
|
|
995
|
-
Object.assign(contents, doc);
|
|
996
|
-
return contents;
|
|
997
|
-
};
|
|
998
|
-
export const de_DeleteAccessEntryCommand = async (output, context) => {
|
|
999
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1000
|
-
return de_CommandError(output, context);
|
|
1001
|
-
}
|
|
1002
|
-
const contents = map({
|
|
1003
|
-
$metadata: deserializeMetadata(output),
|
|
1004
|
-
});
|
|
1005
|
-
await collectBody(output.body, context);
|
|
1006
|
-
return contents;
|
|
1007
|
-
};
|
|
1008
|
-
export const de_DeleteAddonCommand = async (output, context) => {
|
|
1009
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1010
|
-
return de_CommandError(output, context);
|
|
1011
|
-
}
|
|
1012
|
-
const contents = map({
|
|
1013
|
-
$metadata: deserializeMetadata(output),
|
|
1014
|
-
});
|
|
1015
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1016
|
-
const doc = take(data, {
|
|
1017
|
-
addon: (_) => de_Addon(_, context),
|
|
1018
|
-
});
|
|
1019
|
-
Object.assign(contents, doc);
|
|
1020
|
-
return contents;
|
|
1021
|
-
};
|
|
1022
|
-
export const de_DeleteClusterCommand = async (output, context) => {
|
|
1023
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1024
|
-
return de_CommandError(output, context);
|
|
1025
|
-
}
|
|
1026
|
-
const contents = map({
|
|
1027
|
-
$metadata: deserializeMetadata(output),
|
|
1028
|
-
});
|
|
1029
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1030
|
-
const doc = take(data, {
|
|
1031
|
-
cluster: (_) => de_Cluster(_, context),
|
|
1032
|
-
});
|
|
1033
|
-
Object.assign(contents, doc);
|
|
1034
|
-
return contents;
|
|
1035
|
-
};
|
|
1036
|
-
export const de_DeleteEksAnywhereSubscriptionCommand = async (output, context) => {
|
|
1037
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1038
|
-
return de_CommandError(output, context);
|
|
1039
|
-
}
|
|
1040
|
-
const contents = map({
|
|
1041
|
-
$metadata: deserializeMetadata(output),
|
|
1042
|
-
});
|
|
1043
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1044
|
-
const doc = take(data, {
|
|
1045
|
-
subscription: (_) => de_EksAnywhereSubscription(_, context),
|
|
1046
|
-
});
|
|
1047
|
-
Object.assign(contents, doc);
|
|
1048
|
-
return contents;
|
|
1049
|
-
};
|
|
1050
|
-
export const de_DeleteFargateProfileCommand = async (output, context) => {
|
|
1051
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
-
return de_CommandError(output, context);
|
|
1053
|
-
}
|
|
1054
|
-
const contents = map({
|
|
1055
|
-
$metadata: deserializeMetadata(output),
|
|
1056
|
-
});
|
|
1057
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1058
|
-
const doc = take(data, {
|
|
1059
|
-
fargateProfile: (_) => de_FargateProfile(_, context),
|
|
1060
|
-
});
|
|
1061
|
-
Object.assign(contents, doc);
|
|
1062
|
-
return contents;
|
|
1063
|
-
};
|
|
1064
|
-
export const de_DeleteNodegroupCommand = async (output, context) => {
|
|
1065
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1066
|
-
return de_CommandError(output, context);
|
|
1067
|
-
}
|
|
1068
|
-
const contents = map({
|
|
1069
|
-
$metadata: deserializeMetadata(output),
|
|
1070
|
-
});
|
|
1071
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1072
|
-
const doc = take(data, {
|
|
1073
|
-
nodegroup: (_) => de_Nodegroup(_, context),
|
|
1074
|
-
});
|
|
1075
|
-
Object.assign(contents, doc);
|
|
1076
|
-
return contents;
|
|
1077
|
-
};
|
|
1078
|
-
export const de_DeletePodIdentityAssociationCommand = async (output, context) => {
|
|
1079
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1080
|
-
return de_CommandError(output, context);
|
|
1081
|
-
}
|
|
1082
|
-
const contents = map({
|
|
1083
|
-
$metadata: deserializeMetadata(output),
|
|
1084
|
-
});
|
|
1085
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1086
|
-
const doc = take(data, {
|
|
1087
|
-
association: (_) => de_PodIdentityAssociation(_, context),
|
|
1088
|
-
});
|
|
1089
|
-
Object.assign(contents, doc);
|
|
1090
|
-
return contents;
|
|
1091
|
-
};
|
|
1092
|
-
export const de_DeregisterClusterCommand = async (output, context) => {
|
|
1093
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1094
|
-
return de_CommandError(output, context);
|
|
1095
|
-
}
|
|
1096
|
-
const contents = map({
|
|
1097
|
-
$metadata: deserializeMetadata(output),
|
|
1098
|
-
});
|
|
1099
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1100
|
-
const doc = take(data, {
|
|
1101
|
-
cluster: (_) => de_Cluster(_, context),
|
|
1102
|
-
});
|
|
1103
|
-
Object.assign(contents, doc);
|
|
1104
|
-
return contents;
|
|
1105
|
-
};
|
|
1106
|
-
export const de_DescribeAccessEntryCommand = async (output, context) => {
|
|
1107
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1108
|
-
return de_CommandError(output, context);
|
|
1109
|
-
}
|
|
1110
|
-
const contents = map({
|
|
1111
|
-
$metadata: deserializeMetadata(output),
|
|
1112
|
-
});
|
|
1113
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1114
|
-
const doc = take(data, {
|
|
1115
|
-
accessEntry: (_) => de_AccessEntry(_, context),
|
|
1116
|
-
});
|
|
1117
|
-
Object.assign(contents, doc);
|
|
1118
|
-
return contents;
|
|
1119
|
-
};
|
|
1120
|
-
export const de_DescribeAddonCommand = async (output, context) => {
|
|
1121
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1122
|
-
return de_CommandError(output, context);
|
|
1123
|
-
}
|
|
1124
|
-
const contents = map({
|
|
1125
|
-
$metadata: deserializeMetadata(output),
|
|
1126
|
-
});
|
|
1127
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1128
|
-
const doc = take(data, {
|
|
1129
|
-
addon: (_) => de_Addon(_, context),
|
|
1130
|
-
});
|
|
1131
|
-
Object.assign(contents, doc);
|
|
1132
|
-
return contents;
|
|
1133
|
-
};
|
|
1134
|
-
export const de_DescribeAddonConfigurationCommand = async (output, context) => {
|
|
1135
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1136
|
-
return de_CommandError(output, context);
|
|
1137
|
-
}
|
|
1138
|
-
const contents = map({
|
|
1139
|
-
$metadata: deserializeMetadata(output),
|
|
1140
|
-
});
|
|
1141
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1142
|
-
const doc = take(data, {
|
|
1143
|
-
addonName: __expectString,
|
|
1144
|
-
addonVersion: __expectString,
|
|
1145
|
-
configurationSchema: __expectString,
|
|
1146
|
-
podIdentityConfiguration: _json,
|
|
1147
|
-
});
|
|
1148
|
-
Object.assign(contents, doc);
|
|
1149
|
-
return contents;
|
|
1150
|
-
};
|
|
1151
|
-
export const de_DescribeAddonVersionsCommand = async (output, context) => {
|
|
1152
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1153
|
-
return de_CommandError(output, context);
|
|
1154
|
-
}
|
|
1155
|
-
const contents = map({
|
|
1156
|
-
$metadata: deserializeMetadata(output),
|
|
1157
|
-
});
|
|
1158
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1159
|
-
const doc = take(data, {
|
|
1160
|
-
addons: _json,
|
|
1161
|
-
nextToken: __expectString,
|
|
1162
|
-
});
|
|
1163
|
-
Object.assign(contents, doc);
|
|
1164
|
-
return contents;
|
|
1165
|
-
};
|
|
1166
|
-
export const de_DescribeClusterCommand = async (output, context) => {
|
|
1167
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1168
|
-
return de_CommandError(output, context);
|
|
1169
|
-
}
|
|
1170
|
-
const contents = map({
|
|
1171
|
-
$metadata: deserializeMetadata(output),
|
|
1172
|
-
});
|
|
1173
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1174
|
-
const doc = take(data, {
|
|
1175
|
-
cluster: (_) => de_Cluster(_, context),
|
|
1176
|
-
});
|
|
1177
|
-
Object.assign(contents, doc);
|
|
1178
|
-
return contents;
|
|
1179
|
-
};
|
|
1180
|
-
export const de_DescribeClusterVersionsCommand = async (output, context) => {
|
|
1181
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1182
|
-
return de_CommandError(output, context);
|
|
1183
|
-
}
|
|
1184
|
-
const contents = map({
|
|
1185
|
-
$metadata: deserializeMetadata(output),
|
|
1186
|
-
});
|
|
1187
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1188
|
-
const doc = take(data, {
|
|
1189
|
-
clusterVersions: (_) => de_ClusterVersionList(_, context),
|
|
1190
|
-
nextToken: __expectString,
|
|
1191
|
-
});
|
|
1192
|
-
Object.assign(contents, doc);
|
|
1193
|
-
return contents;
|
|
1194
|
-
};
|
|
1195
|
-
export const de_DescribeEksAnywhereSubscriptionCommand = async (output, context) => {
|
|
1196
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1197
|
-
return de_CommandError(output, context);
|
|
1198
|
-
}
|
|
1199
|
-
const contents = map({
|
|
1200
|
-
$metadata: deserializeMetadata(output),
|
|
1201
|
-
});
|
|
1202
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1203
|
-
const doc = take(data, {
|
|
1204
|
-
subscription: (_) => de_EksAnywhereSubscription(_, context),
|
|
1205
|
-
});
|
|
1206
|
-
Object.assign(contents, doc);
|
|
1207
|
-
return contents;
|
|
1208
|
-
};
|
|
1209
|
-
export const de_DescribeFargateProfileCommand = async (output, context) => {
|
|
1210
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1211
|
-
return de_CommandError(output, context);
|
|
1212
|
-
}
|
|
1213
|
-
const contents = map({
|
|
1214
|
-
$metadata: deserializeMetadata(output),
|
|
1215
|
-
});
|
|
1216
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1217
|
-
const doc = take(data, {
|
|
1218
|
-
fargateProfile: (_) => de_FargateProfile(_, context),
|
|
1219
|
-
});
|
|
1220
|
-
Object.assign(contents, doc);
|
|
1221
|
-
return contents;
|
|
1222
|
-
};
|
|
1223
|
-
export const de_DescribeIdentityProviderConfigCommand = async (output, context) => {
|
|
1224
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
|
-
return de_CommandError(output, context);
|
|
1226
|
-
}
|
|
1227
|
-
const contents = map({
|
|
1228
|
-
$metadata: deserializeMetadata(output),
|
|
1229
|
-
});
|
|
1230
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1231
|
-
const doc = take(data, {
|
|
1232
|
-
identityProviderConfig: _json,
|
|
1233
|
-
});
|
|
1234
|
-
Object.assign(contents, doc);
|
|
1235
|
-
return contents;
|
|
1236
|
-
};
|
|
1237
|
-
export const de_DescribeInsightCommand = async (output, context) => {
|
|
1238
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1239
|
-
return de_CommandError(output, context);
|
|
1240
|
-
}
|
|
1241
|
-
const contents = map({
|
|
1242
|
-
$metadata: deserializeMetadata(output),
|
|
1243
|
-
});
|
|
1244
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1245
|
-
const doc = take(data, {
|
|
1246
|
-
insight: (_) => de_Insight(_, context),
|
|
1247
|
-
});
|
|
1248
|
-
Object.assign(contents, doc);
|
|
1249
|
-
return contents;
|
|
1250
|
-
};
|
|
1251
|
-
export const de_DescribeInsightsRefreshCommand = async (output, context) => {
|
|
1252
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1253
|
-
return de_CommandError(output, context);
|
|
1254
|
-
}
|
|
1255
|
-
const contents = map({
|
|
1256
|
-
$metadata: deserializeMetadata(output),
|
|
1257
|
-
});
|
|
1258
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1259
|
-
const doc = take(data, {
|
|
1260
|
-
endedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1261
|
-
message: __expectString,
|
|
1262
|
-
startedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1263
|
-
status: __expectString,
|
|
1264
|
-
});
|
|
1265
|
-
Object.assign(contents, doc);
|
|
1266
|
-
return contents;
|
|
1267
|
-
};
|
|
1268
|
-
export const de_DescribeNodegroupCommand = async (output, context) => {
|
|
1269
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1270
|
-
return de_CommandError(output, context);
|
|
1271
|
-
}
|
|
1272
|
-
const contents = map({
|
|
1273
|
-
$metadata: deserializeMetadata(output),
|
|
1274
|
-
});
|
|
1275
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1276
|
-
const doc = take(data, {
|
|
1277
|
-
nodegroup: (_) => de_Nodegroup(_, context),
|
|
1278
|
-
});
|
|
1279
|
-
Object.assign(contents, doc);
|
|
1280
|
-
return contents;
|
|
1281
|
-
};
|
|
1282
|
-
export const de_DescribePodIdentityAssociationCommand = async (output, context) => {
|
|
1283
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1284
|
-
return de_CommandError(output, context);
|
|
1285
|
-
}
|
|
1286
|
-
const contents = map({
|
|
1287
|
-
$metadata: deserializeMetadata(output),
|
|
1288
|
-
});
|
|
1289
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1290
|
-
const doc = take(data, {
|
|
1291
|
-
association: (_) => de_PodIdentityAssociation(_, context),
|
|
1292
|
-
});
|
|
1293
|
-
Object.assign(contents, doc);
|
|
1294
|
-
return contents;
|
|
1295
|
-
};
|
|
1296
|
-
export const de_DescribeUpdateCommand = async (output, context) => {
|
|
1297
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1298
|
-
return de_CommandError(output, context);
|
|
1299
|
-
}
|
|
1300
|
-
const contents = map({
|
|
1301
|
-
$metadata: deserializeMetadata(output),
|
|
1302
|
-
});
|
|
1303
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1304
|
-
const doc = take(data, {
|
|
1305
|
-
update: (_) => de_Update(_, context),
|
|
1306
|
-
});
|
|
1307
|
-
Object.assign(contents, doc);
|
|
1308
|
-
return contents;
|
|
1309
|
-
};
|
|
1310
|
-
export const de_DisassociateAccessPolicyCommand = async (output, context) => {
|
|
1311
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1312
|
-
return de_CommandError(output, context);
|
|
1313
|
-
}
|
|
1314
|
-
const contents = map({
|
|
1315
|
-
$metadata: deserializeMetadata(output),
|
|
1316
|
-
});
|
|
1317
|
-
await collectBody(output.body, context);
|
|
1318
|
-
return contents;
|
|
1319
|
-
};
|
|
1320
|
-
export const de_DisassociateIdentityProviderConfigCommand = async (output, context) => {
|
|
1321
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1322
|
-
return de_CommandError(output, context);
|
|
1323
|
-
}
|
|
1324
|
-
const contents = map({
|
|
1325
|
-
$metadata: deserializeMetadata(output),
|
|
1326
|
-
});
|
|
1327
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1328
|
-
const doc = take(data, {
|
|
1329
|
-
update: (_) => de_Update(_, context),
|
|
1330
|
-
});
|
|
1331
|
-
Object.assign(contents, doc);
|
|
1332
|
-
return contents;
|
|
1333
|
-
};
|
|
1334
|
-
export const de_ListAccessEntriesCommand = async (output, context) => {
|
|
1335
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1336
|
-
return de_CommandError(output, context);
|
|
1337
|
-
}
|
|
1338
|
-
const contents = map({
|
|
1339
|
-
$metadata: deserializeMetadata(output),
|
|
1340
|
-
});
|
|
1341
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1342
|
-
const doc = take(data, {
|
|
1343
|
-
accessEntries: _json,
|
|
1344
|
-
nextToken: __expectString,
|
|
1345
|
-
});
|
|
1346
|
-
Object.assign(contents, doc);
|
|
1347
|
-
return contents;
|
|
1348
|
-
};
|
|
1349
|
-
export const de_ListAccessPoliciesCommand = async (output, context) => {
|
|
1350
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1351
|
-
return de_CommandError(output, context);
|
|
1352
|
-
}
|
|
1353
|
-
const contents = map({
|
|
1354
|
-
$metadata: deserializeMetadata(output),
|
|
1355
|
-
});
|
|
1356
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1357
|
-
const doc = take(data, {
|
|
1358
|
-
accessPolicies: _json,
|
|
1359
|
-
nextToken: __expectString,
|
|
1360
|
-
});
|
|
1361
|
-
Object.assign(contents, doc);
|
|
1362
|
-
return contents;
|
|
1363
|
-
};
|
|
1364
|
-
export const de_ListAddonsCommand = async (output, context) => {
|
|
1365
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1366
|
-
return de_CommandError(output, context);
|
|
1367
|
-
}
|
|
1368
|
-
const contents = map({
|
|
1369
|
-
$metadata: deserializeMetadata(output),
|
|
1370
|
-
});
|
|
1371
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1372
|
-
const doc = take(data, {
|
|
1373
|
-
addons: _json,
|
|
1374
|
-
nextToken: __expectString,
|
|
1375
|
-
});
|
|
1376
|
-
Object.assign(contents, doc);
|
|
1377
|
-
return contents;
|
|
1378
|
-
};
|
|
1379
|
-
export const de_ListAssociatedAccessPoliciesCommand = async (output, context) => {
|
|
1380
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1381
|
-
return de_CommandError(output, context);
|
|
1382
|
-
}
|
|
1383
|
-
const contents = map({
|
|
1384
|
-
$metadata: deserializeMetadata(output),
|
|
1385
|
-
});
|
|
1386
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1387
|
-
const doc = take(data, {
|
|
1388
|
-
associatedAccessPolicies: (_) => de_AssociatedAccessPoliciesList(_, context),
|
|
1389
|
-
clusterName: __expectString,
|
|
1390
|
-
nextToken: __expectString,
|
|
1391
|
-
principalArn: __expectString,
|
|
1392
|
-
});
|
|
1393
|
-
Object.assign(contents, doc);
|
|
1394
|
-
return contents;
|
|
1395
|
-
};
|
|
1396
|
-
export const de_ListClustersCommand = async (output, context) => {
|
|
1397
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1398
|
-
return de_CommandError(output, context);
|
|
1399
|
-
}
|
|
1400
|
-
const contents = map({
|
|
1401
|
-
$metadata: deserializeMetadata(output),
|
|
1402
|
-
});
|
|
1403
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1404
|
-
const doc = take(data, {
|
|
1405
|
-
clusters: _json,
|
|
1406
|
-
nextToken: __expectString,
|
|
1407
|
-
});
|
|
1408
|
-
Object.assign(contents, doc);
|
|
1409
|
-
return contents;
|
|
1410
|
-
};
|
|
1411
|
-
export const de_ListEksAnywhereSubscriptionsCommand = async (output, context) => {
|
|
1412
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1413
|
-
return de_CommandError(output, context);
|
|
1414
|
-
}
|
|
1415
|
-
const contents = map({
|
|
1416
|
-
$metadata: deserializeMetadata(output),
|
|
1417
|
-
});
|
|
1418
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1419
|
-
const doc = take(data, {
|
|
1420
|
-
nextToken: __expectString,
|
|
1421
|
-
subscriptions: (_) => de_EksAnywhereSubscriptionList(_, context),
|
|
1422
|
-
});
|
|
1423
|
-
Object.assign(contents, doc);
|
|
1424
|
-
return contents;
|
|
1425
|
-
};
|
|
1426
|
-
export const de_ListFargateProfilesCommand = async (output, context) => {
|
|
1427
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1428
|
-
return de_CommandError(output, context);
|
|
1429
|
-
}
|
|
1430
|
-
const contents = map({
|
|
1431
|
-
$metadata: deserializeMetadata(output),
|
|
1432
|
-
});
|
|
1433
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1434
|
-
const doc = take(data, {
|
|
1435
|
-
fargateProfileNames: _json,
|
|
1436
|
-
nextToken: __expectString,
|
|
1437
|
-
});
|
|
1438
|
-
Object.assign(contents, doc);
|
|
1439
|
-
return contents;
|
|
1440
|
-
};
|
|
1441
|
-
export const de_ListIdentityProviderConfigsCommand = async (output, context) => {
|
|
1442
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1443
|
-
return de_CommandError(output, context);
|
|
1444
|
-
}
|
|
1445
|
-
const contents = map({
|
|
1446
|
-
$metadata: deserializeMetadata(output),
|
|
1447
|
-
});
|
|
1448
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1449
|
-
const doc = take(data, {
|
|
1450
|
-
identityProviderConfigs: _json,
|
|
1451
|
-
nextToken: __expectString,
|
|
1452
|
-
});
|
|
1453
|
-
Object.assign(contents, doc);
|
|
1454
|
-
return contents;
|
|
1455
|
-
};
|
|
1456
|
-
export const de_ListInsightsCommand = async (output, context) => {
|
|
1457
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1458
|
-
return de_CommandError(output, context);
|
|
1459
|
-
}
|
|
1460
|
-
const contents = map({
|
|
1461
|
-
$metadata: deserializeMetadata(output),
|
|
1462
|
-
});
|
|
1463
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1464
|
-
const doc = take(data, {
|
|
1465
|
-
insights: (_) => de_InsightSummaries(_, context),
|
|
1466
|
-
nextToken: __expectString,
|
|
1467
|
-
});
|
|
1468
|
-
Object.assign(contents, doc);
|
|
1469
|
-
return contents;
|
|
1470
|
-
};
|
|
1471
|
-
export const de_ListNodegroupsCommand = async (output, context) => {
|
|
1472
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1473
|
-
return de_CommandError(output, context);
|
|
1474
|
-
}
|
|
1475
|
-
const contents = map({
|
|
1476
|
-
$metadata: deserializeMetadata(output),
|
|
1477
|
-
});
|
|
1478
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1479
|
-
const doc = take(data, {
|
|
1480
|
-
nextToken: __expectString,
|
|
1481
|
-
nodegroups: _json,
|
|
1482
|
-
});
|
|
1483
|
-
Object.assign(contents, doc);
|
|
1484
|
-
return contents;
|
|
1485
|
-
};
|
|
1486
|
-
export const de_ListPodIdentityAssociationsCommand = async (output, context) => {
|
|
1487
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1488
|
-
return de_CommandError(output, context);
|
|
1489
|
-
}
|
|
1490
|
-
const contents = map({
|
|
1491
|
-
$metadata: deserializeMetadata(output),
|
|
1492
|
-
});
|
|
1493
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1494
|
-
const doc = take(data, {
|
|
1495
|
-
associations: _json,
|
|
1496
|
-
nextToken: __expectString,
|
|
1497
|
-
});
|
|
1498
|
-
Object.assign(contents, doc);
|
|
1499
|
-
return contents;
|
|
1500
|
-
};
|
|
1501
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1502
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1503
|
-
return de_CommandError(output, context);
|
|
1504
|
-
}
|
|
1505
|
-
const contents = map({
|
|
1506
|
-
$metadata: deserializeMetadata(output),
|
|
1507
|
-
});
|
|
1508
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1509
|
-
const doc = take(data, {
|
|
1510
|
-
tags: _json,
|
|
1511
|
-
});
|
|
1512
|
-
Object.assign(contents, doc);
|
|
1513
|
-
return contents;
|
|
1514
|
-
};
|
|
1515
|
-
export const de_ListUpdatesCommand = async (output, context) => {
|
|
1516
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1517
|
-
return de_CommandError(output, context);
|
|
1518
|
-
}
|
|
1519
|
-
const contents = map({
|
|
1520
|
-
$metadata: deserializeMetadata(output),
|
|
1521
|
-
});
|
|
1522
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1523
|
-
const doc = take(data, {
|
|
1524
|
-
nextToken: __expectString,
|
|
1525
|
-
updateIds: _json,
|
|
1526
|
-
});
|
|
1527
|
-
Object.assign(contents, doc);
|
|
1528
|
-
return contents;
|
|
1529
|
-
};
|
|
1530
|
-
export const de_RegisterClusterCommand = async (output, context) => {
|
|
1531
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1532
|
-
return de_CommandError(output, context);
|
|
1533
|
-
}
|
|
1534
|
-
const contents = map({
|
|
1535
|
-
$metadata: deserializeMetadata(output),
|
|
1536
|
-
});
|
|
1537
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1538
|
-
const doc = take(data, {
|
|
1539
|
-
cluster: (_) => de_Cluster(_, context),
|
|
1540
|
-
});
|
|
1541
|
-
Object.assign(contents, doc);
|
|
1542
|
-
return contents;
|
|
1543
|
-
};
|
|
1544
|
-
export const de_StartInsightsRefreshCommand = async (output, context) => {
|
|
1545
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1546
|
-
return de_CommandError(output, context);
|
|
1547
|
-
}
|
|
1548
|
-
const contents = map({
|
|
1549
|
-
$metadata: deserializeMetadata(output),
|
|
1550
|
-
});
|
|
1551
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1552
|
-
const doc = take(data, {
|
|
1553
|
-
message: __expectString,
|
|
1554
|
-
status: __expectString,
|
|
1555
|
-
});
|
|
1556
|
-
Object.assign(contents, doc);
|
|
1557
|
-
return contents;
|
|
1558
|
-
};
|
|
1559
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1560
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1561
|
-
return de_CommandError(output, context);
|
|
1562
|
-
}
|
|
1563
|
-
const contents = map({
|
|
1564
|
-
$metadata: deserializeMetadata(output),
|
|
1565
|
-
});
|
|
1566
|
-
await collectBody(output.body, context);
|
|
1567
|
-
return contents;
|
|
1568
|
-
};
|
|
1569
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1570
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1571
|
-
return de_CommandError(output, context);
|
|
1572
|
-
}
|
|
1573
|
-
const contents = map({
|
|
1574
|
-
$metadata: deserializeMetadata(output),
|
|
1575
|
-
});
|
|
1576
|
-
await collectBody(output.body, context);
|
|
1577
|
-
return contents;
|
|
1578
|
-
};
|
|
1579
|
-
export const de_UpdateAccessEntryCommand = async (output, context) => {
|
|
1580
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1581
|
-
return de_CommandError(output, context);
|
|
1582
|
-
}
|
|
1583
|
-
const contents = map({
|
|
1584
|
-
$metadata: deserializeMetadata(output),
|
|
1585
|
-
});
|
|
1586
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1587
|
-
const doc = take(data, {
|
|
1588
|
-
accessEntry: (_) => de_AccessEntry(_, context),
|
|
1589
|
-
});
|
|
1590
|
-
Object.assign(contents, doc);
|
|
1591
|
-
return contents;
|
|
1592
|
-
};
|
|
1593
|
-
export const de_UpdateAddonCommand = async (output, context) => {
|
|
1594
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1595
|
-
return de_CommandError(output, context);
|
|
1596
|
-
}
|
|
1597
|
-
const contents = map({
|
|
1598
|
-
$metadata: deserializeMetadata(output),
|
|
1599
|
-
});
|
|
1600
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1601
|
-
const doc = take(data, {
|
|
1602
|
-
update: (_) => de_Update(_, context),
|
|
1603
|
-
});
|
|
1604
|
-
Object.assign(contents, doc);
|
|
1605
|
-
return contents;
|
|
1606
|
-
};
|
|
1607
|
-
export const de_UpdateClusterConfigCommand = async (output, context) => {
|
|
1608
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1609
|
-
return de_CommandError(output, context);
|
|
1610
|
-
}
|
|
1611
|
-
const contents = map({
|
|
1612
|
-
$metadata: deserializeMetadata(output),
|
|
1613
|
-
});
|
|
1614
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1615
|
-
const doc = take(data, {
|
|
1616
|
-
update: (_) => de_Update(_, context),
|
|
1617
|
-
});
|
|
1618
|
-
Object.assign(contents, doc);
|
|
1619
|
-
return contents;
|
|
1620
|
-
};
|
|
1621
|
-
export const de_UpdateClusterVersionCommand = async (output, context) => {
|
|
1622
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1623
|
-
return de_CommandError(output, context);
|
|
1624
|
-
}
|
|
1625
|
-
const contents = map({
|
|
1626
|
-
$metadata: deserializeMetadata(output),
|
|
1627
|
-
});
|
|
1628
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1629
|
-
const doc = take(data, {
|
|
1630
|
-
update: (_) => de_Update(_, context),
|
|
1631
|
-
});
|
|
1632
|
-
Object.assign(contents, doc);
|
|
1633
|
-
return contents;
|
|
1634
|
-
};
|
|
1635
|
-
export const de_UpdateEksAnywhereSubscriptionCommand = async (output, context) => {
|
|
1636
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1637
|
-
return de_CommandError(output, context);
|
|
1638
|
-
}
|
|
1639
|
-
const contents = map({
|
|
1640
|
-
$metadata: deserializeMetadata(output),
|
|
1641
|
-
});
|
|
1642
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1643
|
-
const doc = take(data, {
|
|
1644
|
-
subscription: (_) => de_EksAnywhereSubscription(_, context),
|
|
1645
|
-
});
|
|
1646
|
-
Object.assign(contents, doc);
|
|
1647
|
-
return contents;
|
|
1648
|
-
};
|
|
1649
|
-
export const de_UpdateNodegroupConfigCommand = async (output, context) => {
|
|
1650
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1651
|
-
return de_CommandError(output, context);
|
|
1652
|
-
}
|
|
1653
|
-
const contents = map({
|
|
1654
|
-
$metadata: deserializeMetadata(output),
|
|
1655
|
-
});
|
|
1656
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1657
|
-
const doc = take(data, {
|
|
1658
|
-
update: (_) => de_Update(_, context),
|
|
1659
|
-
});
|
|
1660
|
-
Object.assign(contents, doc);
|
|
1661
|
-
return contents;
|
|
1662
|
-
};
|
|
1663
|
-
export const de_UpdateNodegroupVersionCommand = async (output, context) => {
|
|
1664
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1665
|
-
return de_CommandError(output, context);
|
|
1666
|
-
}
|
|
1667
|
-
const contents = map({
|
|
1668
|
-
$metadata: deserializeMetadata(output),
|
|
1669
|
-
});
|
|
1670
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1671
|
-
const doc = take(data, {
|
|
1672
|
-
update: (_) => de_Update(_, context),
|
|
1673
|
-
});
|
|
1674
|
-
Object.assign(contents, doc);
|
|
1675
|
-
return contents;
|
|
1676
|
-
};
|
|
1677
|
-
export const de_UpdatePodIdentityAssociationCommand = async (output, context) => {
|
|
1678
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1679
|
-
return de_CommandError(output, context);
|
|
1680
|
-
}
|
|
1681
|
-
const contents = map({
|
|
1682
|
-
$metadata: deserializeMetadata(output),
|
|
1683
|
-
});
|
|
1684
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1685
|
-
const doc = take(data, {
|
|
1686
|
-
association: (_) => de_PodIdentityAssociation(_, context),
|
|
1687
|
-
});
|
|
1688
|
-
Object.assign(contents, doc);
|
|
1689
|
-
return contents;
|
|
1690
|
-
};
|
|
1691
|
-
const de_CommandError = async (output, context) => {
|
|
1692
|
-
const parsedOutput = {
|
|
1693
|
-
...output,
|
|
1694
|
-
body: await parseErrorBody(output.body, context),
|
|
1695
|
-
};
|
|
1696
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1697
|
-
switch (errorCode) {
|
|
1698
|
-
case "InvalidParameterException":
|
|
1699
|
-
case "com.amazonaws.eks#InvalidParameterException":
|
|
1700
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1701
|
-
case "InvalidRequestException":
|
|
1702
|
-
case "com.amazonaws.eks#InvalidRequestException":
|
|
1703
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1704
|
-
case "ResourceNotFoundException":
|
|
1705
|
-
case "com.amazonaws.eks#ResourceNotFoundException":
|
|
1706
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1707
|
-
case "ServerException":
|
|
1708
|
-
case "com.amazonaws.eks#ServerException":
|
|
1709
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1710
|
-
case "ClientException":
|
|
1711
|
-
case "com.amazonaws.eks#ClientException":
|
|
1712
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1713
|
-
case "ResourceInUseException":
|
|
1714
|
-
case "com.amazonaws.eks#ResourceInUseException":
|
|
1715
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1716
|
-
case "ThrottlingException":
|
|
1717
|
-
case "com.amazonaws.eks#ThrottlingException":
|
|
1718
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1719
|
-
case "ResourceLimitExceededException":
|
|
1720
|
-
case "com.amazonaws.eks#ResourceLimitExceededException":
|
|
1721
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1722
|
-
case "ServiceUnavailableException":
|
|
1723
|
-
case "com.amazonaws.eks#ServiceUnavailableException":
|
|
1724
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1725
|
-
case "UnsupportedAvailabilityZoneException":
|
|
1726
|
-
case "com.amazonaws.eks#UnsupportedAvailabilityZoneException":
|
|
1727
|
-
throw await de_UnsupportedAvailabilityZoneExceptionRes(parsedOutput, context);
|
|
1728
|
-
case "AccessDeniedException":
|
|
1729
|
-
case "com.amazonaws.eks#AccessDeniedException":
|
|
1730
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1731
|
-
case "BadRequestException":
|
|
1732
|
-
case "com.amazonaws.eks#BadRequestException":
|
|
1733
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1734
|
-
case "NotFoundException":
|
|
1735
|
-
case "com.amazonaws.eks#NotFoundException":
|
|
1736
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1737
|
-
case "ResourcePropagationDelayException":
|
|
1738
|
-
case "com.amazonaws.eks#ResourcePropagationDelayException":
|
|
1739
|
-
throw await de_ResourcePropagationDelayExceptionRes(parsedOutput, context);
|
|
1740
|
-
case "InvalidStateException":
|
|
1741
|
-
case "com.amazonaws.eks#InvalidStateException":
|
|
1742
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1743
|
-
default:
|
|
1744
|
-
const parsedBody = parsedOutput.body;
|
|
1745
|
-
return throwDefaultError({
|
|
1746
|
-
output,
|
|
1747
|
-
parsedBody,
|
|
1748
|
-
errorCode,
|
|
1749
|
-
});
|
|
1750
|
-
}
|
|
1751
|
-
};
|
|
1752
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1753
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1754
|
-
const contents = map({});
|
|
1755
|
-
const data = parsedOutput.body;
|
|
1756
|
-
const doc = take(data, {
|
|
1757
|
-
message: __expectString,
|
|
1758
|
-
});
|
|
1759
|
-
Object.assign(contents, doc);
|
|
1760
|
-
const exception = new AccessDeniedException({
|
|
1761
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1762
|
-
...contents,
|
|
1763
|
-
});
|
|
1764
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1765
|
-
};
|
|
1766
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1767
|
-
const contents = map({});
|
|
1768
|
-
const data = parsedOutput.body;
|
|
1769
|
-
const doc = take(data, {
|
|
1770
|
-
message: __expectString,
|
|
1771
|
-
});
|
|
1772
|
-
Object.assign(contents, doc);
|
|
1773
|
-
const exception = new BadRequestException({
|
|
1774
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1775
|
-
...contents,
|
|
1776
|
-
});
|
|
1777
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1778
|
-
};
|
|
1779
|
-
const de_ClientExceptionRes = async (parsedOutput, context) => {
|
|
1780
|
-
const contents = map({});
|
|
1781
|
-
const data = parsedOutput.body;
|
|
1782
|
-
const doc = take(data, {
|
|
1783
|
-
addonName: __expectString,
|
|
1784
|
-
clusterName: __expectString,
|
|
1785
|
-
message: __expectString,
|
|
1786
|
-
nodegroupName: __expectString,
|
|
1787
|
-
subscriptionId: __expectString,
|
|
1788
|
-
});
|
|
1789
|
-
Object.assign(contents, doc);
|
|
1790
|
-
const exception = new ClientException({
|
|
1791
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1792
|
-
...contents,
|
|
1793
|
-
});
|
|
1794
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1795
|
-
};
|
|
1796
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1797
|
-
const contents = map({});
|
|
1798
|
-
const data = parsedOutput.body;
|
|
1799
|
-
const doc = take(data, {
|
|
1800
|
-
addonName: __expectString,
|
|
1801
|
-
clusterName: __expectString,
|
|
1802
|
-
fargateProfileName: __expectString,
|
|
1803
|
-
message: __expectString,
|
|
1804
|
-
nodegroupName: __expectString,
|
|
1805
|
-
subscriptionId: __expectString,
|
|
1806
|
-
});
|
|
1807
|
-
Object.assign(contents, doc);
|
|
1808
|
-
const exception = new InvalidParameterException({
|
|
1809
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1810
|
-
...contents,
|
|
1811
|
-
});
|
|
1812
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1813
|
-
};
|
|
1814
|
-
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1815
|
-
const contents = map({});
|
|
1816
|
-
const data = parsedOutput.body;
|
|
1817
|
-
const doc = take(data, {
|
|
1818
|
-
addonName: __expectString,
|
|
1819
|
-
clusterName: __expectString,
|
|
1820
|
-
message: __expectString,
|
|
1821
|
-
nodegroupName: __expectString,
|
|
1822
|
-
subscriptionId: __expectString,
|
|
1823
|
-
});
|
|
1824
|
-
Object.assign(contents, doc);
|
|
1825
|
-
const exception = new InvalidRequestException({
|
|
1826
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1827
|
-
...contents,
|
|
1828
|
-
});
|
|
1829
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1830
|
-
};
|
|
1831
|
-
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
1832
|
-
const contents = map({});
|
|
1833
|
-
const data = parsedOutput.body;
|
|
1834
|
-
const doc = take(data, {
|
|
1835
|
-
clusterName: __expectString,
|
|
1836
|
-
message: __expectString,
|
|
1837
|
-
});
|
|
1838
|
-
Object.assign(contents, doc);
|
|
1839
|
-
const exception = new InvalidStateException({
|
|
1840
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1841
|
-
...contents,
|
|
1842
|
-
});
|
|
1843
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1844
|
-
};
|
|
1845
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1846
|
-
const contents = map({});
|
|
1847
|
-
const data = parsedOutput.body;
|
|
1848
|
-
const doc = take(data, {
|
|
1849
|
-
message: __expectString,
|
|
1850
|
-
});
|
|
1851
|
-
Object.assign(contents, doc);
|
|
1852
|
-
const exception = new NotFoundException({
|
|
1853
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1854
|
-
...contents,
|
|
1855
|
-
});
|
|
1856
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1857
|
-
};
|
|
1858
|
-
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1859
|
-
const contents = map({});
|
|
1860
|
-
const data = parsedOutput.body;
|
|
1861
|
-
const doc = take(data, {
|
|
1862
|
-
addonName: __expectString,
|
|
1863
|
-
clusterName: __expectString,
|
|
1864
|
-
message: __expectString,
|
|
1865
|
-
nodegroupName: __expectString,
|
|
1866
|
-
});
|
|
1867
|
-
Object.assign(contents, doc);
|
|
1868
|
-
const exception = new ResourceInUseException({
|
|
1869
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1870
|
-
...contents,
|
|
1871
|
-
});
|
|
1872
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1873
|
-
};
|
|
1874
|
-
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1875
|
-
const contents = map({});
|
|
1876
|
-
const data = parsedOutput.body;
|
|
1877
|
-
const doc = take(data, {
|
|
1878
|
-
clusterName: __expectString,
|
|
1879
|
-
message: __expectString,
|
|
1880
|
-
nodegroupName: __expectString,
|
|
1881
|
-
subscriptionId: __expectString,
|
|
1882
|
-
});
|
|
1883
|
-
Object.assign(contents, doc);
|
|
1884
|
-
const exception = new ResourceLimitExceededException({
|
|
1885
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1886
|
-
...contents,
|
|
1887
|
-
});
|
|
1888
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1889
|
-
};
|
|
1890
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1891
|
-
const contents = map({});
|
|
1892
|
-
const data = parsedOutput.body;
|
|
1893
|
-
const doc = take(data, {
|
|
1894
|
-
addonName: __expectString,
|
|
1895
|
-
clusterName: __expectString,
|
|
1896
|
-
fargateProfileName: __expectString,
|
|
1897
|
-
message: __expectString,
|
|
1898
|
-
nodegroupName: __expectString,
|
|
1899
|
-
subscriptionId: __expectString,
|
|
1900
|
-
});
|
|
1901
|
-
Object.assign(contents, doc);
|
|
1902
|
-
const exception = new ResourceNotFoundException({
|
|
1903
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1904
|
-
...contents,
|
|
1905
|
-
});
|
|
1906
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1907
|
-
};
|
|
1908
|
-
const de_ResourcePropagationDelayExceptionRes = async (parsedOutput, context) => {
|
|
1909
|
-
const contents = map({});
|
|
1910
|
-
const data = parsedOutput.body;
|
|
1911
|
-
const doc = take(data, {
|
|
1912
|
-
message: __expectString,
|
|
1913
|
-
});
|
|
1914
|
-
Object.assign(contents, doc);
|
|
1915
|
-
const exception = new ResourcePropagationDelayException({
|
|
1916
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1917
|
-
...contents,
|
|
1918
|
-
});
|
|
1919
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1920
|
-
};
|
|
1921
|
-
const de_ServerExceptionRes = async (parsedOutput, context) => {
|
|
1922
|
-
const contents = map({});
|
|
1923
|
-
const data = parsedOutput.body;
|
|
1924
|
-
const doc = take(data, {
|
|
1925
|
-
addonName: __expectString,
|
|
1926
|
-
clusterName: __expectString,
|
|
1927
|
-
message: __expectString,
|
|
1928
|
-
nodegroupName: __expectString,
|
|
1929
|
-
subscriptionId: __expectString,
|
|
1930
|
-
});
|
|
1931
|
-
Object.assign(contents, doc);
|
|
1932
|
-
const exception = new ServerException({
|
|
1933
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1934
|
-
...contents,
|
|
1935
|
-
});
|
|
1936
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1937
|
-
};
|
|
1938
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1939
|
-
const contents = map({});
|
|
1940
|
-
const data = parsedOutput.body;
|
|
1941
|
-
const doc = take(data, {
|
|
1942
|
-
message: __expectString,
|
|
1943
|
-
});
|
|
1944
|
-
Object.assign(contents, doc);
|
|
1945
|
-
const exception = new ServiceUnavailableException({
|
|
1946
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1947
|
-
...contents,
|
|
1948
|
-
});
|
|
1949
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1950
|
-
};
|
|
1951
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1952
|
-
const contents = map({});
|
|
1953
|
-
const data = parsedOutput.body;
|
|
1954
|
-
const doc = take(data, {
|
|
1955
|
-
clusterName: __expectString,
|
|
1956
|
-
message: __expectString,
|
|
1957
|
-
});
|
|
1958
|
-
Object.assign(contents, doc);
|
|
1959
|
-
const exception = new ThrottlingException({
|
|
1960
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1961
|
-
...contents,
|
|
1962
|
-
});
|
|
1963
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1964
|
-
};
|
|
1965
|
-
const de_UnsupportedAvailabilityZoneExceptionRes = async (parsedOutput, context) => {
|
|
1966
|
-
const contents = map({});
|
|
1967
|
-
const data = parsedOutput.body;
|
|
1968
|
-
const doc = take(data, {
|
|
1969
|
-
clusterName: __expectString,
|
|
1970
|
-
message: __expectString,
|
|
1971
|
-
nodegroupName: __expectString,
|
|
1972
|
-
validZones: _json,
|
|
1973
|
-
});
|
|
1974
|
-
Object.assign(contents, doc);
|
|
1975
|
-
const exception = new UnsupportedAvailabilityZoneException({
|
|
1976
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1977
|
-
...contents,
|
|
1978
|
-
});
|
|
1979
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1980
|
-
};
|
|
1981
|
-
const de_AccessEntry = (output, context) => {
|
|
1982
|
-
return take(output, {
|
|
1983
|
-
accessEntryArn: __expectString,
|
|
1984
|
-
clusterName: __expectString,
|
|
1985
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1986
|
-
kubernetesGroups: _json,
|
|
1987
|
-
modifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1988
|
-
principalArn: __expectString,
|
|
1989
|
-
tags: _json,
|
|
1990
|
-
type: __expectString,
|
|
1991
|
-
username: __expectString,
|
|
1992
|
-
});
|
|
1993
|
-
};
|
|
1994
|
-
const de_Addon = (output, context) => {
|
|
1995
|
-
return take(output, {
|
|
1996
|
-
addonArn: __expectString,
|
|
1997
|
-
addonName: __expectString,
|
|
1998
|
-
addonVersion: __expectString,
|
|
1999
|
-
clusterName: __expectString,
|
|
2000
|
-
configurationValues: __expectString,
|
|
2001
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2002
|
-
health: _json,
|
|
2003
|
-
marketplaceInformation: _json,
|
|
2004
|
-
modifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2005
|
-
namespaceConfig: _json,
|
|
2006
|
-
owner: __expectString,
|
|
2007
|
-
podIdentityAssociations: _json,
|
|
2008
|
-
publisher: __expectString,
|
|
2009
|
-
serviceAccountRoleArn: __expectString,
|
|
2010
|
-
status: __expectString,
|
|
2011
|
-
tags: _json,
|
|
2012
|
-
});
|
|
2013
|
-
};
|
|
2014
|
-
const de_AssociatedAccessPoliciesList = (output, context) => {
|
|
2015
|
-
const retVal = (output || [])
|
|
2016
|
-
.filter((e) => e != null)
|
|
2017
|
-
.map((entry) => {
|
|
2018
|
-
return de_AssociatedAccessPolicy(entry, context);
|
|
2019
|
-
});
|
|
2020
|
-
return retVal;
|
|
2021
|
-
};
|
|
2022
|
-
const de_AssociatedAccessPolicy = (output, context) => {
|
|
2023
|
-
return take(output, {
|
|
2024
|
-
accessScope: _json,
|
|
2025
|
-
associatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2026
|
-
modifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2027
|
-
policyArn: __expectString,
|
|
2028
|
-
});
|
|
2029
|
-
};
|
|
2030
|
-
const de_ClientStat = (output, context) => {
|
|
2031
|
-
return take(output, {
|
|
2032
|
-
lastRequestTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2033
|
-
numberOfRequestsLast30Days: __expectInt32,
|
|
2034
|
-
userAgent: __expectString,
|
|
2035
|
-
});
|
|
2036
|
-
};
|
|
2037
|
-
const de_ClientStats = (output, context) => {
|
|
2038
|
-
const retVal = (output || [])
|
|
2039
|
-
.filter((e) => e != null)
|
|
2040
|
-
.map((entry) => {
|
|
2041
|
-
return de_ClientStat(entry, context);
|
|
2042
|
-
});
|
|
2043
|
-
return retVal;
|
|
2044
|
-
};
|
|
2045
|
-
const de_Cluster = (output, context) => {
|
|
2046
|
-
return take(output, {
|
|
2047
|
-
accessConfig: _json,
|
|
2048
|
-
arn: __expectString,
|
|
2049
|
-
certificateAuthority: _json,
|
|
2050
|
-
clientRequestToken: __expectString,
|
|
2051
|
-
computeConfig: _json,
|
|
2052
|
-
connectorConfig: (_) => de_ConnectorConfigResponse(_, context),
|
|
2053
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2054
|
-
deletionProtection: __expectBoolean,
|
|
2055
|
-
encryptionConfig: _json,
|
|
2056
|
-
endpoint: __expectString,
|
|
2057
|
-
health: _json,
|
|
2058
|
-
id: __expectString,
|
|
2059
|
-
identity: _json,
|
|
2060
|
-
kubernetesNetworkConfig: _json,
|
|
2061
|
-
logging: _json,
|
|
2062
|
-
name: __expectString,
|
|
2063
|
-
outpostConfig: _json,
|
|
2064
|
-
platformVersion: __expectString,
|
|
2065
|
-
remoteNetworkConfig: _json,
|
|
2066
|
-
resourcesVpcConfig: _json,
|
|
2067
|
-
roleArn: __expectString,
|
|
2068
|
-
status: __expectString,
|
|
2069
|
-
storageConfig: _json,
|
|
2070
|
-
tags: _json,
|
|
2071
|
-
upgradePolicy: _json,
|
|
2072
|
-
version: __expectString,
|
|
2073
|
-
zonalShiftConfig: _json,
|
|
2074
|
-
});
|
|
2075
|
-
};
|
|
2076
|
-
const de_ClusterVersionInformation = (output, context) => {
|
|
2077
|
-
return take(output, {
|
|
2078
|
-
clusterType: __expectString,
|
|
2079
|
-
clusterVersion: __expectString,
|
|
2080
|
-
defaultPlatformVersion: __expectString,
|
|
2081
|
-
defaultVersion: __expectBoolean,
|
|
2082
|
-
endOfExtendedSupportDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2083
|
-
endOfStandardSupportDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2084
|
-
kubernetesPatchVersion: __expectString,
|
|
2085
|
-
releaseDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2086
|
-
status: __expectString,
|
|
2087
|
-
versionStatus: __expectString,
|
|
2088
|
-
});
|
|
2089
|
-
};
|
|
2090
|
-
const de_ClusterVersionList = (output, context) => {
|
|
2091
|
-
const retVal = (output || [])
|
|
2092
|
-
.filter((e) => e != null)
|
|
2093
|
-
.map((entry) => {
|
|
2094
|
-
return de_ClusterVersionInformation(entry, context);
|
|
2095
|
-
});
|
|
2096
|
-
return retVal;
|
|
2097
|
-
};
|
|
2098
|
-
const de_ConnectorConfigResponse = (output, context) => {
|
|
2099
|
-
return take(output, {
|
|
2100
|
-
activationCode: __expectString,
|
|
2101
|
-
activationExpiry: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2102
|
-
activationId: __expectString,
|
|
2103
|
-
provider: __expectString,
|
|
2104
|
-
roleArn: __expectString,
|
|
2105
|
-
});
|
|
2106
|
-
};
|
|
2107
|
-
const de_DeprecationDetail = (output, context) => {
|
|
2108
|
-
return take(output, {
|
|
2109
|
-
clientStats: (_) => de_ClientStats(_, context),
|
|
2110
|
-
replacedWith: __expectString,
|
|
2111
|
-
startServingReplacementVersion: __expectString,
|
|
2112
|
-
stopServingVersion: __expectString,
|
|
2113
|
-
usage: __expectString,
|
|
2114
|
-
});
|
|
2115
|
-
};
|
|
2116
|
-
const de_DeprecationDetails = (output, context) => {
|
|
2117
|
-
const retVal = (output || [])
|
|
2118
|
-
.filter((e) => e != null)
|
|
2119
|
-
.map((entry) => {
|
|
2120
|
-
return de_DeprecationDetail(entry, context);
|
|
2121
|
-
});
|
|
2122
|
-
return retVal;
|
|
2123
|
-
};
|
|
2124
|
-
const de_EksAnywhereSubscription = (output, context) => {
|
|
2125
|
-
return take(output, {
|
|
2126
|
-
arn: __expectString,
|
|
2127
|
-
autoRenew: __expectBoolean,
|
|
2128
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2129
|
-
effectiveDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2130
|
-
expirationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2131
|
-
id: __expectString,
|
|
2132
|
-
licenseArns: _json,
|
|
2133
|
-
licenseQuantity: __expectInt32,
|
|
2134
|
-
licenseType: __expectString,
|
|
2135
|
-
licenses: _json,
|
|
2136
|
-
status: __expectString,
|
|
2137
|
-
tags: _json,
|
|
2138
|
-
term: _json,
|
|
2139
|
-
});
|
|
2140
|
-
};
|
|
2141
|
-
const de_EksAnywhereSubscriptionList = (output, context) => {
|
|
2142
|
-
const retVal = (output || [])
|
|
2143
|
-
.filter((e) => e != null)
|
|
2144
|
-
.map((entry) => {
|
|
2145
|
-
return de_EksAnywhereSubscription(entry, context);
|
|
2146
|
-
});
|
|
2147
|
-
return retVal;
|
|
2148
|
-
};
|
|
2149
|
-
const de_FargateProfile = (output, context) => {
|
|
2150
|
-
return take(output, {
|
|
2151
|
-
clusterName: __expectString,
|
|
2152
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2153
|
-
fargateProfileArn: __expectString,
|
|
2154
|
-
fargateProfileName: __expectString,
|
|
2155
|
-
health: _json,
|
|
2156
|
-
podExecutionRoleArn: __expectString,
|
|
2157
|
-
selectors: _json,
|
|
2158
|
-
status: __expectString,
|
|
2159
|
-
subnets: _json,
|
|
2160
|
-
tags: _json,
|
|
2161
|
-
});
|
|
2162
|
-
};
|
|
2163
|
-
const de_Insight = (output, context) => {
|
|
2164
|
-
return take(output, {
|
|
2165
|
-
additionalInfo: _json,
|
|
2166
|
-
category: __expectString,
|
|
2167
|
-
categorySpecificSummary: (_) => de_InsightCategorySpecificSummary(_, context),
|
|
2168
|
-
description: __expectString,
|
|
2169
|
-
id: __expectString,
|
|
2170
|
-
insightStatus: _json,
|
|
2171
|
-
kubernetesVersion: __expectString,
|
|
2172
|
-
lastRefreshTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2173
|
-
lastTransitionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2174
|
-
name: __expectString,
|
|
2175
|
-
recommendation: __expectString,
|
|
2176
|
-
resources: _json,
|
|
2177
|
-
});
|
|
2178
|
-
};
|
|
2179
|
-
const de_InsightCategorySpecificSummary = (output, context) => {
|
|
2180
|
-
return take(output, {
|
|
2181
|
-
addonCompatibilityDetails: _json,
|
|
2182
|
-
deprecationDetails: (_) => de_DeprecationDetails(_, context),
|
|
2183
|
-
});
|
|
2184
|
-
};
|
|
2185
|
-
const de_InsightSummaries = (output, context) => {
|
|
2186
|
-
const retVal = (output || [])
|
|
2187
|
-
.filter((e) => e != null)
|
|
2188
|
-
.map((entry) => {
|
|
2189
|
-
return de_InsightSummary(entry, context);
|
|
2190
|
-
});
|
|
2191
|
-
return retVal;
|
|
2192
|
-
};
|
|
2193
|
-
const de_InsightSummary = (output, context) => {
|
|
2194
|
-
return take(output, {
|
|
2195
|
-
category: __expectString,
|
|
2196
|
-
description: __expectString,
|
|
2197
|
-
id: __expectString,
|
|
2198
|
-
insightStatus: _json,
|
|
2199
|
-
kubernetesVersion: __expectString,
|
|
2200
|
-
lastRefreshTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2201
|
-
lastTransitionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2202
|
-
name: __expectString,
|
|
2203
|
-
});
|
|
2204
|
-
};
|
|
2205
|
-
const de_Nodegroup = (output, context) => {
|
|
2206
|
-
return take(output, {
|
|
2207
|
-
amiType: __expectString,
|
|
2208
|
-
capacityType: __expectString,
|
|
2209
|
-
clusterName: __expectString,
|
|
2210
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2211
|
-
diskSize: __expectInt32,
|
|
2212
|
-
health: _json,
|
|
2213
|
-
instanceTypes: _json,
|
|
2214
|
-
labels: _json,
|
|
2215
|
-
launchTemplate: _json,
|
|
2216
|
-
modifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2217
|
-
nodeRepairConfig: _json,
|
|
2218
|
-
nodeRole: __expectString,
|
|
2219
|
-
nodegroupArn: __expectString,
|
|
2220
|
-
nodegroupName: __expectString,
|
|
2221
|
-
releaseVersion: __expectString,
|
|
2222
|
-
remoteAccess: _json,
|
|
2223
|
-
resources: _json,
|
|
2224
|
-
scalingConfig: _json,
|
|
2225
|
-
status: __expectString,
|
|
2226
|
-
subnets: _json,
|
|
2227
|
-
tags: _json,
|
|
2228
|
-
taints: _json,
|
|
2229
|
-
updateConfig: _json,
|
|
2230
|
-
version: __expectString,
|
|
2231
|
-
});
|
|
2232
|
-
};
|
|
2233
|
-
const de_PodIdentityAssociation = (output, context) => {
|
|
2234
|
-
return take(output, {
|
|
2235
|
-
associationArn: __expectString,
|
|
2236
|
-
associationId: __expectString,
|
|
2237
|
-
clusterName: __expectString,
|
|
2238
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2239
|
-
disableSessionTags: __expectBoolean,
|
|
2240
|
-
externalId: __expectString,
|
|
2241
|
-
modifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2242
|
-
namespace: __expectString,
|
|
2243
|
-
ownerArn: __expectString,
|
|
2244
|
-
roleArn: __expectString,
|
|
2245
|
-
serviceAccount: __expectString,
|
|
2246
|
-
tags: _json,
|
|
2247
|
-
targetRoleArn: __expectString,
|
|
2248
|
-
});
|
|
2249
|
-
};
|
|
2250
|
-
const de_Update = (output, context) => {
|
|
2251
|
-
return take(output, {
|
|
2252
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2253
|
-
errors: _json,
|
|
2254
|
-
id: __expectString,
|
|
2255
|
-
params: _json,
|
|
2256
|
-
status: __expectString,
|
|
2257
|
-
type: __expectString,
|
|
2258
|
-
});
|
|
2259
|
-
};
|
|
2260
|
-
const deserializeMetadata = (output) => ({
|
|
2261
|
-
httpStatusCode: output.statusCode,
|
|
2262
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2263
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2264
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2265
|
-
});
|
|
2266
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2267
|
-
const _aN = "addonName";
|
|
2268
|
-
const _aPA = "associatedPolicyArn";
|
|
2269
|
-
const _aV = "addonVersion";
|
|
2270
|
-
const _cT = "clusterType";
|
|
2271
|
-
const _cV = "clusterVersions";
|
|
2272
|
-
const _dO = "defaultOnly";
|
|
2273
|
-
const _i = "include";
|
|
2274
|
-
const _iA = "includeAll";
|
|
2275
|
-
const _iS = "includeStatus";
|
|
2276
|
-
const _kV = "kubernetesVersion";
|
|
2277
|
-
const _mR = "maxResults";
|
|
2278
|
-
const _n = "namespace";
|
|
2279
|
-
const _nN = "nodegroupName";
|
|
2280
|
-
const _nT = "nextToken";
|
|
2281
|
-
const _o = "owners";
|
|
2282
|
-
const _p = "preserve";
|
|
2283
|
-
const _pu = "publishers";
|
|
2284
|
-
const _s = "status";
|
|
2285
|
-
const _sA = "serviceAccount";
|
|
2286
|
-
const _t = "types";
|
|
2287
|
-
const _tK = "tagKeys";
|
|
2288
|
-
const _vS = "versionStatus";
|