@aws-sdk/client-eks 3.54.0 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/EKSClient.js +13 -13
- package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateAddonCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateFargateProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateNodegroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteAddonCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteFargateProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteNodegroupCommand.js +3 -3
- package/dist-cjs/commands/DeregisterClusterCommand.js +3 -3
- package/dist-cjs/commands/DescribeAddonCommand.js +3 -3
- package/dist-cjs/commands/DescribeAddonVersionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterCommand.js +3 -3
- package/dist-cjs/commands/DescribeFargateProfileCommand.js +3 -3
- package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeNodegroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeUpdateCommand.js +3 -3
- package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +3 -3
- package/dist-cjs/commands/ListAddonsCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListFargateProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListNodegroupsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListUpdatesCommand.js +3 -3
- package/dist-cjs/commands/RegisterClusterCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAddonCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterVersionCommand.js +3 -3
- package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +277 -277
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForAddonActive.js +3 -3
- package/dist-cjs/waiters/waitForAddonDeleted.js +3 -3
- package/dist-cjs/waiters/waitForClusterActive.js +3 -3
- package/dist-cjs/waiters/waitForClusterDeleted.js +3 -3
- package/dist-cjs/waiters/waitForFargateProfileActive.js +3 -3
- package/dist-cjs/waiters/waitForFargateProfileDeleted.js +3 -3
- package/dist-cjs/waiters/waitForNodegroupActive.js +3 -3
- package/dist-cjs/waiters/waitForNodegroupDeleted.js +3 -3
- package/dist-es/EKS.js +34 -34
- package/dist-es/pagination/DescribeAddonVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListAddonsPaginator.js +4 -4
- package/dist-es/pagination/ListClustersPaginator.js +4 -4
- package/dist-es/pagination/ListFargateProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListNodegroupsPaginator.js +4 -4
- package/dist-es/pagination/ListUpdatesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +34 -34
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -20,14 +20,14 @@ const serializeAws_restJson1AssociateEncryptionConfigCommand = async (input, con
|
|
|
20
20
|
if (labelValue.length <= 0) {
|
|
21
21
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
22
22
|
}
|
|
23
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
23
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
24
24
|
}
|
|
25
25
|
else {
|
|
26
26
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
27
27
|
}
|
|
28
28
|
let body;
|
|
29
29
|
body = JSON.stringify({
|
|
30
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
30
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
31
31
|
...(input.encryptionConfig !== undefined &&
|
|
32
32
|
input.encryptionConfig !== null && {
|
|
33
33
|
encryptionConfig: serializeAws_restJson1EncryptionConfigList(input.encryptionConfig, context),
|
|
@@ -57,14 +57,14 @@ const serializeAws_restJson1AssociateIdentityProviderConfigCommand = async (inpu
|
|
|
57
57
|
if (labelValue.length <= 0) {
|
|
58
58
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
59
59
|
}
|
|
60
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
60
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
64
64
|
}
|
|
65
65
|
let body;
|
|
66
66
|
body = JSON.stringify({
|
|
67
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
67
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
68
68
|
...(input.oidc !== undefined &&
|
|
69
69
|
input.oidc !== null && { oidc: serializeAws_restJson1OidcIdentityProviderConfigRequest(input.oidc, context) }),
|
|
70
70
|
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
@@ -92,7 +92,7 @@ const serializeAws_restJson1CreateAddonCommand = async (input, context) => {
|
|
|
92
92
|
if (labelValue.length <= 0) {
|
|
93
93
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
94
94
|
}
|
|
95
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
95
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -101,7 +101,7 @@ const serializeAws_restJson1CreateAddonCommand = async (input, context) => {
|
|
|
101
101
|
body = JSON.stringify({
|
|
102
102
|
...(input.addonName !== undefined && input.addonName !== null && { addonName: input.addonName }),
|
|
103
103
|
...(input.addonVersion !== undefined && input.addonVersion !== null && { addonVersion: input.addonVersion }),
|
|
104
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
104
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
105
105
|
...(input.resolveConflicts !== undefined &&
|
|
106
106
|
input.resolveConflicts !== null && { resolveConflicts: input.resolveConflicts }),
|
|
107
107
|
...(input.serviceAccountRoleArn !== undefined &&
|
|
@@ -128,7 +128,7 @@ const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
|
|
|
128
128
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/clusters";
|
|
129
129
|
let body;
|
|
130
130
|
body = JSON.stringify({
|
|
131
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
131
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
132
132
|
...(input.encryptionConfig !== undefined &&
|
|
133
133
|
input.encryptionConfig !== null && {
|
|
134
134
|
encryptionConfig: serializeAws_restJson1EncryptionConfigList(input.encryptionConfig, context),
|
|
@@ -171,14 +171,14 @@ const serializeAws_restJson1CreateFargateProfileCommand = async (input, context)
|
|
|
171
171
|
if (labelValue.length <= 0) {
|
|
172
172
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
173
173
|
}
|
|
174
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
174
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
175
175
|
}
|
|
176
176
|
else {
|
|
177
177
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
178
178
|
}
|
|
179
179
|
let body;
|
|
180
180
|
body = JSON.stringify({
|
|
181
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
181
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
182
182
|
...(input.fargateProfileName !== undefined &&
|
|
183
183
|
input.fargateProfileName !== null && { fargateProfileName: input.fargateProfileName }),
|
|
184
184
|
...(input.podExecutionRoleArn !== undefined &&
|
|
@@ -214,7 +214,7 @@ const serializeAws_restJson1CreateNodegroupCommand = async (input, context) => {
|
|
|
214
214
|
if (labelValue.length <= 0) {
|
|
215
215
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
216
216
|
}
|
|
217
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
217
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
218
218
|
}
|
|
219
219
|
else {
|
|
220
220
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -223,7 +223,7 @@ const serializeAws_restJson1CreateNodegroupCommand = async (input, context) => {
|
|
|
223
223
|
body = JSON.stringify({
|
|
224
224
|
...(input.amiType !== undefined && input.amiType !== null && { amiType: input.amiType }),
|
|
225
225
|
...(input.capacityType !== undefined && input.capacityType !== null && { capacityType: input.capacityType }),
|
|
226
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
226
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
227
227
|
...(input.diskSize !== undefined && input.diskSize !== null && { diskSize: input.diskSize }),
|
|
228
228
|
...(input.instanceTypes !== undefined &&
|
|
229
229
|
input.instanceTypes !== null && {
|
|
@@ -279,7 +279,7 @@ const serializeAws_restJson1DeleteAddonCommand = async (input, context) => {
|
|
|
279
279
|
if (labelValue.length <= 0) {
|
|
280
280
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
281
281
|
}
|
|
282
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
282
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
283
283
|
}
|
|
284
284
|
else {
|
|
285
285
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -289,7 +289,7 @@ const serializeAws_restJson1DeleteAddonCommand = async (input, context) => {
|
|
|
289
289
|
if (labelValue.length <= 0) {
|
|
290
290
|
throw new Error("Empty value provided for input HTTP label: addonName.");
|
|
291
291
|
}
|
|
292
|
-
resolvedPath = resolvedPath.replace("{addonName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
292
|
+
resolvedPath = resolvedPath.replace("{addonName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
293
293
|
}
|
|
294
294
|
else {
|
|
295
295
|
throw new Error("No value provided for input HTTP label: addonName.");
|
|
@@ -319,7 +319,7 @@ const serializeAws_restJson1DeleteClusterCommand = async (input, context) => {
|
|
|
319
319
|
if (labelValue.length <= 0) {
|
|
320
320
|
throw new Error("Empty value provided for input HTTP label: name.");
|
|
321
321
|
}
|
|
322
|
-
resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
322
|
+
resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
325
325
|
throw new Error("No value provided for input HTTP label: name.");
|
|
@@ -346,7 +346,7 @@ const serializeAws_restJson1DeleteFargateProfileCommand = async (input, context)
|
|
|
346
346
|
if (labelValue.length <= 0) {
|
|
347
347
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
348
348
|
}
|
|
349
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
349
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
350
350
|
}
|
|
351
351
|
else {
|
|
352
352
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -356,7 +356,7 @@ const serializeAws_restJson1DeleteFargateProfileCommand = async (input, context)
|
|
|
356
356
|
if (labelValue.length <= 0) {
|
|
357
357
|
throw new Error("Empty value provided for input HTTP label: fargateProfileName.");
|
|
358
358
|
}
|
|
359
|
-
resolvedPath = resolvedPath.replace("{fargateProfileName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
359
|
+
resolvedPath = resolvedPath.replace("{fargateProfileName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
360
360
|
}
|
|
361
361
|
else {
|
|
362
362
|
throw new Error("No value provided for input HTTP label: fargateProfileName.");
|
|
@@ -383,7 +383,7 @@ const serializeAws_restJson1DeleteNodegroupCommand = async (input, context) => {
|
|
|
383
383
|
if (labelValue.length <= 0) {
|
|
384
384
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
385
385
|
}
|
|
386
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
386
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
387
387
|
}
|
|
388
388
|
else {
|
|
389
389
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -393,7 +393,7 @@ const serializeAws_restJson1DeleteNodegroupCommand = async (input, context) => {
|
|
|
393
393
|
if (labelValue.length <= 0) {
|
|
394
394
|
throw new Error("Empty value provided for input HTTP label: nodegroupName.");
|
|
395
395
|
}
|
|
396
|
-
resolvedPath = resolvedPath.replace("{nodegroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
396
|
+
resolvedPath = resolvedPath.replace("{nodegroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
397
397
|
}
|
|
398
398
|
else {
|
|
399
399
|
throw new Error("No value provided for input HTTP label: nodegroupName.");
|
|
@@ -419,7 +419,7 @@ const serializeAws_restJson1DeregisterClusterCommand = async (input, context) =>
|
|
|
419
419
|
if (labelValue.length <= 0) {
|
|
420
420
|
throw new Error("Empty value provided for input HTTP label: name.");
|
|
421
421
|
}
|
|
422
|
-
resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
422
|
+
resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
423
423
|
}
|
|
424
424
|
else {
|
|
425
425
|
throw new Error("No value provided for input HTTP label: name.");
|
|
@@ -446,7 +446,7 @@ const serializeAws_restJson1DescribeAddonCommand = async (input, context) => {
|
|
|
446
446
|
if (labelValue.length <= 0) {
|
|
447
447
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
448
448
|
}
|
|
449
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
449
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
450
450
|
}
|
|
451
451
|
else {
|
|
452
452
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -456,7 +456,7 @@ const serializeAws_restJson1DescribeAddonCommand = async (input, context) => {
|
|
|
456
456
|
if (labelValue.length <= 0) {
|
|
457
457
|
throw new Error("Empty value provided for input HTTP label: addonName.");
|
|
458
458
|
}
|
|
459
|
-
resolvedPath = resolvedPath.replace("{addonName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
459
|
+
resolvedPath = resolvedPath.replace("{addonName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
460
460
|
}
|
|
461
461
|
else {
|
|
462
462
|
throw new Error("No value provided for input HTTP label: addonName.");
|
|
@@ -505,7 +505,7 @@ const serializeAws_restJson1DescribeClusterCommand = async (input, context) => {
|
|
|
505
505
|
if (labelValue.length <= 0) {
|
|
506
506
|
throw new Error("Empty value provided for input HTTP label: name.");
|
|
507
507
|
}
|
|
508
|
-
resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
508
|
+
resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
509
509
|
}
|
|
510
510
|
else {
|
|
511
511
|
throw new Error("No value provided for input HTTP label: name.");
|
|
@@ -532,7 +532,7 @@ const serializeAws_restJson1DescribeFargateProfileCommand = async (input, contex
|
|
|
532
532
|
if (labelValue.length <= 0) {
|
|
533
533
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
534
534
|
}
|
|
535
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
535
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
536
536
|
}
|
|
537
537
|
else {
|
|
538
538
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -542,7 +542,7 @@ const serializeAws_restJson1DescribeFargateProfileCommand = async (input, contex
|
|
|
542
542
|
if (labelValue.length <= 0) {
|
|
543
543
|
throw new Error("Empty value provided for input HTTP label: fargateProfileName.");
|
|
544
544
|
}
|
|
545
|
-
resolvedPath = resolvedPath.replace("{fargateProfileName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
545
|
+
resolvedPath = resolvedPath.replace("{fargateProfileName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
546
546
|
}
|
|
547
547
|
else {
|
|
548
548
|
throw new Error("No value provided for input HTTP label: fargateProfileName.");
|
|
@@ -571,7 +571,7 @@ const serializeAws_restJson1DescribeIdentityProviderConfigCommand = async (input
|
|
|
571
571
|
if (labelValue.length <= 0) {
|
|
572
572
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
573
573
|
}
|
|
574
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
574
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
575
575
|
}
|
|
576
576
|
else {
|
|
577
577
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -604,7 +604,7 @@ const serializeAws_restJson1DescribeNodegroupCommand = async (input, context) =>
|
|
|
604
604
|
if (labelValue.length <= 0) {
|
|
605
605
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
606
606
|
}
|
|
607
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
607
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
608
608
|
}
|
|
609
609
|
else {
|
|
610
610
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -614,7 +614,7 @@ const serializeAws_restJson1DescribeNodegroupCommand = async (input, context) =>
|
|
|
614
614
|
if (labelValue.length <= 0) {
|
|
615
615
|
throw new Error("Empty value provided for input HTTP label: nodegroupName.");
|
|
616
616
|
}
|
|
617
|
-
resolvedPath = resolvedPath.replace("{nodegroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
617
|
+
resolvedPath = resolvedPath.replace("{nodegroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
620
620
|
throw new Error("No value provided for input HTTP label: nodegroupName.");
|
|
@@ -640,7 +640,7 @@ const serializeAws_restJson1DescribeUpdateCommand = async (input, context) => {
|
|
|
640
640
|
if (labelValue.length <= 0) {
|
|
641
641
|
throw new Error("Empty value provided for input HTTP label: name.");
|
|
642
642
|
}
|
|
643
|
-
resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
643
|
+
resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
644
644
|
}
|
|
645
645
|
else {
|
|
646
646
|
throw new Error("No value provided for input HTTP label: name.");
|
|
@@ -650,7 +650,7 @@ const serializeAws_restJson1DescribeUpdateCommand = async (input, context) => {
|
|
|
650
650
|
if (labelValue.length <= 0) {
|
|
651
651
|
throw new Error("Empty value provided for input HTTP label: updateId.");
|
|
652
652
|
}
|
|
653
|
-
resolvedPath = resolvedPath.replace("{updateId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
653
|
+
resolvedPath = resolvedPath.replace("{updateId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
654
654
|
}
|
|
655
655
|
else {
|
|
656
656
|
throw new Error("No value provided for input HTTP label: updateId.");
|
|
@@ -685,14 +685,14 @@ const serializeAws_restJson1DisassociateIdentityProviderConfigCommand = async (i
|
|
|
685
685
|
if (labelValue.length <= 0) {
|
|
686
686
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
687
687
|
}
|
|
688
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
688
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
689
689
|
}
|
|
690
690
|
else {
|
|
691
691
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
692
692
|
}
|
|
693
693
|
let body;
|
|
694
694
|
body = JSON.stringify({
|
|
695
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
695
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
696
696
|
...(input.identityProviderConfig !== undefined &&
|
|
697
697
|
input.identityProviderConfig !== null && {
|
|
698
698
|
identityProviderConfig: serializeAws_restJson1IdentityProviderConfig(input.identityProviderConfig, context),
|
|
@@ -718,7 +718,7 @@ const serializeAws_restJson1ListAddonsCommand = async (input, context) => {
|
|
|
718
718
|
if (labelValue.length <= 0) {
|
|
719
719
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
720
720
|
}
|
|
721
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
721
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
722
722
|
}
|
|
723
723
|
else {
|
|
724
724
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -771,7 +771,7 @@ const serializeAws_restJson1ListFargateProfilesCommand = async (input, context)
|
|
|
771
771
|
if (labelValue.length <= 0) {
|
|
772
772
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
773
773
|
}
|
|
774
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
774
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
775
775
|
}
|
|
776
776
|
else {
|
|
777
777
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -803,7 +803,7 @@ const serializeAws_restJson1ListIdentityProviderConfigsCommand = async (input, c
|
|
|
803
803
|
if (labelValue.length <= 0) {
|
|
804
804
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
805
805
|
}
|
|
806
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
806
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
807
807
|
}
|
|
808
808
|
else {
|
|
809
809
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -834,7 +834,7 @@ const serializeAws_restJson1ListNodegroupsCommand = async (input, context) => {
|
|
|
834
834
|
if (labelValue.length <= 0) {
|
|
835
835
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
836
836
|
}
|
|
837
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
837
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
838
838
|
}
|
|
839
839
|
else {
|
|
840
840
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -865,7 +865,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
865
865
|
if (labelValue.length <= 0) {
|
|
866
866
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
867
867
|
}
|
|
868
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
868
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
869
869
|
}
|
|
870
870
|
else {
|
|
871
871
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -891,7 +891,7 @@ const serializeAws_restJson1ListUpdatesCommand = async (input, context) => {
|
|
|
891
891
|
if (labelValue.length <= 0) {
|
|
892
892
|
throw new Error("Empty value provided for input HTTP label: name.");
|
|
893
893
|
}
|
|
894
|
-
resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
894
|
+
resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
895
895
|
}
|
|
896
896
|
else {
|
|
897
897
|
throw new Error("No value provided for input HTTP label: name.");
|
|
@@ -924,7 +924,7 @@ const serializeAws_restJson1RegisterClusterCommand = async (input, context) => {
|
|
|
924
924
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cluster-registrations";
|
|
925
925
|
let body;
|
|
926
926
|
body = JSON.stringify({
|
|
927
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
927
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
928
928
|
...(input.connectorConfig !== undefined &&
|
|
929
929
|
input.connectorConfig !== null && {
|
|
930
930
|
connectorConfig: serializeAws_restJson1ConnectorConfigRequest(input.connectorConfig, context),
|
|
@@ -954,7 +954,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
954
954
|
if (labelValue.length <= 0) {
|
|
955
955
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
956
956
|
}
|
|
957
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
957
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
958
958
|
}
|
|
959
959
|
else {
|
|
960
960
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -983,7 +983,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
983
983
|
if (labelValue.length <= 0) {
|
|
984
984
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
985
985
|
}
|
|
986
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
986
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
987
987
|
}
|
|
988
988
|
else {
|
|
989
989
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1017,7 +1017,7 @@ const serializeAws_restJson1UpdateAddonCommand = async (input, context) => {
|
|
|
1017
1017
|
if (labelValue.length <= 0) {
|
|
1018
1018
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
1019
1019
|
}
|
|
1020
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1020
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1021
1021
|
}
|
|
1022
1022
|
else {
|
|
1023
1023
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -1027,7 +1027,7 @@ const serializeAws_restJson1UpdateAddonCommand = async (input, context) => {
|
|
|
1027
1027
|
if (labelValue.length <= 0) {
|
|
1028
1028
|
throw new Error("Empty value provided for input HTTP label: addonName.");
|
|
1029
1029
|
}
|
|
1030
|
-
resolvedPath = resolvedPath.replace("{addonName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1030
|
+
resolvedPath = resolvedPath.replace("{addonName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1031
1031
|
}
|
|
1032
1032
|
else {
|
|
1033
1033
|
throw new Error("No value provided for input HTTP label: addonName.");
|
|
@@ -1035,7 +1035,7 @@ const serializeAws_restJson1UpdateAddonCommand = async (input, context) => {
|
|
|
1035
1035
|
let body;
|
|
1036
1036
|
body = JSON.stringify({
|
|
1037
1037
|
...(input.addonVersion !== undefined && input.addonVersion !== null && { addonVersion: input.addonVersion }),
|
|
1038
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1038
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1039
1039
|
...(input.resolveConflicts !== undefined &&
|
|
1040
1040
|
input.resolveConflicts !== null && { resolveConflicts: input.resolveConflicts }),
|
|
1041
1041
|
...(input.serviceAccountRoleArn !== undefined &&
|
|
@@ -1064,14 +1064,14 @@ const serializeAws_restJson1UpdateClusterConfigCommand = async (input, context)
|
|
|
1064
1064
|
if (labelValue.length <= 0) {
|
|
1065
1065
|
throw new Error("Empty value provided for input HTTP label: name.");
|
|
1066
1066
|
}
|
|
1067
|
-
resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1067
|
+
resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1068
1068
|
}
|
|
1069
1069
|
else {
|
|
1070
1070
|
throw new Error("No value provided for input HTTP label: name.");
|
|
1071
1071
|
}
|
|
1072
1072
|
let body;
|
|
1073
1073
|
body = JSON.stringify({
|
|
1074
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1074
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1075
1075
|
...(input.logging !== undefined &&
|
|
1076
1076
|
input.logging !== null && { logging: serializeAws_restJson1Logging(input.logging, context) }),
|
|
1077
1077
|
...(input.resourcesVpcConfig !== undefined &&
|
|
@@ -1102,14 +1102,14 @@ const serializeAws_restJson1UpdateClusterVersionCommand = async (input, context)
|
|
|
1102
1102
|
if (labelValue.length <= 0) {
|
|
1103
1103
|
throw new Error("Empty value provided for input HTTP label: name.");
|
|
1104
1104
|
}
|
|
1105
|
-
resolvedPath = resolvedPath.replace("{name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1105
|
+
resolvedPath = resolvedPath.replace("{name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1106
1106
|
}
|
|
1107
1107
|
else {
|
|
1108
1108
|
throw new Error("No value provided for input HTTP label: name.");
|
|
1109
1109
|
}
|
|
1110
1110
|
let body;
|
|
1111
1111
|
body = JSON.stringify({
|
|
1112
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1112
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1113
1113
|
...(input.version !== undefined && input.version !== null && { version: input.version }),
|
|
1114
1114
|
});
|
|
1115
1115
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1136,7 +1136,7 @@ const serializeAws_restJson1UpdateNodegroupConfigCommand = async (input, context
|
|
|
1136
1136
|
if (labelValue.length <= 0) {
|
|
1137
1137
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
1138
1138
|
}
|
|
1139
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1139
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1140
1140
|
}
|
|
1141
1141
|
else {
|
|
1142
1142
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -1146,14 +1146,14 @@ const serializeAws_restJson1UpdateNodegroupConfigCommand = async (input, context
|
|
|
1146
1146
|
if (labelValue.length <= 0) {
|
|
1147
1147
|
throw new Error("Empty value provided for input HTTP label: nodegroupName.");
|
|
1148
1148
|
}
|
|
1149
|
-
resolvedPath = resolvedPath.replace("{nodegroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1149
|
+
resolvedPath = resolvedPath.replace("{nodegroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1150
1150
|
}
|
|
1151
1151
|
else {
|
|
1152
1152
|
throw new Error("No value provided for input HTTP label: nodegroupName.");
|
|
1153
1153
|
}
|
|
1154
1154
|
let body;
|
|
1155
1155
|
body = JSON.stringify({
|
|
1156
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1156
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1157
1157
|
...(input.labels !== undefined &&
|
|
1158
1158
|
input.labels !== null && { labels: serializeAws_restJson1UpdateLabelsPayload(input.labels, context) }),
|
|
1159
1159
|
...(input.scalingConfig !== undefined &&
|
|
@@ -1191,7 +1191,7 @@ const serializeAws_restJson1UpdateNodegroupVersionCommand = async (input, contex
|
|
|
1191
1191
|
if (labelValue.length <= 0) {
|
|
1192
1192
|
throw new Error("Empty value provided for input HTTP label: clusterName.");
|
|
1193
1193
|
}
|
|
1194
|
-
resolvedPath = resolvedPath.replace("{clusterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1194
|
+
resolvedPath = resolvedPath.replace("{clusterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1195
1195
|
}
|
|
1196
1196
|
else {
|
|
1197
1197
|
throw new Error("No value provided for input HTTP label: clusterName.");
|
|
@@ -1201,14 +1201,14 @@ const serializeAws_restJson1UpdateNodegroupVersionCommand = async (input, contex
|
|
|
1201
1201
|
if (labelValue.length <= 0) {
|
|
1202
1202
|
throw new Error("Empty value provided for input HTTP label: nodegroupName.");
|
|
1203
1203
|
}
|
|
1204
|
-
resolvedPath = resolvedPath.replace("{nodegroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1204
|
+
resolvedPath = resolvedPath.replace("{nodegroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1205
1205
|
}
|
|
1206
1206
|
else {
|
|
1207
1207
|
throw new Error("No value provided for input HTTP label: nodegroupName.");
|
|
1208
1208
|
}
|
|
1209
1209
|
let body;
|
|
1210
1210
|
body = JSON.stringify({
|
|
1211
|
-
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1211
|
+
clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1212
1212
|
...(input.force !== undefined && input.force !== null && { force: input.force }),
|
|
1213
1213
|
...(input.launchTemplate !== undefined &&
|
|
1214
1214
|
input.launchTemplate !== null && {
|
|
@@ -1237,7 +1237,7 @@ const deserializeAws_restJson1AssociateEncryptionConfigCommand = async (output,
|
|
|
1237
1237
|
$metadata: deserializeMetadata(output),
|
|
1238
1238
|
update: undefined,
|
|
1239
1239
|
};
|
|
1240
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1240
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1241
1241
|
if (data.update !== undefined && data.update !== null) {
|
|
1242
1242
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
1243
1243
|
}
|
|
@@ -1278,7 +1278,7 @@ const deserializeAws_restJson1AssociateEncryptionConfigCommandError = async (out
|
|
|
1278
1278
|
$fault: "client",
|
|
1279
1279
|
$metadata: deserializeMetadata(output),
|
|
1280
1280
|
});
|
|
1281
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1281
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1282
1282
|
}
|
|
1283
1283
|
};
|
|
1284
1284
|
const deserializeAws_restJson1AssociateIdentityProviderConfigCommand = async (output, context) => {
|
|
@@ -1290,7 +1290,7 @@ const deserializeAws_restJson1AssociateIdentityProviderConfigCommand = async (ou
|
|
|
1290
1290
|
tags: undefined,
|
|
1291
1291
|
update: undefined,
|
|
1292
1292
|
};
|
|
1293
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1293
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1294
1294
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1295
1295
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
1296
1296
|
}
|
|
@@ -1334,7 +1334,7 @@ const deserializeAws_restJson1AssociateIdentityProviderConfigCommandError = asyn
|
|
|
1334
1334
|
$fault: "client",
|
|
1335
1335
|
$metadata: deserializeMetadata(output),
|
|
1336
1336
|
});
|
|
1337
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1337
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1338
1338
|
}
|
|
1339
1339
|
};
|
|
1340
1340
|
const deserializeAws_restJson1CreateAddonCommand = async (output, context) => {
|
|
@@ -1345,7 +1345,7 @@ const deserializeAws_restJson1CreateAddonCommand = async (output, context) => {
|
|
|
1345
1345
|
$metadata: deserializeMetadata(output),
|
|
1346
1346
|
addon: undefined,
|
|
1347
1347
|
};
|
|
1348
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1348
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1349
1349
|
if (data.addon !== undefined && data.addon !== null) {
|
|
1350
1350
|
contents.addon = deserializeAws_restJson1Addon(data.addon, context);
|
|
1351
1351
|
}
|
|
@@ -1386,7 +1386,7 @@ const deserializeAws_restJson1CreateAddonCommandError = async (output, context)
|
|
|
1386
1386
|
$fault: "client",
|
|
1387
1387
|
$metadata: deserializeMetadata(output),
|
|
1388
1388
|
});
|
|
1389
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1389
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1390
1390
|
}
|
|
1391
1391
|
};
|
|
1392
1392
|
const deserializeAws_restJson1CreateClusterCommand = async (output, context) => {
|
|
@@ -1397,7 +1397,7 @@ const deserializeAws_restJson1CreateClusterCommand = async (output, context) =>
|
|
|
1397
1397
|
$metadata: deserializeMetadata(output),
|
|
1398
1398
|
cluster: undefined,
|
|
1399
1399
|
};
|
|
1400
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1400
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1401
1401
|
if (data.cluster !== undefined && data.cluster !== null) {
|
|
1402
1402
|
contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
|
|
1403
1403
|
}
|
|
@@ -1441,7 +1441,7 @@ const deserializeAws_restJson1CreateClusterCommandError = async (output, context
|
|
|
1441
1441
|
$fault: "client",
|
|
1442
1442
|
$metadata: deserializeMetadata(output),
|
|
1443
1443
|
});
|
|
1444
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1444
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1445
1445
|
}
|
|
1446
1446
|
};
|
|
1447
1447
|
const deserializeAws_restJson1CreateFargateProfileCommand = async (output, context) => {
|
|
@@ -1452,7 +1452,7 @@ const deserializeAws_restJson1CreateFargateProfileCommand = async (output, conte
|
|
|
1452
1452
|
$metadata: deserializeMetadata(output),
|
|
1453
1453
|
fargateProfile: undefined,
|
|
1454
1454
|
};
|
|
1455
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1455
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1456
1456
|
if (data.fargateProfile !== undefined && data.fargateProfile !== null) {
|
|
1457
1457
|
contents.fargateProfile = deserializeAws_restJson1FargateProfile(data.fargateProfile, context);
|
|
1458
1458
|
}
|
|
@@ -1493,7 +1493,7 @@ const deserializeAws_restJson1CreateFargateProfileCommandError = async (output,
|
|
|
1493
1493
|
$fault: "client",
|
|
1494
1494
|
$metadata: deserializeMetadata(output),
|
|
1495
1495
|
});
|
|
1496
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1496
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1497
1497
|
}
|
|
1498
1498
|
};
|
|
1499
1499
|
const deserializeAws_restJson1CreateNodegroupCommand = async (output, context) => {
|
|
@@ -1504,7 +1504,7 @@ const deserializeAws_restJson1CreateNodegroupCommand = async (output, context) =
|
|
|
1504
1504
|
$metadata: deserializeMetadata(output),
|
|
1505
1505
|
nodegroup: undefined,
|
|
1506
1506
|
};
|
|
1507
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1507
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1508
1508
|
if (data.nodegroup !== undefined && data.nodegroup !== null) {
|
|
1509
1509
|
contents.nodegroup = deserializeAws_restJson1Nodegroup(data.nodegroup, context);
|
|
1510
1510
|
}
|
|
@@ -1548,7 +1548,7 @@ const deserializeAws_restJson1CreateNodegroupCommandError = async (output, conte
|
|
|
1548
1548
|
$fault: "client",
|
|
1549
1549
|
$metadata: deserializeMetadata(output),
|
|
1550
1550
|
});
|
|
1551
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1551
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
1554
|
const deserializeAws_restJson1DeleteAddonCommand = async (output, context) => {
|
|
@@ -1559,7 +1559,7 @@ const deserializeAws_restJson1DeleteAddonCommand = async (output, context) => {
|
|
|
1559
1559
|
$metadata: deserializeMetadata(output),
|
|
1560
1560
|
addon: undefined,
|
|
1561
1561
|
};
|
|
1562
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1562
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1563
1563
|
if (data.addon !== undefined && data.addon !== null) {
|
|
1564
1564
|
contents.addon = deserializeAws_restJson1Addon(data.addon, context);
|
|
1565
1565
|
}
|
|
@@ -1597,7 +1597,7 @@ const deserializeAws_restJson1DeleteAddonCommandError = async (output, context)
|
|
|
1597
1597
|
$fault: "client",
|
|
1598
1598
|
$metadata: deserializeMetadata(output),
|
|
1599
1599
|
});
|
|
1600
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1600
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1601
1601
|
}
|
|
1602
1602
|
};
|
|
1603
1603
|
const deserializeAws_restJson1DeleteClusterCommand = async (output, context) => {
|
|
@@ -1608,7 +1608,7 @@ const deserializeAws_restJson1DeleteClusterCommand = async (output, context) =>
|
|
|
1608
1608
|
$metadata: deserializeMetadata(output),
|
|
1609
1609
|
cluster: undefined,
|
|
1610
1610
|
};
|
|
1611
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1611
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1612
1612
|
if (data.cluster !== undefined && data.cluster !== null) {
|
|
1613
1613
|
contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
|
|
1614
1614
|
}
|
|
@@ -1646,7 +1646,7 @@ const deserializeAws_restJson1DeleteClusterCommandError = async (output, context
|
|
|
1646
1646
|
$fault: "client",
|
|
1647
1647
|
$metadata: deserializeMetadata(output),
|
|
1648
1648
|
});
|
|
1649
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1649
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1650
1650
|
}
|
|
1651
1651
|
};
|
|
1652
1652
|
const deserializeAws_restJson1DeleteFargateProfileCommand = async (output, context) => {
|
|
@@ -1657,7 +1657,7 @@ const deserializeAws_restJson1DeleteFargateProfileCommand = async (output, conte
|
|
|
1657
1657
|
$metadata: deserializeMetadata(output),
|
|
1658
1658
|
fargateProfile: undefined,
|
|
1659
1659
|
};
|
|
1660
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1660
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1661
1661
|
if (data.fargateProfile !== undefined && data.fargateProfile !== null) {
|
|
1662
1662
|
contents.fargateProfile = deserializeAws_restJson1FargateProfile(data.fargateProfile, context);
|
|
1663
1663
|
}
|
|
@@ -1692,7 +1692,7 @@ const deserializeAws_restJson1DeleteFargateProfileCommandError = async (output,
|
|
|
1692
1692
|
$fault: "client",
|
|
1693
1693
|
$metadata: deserializeMetadata(output),
|
|
1694
1694
|
});
|
|
1695
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1695
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1696
1696
|
}
|
|
1697
1697
|
};
|
|
1698
1698
|
const deserializeAws_restJson1DeleteNodegroupCommand = async (output, context) => {
|
|
@@ -1703,7 +1703,7 @@ const deserializeAws_restJson1DeleteNodegroupCommand = async (output, context) =
|
|
|
1703
1703
|
$metadata: deserializeMetadata(output),
|
|
1704
1704
|
nodegroup: undefined,
|
|
1705
1705
|
};
|
|
1706
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1706
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1707
1707
|
if (data.nodegroup !== undefined && data.nodegroup !== null) {
|
|
1708
1708
|
contents.nodegroup = deserializeAws_restJson1Nodegroup(data.nodegroup, context);
|
|
1709
1709
|
}
|
|
@@ -1744,7 +1744,7 @@ const deserializeAws_restJson1DeleteNodegroupCommandError = async (output, conte
|
|
|
1744
1744
|
$fault: "client",
|
|
1745
1745
|
$metadata: deserializeMetadata(output),
|
|
1746
1746
|
});
|
|
1747
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1747
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1748
1748
|
}
|
|
1749
1749
|
};
|
|
1750
1750
|
const deserializeAws_restJson1DeregisterClusterCommand = async (output, context) => {
|
|
@@ -1755,7 +1755,7 @@ const deserializeAws_restJson1DeregisterClusterCommand = async (output, context)
|
|
|
1755
1755
|
$metadata: deserializeMetadata(output),
|
|
1756
1756
|
cluster: undefined,
|
|
1757
1757
|
};
|
|
1758
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1758
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1759
1759
|
if (data.cluster !== undefined && data.cluster !== null) {
|
|
1760
1760
|
contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
|
|
1761
1761
|
}
|
|
@@ -1796,7 +1796,7 @@ const deserializeAws_restJson1DeregisterClusterCommandError = async (output, con
|
|
|
1796
1796
|
$fault: "client",
|
|
1797
1797
|
$metadata: deserializeMetadata(output),
|
|
1798
1798
|
});
|
|
1799
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1799
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1800
1800
|
}
|
|
1801
1801
|
};
|
|
1802
1802
|
const deserializeAws_restJson1DescribeAddonCommand = async (output, context) => {
|
|
@@ -1807,7 +1807,7 @@ const deserializeAws_restJson1DescribeAddonCommand = async (output, context) =>
|
|
|
1807
1807
|
$metadata: deserializeMetadata(output),
|
|
1808
1808
|
addon: undefined,
|
|
1809
1809
|
};
|
|
1810
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1810
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1811
1811
|
if (data.addon !== undefined && data.addon !== null) {
|
|
1812
1812
|
contents.addon = deserializeAws_restJson1Addon(data.addon, context);
|
|
1813
1813
|
}
|
|
@@ -1845,7 +1845,7 @@ const deserializeAws_restJson1DescribeAddonCommandError = async (output, context
|
|
|
1845
1845
|
$fault: "client",
|
|
1846
1846
|
$metadata: deserializeMetadata(output),
|
|
1847
1847
|
});
|
|
1848
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1848
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1849
1849
|
}
|
|
1850
1850
|
};
|
|
1851
1851
|
const deserializeAws_restJson1DescribeAddonVersionsCommand = async (output, context) => {
|
|
@@ -1857,12 +1857,12 @@ const deserializeAws_restJson1DescribeAddonVersionsCommand = async (output, cont
|
|
|
1857
1857
|
addons: undefined,
|
|
1858
1858
|
nextToken: undefined,
|
|
1859
1859
|
};
|
|
1860
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1860
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1861
1861
|
if (data.addons !== undefined && data.addons !== null) {
|
|
1862
1862
|
contents.addons = deserializeAws_restJson1Addons(data.addons, context);
|
|
1863
1863
|
}
|
|
1864
1864
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1865
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1865
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1866
1866
|
}
|
|
1867
1867
|
return Promise.resolve(contents);
|
|
1868
1868
|
};
|
|
@@ -1892,7 +1892,7 @@ const deserializeAws_restJson1DescribeAddonVersionsCommandError = async (output,
|
|
|
1892
1892
|
$fault: "client",
|
|
1893
1893
|
$metadata: deserializeMetadata(output),
|
|
1894
1894
|
});
|
|
1895
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1895
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1896
1896
|
}
|
|
1897
1897
|
};
|
|
1898
1898
|
const deserializeAws_restJson1DescribeClusterCommand = async (output, context) => {
|
|
@@ -1903,7 +1903,7 @@ const deserializeAws_restJson1DescribeClusterCommand = async (output, context) =
|
|
|
1903
1903
|
$metadata: deserializeMetadata(output),
|
|
1904
1904
|
cluster: undefined,
|
|
1905
1905
|
};
|
|
1906
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1906
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1907
1907
|
if (data.cluster !== undefined && data.cluster !== null) {
|
|
1908
1908
|
contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
|
|
1909
1909
|
}
|
|
@@ -1938,7 +1938,7 @@ const deserializeAws_restJson1DescribeClusterCommandError = async (output, conte
|
|
|
1938
1938
|
$fault: "client",
|
|
1939
1939
|
$metadata: deserializeMetadata(output),
|
|
1940
1940
|
});
|
|
1941
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1941
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1942
1942
|
}
|
|
1943
1943
|
};
|
|
1944
1944
|
const deserializeAws_restJson1DescribeFargateProfileCommand = async (output, context) => {
|
|
@@ -1949,7 +1949,7 @@ const deserializeAws_restJson1DescribeFargateProfileCommand = async (output, con
|
|
|
1949
1949
|
$metadata: deserializeMetadata(output),
|
|
1950
1950
|
fargateProfile: undefined,
|
|
1951
1951
|
};
|
|
1952
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1952
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1953
1953
|
if (data.fargateProfile !== undefined && data.fargateProfile !== null) {
|
|
1954
1954
|
contents.fargateProfile = deserializeAws_restJson1FargateProfile(data.fargateProfile, context);
|
|
1955
1955
|
}
|
|
@@ -1984,7 +1984,7 @@ const deserializeAws_restJson1DescribeFargateProfileCommandError = async (output
|
|
|
1984
1984
|
$fault: "client",
|
|
1985
1985
|
$metadata: deserializeMetadata(output),
|
|
1986
1986
|
});
|
|
1987
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1987
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1988
1988
|
}
|
|
1989
1989
|
};
|
|
1990
1990
|
const deserializeAws_restJson1DescribeIdentityProviderConfigCommand = async (output, context) => {
|
|
@@ -1995,7 +1995,7 @@ const deserializeAws_restJson1DescribeIdentityProviderConfigCommand = async (out
|
|
|
1995
1995
|
$metadata: deserializeMetadata(output),
|
|
1996
1996
|
identityProviderConfig: undefined,
|
|
1997
1997
|
};
|
|
1998
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1998
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1999
1999
|
if (data.identityProviderConfig !== undefined && data.identityProviderConfig !== null) {
|
|
2000
2000
|
contents.identityProviderConfig = deserializeAws_restJson1IdentityProviderConfigResponse(data.identityProviderConfig, context);
|
|
2001
2001
|
}
|
|
@@ -2033,7 +2033,7 @@ const deserializeAws_restJson1DescribeIdentityProviderConfigCommandError = async
|
|
|
2033
2033
|
$fault: "client",
|
|
2034
2034
|
$metadata: deserializeMetadata(output),
|
|
2035
2035
|
});
|
|
2036
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2036
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2037
2037
|
}
|
|
2038
2038
|
};
|
|
2039
2039
|
const deserializeAws_restJson1DescribeNodegroupCommand = async (output, context) => {
|
|
@@ -2044,7 +2044,7 @@ const deserializeAws_restJson1DescribeNodegroupCommand = async (output, context)
|
|
|
2044
2044
|
$metadata: deserializeMetadata(output),
|
|
2045
2045
|
nodegroup: undefined,
|
|
2046
2046
|
};
|
|
2047
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2047
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2048
2048
|
if (data.nodegroup !== undefined && data.nodegroup !== null) {
|
|
2049
2049
|
contents.nodegroup = deserializeAws_restJson1Nodegroup(data.nodegroup, context);
|
|
2050
2050
|
}
|
|
@@ -2082,7 +2082,7 @@ const deserializeAws_restJson1DescribeNodegroupCommandError = async (output, con
|
|
|
2082
2082
|
$fault: "client",
|
|
2083
2083
|
$metadata: deserializeMetadata(output),
|
|
2084
2084
|
});
|
|
2085
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2085
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2086
2086
|
}
|
|
2087
2087
|
};
|
|
2088
2088
|
const deserializeAws_restJson1DescribeUpdateCommand = async (output, context) => {
|
|
@@ -2093,7 +2093,7 @@ const deserializeAws_restJson1DescribeUpdateCommand = async (output, context) =>
|
|
|
2093
2093
|
$metadata: deserializeMetadata(output),
|
|
2094
2094
|
update: undefined,
|
|
2095
2095
|
};
|
|
2096
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2096
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2097
2097
|
if (data.update !== undefined && data.update !== null) {
|
|
2098
2098
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
2099
2099
|
}
|
|
@@ -2128,7 +2128,7 @@ const deserializeAws_restJson1DescribeUpdateCommandError = async (output, contex
|
|
|
2128
2128
|
$fault: "client",
|
|
2129
2129
|
$metadata: deserializeMetadata(output),
|
|
2130
2130
|
});
|
|
2131
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2131
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2132
2132
|
}
|
|
2133
2133
|
};
|
|
2134
2134
|
const deserializeAws_restJson1DisassociateIdentityProviderConfigCommand = async (output, context) => {
|
|
@@ -2139,7 +2139,7 @@ const deserializeAws_restJson1DisassociateIdentityProviderConfigCommand = async
|
|
|
2139
2139
|
$metadata: deserializeMetadata(output),
|
|
2140
2140
|
update: undefined,
|
|
2141
2141
|
};
|
|
2142
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2142
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2143
2143
|
if (data.update !== undefined && data.update !== null) {
|
|
2144
2144
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
2145
2145
|
}
|
|
@@ -2180,7 +2180,7 @@ const deserializeAws_restJson1DisassociateIdentityProviderConfigCommandError = a
|
|
|
2180
2180
|
$fault: "client",
|
|
2181
2181
|
$metadata: deserializeMetadata(output),
|
|
2182
2182
|
});
|
|
2183
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2183
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2184
2184
|
}
|
|
2185
2185
|
};
|
|
2186
2186
|
const deserializeAws_restJson1ListAddonsCommand = async (output, context) => {
|
|
@@ -2192,12 +2192,12 @@ const deserializeAws_restJson1ListAddonsCommand = async (output, context) => {
|
|
|
2192
2192
|
addons: undefined,
|
|
2193
2193
|
nextToken: undefined,
|
|
2194
2194
|
};
|
|
2195
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2195
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2196
2196
|
if (data.addons !== undefined && data.addons !== null) {
|
|
2197
2197
|
contents.addons = deserializeAws_restJson1StringList(data.addons, context);
|
|
2198
2198
|
}
|
|
2199
2199
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2200
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2200
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2201
2201
|
}
|
|
2202
2202
|
return Promise.resolve(contents);
|
|
2203
2203
|
};
|
|
@@ -2233,7 +2233,7 @@ const deserializeAws_restJson1ListAddonsCommandError = async (output, context) =
|
|
|
2233
2233
|
$fault: "client",
|
|
2234
2234
|
$metadata: deserializeMetadata(output),
|
|
2235
2235
|
});
|
|
2236
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2236
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2237
2237
|
}
|
|
2238
2238
|
};
|
|
2239
2239
|
const deserializeAws_restJson1ListClustersCommand = async (output, context) => {
|
|
@@ -2245,12 +2245,12 @@ const deserializeAws_restJson1ListClustersCommand = async (output, context) => {
|
|
|
2245
2245
|
clusters: undefined,
|
|
2246
2246
|
nextToken: undefined,
|
|
2247
2247
|
};
|
|
2248
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2248
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2249
2249
|
if (data.clusters !== undefined && data.clusters !== null) {
|
|
2250
2250
|
contents.clusters = deserializeAws_restJson1StringList(data.clusters, context);
|
|
2251
2251
|
}
|
|
2252
2252
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2253
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2253
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2254
2254
|
}
|
|
2255
2255
|
return Promise.resolve(contents);
|
|
2256
2256
|
};
|
|
@@ -2283,7 +2283,7 @@ const deserializeAws_restJson1ListClustersCommandError = async (output, context)
|
|
|
2283
2283
|
$fault: "client",
|
|
2284
2284
|
$metadata: deserializeMetadata(output),
|
|
2285
2285
|
});
|
|
2286
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2286
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2287
2287
|
}
|
|
2288
2288
|
};
|
|
2289
2289
|
const deserializeAws_restJson1ListFargateProfilesCommand = async (output, context) => {
|
|
@@ -2295,12 +2295,12 @@ const deserializeAws_restJson1ListFargateProfilesCommand = async (output, contex
|
|
|
2295
2295
|
fargateProfileNames: undefined,
|
|
2296
2296
|
nextToken: undefined,
|
|
2297
2297
|
};
|
|
2298
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2298
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2299
2299
|
if (data.fargateProfileNames !== undefined && data.fargateProfileNames !== null) {
|
|
2300
2300
|
contents.fargateProfileNames = deserializeAws_restJson1StringList(data.fargateProfileNames, context);
|
|
2301
2301
|
}
|
|
2302
2302
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2303
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2303
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2304
2304
|
}
|
|
2305
2305
|
return Promise.resolve(contents);
|
|
2306
2306
|
};
|
|
@@ -2333,7 +2333,7 @@ const deserializeAws_restJson1ListFargateProfilesCommandError = async (output, c
|
|
|
2333
2333
|
$fault: "client",
|
|
2334
2334
|
$metadata: deserializeMetadata(output),
|
|
2335
2335
|
});
|
|
2336
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2336
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2337
2337
|
}
|
|
2338
2338
|
};
|
|
2339
2339
|
const deserializeAws_restJson1ListIdentityProviderConfigsCommand = async (output, context) => {
|
|
@@ -2345,12 +2345,12 @@ const deserializeAws_restJson1ListIdentityProviderConfigsCommand = async (output
|
|
|
2345
2345
|
identityProviderConfigs: undefined,
|
|
2346
2346
|
nextToken: undefined,
|
|
2347
2347
|
};
|
|
2348
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2348
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2349
2349
|
if (data.identityProviderConfigs !== undefined && data.identityProviderConfigs !== null) {
|
|
2350
2350
|
contents.identityProviderConfigs = deserializeAws_restJson1IdentityProviderConfigs(data.identityProviderConfigs, context);
|
|
2351
2351
|
}
|
|
2352
2352
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2353
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2353
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2354
2354
|
}
|
|
2355
2355
|
return Promise.resolve(contents);
|
|
2356
2356
|
};
|
|
@@ -2386,7 +2386,7 @@ const deserializeAws_restJson1ListIdentityProviderConfigsCommandError = async (o
|
|
|
2386
2386
|
$fault: "client",
|
|
2387
2387
|
$metadata: deserializeMetadata(output),
|
|
2388
2388
|
});
|
|
2389
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2389
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2390
2390
|
}
|
|
2391
2391
|
};
|
|
2392
2392
|
const deserializeAws_restJson1ListNodegroupsCommand = async (output, context) => {
|
|
@@ -2398,9 +2398,9 @@ const deserializeAws_restJson1ListNodegroupsCommand = async (output, context) =>
|
|
|
2398
2398
|
nextToken: undefined,
|
|
2399
2399
|
nodegroups: undefined,
|
|
2400
2400
|
};
|
|
2401
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2401
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2402
2402
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2403
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2403
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2404
2404
|
}
|
|
2405
2405
|
if (data.nodegroups !== undefined && data.nodegroups !== null) {
|
|
2406
2406
|
contents.nodegroups = deserializeAws_restJson1StringList(data.nodegroups, context);
|
|
@@ -2439,7 +2439,7 @@ const deserializeAws_restJson1ListNodegroupsCommandError = async (output, contex
|
|
|
2439
2439
|
$fault: "client",
|
|
2440
2440
|
$metadata: deserializeMetadata(output),
|
|
2441
2441
|
});
|
|
2442
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2442
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2443
2443
|
}
|
|
2444
2444
|
};
|
|
2445
2445
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2450,7 +2450,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2450
2450
|
$metadata: deserializeMetadata(output),
|
|
2451
2451
|
tags: undefined,
|
|
2452
2452
|
};
|
|
2453
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2453
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2454
2454
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2455
2455
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
2456
2456
|
}
|
|
@@ -2479,7 +2479,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2479
2479
|
$fault: "client",
|
|
2480
2480
|
$metadata: deserializeMetadata(output),
|
|
2481
2481
|
});
|
|
2482
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2482
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2483
2483
|
}
|
|
2484
2484
|
};
|
|
2485
2485
|
const deserializeAws_restJson1ListUpdatesCommand = async (output, context) => {
|
|
@@ -2491,9 +2491,9 @@ const deserializeAws_restJson1ListUpdatesCommand = async (output, context) => {
|
|
|
2491
2491
|
nextToken: undefined,
|
|
2492
2492
|
updateIds: undefined,
|
|
2493
2493
|
};
|
|
2494
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2494
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2495
2495
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2496
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2496
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2497
2497
|
}
|
|
2498
2498
|
if (data.updateIds !== undefined && data.updateIds !== null) {
|
|
2499
2499
|
contents.updateIds = deserializeAws_restJson1StringList(data.updateIds, context);
|
|
@@ -2529,7 +2529,7 @@ const deserializeAws_restJson1ListUpdatesCommandError = async (output, context)
|
|
|
2529
2529
|
$fault: "client",
|
|
2530
2530
|
$metadata: deserializeMetadata(output),
|
|
2531
2531
|
});
|
|
2532
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2532
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2533
2533
|
}
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_restJson1RegisterClusterCommand = async (output, context) => {
|
|
@@ -2540,7 +2540,7 @@ const deserializeAws_restJson1RegisterClusterCommand = async (output, context) =
|
|
|
2540
2540
|
$metadata: deserializeMetadata(output),
|
|
2541
2541
|
cluster: undefined,
|
|
2542
2542
|
};
|
|
2543
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2543
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2544
2544
|
if (data.cluster !== undefined && data.cluster !== null) {
|
|
2545
2545
|
contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
|
|
2546
2546
|
}
|
|
@@ -2587,7 +2587,7 @@ const deserializeAws_restJson1RegisterClusterCommandError = async (output, conte
|
|
|
2587
2587
|
$fault: "client",
|
|
2588
2588
|
$metadata: deserializeMetadata(output),
|
|
2589
2589
|
});
|
|
2590
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2590
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2591
2591
|
}
|
|
2592
2592
|
};
|
|
2593
2593
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -2623,7 +2623,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2623
2623
|
$fault: "client",
|
|
2624
2624
|
$metadata: deserializeMetadata(output),
|
|
2625
2625
|
});
|
|
2626
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2626
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2627
2627
|
}
|
|
2628
2628
|
};
|
|
2629
2629
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -2659,7 +2659,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2659
2659
|
$fault: "client",
|
|
2660
2660
|
$metadata: deserializeMetadata(output),
|
|
2661
2661
|
});
|
|
2662
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2662
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2663
2663
|
}
|
|
2664
2664
|
};
|
|
2665
2665
|
const deserializeAws_restJson1UpdateAddonCommand = async (output, context) => {
|
|
@@ -2670,7 +2670,7 @@ const deserializeAws_restJson1UpdateAddonCommand = async (output, context) => {
|
|
|
2670
2670
|
$metadata: deserializeMetadata(output),
|
|
2671
2671
|
update: undefined,
|
|
2672
2672
|
};
|
|
2673
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2673
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2674
2674
|
if (data.update !== undefined && data.update !== null) {
|
|
2675
2675
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
2676
2676
|
}
|
|
@@ -2711,7 +2711,7 @@ const deserializeAws_restJson1UpdateAddonCommandError = async (output, context)
|
|
|
2711
2711
|
$fault: "client",
|
|
2712
2712
|
$metadata: deserializeMetadata(output),
|
|
2713
2713
|
});
|
|
2714
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2714
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2715
2715
|
}
|
|
2716
2716
|
};
|
|
2717
2717
|
const deserializeAws_restJson1UpdateClusterConfigCommand = async (output, context) => {
|
|
@@ -2722,7 +2722,7 @@ const deserializeAws_restJson1UpdateClusterConfigCommand = async (output, contex
|
|
|
2722
2722
|
$metadata: deserializeMetadata(output),
|
|
2723
2723
|
update: undefined,
|
|
2724
2724
|
};
|
|
2725
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2725
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2726
2726
|
if (data.update !== undefined && data.update !== null) {
|
|
2727
2727
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
2728
2728
|
}
|
|
@@ -2763,7 +2763,7 @@ const deserializeAws_restJson1UpdateClusterConfigCommandError = async (output, c
|
|
|
2763
2763
|
$fault: "client",
|
|
2764
2764
|
$metadata: deserializeMetadata(output),
|
|
2765
2765
|
});
|
|
2766
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2766
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2767
2767
|
}
|
|
2768
2768
|
};
|
|
2769
2769
|
const deserializeAws_restJson1UpdateClusterVersionCommand = async (output, context) => {
|
|
@@ -2774,7 +2774,7 @@ const deserializeAws_restJson1UpdateClusterVersionCommand = async (output, conte
|
|
|
2774
2774
|
$metadata: deserializeMetadata(output),
|
|
2775
2775
|
update: undefined,
|
|
2776
2776
|
};
|
|
2777
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2777
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2778
2778
|
if (data.update !== undefined && data.update !== null) {
|
|
2779
2779
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
2780
2780
|
}
|
|
@@ -2815,7 +2815,7 @@ const deserializeAws_restJson1UpdateClusterVersionCommandError = async (output,
|
|
|
2815
2815
|
$fault: "client",
|
|
2816
2816
|
$metadata: deserializeMetadata(output),
|
|
2817
2817
|
});
|
|
2818
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2818
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2819
2819
|
}
|
|
2820
2820
|
};
|
|
2821
2821
|
const deserializeAws_restJson1UpdateNodegroupConfigCommand = async (output, context) => {
|
|
@@ -2826,7 +2826,7 @@ const deserializeAws_restJson1UpdateNodegroupConfigCommand = async (output, cont
|
|
|
2826
2826
|
$metadata: deserializeMetadata(output),
|
|
2827
2827
|
update: undefined,
|
|
2828
2828
|
};
|
|
2829
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2829
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2830
2830
|
if (data.update !== undefined && data.update !== null) {
|
|
2831
2831
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
2832
2832
|
}
|
|
@@ -2867,7 +2867,7 @@ const deserializeAws_restJson1UpdateNodegroupConfigCommandError = async (output,
|
|
|
2867
2867
|
$fault: "client",
|
|
2868
2868
|
$metadata: deserializeMetadata(output),
|
|
2869
2869
|
});
|
|
2870
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2870
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2871
2871
|
}
|
|
2872
2872
|
};
|
|
2873
2873
|
const deserializeAws_restJson1UpdateNodegroupVersionCommand = async (output, context) => {
|
|
@@ -2878,7 +2878,7 @@ const deserializeAws_restJson1UpdateNodegroupVersionCommand = async (output, con
|
|
|
2878
2878
|
$metadata: deserializeMetadata(output),
|
|
2879
2879
|
update: undefined,
|
|
2880
2880
|
};
|
|
2881
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2881
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2882
2882
|
if (data.update !== undefined && data.update !== null) {
|
|
2883
2883
|
contents.update = deserializeAws_restJson1Update(data.update, context);
|
|
2884
2884
|
}
|
|
@@ -2919,230 +2919,230 @@ const deserializeAws_restJson1UpdateNodegroupVersionCommandError = async (output
|
|
|
2919
2919
|
$fault: "client",
|
|
2920
2920
|
$metadata: deserializeMetadata(output),
|
|
2921
2921
|
});
|
|
2922
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2922
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2923
2923
|
}
|
|
2924
2924
|
};
|
|
2925
2925
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
2926
2926
|
const contents = {};
|
|
2927
2927
|
const data = parsedOutput.body;
|
|
2928
2928
|
if (data.message !== undefined && data.message !== null) {
|
|
2929
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2929
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2930
2930
|
}
|
|
2931
2931
|
const exception = new models_0_1.AccessDeniedException({
|
|
2932
2932
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2933
2933
|
...contents,
|
|
2934
2934
|
});
|
|
2935
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2935
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2936
2936
|
};
|
|
2937
2937
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
2938
2938
|
const contents = {};
|
|
2939
2939
|
const data = parsedOutput.body;
|
|
2940
2940
|
if (data.message !== undefined && data.message !== null) {
|
|
2941
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2941
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2942
2942
|
}
|
|
2943
2943
|
const exception = new models_0_1.BadRequestException({
|
|
2944
2944
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2945
2945
|
...contents,
|
|
2946
2946
|
});
|
|
2947
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2947
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2948
2948
|
};
|
|
2949
2949
|
const deserializeAws_restJson1ClientExceptionResponse = async (parsedOutput, context) => {
|
|
2950
2950
|
const contents = {};
|
|
2951
2951
|
const data = parsedOutput.body;
|
|
2952
2952
|
if (data.addonName !== undefined && data.addonName !== null) {
|
|
2953
|
-
contents.addonName = smithy_client_1.expectString(data.addonName);
|
|
2953
|
+
contents.addonName = (0, smithy_client_1.expectString)(data.addonName);
|
|
2954
2954
|
}
|
|
2955
2955
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
2956
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
2956
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
2957
2957
|
}
|
|
2958
2958
|
if (data.message !== undefined && data.message !== null) {
|
|
2959
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2959
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2960
2960
|
}
|
|
2961
2961
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
2962
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
2962
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
2963
2963
|
}
|
|
2964
2964
|
const exception = new models_0_1.ClientException({
|
|
2965
2965
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2966
2966
|
...contents,
|
|
2967
2967
|
});
|
|
2968
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2968
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2969
2969
|
};
|
|
2970
2970
|
const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
2971
2971
|
const contents = {};
|
|
2972
2972
|
const data = parsedOutput.body;
|
|
2973
2973
|
if (data.addonName !== undefined && data.addonName !== null) {
|
|
2974
|
-
contents.addonName = smithy_client_1.expectString(data.addonName);
|
|
2974
|
+
contents.addonName = (0, smithy_client_1.expectString)(data.addonName);
|
|
2975
2975
|
}
|
|
2976
2976
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
2977
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
2977
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
2978
2978
|
}
|
|
2979
2979
|
if (data.fargateProfileName !== undefined && data.fargateProfileName !== null) {
|
|
2980
|
-
contents.fargateProfileName = smithy_client_1.expectString(data.fargateProfileName);
|
|
2980
|
+
contents.fargateProfileName = (0, smithy_client_1.expectString)(data.fargateProfileName);
|
|
2981
2981
|
}
|
|
2982
2982
|
if (data.message !== undefined && data.message !== null) {
|
|
2983
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2983
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2984
2984
|
}
|
|
2985
2985
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
2986
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
2986
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
2987
2987
|
}
|
|
2988
2988
|
const exception = new models_0_1.InvalidParameterException({
|
|
2989
2989
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2990
2990
|
...contents,
|
|
2991
2991
|
});
|
|
2992
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2992
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2993
2993
|
};
|
|
2994
2994
|
const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
2995
2995
|
const contents = {};
|
|
2996
2996
|
const data = parsedOutput.body;
|
|
2997
2997
|
if (data.addonName !== undefined && data.addonName !== null) {
|
|
2998
|
-
contents.addonName = smithy_client_1.expectString(data.addonName);
|
|
2998
|
+
contents.addonName = (0, smithy_client_1.expectString)(data.addonName);
|
|
2999
2999
|
}
|
|
3000
3000
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
3001
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
3001
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
3002
3002
|
}
|
|
3003
3003
|
if (data.message !== undefined && data.message !== null) {
|
|
3004
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3004
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3005
3005
|
}
|
|
3006
3006
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
3007
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
3007
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
3008
3008
|
}
|
|
3009
3009
|
const exception = new models_0_1.InvalidRequestException({
|
|
3010
3010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3011
3011
|
...contents,
|
|
3012
3012
|
});
|
|
3013
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3013
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3014
3014
|
};
|
|
3015
3015
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3016
3016
|
const contents = {};
|
|
3017
3017
|
const data = parsedOutput.body;
|
|
3018
3018
|
if (data.message !== undefined && data.message !== null) {
|
|
3019
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3019
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3020
3020
|
}
|
|
3021
3021
|
const exception = new models_0_1.NotFoundException({
|
|
3022
3022
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3023
3023
|
...contents,
|
|
3024
3024
|
});
|
|
3025
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3025
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3026
3026
|
};
|
|
3027
3027
|
const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3028
3028
|
const contents = {};
|
|
3029
3029
|
const data = parsedOutput.body;
|
|
3030
3030
|
if (data.addonName !== undefined && data.addonName !== null) {
|
|
3031
|
-
contents.addonName = smithy_client_1.expectString(data.addonName);
|
|
3031
|
+
contents.addonName = (0, smithy_client_1.expectString)(data.addonName);
|
|
3032
3032
|
}
|
|
3033
3033
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
3034
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
3034
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
3035
3035
|
}
|
|
3036
3036
|
if (data.message !== undefined && data.message !== null) {
|
|
3037
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3037
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3038
3038
|
}
|
|
3039
3039
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
3040
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
3040
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
3041
3041
|
}
|
|
3042
3042
|
const exception = new models_0_1.ResourceInUseException({
|
|
3043
3043
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3044
3044
|
...contents,
|
|
3045
3045
|
});
|
|
3046
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3046
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3047
3047
|
};
|
|
3048
3048
|
const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3049
3049
|
const contents = {};
|
|
3050
3050
|
const data = parsedOutput.body;
|
|
3051
3051
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
3052
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
3052
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
3053
3053
|
}
|
|
3054
3054
|
if (data.message !== undefined && data.message !== null) {
|
|
3055
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3055
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3056
3056
|
}
|
|
3057
3057
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
3058
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
3058
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
3059
3059
|
}
|
|
3060
3060
|
const exception = new models_0_1.ResourceLimitExceededException({
|
|
3061
3061
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3062
3062
|
...contents,
|
|
3063
3063
|
});
|
|
3064
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3064
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3065
3065
|
};
|
|
3066
3066
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3067
3067
|
const contents = {};
|
|
3068
3068
|
const data = parsedOutput.body;
|
|
3069
3069
|
if (data.addonName !== undefined && data.addonName !== null) {
|
|
3070
|
-
contents.addonName = smithy_client_1.expectString(data.addonName);
|
|
3070
|
+
contents.addonName = (0, smithy_client_1.expectString)(data.addonName);
|
|
3071
3071
|
}
|
|
3072
3072
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
3073
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
3073
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
3074
3074
|
}
|
|
3075
3075
|
if (data.fargateProfileName !== undefined && data.fargateProfileName !== null) {
|
|
3076
|
-
contents.fargateProfileName = smithy_client_1.expectString(data.fargateProfileName);
|
|
3076
|
+
contents.fargateProfileName = (0, smithy_client_1.expectString)(data.fargateProfileName);
|
|
3077
3077
|
}
|
|
3078
3078
|
if (data.message !== undefined && data.message !== null) {
|
|
3079
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3079
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3080
3080
|
}
|
|
3081
3081
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
3082
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
3082
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
3083
3083
|
}
|
|
3084
3084
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3085
3085
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3086
3086
|
...contents,
|
|
3087
3087
|
});
|
|
3088
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3088
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3089
3089
|
};
|
|
3090
3090
|
const deserializeAws_restJson1ResourcePropagationDelayExceptionResponse = async (parsedOutput, context) => {
|
|
3091
3091
|
const contents = {};
|
|
3092
3092
|
const data = parsedOutput.body;
|
|
3093
3093
|
if (data.message !== undefined && data.message !== null) {
|
|
3094
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3094
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3095
3095
|
}
|
|
3096
3096
|
const exception = new models_0_1.ResourcePropagationDelayException({
|
|
3097
3097
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3098
3098
|
...contents,
|
|
3099
3099
|
});
|
|
3100
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3100
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3101
3101
|
};
|
|
3102
3102
|
const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, context) => {
|
|
3103
3103
|
const contents = {};
|
|
3104
3104
|
const data = parsedOutput.body;
|
|
3105
3105
|
if (data.addonName !== undefined && data.addonName !== null) {
|
|
3106
|
-
contents.addonName = smithy_client_1.expectString(data.addonName);
|
|
3106
|
+
contents.addonName = (0, smithy_client_1.expectString)(data.addonName);
|
|
3107
3107
|
}
|
|
3108
3108
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
3109
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
3109
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
3110
3110
|
}
|
|
3111
3111
|
if (data.message !== undefined && data.message !== null) {
|
|
3112
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3112
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3113
3113
|
}
|
|
3114
3114
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
3115
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
3115
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
3116
3116
|
}
|
|
3117
3117
|
const exception = new models_0_1.ServerException({
|
|
3118
3118
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3119
3119
|
...contents,
|
|
3120
3120
|
});
|
|
3121
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3121
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3122
3122
|
};
|
|
3123
3123
|
const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
3124
3124
|
const contents = {};
|
|
3125
3125
|
const data = parsedOutput.body;
|
|
3126
3126
|
if (data.message !== undefined && data.message !== null) {
|
|
3127
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3127
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3128
3128
|
}
|
|
3129
3129
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
3130
3130
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3131
3131
|
...contents,
|
|
3132
3132
|
});
|
|
3133
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3133
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3134
3134
|
};
|
|
3135
3135
|
const deserializeAws_restJson1UnsupportedAvailabilityZoneExceptionResponse = async (parsedOutput, context) => {
|
|
3136
3136
|
const contents = {};
|
|
3137
3137
|
const data = parsedOutput.body;
|
|
3138
3138
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
3139
|
-
contents.clusterName = smithy_client_1.expectString(data.clusterName);
|
|
3139
|
+
contents.clusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
3140
3140
|
}
|
|
3141
3141
|
if (data.message !== undefined && data.message !== null) {
|
|
3142
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3142
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3143
3143
|
}
|
|
3144
3144
|
if (data.nodegroupName !== undefined && data.nodegroupName !== null) {
|
|
3145
|
-
contents.nodegroupName = smithy_client_1.expectString(data.nodegroupName);
|
|
3145
|
+
contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
|
|
3146
3146
|
}
|
|
3147
3147
|
if (data.validZones !== undefined && data.validZones !== null) {
|
|
3148
3148
|
contents.validZones = deserializeAws_restJson1StringList(data.validZones, context);
|
|
@@ -3151,7 +3151,7 @@ const deserializeAws_restJson1UnsupportedAvailabilityZoneExceptionResponse = asy
|
|
|
3151
3151
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3152
3152
|
...contents,
|
|
3153
3153
|
});
|
|
3154
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3154
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3155
3155
|
};
|
|
3156
3156
|
const serializeAws_restJson1ConnectorConfigRequest = (input, context) => {
|
|
3157
3157
|
return {
|
|
@@ -3418,21 +3418,21 @@ const serializeAws_restJson1VpcConfigRequest = (input, context) => {
|
|
|
3418
3418
|
};
|
|
3419
3419
|
const deserializeAws_restJson1Addon = (output, context) => {
|
|
3420
3420
|
return {
|
|
3421
|
-
addonArn: smithy_client_1.expectString(output.addonArn),
|
|
3422
|
-
addonName: smithy_client_1.expectString(output.addonName),
|
|
3423
|
-
addonVersion: smithy_client_1.expectString(output.addonVersion),
|
|
3424
|
-
clusterName: smithy_client_1.expectString(output.clusterName),
|
|
3421
|
+
addonArn: (0, smithy_client_1.expectString)(output.addonArn),
|
|
3422
|
+
addonName: (0, smithy_client_1.expectString)(output.addonName),
|
|
3423
|
+
addonVersion: (0, smithy_client_1.expectString)(output.addonVersion),
|
|
3424
|
+
clusterName: (0, smithy_client_1.expectString)(output.clusterName),
|
|
3425
3425
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3426
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3426
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3427
3427
|
: undefined,
|
|
3428
3428
|
health: output.health !== undefined && output.health !== null
|
|
3429
3429
|
? deserializeAws_restJson1AddonHealth(output.health, context)
|
|
3430
3430
|
: undefined,
|
|
3431
3431
|
modifiedAt: output.modifiedAt !== undefined && output.modifiedAt !== null
|
|
3432
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.modifiedAt)))
|
|
3432
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt)))
|
|
3433
3433
|
: undefined,
|
|
3434
|
-
serviceAccountRoleArn: smithy_client_1.expectString(output.serviceAccountRoleArn),
|
|
3435
|
-
status: smithy_client_1.expectString(output.status),
|
|
3434
|
+
serviceAccountRoleArn: (0, smithy_client_1.expectString)(output.serviceAccountRoleArn),
|
|
3435
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3436
3436
|
tags: output.tags !== undefined && output.tags !== null
|
|
3437
3437
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
3438
3438
|
: undefined,
|
|
@@ -3447,17 +3447,17 @@ const deserializeAws_restJson1AddonHealth = (output, context) => {
|
|
|
3447
3447
|
};
|
|
3448
3448
|
const deserializeAws_restJson1AddonInfo = (output, context) => {
|
|
3449
3449
|
return {
|
|
3450
|
-
addonName: smithy_client_1.expectString(output.addonName),
|
|
3450
|
+
addonName: (0, smithy_client_1.expectString)(output.addonName),
|
|
3451
3451
|
addonVersions: output.addonVersions !== undefined && output.addonVersions !== null
|
|
3452
3452
|
? deserializeAws_restJson1AddonVersionInfoList(output.addonVersions, context)
|
|
3453
3453
|
: undefined,
|
|
3454
|
-
type: smithy_client_1.expectString(output.type),
|
|
3454
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
3455
3455
|
};
|
|
3456
3456
|
};
|
|
3457
3457
|
const deserializeAws_restJson1AddonIssue = (output, context) => {
|
|
3458
3458
|
return {
|
|
3459
|
-
code: smithy_client_1.expectString(output.code),
|
|
3460
|
-
message: smithy_client_1.expectString(output.message),
|
|
3459
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
3460
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3461
3461
|
resourceIds: output.resourceIds !== undefined && output.resourceIds !== null
|
|
3462
3462
|
? deserializeAws_restJson1StringList(output.resourceIds, context)
|
|
3463
3463
|
: undefined,
|
|
@@ -3487,7 +3487,7 @@ const deserializeAws_restJson1Addons = (output, context) => {
|
|
|
3487
3487
|
};
|
|
3488
3488
|
const deserializeAws_restJson1AddonVersionInfo = (output, context) => {
|
|
3489
3489
|
return {
|
|
3490
|
-
addonVersion: smithy_client_1.expectString(output.addonVersion),
|
|
3490
|
+
addonVersion: (0, smithy_client_1.expectString)(output.addonVersion),
|
|
3491
3491
|
architecture: output.architecture !== undefined && output.architecture !== null
|
|
3492
3492
|
? deserializeAws_restJson1StringList(output.architecture, context)
|
|
3493
3493
|
: undefined,
|
|
@@ -3509,7 +3509,7 @@ const deserializeAws_restJson1AddonVersionInfoList = (output, context) => {
|
|
|
3509
3509
|
};
|
|
3510
3510
|
const deserializeAws_restJson1AutoScalingGroup = (output, context) => {
|
|
3511
3511
|
return {
|
|
3512
|
-
name: smithy_client_1.expectString(output.name),
|
|
3512
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3513
3513
|
};
|
|
3514
3514
|
};
|
|
3515
3515
|
const deserializeAws_restJson1AutoScalingGroupList = (output, context) => {
|
|
@@ -3525,26 +3525,26 @@ const deserializeAws_restJson1AutoScalingGroupList = (output, context) => {
|
|
|
3525
3525
|
};
|
|
3526
3526
|
const deserializeAws_restJson1Certificate = (output, context) => {
|
|
3527
3527
|
return {
|
|
3528
|
-
data: smithy_client_1.expectString(output.data),
|
|
3528
|
+
data: (0, smithy_client_1.expectString)(output.data),
|
|
3529
3529
|
};
|
|
3530
3530
|
};
|
|
3531
3531
|
const deserializeAws_restJson1Cluster = (output, context) => {
|
|
3532
3532
|
return {
|
|
3533
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3533
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3534
3534
|
certificateAuthority: output.certificateAuthority !== undefined && output.certificateAuthority !== null
|
|
3535
3535
|
? deserializeAws_restJson1Certificate(output.certificateAuthority, context)
|
|
3536
3536
|
: undefined,
|
|
3537
|
-
clientRequestToken: smithy_client_1.expectString(output.clientRequestToken),
|
|
3537
|
+
clientRequestToken: (0, smithy_client_1.expectString)(output.clientRequestToken),
|
|
3538
3538
|
connectorConfig: output.connectorConfig !== undefined && output.connectorConfig !== null
|
|
3539
3539
|
? deserializeAws_restJson1ConnectorConfigResponse(output.connectorConfig, context)
|
|
3540
3540
|
: undefined,
|
|
3541
3541
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3542
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3542
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3543
3543
|
: undefined,
|
|
3544
3544
|
encryptionConfig: output.encryptionConfig !== undefined && output.encryptionConfig !== null
|
|
3545
3545
|
? deserializeAws_restJson1EncryptionConfigList(output.encryptionConfig, context)
|
|
3546
3546
|
: undefined,
|
|
3547
|
-
endpoint: smithy_client_1.expectString(output.endpoint),
|
|
3547
|
+
endpoint: (0, smithy_client_1.expectString)(output.endpoint),
|
|
3548
3548
|
identity: output.identity !== undefined && output.identity !== null
|
|
3549
3549
|
? deserializeAws_restJson1Identity(output.identity, context)
|
|
3550
3550
|
: undefined,
|
|
@@ -3554,17 +3554,17 @@ const deserializeAws_restJson1Cluster = (output, context) => {
|
|
|
3554
3554
|
logging: output.logging !== undefined && output.logging !== null
|
|
3555
3555
|
? deserializeAws_restJson1Logging(output.logging, context)
|
|
3556
3556
|
: undefined,
|
|
3557
|
-
name: smithy_client_1.expectString(output.name),
|
|
3558
|
-
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
3557
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3558
|
+
platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
|
|
3559
3559
|
resourcesVpcConfig: output.resourcesVpcConfig !== undefined && output.resourcesVpcConfig !== null
|
|
3560
3560
|
? deserializeAws_restJson1VpcConfigResponse(output.resourcesVpcConfig, context)
|
|
3561
3561
|
: undefined,
|
|
3562
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
3563
|
-
status: smithy_client_1.expectString(output.status),
|
|
3562
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3563
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3564
3564
|
tags: output.tags !== undefined && output.tags !== null
|
|
3565
3565
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
3566
3566
|
: undefined,
|
|
3567
|
-
version: smithy_client_1.expectString(output.version),
|
|
3567
|
+
version: (0, smithy_client_1.expectString)(output.version),
|
|
3568
3568
|
};
|
|
3569
3569
|
};
|
|
3570
3570
|
const deserializeAws_restJson1Compatibilities = (output, context) => {
|
|
@@ -3580,8 +3580,8 @@ const deserializeAws_restJson1Compatibilities = (output, context) => {
|
|
|
3580
3580
|
};
|
|
3581
3581
|
const deserializeAws_restJson1Compatibility = (output, context) => {
|
|
3582
3582
|
return {
|
|
3583
|
-
clusterVersion: smithy_client_1.expectString(output.clusterVersion),
|
|
3584
|
-
defaultVersion: smithy_client_1.expectBoolean(output.defaultVersion),
|
|
3583
|
+
clusterVersion: (0, smithy_client_1.expectString)(output.clusterVersion),
|
|
3584
|
+
defaultVersion: (0, smithy_client_1.expectBoolean)(output.defaultVersion),
|
|
3585
3585
|
platformVersions: output.platformVersions !== undefined && output.platformVersions !== null
|
|
3586
3586
|
? deserializeAws_restJson1StringList(output.platformVersions, context)
|
|
3587
3587
|
: undefined,
|
|
@@ -3589,13 +3589,13 @@ const deserializeAws_restJson1Compatibility = (output, context) => {
|
|
|
3589
3589
|
};
|
|
3590
3590
|
const deserializeAws_restJson1ConnectorConfigResponse = (output, context) => {
|
|
3591
3591
|
return {
|
|
3592
|
-
activationCode: smithy_client_1.expectString(output.activationCode),
|
|
3592
|
+
activationCode: (0, smithy_client_1.expectString)(output.activationCode),
|
|
3593
3593
|
activationExpiry: output.activationExpiry !== undefined && output.activationExpiry !== null
|
|
3594
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.activationExpiry)))
|
|
3594
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.activationExpiry)))
|
|
3595
3595
|
: undefined,
|
|
3596
|
-
activationId: smithy_client_1.expectString(output.activationId),
|
|
3597
|
-
provider: smithy_client_1.expectString(output.provider),
|
|
3598
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
3596
|
+
activationId: (0, smithy_client_1.expectString)(output.activationId),
|
|
3597
|
+
provider: (0, smithy_client_1.expectString)(output.provider),
|
|
3598
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3599
3599
|
};
|
|
3600
3600
|
};
|
|
3601
3601
|
const deserializeAws_restJson1EncryptionConfig = (output, context) => {
|
|
@@ -3621,8 +3621,8 @@ const deserializeAws_restJson1EncryptionConfigList = (output, context) => {
|
|
|
3621
3621
|
};
|
|
3622
3622
|
const deserializeAws_restJson1ErrorDetail = (output, context) => {
|
|
3623
3623
|
return {
|
|
3624
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
3625
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
3624
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3625
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
3626
3626
|
resourceIds: output.resourceIds !== undefined && output.resourceIds !== null
|
|
3627
3627
|
? deserializeAws_restJson1StringList(output.resourceIds, context)
|
|
3628
3628
|
: undefined,
|
|
@@ -3641,17 +3641,17 @@ const deserializeAws_restJson1ErrorDetails = (output, context) => {
|
|
|
3641
3641
|
};
|
|
3642
3642
|
const deserializeAws_restJson1FargateProfile = (output, context) => {
|
|
3643
3643
|
return {
|
|
3644
|
-
clusterName: smithy_client_1.expectString(output.clusterName),
|
|
3644
|
+
clusterName: (0, smithy_client_1.expectString)(output.clusterName),
|
|
3645
3645
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3646
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3646
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3647
3647
|
: undefined,
|
|
3648
|
-
fargateProfileArn: smithy_client_1.expectString(output.fargateProfileArn),
|
|
3649
|
-
fargateProfileName: smithy_client_1.expectString(output.fargateProfileName),
|
|
3650
|
-
podExecutionRoleArn: smithy_client_1.expectString(output.podExecutionRoleArn),
|
|
3648
|
+
fargateProfileArn: (0, smithy_client_1.expectString)(output.fargateProfileArn),
|
|
3649
|
+
fargateProfileName: (0, smithy_client_1.expectString)(output.fargateProfileName),
|
|
3650
|
+
podExecutionRoleArn: (0, smithy_client_1.expectString)(output.podExecutionRoleArn),
|
|
3651
3651
|
selectors: output.selectors !== undefined && output.selectors !== null
|
|
3652
3652
|
? deserializeAws_restJson1FargateProfileSelectors(output.selectors, context)
|
|
3653
3653
|
: undefined,
|
|
3654
|
-
status: smithy_client_1.expectString(output.status),
|
|
3654
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3655
3655
|
subnets: output.subnets !== undefined && output.subnets !== null
|
|
3656
3656
|
? deserializeAws_restJson1StringList(output.subnets, context)
|
|
3657
3657
|
: undefined,
|
|
@@ -3667,7 +3667,7 @@ const deserializeAws_restJson1FargateProfileLabel = (output, context) => {
|
|
|
3667
3667
|
}
|
|
3668
3668
|
return {
|
|
3669
3669
|
...acc,
|
|
3670
|
-
[key]: smithy_client_1.expectString(value),
|
|
3670
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3671
3671
|
};
|
|
3672
3672
|
}, {});
|
|
3673
3673
|
};
|
|
@@ -3676,7 +3676,7 @@ const deserializeAws_restJson1FargateProfileSelector = (output, context) => {
|
|
|
3676
3676
|
labels: output.labels !== undefined && output.labels !== null
|
|
3677
3677
|
? deserializeAws_restJson1FargateProfileLabel(output.labels, context)
|
|
3678
3678
|
: undefined,
|
|
3679
|
-
namespace: smithy_client_1.expectString(output.namespace),
|
|
3679
|
+
namespace: (0, smithy_client_1.expectString)(output.namespace),
|
|
3680
3680
|
};
|
|
3681
3681
|
};
|
|
3682
3682
|
const deserializeAws_restJson1FargateProfileSelectors = (output, context) => {
|
|
@@ -3699,8 +3699,8 @@ const deserializeAws_restJson1Identity = (output, context) => {
|
|
|
3699
3699
|
};
|
|
3700
3700
|
const deserializeAws_restJson1IdentityProviderConfig = (output, context) => {
|
|
3701
3701
|
return {
|
|
3702
|
-
name: smithy_client_1.expectString(output.name),
|
|
3703
|
-
type: smithy_client_1.expectString(output.type),
|
|
3702
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3703
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
3704
3704
|
};
|
|
3705
3705
|
};
|
|
3706
3706
|
const deserializeAws_restJson1IdentityProviderConfigResponse = (output, context) => {
|
|
@@ -3723,8 +3723,8 @@ const deserializeAws_restJson1IdentityProviderConfigs = (output, context) => {
|
|
|
3723
3723
|
};
|
|
3724
3724
|
const deserializeAws_restJson1Issue = (output, context) => {
|
|
3725
3725
|
return {
|
|
3726
|
-
code: smithy_client_1.expectString(output.code),
|
|
3727
|
-
message: smithy_client_1.expectString(output.message),
|
|
3726
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
3727
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3728
3728
|
resourceIds: output.resourceIds !== undefined && output.resourceIds !== null
|
|
3729
3729
|
? deserializeAws_restJson1StringList(output.resourceIds, context)
|
|
3730
3730
|
: undefined,
|
|
@@ -3743,9 +3743,9 @@ const deserializeAws_restJson1IssueList = (output, context) => {
|
|
|
3743
3743
|
};
|
|
3744
3744
|
const deserializeAws_restJson1KubernetesNetworkConfigResponse = (output, context) => {
|
|
3745
3745
|
return {
|
|
3746
|
-
ipFamily: smithy_client_1.expectString(output.ipFamily),
|
|
3747
|
-
serviceIpv4Cidr: smithy_client_1.expectString(output.serviceIpv4Cidr),
|
|
3748
|
-
serviceIpv6Cidr: smithy_client_1.expectString(output.serviceIpv6Cidr),
|
|
3746
|
+
ipFamily: (0, smithy_client_1.expectString)(output.ipFamily),
|
|
3747
|
+
serviceIpv4Cidr: (0, smithy_client_1.expectString)(output.serviceIpv4Cidr),
|
|
3748
|
+
serviceIpv6Cidr: (0, smithy_client_1.expectString)(output.serviceIpv6Cidr),
|
|
3749
3749
|
};
|
|
3750
3750
|
};
|
|
3751
3751
|
const deserializeAws_restJson1labelsMap = (output, context) => {
|
|
@@ -3755,15 +3755,15 @@ const deserializeAws_restJson1labelsMap = (output, context) => {
|
|
|
3755
3755
|
}
|
|
3756
3756
|
return {
|
|
3757
3757
|
...acc,
|
|
3758
|
-
[key]: smithy_client_1.expectString(value),
|
|
3758
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3759
3759
|
};
|
|
3760
3760
|
}, {});
|
|
3761
3761
|
};
|
|
3762
3762
|
const deserializeAws_restJson1LaunchTemplateSpecification = (output, context) => {
|
|
3763
3763
|
return {
|
|
3764
|
-
id: smithy_client_1.expectString(output.id),
|
|
3765
|
-
name: smithy_client_1.expectString(output.name),
|
|
3766
|
-
version: smithy_client_1.expectString(output.version),
|
|
3764
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
3765
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3766
|
+
version: (0, smithy_client_1.expectString)(output.version),
|
|
3767
3767
|
};
|
|
3768
3768
|
};
|
|
3769
3769
|
const deserializeAws_restJson1Logging = (output, context) => {
|
|
@@ -3775,7 +3775,7 @@ const deserializeAws_restJson1Logging = (output, context) => {
|
|
|
3775
3775
|
};
|
|
3776
3776
|
const deserializeAws_restJson1LogSetup = (output, context) => {
|
|
3777
3777
|
return {
|
|
3778
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
3778
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
3779
3779
|
types: output.types !== undefined && output.types !== null
|
|
3780
3780
|
? deserializeAws_restJson1LogTypes(output.types, context)
|
|
3781
3781
|
: undefined,
|
|
@@ -3799,19 +3799,19 @@ const deserializeAws_restJson1LogTypes = (output, context) => {
|
|
|
3799
3799
|
if (entry === null) {
|
|
3800
3800
|
return null;
|
|
3801
3801
|
}
|
|
3802
|
-
return smithy_client_1.expectString(entry);
|
|
3802
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3803
3803
|
});
|
|
3804
3804
|
return retVal;
|
|
3805
3805
|
};
|
|
3806
3806
|
const deserializeAws_restJson1Nodegroup = (output, context) => {
|
|
3807
3807
|
return {
|
|
3808
|
-
amiType: smithy_client_1.expectString(output.amiType),
|
|
3809
|
-
capacityType: smithy_client_1.expectString(output.capacityType),
|
|
3810
|
-
clusterName: smithy_client_1.expectString(output.clusterName),
|
|
3808
|
+
amiType: (0, smithy_client_1.expectString)(output.amiType),
|
|
3809
|
+
capacityType: (0, smithy_client_1.expectString)(output.capacityType),
|
|
3810
|
+
clusterName: (0, smithy_client_1.expectString)(output.clusterName),
|
|
3811
3811
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3812
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3812
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3813
3813
|
: undefined,
|
|
3814
|
-
diskSize: smithy_client_1.expectInt32(output.diskSize),
|
|
3814
|
+
diskSize: (0, smithy_client_1.expectInt32)(output.diskSize),
|
|
3815
3815
|
health: output.health !== undefined && output.health !== null
|
|
3816
3816
|
? deserializeAws_restJson1NodegroupHealth(output.health, context)
|
|
3817
3817
|
: undefined,
|
|
@@ -3825,12 +3825,12 @@ const deserializeAws_restJson1Nodegroup = (output, context) => {
|
|
|
3825
3825
|
? deserializeAws_restJson1LaunchTemplateSpecification(output.launchTemplate, context)
|
|
3826
3826
|
: undefined,
|
|
3827
3827
|
modifiedAt: output.modifiedAt !== undefined && output.modifiedAt !== null
|
|
3828
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.modifiedAt)))
|
|
3828
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt)))
|
|
3829
3829
|
: undefined,
|
|
3830
|
-
nodeRole: smithy_client_1.expectString(output.nodeRole),
|
|
3831
|
-
nodegroupArn: smithy_client_1.expectString(output.nodegroupArn),
|
|
3832
|
-
nodegroupName: smithy_client_1.expectString(output.nodegroupName),
|
|
3833
|
-
releaseVersion: smithy_client_1.expectString(output.releaseVersion),
|
|
3830
|
+
nodeRole: (0, smithy_client_1.expectString)(output.nodeRole),
|
|
3831
|
+
nodegroupArn: (0, smithy_client_1.expectString)(output.nodegroupArn),
|
|
3832
|
+
nodegroupName: (0, smithy_client_1.expectString)(output.nodegroupName),
|
|
3833
|
+
releaseVersion: (0, smithy_client_1.expectString)(output.releaseVersion),
|
|
3834
3834
|
remoteAccess: output.remoteAccess !== undefined && output.remoteAccess !== null
|
|
3835
3835
|
? deserializeAws_restJson1RemoteAccessConfig(output.remoteAccess, context)
|
|
3836
3836
|
: undefined,
|
|
@@ -3840,7 +3840,7 @@ const deserializeAws_restJson1Nodegroup = (output, context) => {
|
|
|
3840
3840
|
scalingConfig: output.scalingConfig !== undefined && output.scalingConfig !== null
|
|
3841
3841
|
? deserializeAws_restJson1NodegroupScalingConfig(output.scalingConfig, context)
|
|
3842
3842
|
: undefined,
|
|
3843
|
-
status: smithy_client_1.expectString(output.status),
|
|
3843
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3844
3844
|
subnets: output.subnets !== undefined && output.subnets !== null
|
|
3845
3845
|
? deserializeAws_restJson1StringList(output.subnets, context)
|
|
3846
3846
|
: undefined,
|
|
@@ -3853,7 +3853,7 @@ const deserializeAws_restJson1Nodegroup = (output, context) => {
|
|
|
3853
3853
|
updateConfig: output.updateConfig !== undefined && output.updateConfig !== null
|
|
3854
3854
|
? deserializeAws_restJson1NodegroupUpdateConfig(output.updateConfig, context)
|
|
3855
3855
|
: undefined,
|
|
3856
|
-
version: smithy_client_1.expectString(output.version),
|
|
3856
|
+
version: (0, smithy_client_1.expectString)(output.version),
|
|
3857
3857
|
};
|
|
3858
3858
|
};
|
|
3859
3859
|
const deserializeAws_restJson1NodegroupHealth = (output, context) => {
|
|
@@ -3868,55 +3868,55 @@ const deserializeAws_restJson1NodegroupResources = (output, context) => {
|
|
|
3868
3868
|
autoScalingGroups: output.autoScalingGroups !== undefined && output.autoScalingGroups !== null
|
|
3869
3869
|
? deserializeAws_restJson1AutoScalingGroupList(output.autoScalingGroups, context)
|
|
3870
3870
|
: undefined,
|
|
3871
|
-
remoteAccessSecurityGroup: smithy_client_1.expectString(output.remoteAccessSecurityGroup),
|
|
3871
|
+
remoteAccessSecurityGroup: (0, smithy_client_1.expectString)(output.remoteAccessSecurityGroup),
|
|
3872
3872
|
};
|
|
3873
3873
|
};
|
|
3874
3874
|
const deserializeAws_restJson1NodegroupScalingConfig = (output, context) => {
|
|
3875
3875
|
return {
|
|
3876
|
-
desiredSize: smithy_client_1.expectInt32(output.desiredSize),
|
|
3877
|
-
maxSize: smithy_client_1.expectInt32(output.maxSize),
|
|
3878
|
-
minSize: smithy_client_1.expectInt32(output.minSize),
|
|
3876
|
+
desiredSize: (0, smithy_client_1.expectInt32)(output.desiredSize),
|
|
3877
|
+
maxSize: (0, smithy_client_1.expectInt32)(output.maxSize),
|
|
3878
|
+
minSize: (0, smithy_client_1.expectInt32)(output.minSize),
|
|
3879
3879
|
};
|
|
3880
3880
|
};
|
|
3881
3881
|
const deserializeAws_restJson1NodegroupUpdateConfig = (output, context) => {
|
|
3882
3882
|
return {
|
|
3883
|
-
maxUnavailable: smithy_client_1.expectInt32(output.maxUnavailable),
|
|
3884
|
-
maxUnavailablePercentage: smithy_client_1.expectInt32(output.maxUnavailablePercentage),
|
|
3883
|
+
maxUnavailable: (0, smithy_client_1.expectInt32)(output.maxUnavailable),
|
|
3884
|
+
maxUnavailablePercentage: (0, smithy_client_1.expectInt32)(output.maxUnavailablePercentage),
|
|
3885
3885
|
};
|
|
3886
3886
|
};
|
|
3887
3887
|
const deserializeAws_restJson1OIDC = (output, context) => {
|
|
3888
3888
|
return {
|
|
3889
|
-
issuer: smithy_client_1.expectString(output.issuer),
|
|
3889
|
+
issuer: (0, smithy_client_1.expectString)(output.issuer),
|
|
3890
3890
|
};
|
|
3891
3891
|
};
|
|
3892
3892
|
const deserializeAws_restJson1OidcIdentityProviderConfig = (output, context) => {
|
|
3893
3893
|
return {
|
|
3894
|
-
clientId: smithy_client_1.expectString(output.clientId),
|
|
3895
|
-
clusterName: smithy_client_1.expectString(output.clusterName),
|
|
3896
|
-
groupsClaim: smithy_client_1.expectString(output.groupsClaim),
|
|
3897
|
-
groupsPrefix: smithy_client_1.expectString(output.groupsPrefix),
|
|
3898
|
-
identityProviderConfigArn: smithy_client_1.expectString(output.identityProviderConfigArn),
|
|
3899
|
-
identityProviderConfigName: smithy_client_1.expectString(output.identityProviderConfigName),
|
|
3900
|
-
issuerUrl: smithy_client_1.expectString(output.issuerUrl),
|
|
3894
|
+
clientId: (0, smithy_client_1.expectString)(output.clientId),
|
|
3895
|
+
clusterName: (0, smithy_client_1.expectString)(output.clusterName),
|
|
3896
|
+
groupsClaim: (0, smithy_client_1.expectString)(output.groupsClaim),
|
|
3897
|
+
groupsPrefix: (0, smithy_client_1.expectString)(output.groupsPrefix),
|
|
3898
|
+
identityProviderConfigArn: (0, smithy_client_1.expectString)(output.identityProviderConfigArn),
|
|
3899
|
+
identityProviderConfigName: (0, smithy_client_1.expectString)(output.identityProviderConfigName),
|
|
3900
|
+
issuerUrl: (0, smithy_client_1.expectString)(output.issuerUrl),
|
|
3901
3901
|
requiredClaims: output.requiredClaims !== undefined && output.requiredClaims !== null
|
|
3902
3902
|
? deserializeAws_restJson1requiredClaimsMap(output.requiredClaims, context)
|
|
3903
3903
|
: undefined,
|
|
3904
|
-
status: smithy_client_1.expectString(output.status),
|
|
3904
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3905
3905
|
tags: output.tags !== undefined && output.tags !== null
|
|
3906
3906
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
3907
3907
|
: undefined,
|
|
3908
|
-
usernameClaim: smithy_client_1.expectString(output.usernameClaim),
|
|
3909
|
-
usernamePrefix: smithy_client_1.expectString(output.usernamePrefix),
|
|
3908
|
+
usernameClaim: (0, smithy_client_1.expectString)(output.usernameClaim),
|
|
3909
|
+
usernamePrefix: (0, smithy_client_1.expectString)(output.usernamePrefix),
|
|
3910
3910
|
};
|
|
3911
3911
|
};
|
|
3912
3912
|
const deserializeAws_restJson1Provider = (output, context) => {
|
|
3913
3913
|
return {
|
|
3914
|
-
keyArn: smithy_client_1.expectString(output.keyArn),
|
|
3914
|
+
keyArn: (0, smithy_client_1.expectString)(output.keyArn),
|
|
3915
3915
|
};
|
|
3916
3916
|
};
|
|
3917
3917
|
const deserializeAws_restJson1RemoteAccessConfig = (output, context) => {
|
|
3918
3918
|
return {
|
|
3919
|
-
ec2SshKey: smithy_client_1.expectString(output.ec2SshKey),
|
|
3919
|
+
ec2SshKey: (0, smithy_client_1.expectString)(output.ec2SshKey),
|
|
3920
3920
|
sourceSecurityGroups: output.sourceSecurityGroups !== undefined && output.sourceSecurityGroups !== null
|
|
3921
3921
|
? deserializeAws_restJson1StringList(output.sourceSecurityGroups, context)
|
|
3922
3922
|
: undefined,
|
|
@@ -3929,7 +3929,7 @@ const deserializeAws_restJson1requiredClaimsMap = (output, context) => {
|
|
|
3929
3929
|
}
|
|
3930
3930
|
return {
|
|
3931
3931
|
...acc,
|
|
3932
|
-
[key]: smithy_client_1.expectString(value),
|
|
3932
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3933
3933
|
};
|
|
3934
3934
|
}, {});
|
|
3935
3935
|
};
|
|
@@ -3940,7 +3940,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
3940
3940
|
if (entry === null) {
|
|
3941
3941
|
return null;
|
|
3942
3942
|
}
|
|
3943
|
-
return smithy_client_1.expectString(entry);
|
|
3943
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3944
3944
|
});
|
|
3945
3945
|
return retVal;
|
|
3946
3946
|
};
|
|
@@ -3951,15 +3951,15 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
3951
3951
|
}
|
|
3952
3952
|
return {
|
|
3953
3953
|
...acc,
|
|
3954
|
-
[key]: smithy_client_1.expectString(value),
|
|
3954
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3955
3955
|
};
|
|
3956
3956
|
}, {});
|
|
3957
3957
|
};
|
|
3958
3958
|
const deserializeAws_restJson1Taint = (output, context) => {
|
|
3959
3959
|
return {
|
|
3960
|
-
effect: smithy_client_1.expectString(output.effect),
|
|
3961
|
-
key: smithy_client_1.expectString(output.key),
|
|
3962
|
-
value: smithy_client_1.expectString(output.value),
|
|
3960
|
+
effect: (0, smithy_client_1.expectString)(output.effect),
|
|
3961
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
3962
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
3963
3963
|
};
|
|
3964
3964
|
};
|
|
3965
3965
|
const deserializeAws_restJson1taintsList = (output, context) => {
|
|
@@ -3976,23 +3976,23 @@ const deserializeAws_restJson1taintsList = (output, context) => {
|
|
|
3976
3976
|
const deserializeAws_restJson1Update = (output, context) => {
|
|
3977
3977
|
return {
|
|
3978
3978
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3979
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3979
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3980
3980
|
: undefined,
|
|
3981
3981
|
errors: output.errors !== undefined && output.errors !== null
|
|
3982
3982
|
? deserializeAws_restJson1ErrorDetails(output.errors, context)
|
|
3983
3983
|
: undefined,
|
|
3984
|
-
id: smithy_client_1.expectString(output.id),
|
|
3984
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
3985
3985
|
params: output.params !== undefined && output.params !== null
|
|
3986
3986
|
? deserializeAws_restJson1UpdateParams(output.params, context)
|
|
3987
3987
|
: undefined,
|
|
3988
|
-
status: smithy_client_1.expectString(output.status),
|
|
3989
|
-
type: smithy_client_1.expectString(output.type),
|
|
3988
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3989
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
3990
3990
|
};
|
|
3991
3991
|
};
|
|
3992
3992
|
const deserializeAws_restJson1UpdateParam = (output, context) => {
|
|
3993
3993
|
return {
|
|
3994
|
-
type: smithy_client_1.expectString(output.type),
|
|
3995
|
-
value: smithy_client_1.expectString(output.value),
|
|
3994
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
3995
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
3996
3996
|
};
|
|
3997
3997
|
};
|
|
3998
3998
|
const deserializeAws_restJson1UpdateParams = (output, context) => {
|
|
@@ -4008,9 +4008,9 @@ const deserializeAws_restJson1UpdateParams = (output, context) => {
|
|
|
4008
4008
|
};
|
|
4009
4009
|
const deserializeAws_restJson1VpcConfigResponse = (output, context) => {
|
|
4010
4010
|
return {
|
|
4011
|
-
clusterSecurityGroupId: smithy_client_1.expectString(output.clusterSecurityGroupId),
|
|
4012
|
-
endpointPrivateAccess: smithy_client_1.expectBoolean(output.endpointPrivateAccess),
|
|
4013
|
-
endpointPublicAccess: smithy_client_1.expectBoolean(output.endpointPublicAccess),
|
|
4011
|
+
clusterSecurityGroupId: (0, smithy_client_1.expectString)(output.clusterSecurityGroupId),
|
|
4012
|
+
endpointPrivateAccess: (0, smithy_client_1.expectBoolean)(output.endpointPrivateAccess),
|
|
4013
|
+
endpointPublicAccess: (0, smithy_client_1.expectBoolean)(output.endpointPublicAccess),
|
|
4014
4014
|
publicAccessCidrs: output.publicAccessCidrs !== undefined && output.publicAccessCidrs !== null
|
|
4015
4015
|
? deserializeAws_restJson1StringList(output.publicAccessCidrs, context)
|
|
4016
4016
|
: undefined,
|
|
@@ -4020,7 +4020,7 @@ const deserializeAws_restJson1VpcConfigResponse = (output, context) => {
|
|
|
4020
4020
|
subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
|
|
4021
4021
|
? deserializeAws_restJson1StringList(output.subnetIds, context)
|
|
4022
4022
|
: undefined,
|
|
4023
|
-
vpcId: smithy_client_1.expectString(output.vpcId),
|
|
4023
|
+
vpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
4024
4024
|
};
|
|
4025
4025
|
};
|
|
4026
4026
|
const deserializeMetadata = (output) => {
|