@aws-sdk/client-eks 3.306.0 → 3.309.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.
Files changed (75) hide show
  1. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +2 -2
  2. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +2 -2
  3. package/dist-cjs/commands/CreateAddonCommand.js +2 -2
  4. package/dist-cjs/commands/CreateClusterCommand.js +2 -2
  5. package/dist-cjs/commands/CreateFargateProfileCommand.js +2 -2
  6. package/dist-cjs/commands/CreateNodegroupCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteAddonCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteClusterCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteFargateProfileCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteNodegroupCommand.js +2 -2
  11. package/dist-cjs/commands/DeregisterClusterCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeAddonCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeAddonConfigurationCommand.js +2 -2
  14. package/dist-cjs/commands/DescribeAddonVersionsCommand.js +2 -2
  15. package/dist-cjs/commands/DescribeClusterCommand.js +2 -2
  16. package/dist-cjs/commands/DescribeFargateProfileCommand.js +2 -2
  17. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +2 -2
  18. package/dist-cjs/commands/DescribeNodegroupCommand.js +2 -2
  19. package/dist-cjs/commands/DescribeUpdateCommand.js +2 -2
  20. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +2 -2
  21. package/dist-cjs/commands/ListAddonsCommand.js +2 -2
  22. package/dist-cjs/commands/ListClustersCommand.js +2 -2
  23. package/dist-cjs/commands/ListFargateProfilesCommand.js +2 -2
  24. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +2 -2
  25. package/dist-cjs/commands/ListNodegroupsCommand.js +2 -2
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  27. package/dist-cjs/commands/ListUpdatesCommand.js +2 -2
  28. package/dist-cjs/commands/RegisterClusterCommand.js +2 -2
  29. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  30. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateAddonCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateClusterConfigCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateClusterVersionCommand.js +2 -2
  34. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +2 -2
  35. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +2 -2
  36. package/dist-cjs/protocols/Aws_restJson1.js +648 -712
  37. package/dist-es/commands/AssociateEncryptionConfigCommand.js +3 -3
  38. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +3 -3
  39. package/dist-es/commands/CreateAddonCommand.js +3 -3
  40. package/dist-es/commands/CreateClusterCommand.js +3 -3
  41. package/dist-es/commands/CreateFargateProfileCommand.js +3 -3
  42. package/dist-es/commands/CreateNodegroupCommand.js +3 -3
  43. package/dist-es/commands/DeleteAddonCommand.js +3 -3
  44. package/dist-es/commands/DeleteClusterCommand.js +3 -3
  45. package/dist-es/commands/DeleteFargateProfileCommand.js +3 -3
  46. package/dist-es/commands/DeleteNodegroupCommand.js +3 -3
  47. package/dist-es/commands/DeregisterClusterCommand.js +3 -3
  48. package/dist-es/commands/DescribeAddonCommand.js +3 -3
  49. package/dist-es/commands/DescribeAddonConfigurationCommand.js +3 -3
  50. package/dist-es/commands/DescribeAddonVersionsCommand.js +3 -3
  51. package/dist-es/commands/DescribeClusterCommand.js +3 -3
  52. package/dist-es/commands/DescribeFargateProfileCommand.js +3 -3
  53. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +3 -3
  54. package/dist-es/commands/DescribeNodegroupCommand.js +3 -3
  55. package/dist-es/commands/DescribeUpdateCommand.js +3 -3
  56. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +3 -3
  57. package/dist-es/commands/ListAddonsCommand.js +3 -3
  58. package/dist-es/commands/ListClustersCommand.js +3 -3
  59. package/dist-es/commands/ListFargateProfilesCommand.js +3 -3
  60. package/dist-es/commands/ListIdentityProviderConfigsCommand.js +3 -3
  61. package/dist-es/commands/ListNodegroupsCommand.js +3 -3
  62. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  63. package/dist-es/commands/ListUpdatesCommand.js +3 -3
  64. package/dist-es/commands/RegisterClusterCommand.js +3 -3
  65. package/dist-es/commands/TagResourceCommand.js +3 -3
  66. package/dist-es/commands/UntagResourceCommand.js +3 -3
  67. package/dist-es/commands/UpdateAddonCommand.js +3 -3
  68. package/dist-es/commands/UpdateClusterConfigCommand.js +3 -3
  69. package/dist-es/commands/UpdateClusterVersionCommand.js +3 -3
  70. package/dist-es/commands/UpdateNodegroupConfigCommand.js +3 -3
  71. package/dist-es/commands/UpdateNodegroupVersionCommand.js +3 -3
  72. package/dist-es/protocols/Aws_restJson1.js +576 -640
  73. package/dist-types/protocols/Aws_restJson1.d.ts +280 -70
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +70 -70
  75. package/package.json +6 -6
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1DescribeClusterCommand = exports.deserializeAws_restJson1DescribeAddonVersionsCommand = exports.deserializeAws_restJson1DescribeAddonConfigurationCommand = exports.deserializeAws_restJson1DescribeAddonCommand = exports.deserializeAws_restJson1DeregisterClusterCommand = exports.deserializeAws_restJson1DeleteNodegroupCommand = exports.deserializeAws_restJson1DeleteFargateProfileCommand = exports.deserializeAws_restJson1DeleteClusterCommand = exports.deserializeAws_restJson1DeleteAddonCommand = exports.deserializeAws_restJson1CreateNodegroupCommand = exports.deserializeAws_restJson1CreateFargateProfileCommand = exports.deserializeAws_restJson1CreateClusterCommand = exports.deserializeAws_restJson1CreateAddonCommand = exports.deserializeAws_restJson1AssociateIdentityProviderConfigCommand = exports.deserializeAws_restJson1AssociateEncryptionConfigCommand = exports.serializeAws_restJson1UpdateNodegroupVersionCommand = exports.serializeAws_restJson1UpdateNodegroupConfigCommand = exports.serializeAws_restJson1UpdateClusterVersionCommand = exports.serializeAws_restJson1UpdateClusterConfigCommand = exports.serializeAws_restJson1UpdateAddonCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RegisterClusterCommand = exports.serializeAws_restJson1ListUpdatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNodegroupsCommand = exports.serializeAws_restJson1ListIdentityProviderConfigsCommand = exports.serializeAws_restJson1ListFargateProfilesCommand = exports.serializeAws_restJson1ListClustersCommand = exports.serializeAws_restJson1ListAddonsCommand = exports.serializeAws_restJson1DisassociateIdentityProviderConfigCommand = exports.serializeAws_restJson1DescribeUpdateCommand = exports.serializeAws_restJson1DescribeNodegroupCommand = exports.serializeAws_restJson1DescribeIdentityProviderConfigCommand = exports.serializeAws_restJson1DescribeFargateProfileCommand = exports.serializeAws_restJson1DescribeClusterCommand = exports.serializeAws_restJson1DescribeAddonVersionsCommand = exports.serializeAws_restJson1DescribeAddonConfigurationCommand = exports.serializeAws_restJson1DescribeAddonCommand = exports.serializeAws_restJson1DeregisterClusterCommand = exports.serializeAws_restJson1DeleteNodegroupCommand = exports.serializeAws_restJson1DeleteFargateProfileCommand = exports.serializeAws_restJson1DeleteClusterCommand = exports.serializeAws_restJson1DeleteAddonCommand = exports.serializeAws_restJson1CreateNodegroupCommand = exports.serializeAws_restJson1CreateFargateProfileCommand = exports.serializeAws_restJson1CreateClusterCommand = exports.serializeAws_restJson1CreateAddonCommand = exports.serializeAws_restJson1AssociateIdentityProviderConfigCommand = exports.serializeAws_restJson1AssociateEncryptionConfigCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateNodegroupVersionCommand = exports.deserializeAws_restJson1UpdateNodegroupConfigCommand = exports.deserializeAws_restJson1UpdateClusterVersionCommand = exports.deserializeAws_restJson1UpdateClusterConfigCommand = exports.deserializeAws_restJson1UpdateAddonCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RegisterClusterCommand = exports.deserializeAws_restJson1ListUpdatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNodegroupsCommand = exports.deserializeAws_restJson1ListIdentityProviderConfigsCommand = exports.deserializeAws_restJson1ListFargateProfilesCommand = exports.deserializeAws_restJson1ListClustersCommand = exports.deserializeAws_restJson1ListAddonsCommand = exports.deserializeAws_restJson1DisassociateIdentityProviderConfigCommand = exports.deserializeAws_restJson1DescribeUpdateCommand = exports.deserializeAws_restJson1DescribeNodegroupCommand = exports.deserializeAws_restJson1DescribeIdentityProviderConfigCommand = exports.deserializeAws_restJson1DescribeFargateProfileCommand = void 0;
3
+ exports.de_DescribeClusterCommand = exports.de_DescribeAddonVersionsCommand = exports.de_DescribeAddonConfigurationCommand = exports.de_DescribeAddonCommand = exports.de_DeregisterClusterCommand = exports.de_DeleteNodegroupCommand = exports.de_DeleteFargateProfileCommand = exports.de_DeleteClusterCommand = exports.de_DeleteAddonCommand = exports.de_CreateNodegroupCommand = exports.de_CreateFargateProfileCommand = exports.de_CreateClusterCommand = exports.de_CreateAddonCommand = exports.de_AssociateIdentityProviderConfigCommand = exports.de_AssociateEncryptionConfigCommand = exports.se_UpdateNodegroupVersionCommand = exports.se_UpdateNodegroupConfigCommand = exports.se_UpdateClusterVersionCommand = exports.se_UpdateClusterConfigCommand = exports.se_UpdateAddonCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterClusterCommand = exports.se_ListUpdatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListNodegroupsCommand = exports.se_ListIdentityProviderConfigsCommand = exports.se_ListFargateProfilesCommand = exports.se_ListClustersCommand = exports.se_ListAddonsCommand = exports.se_DisassociateIdentityProviderConfigCommand = exports.se_DescribeUpdateCommand = exports.se_DescribeNodegroupCommand = exports.se_DescribeIdentityProviderConfigCommand = exports.se_DescribeFargateProfileCommand = exports.se_DescribeClusterCommand = exports.se_DescribeAddonVersionsCommand = exports.se_DescribeAddonConfigurationCommand = exports.se_DescribeAddonCommand = exports.se_DeregisterClusterCommand = exports.se_DeleteNodegroupCommand = exports.se_DeleteFargateProfileCommand = exports.se_DeleteClusterCommand = exports.se_DeleteAddonCommand = exports.se_CreateNodegroupCommand = exports.se_CreateFargateProfileCommand = exports.se_CreateClusterCommand = exports.se_CreateAddonCommand = exports.se_AssociateIdentityProviderConfigCommand = exports.se_AssociateEncryptionConfigCommand = void 0;
4
+ exports.de_UpdateNodegroupVersionCommand = exports.de_UpdateNodegroupConfigCommand = exports.de_UpdateClusterVersionCommand = exports.de_UpdateClusterConfigCommand = exports.de_UpdateAddonCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterClusterCommand = exports.de_ListUpdatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListNodegroupsCommand = exports.de_ListIdentityProviderConfigsCommand = exports.de_ListFargateProfilesCommand = exports.de_ListClustersCommand = exports.de_ListAddonsCommand = exports.de_DisassociateIdentityProviderConfigCommand = exports.de_DescribeUpdateCommand = exports.de_DescribeNodegroupCommand = exports.de_DescribeIdentityProviderConfigCommand = exports.de_DescribeFargateProfileCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
8
8
  const EKSServiceException_1 = require("../models/EKSServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
- const serializeAws_restJson1AssociateEncryptionConfigCommand = async (input, context) => {
10
+ const se_AssociateEncryptionConfigCommand = async (input, context) => {
11
11
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
12
12
  const headers = {
13
13
  "content-type": "application/json",
@@ -19,7 +19,7 @@ const serializeAws_restJson1AssociateEncryptionConfigCommand = async (input, con
19
19
  body = JSON.stringify({
20
20
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
21
21
  ...(input.encryptionConfig != null && {
22
- encryptionConfig: serializeAws_restJson1EncryptionConfigList(input.encryptionConfig, context),
22
+ encryptionConfig: se_EncryptionConfigList(input.encryptionConfig, context),
23
23
  }),
24
24
  });
25
25
  return new protocol_http_1.HttpRequest({
@@ -32,8 +32,8 @@ const serializeAws_restJson1AssociateEncryptionConfigCommand = async (input, con
32
32
  body,
33
33
  });
34
34
  };
35
- exports.serializeAws_restJson1AssociateEncryptionConfigCommand = serializeAws_restJson1AssociateEncryptionConfigCommand;
36
- const serializeAws_restJson1AssociateIdentityProviderConfigCommand = async (input, context) => {
35
+ exports.se_AssociateEncryptionConfigCommand = se_AssociateEncryptionConfigCommand;
36
+ const se_AssociateIdentityProviderConfigCommand = async (input, context) => {
37
37
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
38
38
  const headers = {
39
39
  "content-type": "application/json",
@@ -44,8 +44,8 @@ const serializeAws_restJson1AssociateIdentityProviderConfigCommand = async (inpu
44
44
  let body;
45
45
  body = JSON.stringify({
46
46
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
47
- ...(input.oidc != null && { oidc: serializeAws_restJson1OidcIdentityProviderConfigRequest(input.oidc, context) }),
48
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
47
+ ...(input.oidc != null && { oidc: se_OidcIdentityProviderConfigRequest(input.oidc, context) }),
48
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
49
49
  });
50
50
  return new protocol_http_1.HttpRequest({
51
51
  protocol,
@@ -57,8 +57,8 @@ const serializeAws_restJson1AssociateIdentityProviderConfigCommand = async (inpu
57
57
  body,
58
58
  });
59
59
  };
60
- exports.serializeAws_restJson1AssociateIdentityProviderConfigCommand = serializeAws_restJson1AssociateIdentityProviderConfigCommand;
61
- const serializeAws_restJson1CreateAddonCommand = async (input, context) => {
60
+ exports.se_AssociateIdentityProviderConfigCommand = se_AssociateIdentityProviderConfigCommand;
61
+ const se_CreateAddonCommand = async (input, context) => {
62
62
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
63
63
  const headers = {
64
64
  "content-type": "application/json",
@@ -73,7 +73,7 @@ const serializeAws_restJson1CreateAddonCommand = async (input, context) => {
73
73
  ...(input.configurationValues != null && { configurationValues: input.configurationValues }),
74
74
  ...(input.resolveConflicts != null && { resolveConflicts: input.resolveConflicts }),
75
75
  ...(input.serviceAccountRoleArn != null && { serviceAccountRoleArn: input.serviceAccountRoleArn }),
76
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
76
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
77
77
  });
78
78
  return new protocol_http_1.HttpRequest({
79
79
  protocol,
@@ -85,8 +85,8 @@ const serializeAws_restJson1CreateAddonCommand = async (input, context) => {
85
85
  body,
86
86
  });
87
87
  };
88
- exports.serializeAws_restJson1CreateAddonCommand = serializeAws_restJson1CreateAddonCommand;
89
- const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
88
+ exports.se_CreateAddonCommand = se_CreateAddonCommand;
89
+ const se_CreateClusterCommand = async (input, context) => {
90
90
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
91
91
  const headers = {
92
92
  "content-type": "application/json",
@@ -96,21 +96,19 @@ const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
96
96
  body = JSON.stringify({
97
97
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
98
98
  ...(input.encryptionConfig != null && {
99
- encryptionConfig: serializeAws_restJson1EncryptionConfigList(input.encryptionConfig, context),
99
+ encryptionConfig: se_EncryptionConfigList(input.encryptionConfig, context),
100
100
  }),
101
101
  ...(input.kubernetesNetworkConfig != null && {
102
- kubernetesNetworkConfig: serializeAws_restJson1KubernetesNetworkConfigRequest(input.kubernetesNetworkConfig, context),
102
+ kubernetesNetworkConfig: se_KubernetesNetworkConfigRequest(input.kubernetesNetworkConfig, context),
103
103
  }),
104
- ...(input.logging != null && { logging: serializeAws_restJson1Logging(input.logging, context) }),
104
+ ...(input.logging != null && { logging: se_Logging(input.logging, context) }),
105
105
  ...(input.name != null && { name: input.name }),
106
- ...(input.outpostConfig != null && {
107
- outpostConfig: serializeAws_restJson1OutpostConfigRequest(input.outpostConfig, context),
108
- }),
106
+ ...(input.outpostConfig != null && { outpostConfig: se_OutpostConfigRequest(input.outpostConfig, context) }),
109
107
  ...(input.resourcesVpcConfig != null && {
110
- resourcesVpcConfig: serializeAws_restJson1VpcConfigRequest(input.resourcesVpcConfig, context),
108
+ resourcesVpcConfig: se_VpcConfigRequest(input.resourcesVpcConfig, context),
111
109
  }),
112
110
  ...(input.roleArn != null && { roleArn: input.roleArn }),
113
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
111
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
114
112
  ...(input.version != null && { version: input.version }),
115
113
  });
116
114
  return new protocol_http_1.HttpRequest({
@@ -123,8 +121,8 @@ const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
123
121
  body,
124
122
  });
125
123
  };
126
- exports.serializeAws_restJson1CreateClusterCommand = serializeAws_restJson1CreateClusterCommand;
127
- const serializeAws_restJson1CreateFargateProfileCommand = async (input, context) => {
124
+ exports.se_CreateClusterCommand = se_CreateClusterCommand;
125
+ const se_CreateFargateProfileCommand = async (input, context) => {
128
126
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
129
127
  const headers = {
130
128
  "content-type": "application/json",
@@ -136,11 +134,9 @@ const serializeAws_restJson1CreateFargateProfileCommand = async (input, context)
136
134
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
137
135
  ...(input.fargateProfileName != null && { fargateProfileName: input.fargateProfileName }),
138
136
  ...(input.podExecutionRoleArn != null && { podExecutionRoleArn: input.podExecutionRoleArn }),
139
- ...(input.selectors != null && {
140
- selectors: serializeAws_restJson1FargateProfileSelectors(input.selectors, context),
141
- }),
142
- ...(input.subnets != null && { subnets: serializeAws_restJson1StringList(input.subnets, context) }),
143
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
137
+ ...(input.selectors != null && { selectors: se_FargateProfileSelectors(input.selectors, context) }),
138
+ ...(input.subnets != null && { subnets: se_StringList(input.subnets, context) }),
139
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
144
140
  });
145
141
  return new protocol_http_1.HttpRequest({
146
142
  protocol,
@@ -152,8 +148,8 @@ const serializeAws_restJson1CreateFargateProfileCommand = async (input, context)
152
148
  body,
153
149
  });
154
150
  };
155
- exports.serializeAws_restJson1CreateFargateProfileCommand = serializeAws_restJson1CreateFargateProfileCommand;
156
- const serializeAws_restJson1CreateNodegroupCommand = async (input, context) => {
151
+ exports.se_CreateFargateProfileCommand = se_CreateFargateProfileCommand;
152
+ const se_CreateNodegroupCommand = async (input, context) => {
157
153
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
158
154
  const headers = {
159
155
  "content-type": "application/json",
@@ -166,28 +162,20 @@ const serializeAws_restJson1CreateNodegroupCommand = async (input, context) => {
166
162
  ...(input.capacityType != null && { capacityType: input.capacityType }),
167
163
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
168
164
  ...(input.diskSize != null && { diskSize: input.diskSize }),
169
- ...(input.instanceTypes != null && {
170
- instanceTypes: serializeAws_restJson1StringList(input.instanceTypes, context),
171
- }),
172
- ...(input.labels != null && { labels: serializeAws_restJson1labelsMap(input.labels, context) }),
165
+ ...(input.instanceTypes != null && { instanceTypes: se_StringList(input.instanceTypes, context) }),
166
+ ...(input.labels != null && { labels: se_labelsMap(input.labels, context) }),
173
167
  ...(input.launchTemplate != null && {
174
- launchTemplate: serializeAws_restJson1LaunchTemplateSpecification(input.launchTemplate, context),
168
+ launchTemplate: se_LaunchTemplateSpecification(input.launchTemplate, context),
175
169
  }),
176
170
  ...(input.nodeRole != null && { nodeRole: input.nodeRole }),
177
171
  ...(input.nodegroupName != null && { nodegroupName: input.nodegroupName }),
178
172
  ...(input.releaseVersion != null && { releaseVersion: input.releaseVersion }),
179
- ...(input.remoteAccess != null && {
180
- remoteAccess: serializeAws_restJson1RemoteAccessConfig(input.remoteAccess, context),
181
- }),
182
- ...(input.scalingConfig != null && {
183
- scalingConfig: serializeAws_restJson1NodegroupScalingConfig(input.scalingConfig, context),
184
- }),
185
- ...(input.subnets != null && { subnets: serializeAws_restJson1StringList(input.subnets, context) }),
186
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
187
- ...(input.taints != null && { taints: serializeAws_restJson1taintsList(input.taints, context) }),
188
- ...(input.updateConfig != null && {
189
- updateConfig: serializeAws_restJson1NodegroupUpdateConfig(input.updateConfig, context),
190
- }),
173
+ ...(input.remoteAccess != null && { remoteAccess: se_RemoteAccessConfig(input.remoteAccess, context) }),
174
+ ...(input.scalingConfig != null && { scalingConfig: se_NodegroupScalingConfig(input.scalingConfig, context) }),
175
+ ...(input.subnets != null && { subnets: se_StringList(input.subnets, context) }),
176
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
177
+ ...(input.taints != null && { taints: se_taintsList(input.taints, context) }),
178
+ ...(input.updateConfig != null && { updateConfig: se_NodegroupUpdateConfig(input.updateConfig, context) }),
191
179
  ...(input.version != null && { version: input.version }),
192
180
  });
193
181
  return new protocol_http_1.HttpRequest({
@@ -200,8 +188,8 @@ const serializeAws_restJson1CreateNodegroupCommand = async (input, context) => {
200
188
  body,
201
189
  });
202
190
  };
203
- exports.serializeAws_restJson1CreateNodegroupCommand = serializeAws_restJson1CreateNodegroupCommand;
204
- const serializeAws_restJson1DeleteAddonCommand = async (input, context) => {
191
+ exports.se_CreateNodegroupCommand = se_CreateNodegroupCommand;
192
+ const se_DeleteAddonCommand = async (input, context) => {
205
193
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
206
194
  const headers = {};
207
195
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -223,8 +211,8 @@ const serializeAws_restJson1DeleteAddonCommand = async (input, context) => {
223
211
  body,
224
212
  });
225
213
  };
226
- exports.serializeAws_restJson1DeleteAddonCommand = serializeAws_restJson1DeleteAddonCommand;
227
- const serializeAws_restJson1DeleteClusterCommand = async (input, context) => {
214
+ exports.se_DeleteAddonCommand = se_DeleteAddonCommand;
215
+ const se_DeleteClusterCommand = async (input, context) => {
228
216
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
229
217
  const headers = {};
230
218
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters/{name}";
@@ -240,8 +228,8 @@ const serializeAws_restJson1DeleteClusterCommand = async (input, context) => {
240
228
  body,
241
229
  });
242
230
  };
243
- exports.serializeAws_restJson1DeleteClusterCommand = serializeAws_restJson1DeleteClusterCommand;
244
- const serializeAws_restJson1DeleteFargateProfileCommand = async (input, context) => {
231
+ exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
232
+ const se_DeleteFargateProfileCommand = async (input, context) => {
245
233
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
246
234
  const headers = {};
247
235
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -259,8 +247,8 @@ const serializeAws_restJson1DeleteFargateProfileCommand = async (input, context)
259
247
  body,
260
248
  });
261
249
  };
262
- exports.serializeAws_restJson1DeleteFargateProfileCommand = serializeAws_restJson1DeleteFargateProfileCommand;
263
- const serializeAws_restJson1DeleteNodegroupCommand = async (input, context) => {
250
+ exports.se_DeleteFargateProfileCommand = se_DeleteFargateProfileCommand;
251
+ const se_DeleteNodegroupCommand = async (input, context) => {
264
252
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
253
  const headers = {};
266
254
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -278,8 +266,8 @@ const serializeAws_restJson1DeleteNodegroupCommand = async (input, context) => {
278
266
  body,
279
267
  });
280
268
  };
281
- exports.serializeAws_restJson1DeleteNodegroupCommand = serializeAws_restJson1DeleteNodegroupCommand;
282
- const serializeAws_restJson1DeregisterClusterCommand = async (input, context) => {
269
+ exports.se_DeleteNodegroupCommand = se_DeleteNodegroupCommand;
270
+ const se_DeregisterClusterCommand = async (input, context) => {
283
271
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
284
272
  const headers = {};
285
273
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/cluster-registrations/{name}";
@@ -295,8 +283,8 @@ const serializeAws_restJson1DeregisterClusterCommand = async (input, context) =>
295
283
  body,
296
284
  });
297
285
  };
298
- exports.serializeAws_restJson1DeregisterClusterCommand = serializeAws_restJson1DeregisterClusterCommand;
299
- const serializeAws_restJson1DescribeAddonCommand = async (input, context) => {
286
+ exports.se_DeregisterClusterCommand = se_DeregisterClusterCommand;
287
+ const se_DescribeAddonCommand = async (input, context) => {
300
288
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
301
289
  const headers = {};
302
290
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -314,8 +302,8 @@ const serializeAws_restJson1DescribeAddonCommand = async (input, context) => {
314
302
  body,
315
303
  });
316
304
  };
317
- exports.serializeAws_restJson1DescribeAddonCommand = serializeAws_restJson1DescribeAddonCommand;
318
- const serializeAws_restJson1DescribeAddonConfigurationCommand = async (input, context) => {
305
+ exports.se_DescribeAddonCommand = se_DescribeAddonCommand;
306
+ const se_DescribeAddonConfigurationCommand = async (input, context) => {
319
307
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
320
308
  const headers = {};
321
309
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/addons/configuration-schemas";
@@ -335,8 +323,8 @@ const serializeAws_restJson1DescribeAddonConfigurationCommand = async (input, co
335
323
  body,
336
324
  });
337
325
  };
338
- exports.serializeAws_restJson1DescribeAddonConfigurationCommand = serializeAws_restJson1DescribeAddonConfigurationCommand;
339
- const serializeAws_restJson1DescribeAddonVersionsCommand = async (input, context) => {
326
+ exports.se_DescribeAddonConfigurationCommand = se_DescribeAddonConfigurationCommand;
327
+ const se_DescribeAddonVersionsCommand = async (input, context) => {
340
328
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
341
329
  const headers = {};
342
330
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/addons/supported-versions";
@@ -361,8 +349,8 @@ const serializeAws_restJson1DescribeAddonVersionsCommand = async (input, context
361
349
  body,
362
350
  });
363
351
  };
364
- exports.serializeAws_restJson1DescribeAddonVersionsCommand = serializeAws_restJson1DescribeAddonVersionsCommand;
365
- const serializeAws_restJson1DescribeClusterCommand = async (input, context) => {
352
+ exports.se_DescribeAddonVersionsCommand = se_DescribeAddonVersionsCommand;
353
+ const se_DescribeClusterCommand = async (input, context) => {
366
354
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
367
355
  const headers = {};
368
356
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters/{name}";
@@ -378,8 +366,8 @@ const serializeAws_restJson1DescribeClusterCommand = async (input, context) => {
378
366
  body,
379
367
  });
380
368
  };
381
- exports.serializeAws_restJson1DescribeClusterCommand = serializeAws_restJson1DescribeClusterCommand;
382
- const serializeAws_restJson1DescribeFargateProfileCommand = async (input, context) => {
369
+ exports.se_DescribeClusterCommand = se_DescribeClusterCommand;
370
+ const se_DescribeFargateProfileCommand = async (input, context) => {
383
371
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
384
372
  const headers = {};
385
373
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -397,8 +385,8 @@ const serializeAws_restJson1DescribeFargateProfileCommand = async (input, contex
397
385
  body,
398
386
  });
399
387
  };
400
- exports.serializeAws_restJson1DescribeFargateProfileCommand = serializeAws_restJson1DescribeFargateProfileCommand;
401
- const serializeAws_restJson1DescribeIdentityProviderConfigCommand = async (input, context) => {
388
+ exports.se_DescribeFargateProfileCommand = se_DescribeFargateProfileCommand;
389
+ const se_DescribeIdentityProviderConfigCommand = async (input, context) => {
402
390
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
403
391
  const headers = {
404
392
  "content-type": "application/json",
@@ -409,7 +397,7 @@ const serializeAws_restJson1DescribeIdentityProviderConfigCommand = async (input
409
397
  let body;
410
398
  body = JSON.stringify({
411
399
  ...(input.identityProviderConfig != null && {
412
- identityProviderConfig: serializeAws_restJson1IdentityProviderConfig(input.identityProviderConfig, context),
400
+ identityProviderConfig: se_IdentityProviderConfig(input.identityProviderConfig, context),
413
401
  }),
414
402
  });
415
403
  return new protocol_http_1.HttpRequest({
@@ -422,8 +410,8 @@ const serializeAws_restJson1DescribeIdentityProviderConfigCommand = async (input
422
410
  body,
423
411
  });
424
412
  };
425
- exports.serializeAws_restJson1DescribeIdentityProviderConfigCommand = serializeAws_restJson1DescribeIdentityProviderConfigCommand;
426
- const serializeAws_restJson1DescribeNodegroupCommand = async (input, context) => {
413
+ exports.se_DescribeIdentityProviderConfigCommand = se_DescribeIdentityProviderConfigCommand;
414
+ const se_DescribeNodegroupCommand = async (input, context) => {
427
415
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
428
416
  const headers = {};
429
417
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -441,8 +429,8 @@ const serializeAws_restJson1DescribeNodegroupCommand = async (input, context) =>
441
429
  body,
442
430
  });
443
431
  };
444
- exports.serializeAws_restJson1DescribeNodegroupCommand = serializeAws_restJson1DescribeNodegroupCommand;
445
- const serializeAws_restJson1DescribeUpdateCommand = async (input, context) => {
432
+ exports.se_DescribeNodegroupCommand = se_DescribeNodegroupCommand;
433
+ const se_DescribeUpdateCommand = async (input, context) => {
446
434
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
447
435
  const headers = {};
448
436
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters/{name}/updates/{updateId}";
@@ -464,8 +452,8 @@ const serializeAws_restJson1DescribeUpdateCommand = async (input, context) => {
464
452
  body,
465
453
  });
466
454
  };
467
- exports.serializeAws_restJson1DescribeUpdateCommand = serializeAws_restJson1DescribeUpdateCommand;
468
- const serializeAws_restJson1DisassociateIdentityProviderConfigCommand = async (input, context) => {
455
+ exports.se_DescribeUpdateCommand = se_DescribeUpdateCommand;
456
+ const se_DisassociateIdentityProviderConfigCommand = async (input, context) => {
469
457
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
470
458
  const headers = {
471
459
  "content-type": "application/json",
@@ -477,7 +465,7 @@ const serializeAws_restJson1DisassociateIdentityProviderConfigCommand = async (i
477
465
  body = JSON.stringify({
478
466
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
479
467
  ...(input.identityProviderConfig != null && {
480
- identityProviderConfig: serializeAws_restJson1IdentityProviderConfig(input.identityProviderConfig, context),
468
+ identityProviderConfig: se_IdentityProviderConfig(input.identityProviderConfig, context),
481
469
  }),
482
470
  });
483
471
  return new protocol_http_1.HttpRequest({
@@ -490,8 +478,8 @@ const serializeAws_restJson1DisassociateIdentityProviderConfigCommand = async (i
490
478
  body,
491
479
  });
492
480
  };
493
- exports.serializeAws_restJson1DisassociateIdentityProviderConfigCommand = serializeAws_restJson1DisassociateIdentityProviderConfigCommand;
494
- const serializeAws_restJson1ListAddonsCommand = async (input, context) => {
481
+ exports.se_DisassociateIdentityProviderConfigCommand = se_DisassociateIdentityProviderConfigCommand;
482
+ const se_ListAddonsCommand = async (input, context) => {
495
483
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
496
484
  const headers = {};
497
485
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters/{clusterName}/addons";
@@ -512,8 +500,8 @@ const serializeAws_restJson1ListAddonsCommand = async (input, context) => {
512
500
  body,
513
501
  });
514
502
  };
515
- exports.serializeAws_restJson1ListAddonsCommand = serializeAws_restJson1ListAddonsCommand;
516
- const serializeAws_restJson1ListClustersCommand = async (input, context) => {
503
+ exports.se_ListAddonsCommand = se_ListAddonsCommand;
504
+ const se_ListClustersCommand = async (input, context) => {
517
505
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
518
506
  const headers = {};
519
507
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters";
@@ -534,8 +522,8 @@ const serializeAws_restJson1ListClustersCommand = async (input, context) => {
534
522
  body,
535
523
  });
536
524
  };
537
- exports.serializeAws_restJson1ListClustersCommand = serializeAws_restJson1ListClustersCommand;
538
- const serializeAws_restJson1ListFargateProfilesCommand = async (input, context) => {
525
+ exports.se_ListClustersCommand = se_ListClustersCommand;
526
+ const se_ListFargateProfilesCommand = async (input, context) => {
539
527
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
540
528
  const headers = {};
541
529
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters/{clusterName}/fargate-profiles";
@@ -556,8 +544,8 @@ const serializeAws_restJson1ListFargateProfilesCommand = async (input, context)
556
544
  body,
557
545
  });
558
546
  };
559
- exports.serializeAws_restJson1ListFargateProfilesCommand = serializeAws_restJson1ListFargateProfilesCommand;
560
- const serializeAws_restJson1ListIdentityProviderConfigsCommand = async (input, context) => {
547
+ exports.se_ListFargateProfilesCommand = se_ListFargateProfilesCommand;
548
+ const se_ListIdentityProviderConfigsCommand = async (input, context) => {
561
549
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
562
550
  const headers = {};
563
551
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -579,8 +567,8 @@ const serializeAws_restJson1ListIdentityProviderConfigsCommand = async (input, c
579
567
  body,
580
568
  });
581
569
  };
582
- exports.serializeAws_restJson1ListIdentityProviderConfigsCommand = serializeAws_restJson1ListIdentityProviderConfigsCommand;
583
- const serializeAws_restJson1ListNodegroupsCommand = async (input, context) => {
570
+ exports.se_ListIdentityProviderConfigsCommand = se_ListIdentityProviderConfigsCommand;
571
+ const se_ListNodegroupsCommand = async (input, context) => {
584
572
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
585
573
  const headers = {};
586
574
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters/{clusterName}/node-groups";
@@ -601,8 +589,8 @@ const serializeAws_restJson1ListNodegroupsCommand = async (input, context) => {
601
589
  body,
602
590
  });
603
591
  };
604
- exports.serializeAws_restJson1ListNodegroupsCommand = serializeAws_restJson1ListNodegroupsCommand;
605
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
592
+ exports.se_ListNodegroupsCommand = se_ListNodegroupsCommand;
593
+ const se_ListTagsForResourceCommand = async (input, context) => {
606
594
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
607
595
  const headers = {};
608
596
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -618,8 +606,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
618
606
  body,
619
607
  });
620
608
  };
621
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
622
- const serializeAws_restJson1ListUpdatesCommand = async (input, context) => {
609
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
610
+ const se_ListUpdatesCommand = async (input, context) => {
623
611
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
624
612
  const headers = {};
625
613
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/clusters/{name}/updates";
@@ -642,8 +630,8 @@ const serializeAws_restJson1ListUpdatesCommand = async (input, context) => {
642
630
  body,
643
631
  });
644
632
  };
645
- exports.serializeAws_restJson1ListUpdatesCommand = serializeAws_restJson1ListUpdatesCommand;
646
- const serializeAws_restJson1RegisterClusterCommand = async (input, context) => {
633
+ exports.se_ListUpdatesCommand = se_ListUpdatesCommand;
634
+ const se_RegisterClusterCommand = async (input, context) => {
647
635
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
648
636
  const headers = {
649
637
  "content-type": "application/json",
@@ -653,10 +641,10 @@ const serializeAws_restJson1RegisterClusterCommand = async (input, context) => {
653
641
  body = JSON.stringify({
654
642
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
655
643
  ...(input.connectorConfig != null && {
656
- connectorConfig: serializeAws_restJson1ConnectorConfigRequest(input.connectorConfig, context),
644
+ connectorConfig: se_ConnectorConfigRequest(input.connectorConfig, context),
657
645
  }),
658
646
  ...(input.name != null && { name: input.name }),
659
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
647
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
660
648
  });
661
649
  return new protocol_http_1.HttpRequest({
662
650
  protocol,
@@ -668,8 +656,8 @@ const serializeAws_restJson1RegisterClusterCommand = async (input, context) => {
668
656
  body,
669
657
  });
670
658
  };
671
- exports.serializeAws_restJson1RegisterClusterCommand = serializeAws_restJson1RegisterClusterCommand;
672
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
659
+ exports.se_RegisterClusterCommand = se_RegisterClusterCommand;
660
+ const se_TagResourceCommand = async (input, context) => {
673
661
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
674
662
  const headers = {
675
663
  "content-type": "application/json",
@@ -678,7 +666,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
678
666
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
679
667
  let body;
680
668
  body = JSON.stringify({
681
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
669
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
682
670
  });
683
671
  return new protocol_http_1.HttpRequest({
684
672
  protocol,
@@ -690,8 +678,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
690
678
  body,
691
679
  });
692
680
  };
693
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
694
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
681
+ exports.se_TagResourceCommand = se_TagResourceCommand;
682
+ const se_UntagResourceCommand = async (input, context) => {
695
683
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
696
684
  const headers = {};
697
685
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -714,8 +702,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
714
702
  body,
715
703
  });
716
704
  };
717
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
718
- const serializeAws_restJson1UpdateAddonCommand = async (input, context) => {
705
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
706
+ const se_UpdateAddonCommand = async (input, context) => {
719
707
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
720
708
  const headers = {
721
709
  "content-type": "application/json",
@@ -742,8 +730,8 @@ const serializeAws_restJson1UpdateAddonCommand = async (input, context) => {
742
730
  body,
743
731
  });
744
732
  };
745
- exports.serializeAws_restJson1UpdateAddonCommand = serializeAws_restJson1UpdateAddonCommand;
746
- const serializeAws_restJson1UpdateClusterConfigCommand = async (input, context) => {
733
+ exports.se_UpdateAddonCommand = se_UpdateAddonCommand;
734
+ const se_UpdateClusterConfigCommand = async (input, context) => {
747
735
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
748
736
  const headers = {
749
737
  "content-type": "application/json",
@@ -753,9 +741,9 @@ const serializeAws_restJson1UpdateClusterConfigCommand = async (input, context)
753
741
  let body;
754
742
  body = JSON.stringify({
755
743
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
756
- ...(input.logging != null && { logging: serializeAws_restJson1Logging(input.logging, context) }),
744
+ ...(input.logging != null && { logging: se_Logging(input.logging, context) }),
757
745
  ...(input.resourcesVpcConfig != null && {
758
- resourcesVpcConfig: serializeAws_restJson1VpcConfigRequest(input.resourcesVpcConfig, context),
746
+ resourcesVpcConfig: se_VpcConfigRequest(input.resourcesVpcConfig, context),
759
747
  }),
760
748
  });
761
749
  return new protocol_http_1.HttpRequest({
@@ -768,8 +756,8 @@ const serializeAws_restJson1UpdateClusterConfigCommand = async (input, context)
768
756
  body,
769
757
  });
770
758
  };
771
- exports.serializeAws_restJson1UpdateClusterConfigCommand = serializeAws_restJson1UpdateClusterConfigCommand;
772
- const serializeAws_restJson1UpdateClusterVersionCommand = async (input, context) => {
759
+ exports.se_UpdateClusterConfigCommand = se_UpdateClusterConfigCommand;
760
+ const se_UpdateClusterVersionCommand = async (input, context) => {
773
761
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
774
762
  const headers = {
775
763
  "content-type": "application/json",
@@ -791,8 +779,8 @@ const serializeAws_restJson1UpdateClusterVersionCommand = async (input, context)
791
779
  body,
792
780
  });
793
781
  };
794
- exports.serializeAws_restJson1UpdateClusterVersionCommand = serializeAws_restJson1UpdateClusterVersionCommand;
795
- const serializeAws_restJson1UpdateNodegroupConfigCommand = async (input, context) => {
782
+ exports.se_UpdateClusterVersionCommand = se_UpdateClusterVersionCommand;
783
+ const se_UpdateNodegroupConfigCommand = async (input, context) => {
796
784
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
797
785
  const headers = {
798
786
  "content-type": "application/json",
@@ -804,14 +792,10 @@ const serializeAws_restJson1UpdateNodegroupConfigCommand = async (input, context
804
792
  let body;
805
793
  body = JSON.stringify({
806
794
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
807
- ...(input.labels != null && { labels: serializeAws_restJson1UpdateLabelsPayload(input.labels, context) }),
808
- ...(input.scalingConfig != null && {
809
- scalingConfig: serializeAws_restJson1NodegroupScalingConfig(input.scalingConfig, context),
810
- }),
811
- ...(input.taints != null && { taints: serializeAws_restJson1UpdateTaintsPayload(input.taints, context) }),
812
- ...(input.updateConfig != null && {
813
- updateConfig: serializeAws_restJson1NodegroupUpdateConfig(input.updateConfig, context),
814
- }),
795
+ ...(input.labels != null && { labels: se_UpdateLabelsPayload(input.labels, context) }),
796
+ ...(input.scalingConfig != null && { scalingConfig: se_NodegroupScalingConfig(input.scalingConfig, context) }),
797
+ ...(input.taints != null && { taints: se_UpdateTaintsPayload(input.taints, context) }),
798
+ ...(input.updateConfig != null && { updateConfig: se_NodegroupUpdateConfig(input.updateConfig, context) }),
815
799
  });
816
800
  return new protocol_http_1.HttpRequest({
817
801
  protocol,
@@ -823,8 +807,8 @@ const serializeAws_restJson1UpdateNodegroupConfigCommand = async (input, context
823
807
  body,
824
808
  });
825
809
  };
826
- exports.serializeAws_restJson1UpdateNodegroupConfigCommand = serializeAws_restJson1UpdateNodegroupConfigCommand;
827
- const serializeAws_restJson1UpdateNodegroupVersionCommand = async (input, context) => {
810
+ exports.se_UpdateNodegroupConfigCommand = se_UpdateNodegroupConfigCommand;
811
+ const se_UpdateNodegroupVersionCommand = async (input, context) => {
828
812
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
829
813
  const headers = {
830
814
  "content-type": "application/json",
@@ -838,7 +822,7 @@ const serializeAws_restJson1UpdateNodegroupVersionCommand = async (input, contex
838
822
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
839
823
  ...(input.force != null && { force: input.force }),
840
824
  ...(input.launchTemplate != null && {
841
- launchTemplate: serializeAws_restJson1LaunchTemplateSpecification(input.launchTemplate, context),
825
+ launchTemplate: se_LaunchTemplateSpecification(input.launchTemplate, context),
842
826
  }),
843
827
  ...(input.releaseVersion != null && { releaseVersion: input.releaseVersion }),
844
828
  ...(input.version != null && { version: input.version }),
@@ -853,22 +837,22 @@ const serializeAws_restJson1UpdateNodegroupVersionCommand = async (input, contex
853
837
  body,
854
838
  });
855
839
  };
856
- exports.serializeAws_restJson1UpdateNodegroupVersionCommand = serializeAws_restJson1UpdateNodegroupVersionCommand;
857
- const deserializeAws_restJson1AssociateEncryptionConfigCommand = async (output, context) => {
840
+ exports.se_UpdateNodegroupVersionCommand = se_UpdateNodegroupVersionCommand;
841
+ const de_AssociateEncryptionConfigCommand = async (output, context) => {
858
842
  if (output.statusCode !== 200 && output.statusCode >= 300) {
859
- return deserializeAws_restJson1AssociateEncryptionConfigCommandError(output, context);
843
+ return de_AssociateEncryptionConfigCommandError(output, context);
860
844
  }
861
845
  const contents = map({
862
846
  $metadata: deserializeMetadata(output),
863
847
  });
864
848
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
865
849
  if (data.update != null) {
866
- contents.update = deserializeAws_restJson1Update(data.update, context);
850
+ contents.update = de_Update(data.update, context);
867
851
  }
868
852
  return contents;
869
853
  };
870
- exports.deserializeAws_restJson1AssociateEncryptionConfigCommand = deserializeAws_restJson1AssociateEncryptionConfigCommand;
871
- const deserializeAws_restJson1AssociateEncryptionConfigCommandError = async (output, context) => {
854
+ exports.de_AssociateEncryptionConfigCommand = de_AssociateEncryptionConfigCommand;
855
+ const de_AssociateEncryptionConfigCommandError = async (output, context) => {
872
856
  const parsedOutput = {
873
857
  ...output,
874
858
  body: await parseErrorBody(output.body, context),
@@ -877,22 +861,22 @@ const deserializeAws_restJson1AssociateEncryptionConfigCommandError = async (out
877
861
  switch (errorCode) {
878
862
  case "ClientException":
879
863
  case "com.amazonaws.eks#ClientException":
880
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
864
+ throw await de_ClientExceptionRes(parsedOutput, context);
881
865
  case "InvalidParameterException":
882
866
  case "com.amazonaws.eks#InvalidParameterException":
883
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
867
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
884
868
  case "InvalidRequestException":
885
869
  case "com.amazonaws.eks#InvalidRequestException":
886
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
870
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
887
871
  case "ResourceInUseException":
888
872
  case "com.amazonaws.eks#ResourceInUseException":
889
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
873
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
890
874
  case "ResourceNotFoundException":
891
875
  case "com.amazonaws.eks#ResourceNotFoundException":
892
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
876
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
893
877
  case "ServerException":
894
878
  case "com.amazonaws.eks#ServerException":
895
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
879
+ throw await de_ServerExceptionRes(parsedOutput, context);
896
880
  default:
897
881
  const parsedBody = parsedOutput.body;
898
882
  (0, smithy_client_1.throwDefaultError)({
@@ -903,24 +887,24 @@ const deserializeAws_restJson1AssociateEncryptionConfigCommandError = async (out
903
887
  });
904
888
  }
905
889
  };
906
- const deserializeAws_restJson1AssociateIdentityProviderConfigCommand = async (output, context) => {
890
+ const de_AssociateIdentityProviderConfigCommand = async (output, context) => {
907
891
  if (output.statusCode !== 200 && output.statusCode >= 300) {
908
- return deserializeAws_restJson1AssociateIdentityProviderConfigCommandError(output, context);
892
+ return de_AssociateIdentityProviderConfigCommandError(output, context);
909
893
  }
910
894
  const contents = map({
911
895
  $metadata: deserializeMetadata(output),
912
896
  });
913
897
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
914
898
  if (data.tags != null) {
915
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
899
+ contents.tags = de_TagMap(data.tags, context);
916
900
  }
917
901
  if (data.update != null) {
918
- contents.update = deserializeAws_restJson1Update(data.update, context);
902
+ contents.update = de_Update(data.update, context);
919
903
  }
920
904
  return contents;
921
905
  };
922
- exports.deserializeAws_restJson1AssociateIdentityProviderConfigCommand = deserializeAws_restJson1AssociateIdentityProviderConfigCommand;
923
- const deserializeAws_restJson1AssociateIdentityProviderConfigCommandError = async (output, context) => {
906
+ exports.de_AssociateIdentityProviderConfigCommand = de_AssociateIdentityProviderConfigCommand;
907
+ const de_AssociateIdentityProviderConfigCommandError = async (output, context) => {
924
908
  const parsedOutput = {
925
909
  ...output,
926
910
  body: await parseErrorBody(output.body, context),
@@ -929,22 +913,22 @@ const deserializeAws_restJson1AssociateIdentityProviderConfigCommandError = asyn
929
913
  switch (errorCode) {
930
914
  case "ClientException":
931
915
  case "com.amazonaws.eks#ClientException":
932
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
916
+ throw await de_ClientExceptionRes(parsedOutput, context);
933
917
  case "InvalidParameterException":
934
918
  case "com.amazonaws.eks#InvalidParameterException":
935
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
919
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
936
920
  case "InvalidRequestException":
937
921
  case "com.amazonaws.eks#InvalidRequestException":
938
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
922
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
939
923
  case "ResourceInUseException":
940
924
  case "com.amazonaws.eks#ResourceInUseException":
941
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
925
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
942
926
  case "ResourceNotFoundException":
943
927
  case "com.amazonaws.eks#ResourceNotFoundException":
944
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
928
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
945
929
  case "ServerException":
946
930
  case "com.amazonaws.eks#ServerException":
947
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
931
+ throw await de_ServerExceptionRes(parsedOutput, context);
948
932
  default:
949
933
  const parsedBody = parsedOutput.body;
950
934
  (0, smithy_client_1.throwDefaultError)({
@@ -955,21 +939,21 @@ const deserializeAws_restJson1AssociateIdentityProviderConfigCommandError = asyn
955
939
  });
956
940
  }
957
941
  };
958
- const deserializeAws_restJson1CreateAddonCommand = async (output, context) => {
942
+ const de_CreateAddonCommand = async (output, context) => {
959
943
  if (output.statusCode !== 200 && output.statusCode >= 300) {
960
- return deserializeAws_restJson1CreateAddonCommandError(output, context);
944
+ return de_CreateAddonCommandError(output, context);
961
945
  }
962
946
  const contents = map({
963
947
  $metadata: deserializeMetadata(output),
964
948
  });
965
949
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
966
950
  if (data.addon != null) {
967
- contents.addon = deserializeAws_restJson1Addon(data.addon, context);
951
+ contents.addon = de_Addon(data.addon, context);
968
952
  }
969
953
  return contents;
970
954
  };
971
- exports.deserializeAws_restJson1CreateAddonCommand = deserializeAws_restJson1CreateAddonCommand;
972
- const deserializeAws_restJson1CreateAddonCommandError = async (output, context) => {
955
+ exports.de_CreateAddonCommand = de_CreateAddonCommand;
956
+ const de_CreateAddonCommandError = async (output, context) => {
973
957
  const parsedOutput = {
974
958
  ...output,
975
959
  body: await parseErrorBody(output.body, context),
@@ -978,22 +962,22 @@ const deserializeAws_restJson1CreateAddonCommandError = async (output, context)
978
962
  switch (errorCode) {
979
963
  case "ClientException":
980
964
  case "com.amazonaws.eks#ClientException":
981
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
965
+ throw await de_ClientExceptionRes(parsedOutput, context);
982
966
  case "InvalidParameterException":
983
967
  case "com.amazonaws.eks#InvalidParameterException":
984
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
968
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
985
969
  case "InvalidRequestException":
986
970
  case "com.amazonaws.eks#InvalidRequestException":
987
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
971
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
988
972
  case "ResourceInUseException":
989
973
  case "com.amazonaws.eks#ResourceInUseException":
990
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
974
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
991
975
  case "ResourceNotFoundException":
992
976
  case "com.amazonaws.eks#ResourceNotFoundException":
993
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
977
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
994
978
  case "ServerException":
995
979
  case "com.amazonaws.eks#ServerException":
996
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
980
+ throw await de_ServerExceptionRes(parsedOutput, context);
997
981
  default:
998
982
  const parsedBody = parsedOutput.body;
999
983
  (0, smithy_client_1.throwDefaultError)({
@@ -1004,21 +988,21 @@ const deserializeAws_restJson1CreateAddonCommandError = async (output, context)
1004
988
  });
1005
989
  }
1006
990
  };
1007
- const deserializeAws_restJson1CreateClusterCommand = async (output, context) => {
991
+ const de_CreateClusterCommand = async (output, context) => {
1008
992
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1009
- return deserializeAws_restJson1CreateClusterCommandError(output, context);
993
+ return de_CreateClusterCommandError(output, context);
1010
994
  }
1011
995
  const contents = map({
1012
996
  $metadata: deserializeMetadata(output),
1013
997
  });
1014
998
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1015
999
  if (data.cluster != null) {
1016
- contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
1000
+ contents.cluster = de_Cluster(data.cluster, context);
1017
1001
  }
1018
1002
  return contents;
1019
1003
  };
1020
- exports.deserializeAws_restJson1CreateClusterCommand = deserializeAws_restJson1CreateClusterCommand;
1021
- const deserializeAws_restJson1CreateClusterCommandError = async (output, context) => {
1004
+ exports.de_CreateClusterCommand = de_CreateClusterCommand;
1005
+ const de_CreateClusterCommandError = async (output, context) => {
1022
1006
  const parsedOutput = {
1023
1007
  ...output,
1024
1008
  body: await parseErrorBody(output.body, context),
@@ -1027,25 +1011,25 @@ const deserializeAws_restJson1CreateClusterCommandError = async (output, context
1027
1011
  switch (errorCode) {
1028
1012
  case "ClientException":
1029
1013
  case "com.amazonaws.eks#ClientException":
1030
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1014
+ throw await de_ClientExceptionRes(parsedOutput, context);
1031
1015
  case "InvalidParameterException":
1032
1016
  case "com.amazonaws.eks#InvalidParameterException":
1033
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1017
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1034
1018
  case "ResourceInUseException":
1035
1019
  case "com.amazonaws.eks#ResourceInUseException":
1036
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
1020
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1037
1021
  case "ResourceLimitExceededException":
1038
1022
  case "com.amazonaws.eks#ResourceLimitExceededException":
1039
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1023
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1040
1024
  case "ServerException":
1041
1025
  case "com.amazonaws.eks#ServerException":
1042
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1026
+ throw await de_ServerExceptionRes(parsedOutput, context);
1043
1027
  case "ServiceUnavailableException":
1044
1028
  case "com.amazonaws.eks#ServiceUnavailableException":
1045
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1029
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1046
1030
  case "UnsupportedAvailabilityZoneException":
1047
1031
  case "com.amazonaws.eks#UnsupportedAvailabilityZoneException":
1048
- throw await deserializeAws_restJson1UnsupportedAvailabilityZoneExceptionResponse(parsedOutput, context);
1032
+ throw await de_UnsupportedAvailabilityZoneExceptionRes(parsedOutput, context);
1049
1033
  default:
1050
1034
  const parsedBody = parsedOutput.body;
1051
1035
  (0, smithy_client_1.throwDefaultError)({
@@ -1056,21 +1040,21 @@ const deserializeAws_restJson1CreateClusterCommandError = async (output, context
1056
1040
  });
1057
1041
  }
1058
1042
  };
1059
- const deserializeAws_restJson1CreateFargateProfileCommand = async (output, context) => {
1043
+ const de_CreateFargateProfileCommand = async (output, context) => {
1060
1044
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1061
- return deserializeAws_restJson1CreateFargateProfileCommandError(output, context);
1045
+ return de_CreateFargateProfileCommandError(output, context);
1062
1046
  }
1063
1047
  const contents = map({
1064
1048
  $metadata: deserializeMetadata(output),
1065
1049
  });
1066
1050
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1067
1051
  if (data.fargateProfile != null) {
1068
- contents.fargateProfile = deserializeAws_restJson1FargateProfile(data.fargateProfile, context);
1052
+ contents.fargateProfile = de_FargateProfile(data.fargateProfile, context);
1069
1053
  }
1070
1054
  return contents;
1071
1055
  };
1072
- exports.deserializeAws_restJson1CreateFargateProfileCommand = deserializeAws_restJson1CreateFargateProfileCommand;
1073
- const deserializeAws_restJson1CreateFargateProfileCommandError = async (output, context) => {
1056
+ exports.de_CreateFargateProfileCommand = de_CreateFargateProfileCommand;
1057
+ const de_CreateFargateProfileCommandError = async (output, context) => {
1074
1058
  const parsedOutput = {
1075
1059
  ...output,
1076
1060
  body: await parseErrorBody(output.body, context),
@@ -1079,22 +1063,22 @@ const deserializeAws_restJson1CreateFargateProfileCommandError = async (output,
1079
1063
  switch (errorCode) {
1080
1064
  case "ClientException":
1081
1065
  case "com.amazonaws.eks#ClientException":
1082
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1066
+ throw await de_ClientExceptionRes(parsedOutput, context);
1083
1067
  case "InvalidParameterException":
1084
1068
  case "com.amazonaws.eks#InvalidParameterException":
1085
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1069
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1086
1070
  case "InvalidRequestException":
1087
1071
  case "com.amazonaws.eks#InvalidRequestException":
1088
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1072
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1089
1073
  case "ResourceLimitExceededException":
1090
1074
  case "com.amazonaws.eks#ResourceLimitExceededException":
1091
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1075
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1092
1076
  case "ServerException":
1093
1077
  case "com.amazonaws.eks#ServerException":
1094
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1078
+ throw await de_ServerExceptionRes(parsedOutput, context);
1095
1079
  case "UnsupportedAvailabilityZoneException":
1096
1080
  case "com.amazonaws.eks#UnsupportedAvailabilityZoneException":
1097
- throw await deserializeAws_restJson1UnsupportedAvailabilityZoneExceptionResponse(parsedOutput, context);
1081
+ throw await de_UnsupportedAvailabilityZoneExceptionRes(parsedOutput, context);
1098
1082
  default:
1099
1083
  const parsedBody = parsedOutput.body;
1100
1084
  (0, smithy_client_1.throwDefaultError)({
@@ -1105,21 +1089,21 @@ const deserializeAws_restJson1CreateFargateProfileCommandError = async (output,
1105
1089
  });
1106
1090
  }
1107
1091
  };
1108
- const deserializeAws_restJson1CreateNodegroupCommand = async (output, context) => {
1092
+ const de_CreateNodegroupCommand = async (output, context) => {
1109
1093
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1110
- return deserializeAws_restJson1CreateNodegroupCommandError(output, context);
1094
+ return de_CreateNodegroupCommandError(output, context);
1111
1095
  }
1112
1096
  const contents = map({
1113
1097
  $metadata: deserializeMetadata(output),
1114
1098
  });
1115
1099
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1116
1100
  if (data.nodegroup != null) {
1117
- contents.nodegroup = deserializeAws_restJson1Nodegroup(data.nodegroup, context);
1101
+ contents.nodegroup = de_Nodegroup(data.nodegroup, context);
1118
1102
  }
1119
1103
  return contents;
1120
1104
  };
1121
- exports.deserializeAws_restJson1CreateNodegroupCommand = deserializeAws_restJson1CreateNodegroupCommand;
1122
- const deserializeAws_restJson1CreateNodegroupCommandError = async (output, context) => {
1105
+ exports.de_CreateNodegroupCommand = de_CreateNodegroupCommand;
1106
+ const de_CreateNodegroupCommandError = async (output, context) => {
1123
1107
  const parsedOutput = {
1124
1108
  ...output,
1125
1109
  body: await parseErrorBody(output.body, context),
@@ -1128,25 +1112,25 @@ const deserializeAws_restJson1CreateNodegroupCommandError = async (output, conte
1128
1112
  switch (errorCode) {
1129
1113
  case "ClientException":
1130
1114
  case "com.amazonaws.eks#ClientException":
1131
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1115
+ throw await de_ClientExceptionRes(parsedOutput, context);
1132
1116
  case "InvalidParameterException":
1133
1117
  case "com.amazonaws.eks#InvalidParameterException":
1134
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1118
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1135
1119
  case "InvalidRequestException":
1136
1120
  case "com.amazonaws.eks#InvalidRequestException":
1137
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1121
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1138
1122
  case "ResourceInUseException":
1139
1123
  case "com.amazonaws.eks#ResourceInUseException":
1140
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
1124
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1141
1125
  case "ResourceLimitExceededException":
1142
1126
  case "com.amazonaws.eks#ResourceLimitExceededException":
1143
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1127
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1144
1128
  case "ServerException":
1145
1129
  case "com.amazonaws.eks#ServerException":
1146
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1130
+ throw await de_ServerExceptionRes(parsedOutput, context);
1147
1131
  case "ServiceUnavailableException":
1148
1132
  case "com.amazonaws.eks#ServiceUnavailableException":
1149
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1133
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1150
1134
  default:
1151
1135
  const parsedBody = parsedOutput.body;
1152
1136
  (0, smithy_client_1.throwDefaultError)({
@@ -1157,21 +1141,21 @@ const deserializeAws_restJson1CreateNodegroupCommandError = async (output, conte
1157
1141
  });
1158
1142
  }
1159
1143
  };
1160
- const deserializeAws_restJson1DeleteAddonCommand = async (output, context) => {
1144
+ const de_DeleteAddonCommand = async (output, context) => {
1161
1145
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1162
- return deserializeAws_restJson1DeleteAddonCommandError(output, context);
1146
+ return de_DeleteAddonCommandError(output, context);
1163
1147
  }
1164
1148
  const contents = map({
1165
1149
  $metadata: deserializeMetadata(output),
1166
1150
  });
1167
1151
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1168
1152
  if (data.addon != null) {
1169
- contents.addon = deserializeAws_restJson1Addon(data.addon, context);
1153
+ contents.addon = de_Addon(data.addon, context);
1170
1154
  }
1171
1155
  return contents;
1172
1156
  };
1173
- exports.deserializeAws_restJson1DeleteAddonCommand = deserializeAws_restJson1DeleteAddonCommand;
1174
- const deserializeAws_restJson1DeleteAddonCommandError = async (output, context) => {
1157
+ exports.de_DeleteAddonCommand = de_DeleteAddonCommand;
1158
+ const de_DeleteAddonCommandError = async (output, context) => {
1175
1159
  const parsedOutput = {
1176
1160
  ...output,
1177
1161
  body: await parseErrorBody(output.body, context),
@@ -1180,19 +1164,19 @@ const deserializeAws_restJson1DeleteAddonCommandError = async (output, context)
1180
1164
  switch (errorCode) {
1181
1165
  case "ClientException":
1182
1166
  case "com.amazonaws.eks#ClientException":
1183
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1167
+ throw await de_ClientExceptionRes(parsedOutput, context);
1184
1168
  case "InvalidParameterException":
1185
1169
  case "com.amazonaws.eks#InvalidParameterException":
1186
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1170
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1187
1171
  case "InvalidRequestException":
1188
1172
  case "com.amazonaws.eks#InvalidRequestException":
1189
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1173
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1190
1174
  case "ResourceNotFoundException":
1191
1175
  case "com.amazonaws.eks#ResourceNotFoundException":
1192
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1176
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1193
1177
  case "ServerException":
1194
1178
  case "com.amazonaws.eks#ServerException":
1195
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1179
+ throw await de_ServerExceptionRes(parsedOutput, context);
1196
1180
  default:
1197
1181
  const parsedBody = parsedOutput.body;
1198
1182
  (0, smithy_client_1.throwDefaultError)({
@@ -1203,21 +1187,21 @@ const deserializeAws_restJson1DeleteAddonCommandError = async (output, context)
1203
1187
  });
1204
1188
  }
1205
1189
  };
1206
- const deserializeAws_restJson1DeleteClusterCommand = async (output, context) => {
1190
+ const de_DeleteClusterCommand = async (output, context) => {
1207
1191
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1208
- return deserializeAws_restJson1DeleteClusterCommandError(output, context);
1192
+ return de_DeleteClusterCommandError(output, context);
1209
1193
  }
1210
1194
  const contents = map({
1211
1195
  $metadata: deserializeMetadata(output),
1212
1196
  });
1213
1197
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1214
1198
  if (data.cluster != null) {
1215
- contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
1199
+ contents.cluster = de_Cluster(data.cluster, context);
1216
1200
  }
1217
1201
  return contents;
1218
1202
  };
1219
- exports.deserializeAws_restJson1DeleteClusterCommand = deserializeAws_restJson1DeleteClusterCommand;
1220
- const deserializeAws_restJson1DeleteClusterCommandError = async (output, context) => {
1203
+ exports.de_DeleteClusterCommand = de_DeleteClusterCommand;
1204
+ const de_DeleteClusterCommandError = async (output, context) => {
1221
1205
  const parsedOutput = {
1222
1206
  ...output,
1223
1207
  body: await parseErrorBody(output.body, context),
@@ -1226,19 +1210,19 @@ const deserializeAws_restJson1DeleteClusterCommandError = async (output, context
1226
1210
  switch (errorCode) {
1227
1211
  case "ClientException":
1228
1212
  case "com.amazonaws.eks#ClientException":
1229
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1213
+ throw await de_ClientExceptionRes(parsedOutput, context);
1230
1214
  case "ResourceInUseException":
1231
1215
  case "com.amazonaws.eks#ResourceInUseException":
1232
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
1216
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1233
1217
  case "ResourceNotFoundException":
1234
1218
  case "com.amazonaws.eks#ResourceNotFoundException":
1235
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1219
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1236
1220
  case "ServerException":
1237
1221
  case "com.amazonaws.eks#ServerException":
1238
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1222
+ throw await de_ServerExceptionRes(parsedOutput, context);
1239
1223
  case "ServiceUnavailableException":
1240
1224
  case "com.amazonaws.eks#ServiceUnavailableException":
1241
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1225
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1242
1226
  default:
1243
1227
  const parsedBody = parsedOutput.body;
1244
1228
  (0, smithy_client_1.throwDefaultError)({
@@ -1249,21 +1233,21 @@ const deserializeAws_restJson1DeleteClusterCommandError = async (output, context
1249
1233
  });
1250
1234
  }
1251
1235
  };
1252
- const deserializeAws_restJson1DeleteFargateProfileCommand = async (output, context) => {
1236
+ const de_DeleteFargateProfileCommand = async (output, context) => {
1253
1237
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1254
- return deserializeAws_restJson1DeleteFargateProfileCommandError(output, context);
1238
+ return de_DeleteFargateProfileCommandError(output, context);
1255
1239
  }
1256
1240
  const contents = map({
1257
1241
  $metadata: deserializeMetadata(output),
1258
1242
  });
1259
1243
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1260
1244
  if (data.fargateProfile != null) {
1261
- contents.fargateProfile = deserializeAws_restJson1FargateProfile(data.fargateProfile, context);
1245
+ contents.fargateProfile = de_FargateProfile(data.fargateProfile, context);
1262
1246
  }
1263
1247
  return contents;
1264
1248
  };
1265
- exports.deserializeAws_restJson1DeleteFargateProfileCommand = deserializeAws_restJson1DeleteFargateProfileCommand;
1266
- const deserializeAws_restJson1DeleteFargateProfileCommandError = async (output, context) => {
1249
+ exports.de_DeleteFargateProfileCommand = de_DeleteFargateProfileCommand;
1250
+ const de_DeleteFargateProfileCommandError = async (output, context) => {
1267
1251
  const parsedOutput = {
1268
1252
  ...output,
1269
1253
  body: await parseErrorBody(output.body, context),
@@ -1272,16 +1256,16 @@ const deserializeAws_restJson1DeleteFargateProfileCommandError = async (output,
1272
1256
  switch (errorCode) {
1273
1257
  case "ClientException":
1274
1258
  case "com.amazonaws.eks#ClientException":
1275
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1259
+ throw await de_ClientExceptionRes(parsedOutput, context);
1276
1260
  case "InvalidParameterException":
1277
1261
  case "com.amazonaws.eks#InvalidParameterException":
1278
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1262
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1279
1263
  case "ResourceNotFoundException":
1280
1264
  case "com.amazonaws.eks#ResourceNotFoundException":
1281
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1265
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1282
1266
  case "ServerException":
1283
1267
  case "com.amazonaws.eks#ServerException":
1284
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1268
+ throw await de_ServerExceptionRes(parsedOutput, context);
1285
1269
  default:
1286
1270
  const parsedBody = parsedOutput.body;
1287
1271
  (0, smithy_client_1.throwDefaultError)({
@@ -1292,21 +1276,21 @@ const deserializeAws_restJson1DeleteFargateProfileCommandError = async (output,
1292
1276
  });
1293
1277
  }
1294
1278
  };
1295
- const deserializeAws_restJson1DeleteNodegroupCommand = async (output, context) => {
1279
+ const de_DeleteNodegroupCommand = async (output, context) => {
1296
1280
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1297
- return deserializeAws_restJson1DeleteNodegroupCommandError(output, context);
1281
+ return de_DeleteNodegroupCommandError(output, context);
1298
1282
  }
1299
1283
  const contents = map({
1300
1284
  $metadata: deserializeMetadata(output),
1301
1285
  });
1302
1286
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1303
1287
  if (data.nodegroup != null) {
1304
- contents.nodegroup = deserializeAws_restJson1Nodegroup(data.nodegroup, context);
1288
+ contents.nodegroup = de_Nodegroup(data.nodegroup, context);
1305
1289
  }
1306
1290
  return contents;
1307
1291
  };
1308
- exports.deserializeAws_restJson1DeleteNodegroupCommand = deserializeAws_restJson1DeleteNodegroupCommand;
1309
- const deserializeAws_restJson1DeleteNodegroupCommandError = async (output, context) => {
1292
+ exports.de_DeleteNodegroupCommand = de_DeleteNodegroupCommand;
1293
+ const de_DeleteNodegroupCommandError = async (output, context) => {
1310
1294
  const parsedOutput = {
1311
1295
  ...output,
1312
1296
  body: await parseErrorBody(output.body, context),
@@ -1315,22 +1299,22 @@ const deserializeAws_restJson1DeleteNodegroupCommandError = async (output, conte
1315
1299
  switch (errorCode) {
1316
1300
  case "ClientException":
1317
1301
  case "com.amazonaws.eks#ClientException":
1318
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1302
+ throw await de_ClientExceptionRes(parsedOutput, context);
1319
1303
  case "InvalidParameterException":
1320
1304
  case "com.amazonaws.eks#InvalidParameterException":
1321
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1305
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1322
1306
  case "ResourceInUseException":
1323
1307
  case "com.amazonaws.eks#ResourceInUseException":
1324
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
1308
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1325
1309
  case "ResourceNotFoundException":
1326
1310
  case "com.amazonaws.eks#ResourceNotFoundException":
1327
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1311
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1328
1312
  case "ServerException":
1329
1313
  case "com.amazonaws.eks#ServerException":
1330
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1314
+ throw await de_ServerExceptionRes(parsedOutput, context);
1331
1315
  case "ServiceUnavailableException":
1332
1316
  case "com.amazonaws.eks#ServiceUnavailableException":
1333
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1317
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1334
1318
  default:
1335
1319
  const parsedBody = parsedOutput.body;
1336
1320
  (0, smithy_client_1.throwDefaultError)({
@@ -1341,21 +1325,21 @@ const deserializeAws_restJson1DeleteNodegroupCommandError = async (output, conte
1341
1325
  });
1342
1326
  }
1343
1327
  };
1344
- const deserializeAws_restJson1DeregisterClusterCommand = async (output, context) => {
1328
+ const de_DeregisterClusterCommand = async (output, context) => {
1345
1329
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1346
- return deserializeAws_restJson1DeregisterClusterCommandError(output, context);
1330
+ return de_DeregisterClusterCommandError(output, context);
1347
1331
  }
1348
1332
  const contents = map({
1349
1333
  $metadata: deserializeMetadata(output),
1350
1334
  });
1351
1335
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1352
1336
  if (data.cluster != null) {
1353
- contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
1337
+ contents.cluster = de_Cluster(data.cluster, context);
1354
1338
  }
1355
1339
  return contents;
1356
1340
  };
1357
- exports.deserializeAws_restJson1DeregisterClusterCommand = deserializeAws_restJson1DeregisterClusterCommand;
1358
- const deserializeAws_restJson1DeregisterClusterCommandError = async (output, context) => {
1341
+ exports.de_DeregisterClusterCommand = de_DeregisterClusterCommand;
1342
+ const de_DeregisterClusterCommandError = async (output, context) => {
1359
1343
  const parsedOutput = {
1360
1344
  ...output,
1361
1345
  body: await parseErrorBody(output.body, context),
@@ -1364,22 +1348,22 @@ const deserializeAws_restJson1DeregisterClusterCommandError = async (output, con
1364
1348
  switch (errorCode) {
1365
1349
  case "AccessDeniedException":
1366
1350
  case "com.amazonaws.eks#AccessDeniedException":
1367
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1351
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1368
1352
  case "ClientException":
1369
1353
  case "com.amazonaws.eks#ClientException":
1370
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1354
+ throw await de_ClientExceptionRes(parsedOutput, context);
1371
1355
  case "ResourceInUseException":
1372
1356
  case "com.amazonaws.eks#ResourceInUseException":
1373
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
1357
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1374
1358
  case "ResourceNotFoundException":
1375
1359
  case "com.amazonaws.eks#ResourceNotFoundException":
1376
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1360
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1377
1361
  case "ServerException":
1378
1362
  case "com.amazonaws.eks#ServerException":
1379
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1363
+ throw await de_ServerExceptionRes(parsedOutput, context);
1380
1364
  case "ServiceUnavailableException":
1381
1365
  case "com.amazonaws.eks#ServiceUnavailableException":
1382
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1366
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1383
1367
  default:
1384
1368
  const parsedBody = parsedOutput.body;
1385
1369
  (0, smithy_client_1.throwDefaultError)({
@@ -1390,21 +1374,21 @@ const deserializeAws_restJson1DeregisterClusterCommandError = async (output, con
1390
1374
  });
1391
1375
  }
1392
1376
  };
1393
- const deserializeAws_restJson1DescribeAddonCommand = async (output, context) => {
1377
+ const de_DescribeAddonCommand = async (output, context) => {
1394
1378
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1395
- return deserializeAws_restJson1DescribeAddonCommandError(output, context);
1379
+ return de_DescribeAddonCommandError(output, context);
1396
1380
  }
1397
1381
  const contents = map({
1398
1382
  $metadata: deserializeMetadata(output),
1399
1383
  });
1400
1384
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1401
1385
  if (data.addon != null) {
1402
- contents.addon = deserializeAws_restJson1Addon(data.addon, context);
1386
+ contents.addon = de_Addon(data.addon, context);
1403
1387
  }
1404
1388
  return contents;
1405
1389
  };
1406
- exports.deserializeAws_restJson1DescribeAddonCommand = deserializeAws_restJson1DescribeAddonCommand;
1407
- const deserializeAws_restJson1DescribeAddonCommandError = async (output, context) => {
1390
+ exports.de_DescribeAddonCommand = de_DescribeAddonCommand;
1391
+ const de_DescribeAddonCommandError = async (output, context) => {
1408
1392
  const parsedOutput = {
1409
1393
  ...output,
1410
1394
  body: await parseErrorBody(output.body, context),
@@ -1413,19 +1397,19 @@ const deserializeAws_restJson1DescribeAddonCommandError = async (output, context
1413
1397
  switch (errorCode) {
1414
1398
  case "ClientException":
1415
1399
  case "com.amazonaws.eks#ClientException":
1416
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1400
+ throw await de_ClientExceptionRes(parsedOutput, context);
1417
1401
  case "InvalidParameterException":
1418
1402
  case "com.amazonaws.eks#InvalidParameterException":
1419
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1403
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1420
1404
  case "InvalidRequestException":
1421
1405
  case "com.amazonaws.eks#InvalidRequestException":
1422
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1406
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1423
1407
  case "ResourceNotFoundException":
1424
1408
  case "com.amazonaws.eks#ResourceNotFoundException":
1425
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1409
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1426
1410
  case "ServerException":
1427
1411
  case "com.amazonaws.eks#ServerException":
1428
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1412
+ throw await de_ServerExceptionRes(parsedOutput, context);
1429
1413
  default:
1430
1414
  const parsedBody = parsedOutput.body;
1431
1415
  (0, smithy_client_1.throwDefaultError)({
@@ -1436,9 +1420,9 @@ const deserializeAws_restJson1DescribeAddonCommandError = async (output, context
1436
1420
  });
1437
1421
  }
1438
1422
  };
1439
- const deserializeAws_restJson1DescribeAddonConfigurationCommand = async (output, context) => {
1423
+ const de_DescribeAddonConfigurationCommand = async (output, context) => {
1440
1424
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1441
- return deserializeAws_restJson1DescribeAddonConfigurationCommandError(output, context);
1425
+ return de_DescribeAddonConfigurationCommandError(output, context);
1442
1426
  }
1443
1427
  const contents = map({
1444
1428
  $metadata: deserializeMetadata(output),
@@ -1455,8 +1439,8 @@ const deserializeAws_restJson1DescribeAddonConfigurationCommand = async (output,
1455
1439
  }
1456
1440
  return contents;
1457
1441
  };
1458
- exports.deserializeAws_restJson1DescribeAddonConfigurationCommand = deserializeAws_restJson1DescribeAddonConfigurationCommand;
1459
- const deserializeAws_restJson1DescribeAddonConfigurationCommandError = async (output, context) => {
1442
+ exports.de_DescribeAddonConfigurationCommand = de_DescribeAddonConfigurationCommand;
1443
+ const de_DescribeAddonConfigurationCommandError = async (output, context) => {
1460
1444
  const parsedOutput = {
1461
1445
  ...output,
1462
1446
  body: await parseErrorBody(output.body, context),
@@ -1465,13 +1449,13 @@ const deserializeAws_restJson1DescribeAddonConfigurationCommandError = async (ou
1465
1449
  switch (errorCode) {
1466
1450
  case "InvalidParameterException":
1467
1451
  case "com.amazonaws.eks#InvalidParameterException":
1468
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1452
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1469
1453
  case "ResourceNotFoundException":
1470
1454
  case "com.amazonaws.eks#ResourceNotFoundException":
1471
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1455
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1472
1456
  case "ServerException":
1473
1457
  case "com.amazonaws.eks#ServerException":
1474
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1458
+ throw await de_ServerExceptionRes(parsedOutput, context);
1475
1459
  default:
1476
1460
  const parsedBody = parsedOutput.body;
1477
1461
  (0, smithy_client_1.throwDefaultError)({
@@ -1482,24 +1466,24 @@ const deserializeAws_restJson1DescribeAddonConfigurationCommandError = async (ou
1482
1466
  });
1483
1467
  }
1484
1468
  };
1485
- const deserializeAws_restJson1DescribeAddonVersionsCommand = async (output, context) => {
1469
+ const de_DescribeAddonVersionsCommand = async (output, context) => {
1486
1470
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1487
- return deserializeAws_restJson1DescribeAddonVersionsCommandError(output, context);
1471
+ return de_DescribeAddonVersionsCommandError(output, context);
1488
1472
  }
1489
1473
  const contents = map({
1490
1474
  $metadata: deserializeMetadata(output),
1491
1475
  });
1492
1476
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1493
1477
  if (data.addons != null) {
1494
- contents.addons = deserializeAws_restJson1Addons(data.addons, context);
1478
+ contents.addons = de_Addons(data.addons, context);
1495
1479
  }
1496
1480
  if (data.nextToken != null) {
1497
1481
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1498
1482
  }
1499
1483
  return contents;
1500
1484
  };
1501
- exports.deserializeAws_restJson1DescribeAddonVersionsCommand = deserializeAws_restJson1DescribeAddonVersionsCommand;
1502
- const deserializeAws_restJson1DescribeAddonVersionsCommandError = async (output, context) => {
1485
+ exports.de_DescribeAddonVersionsCommand = de_DescribeAddonVersionsCommand;
1486
+ const de_DescribeAddonVersionsCommandError = async (output, context) => {
1503
1487
  const parsedOutput = {
1504
1488
  ...output,
1505
1489
  body: await parseErrorBody(output.body, context),
@@ -1508,13 +1492,13 @@ const deserializeAws_restJson1DescribeAddonVersionsCommandError = async (output,
1508
1492
  switch (errorCode) {
1509
1493
  case "InvalidParameterException":
1510
1494
  case "com.amazonaws.eks#InvalidParameterException":
1511
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1495
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1512
1496
  case "ResourceNotFoundException":
1513
1497
  case "com.amazonaws.eks#ResourceNotFoundException":
1514
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1498
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1515
1499
  case "ServerException":
1516
1500
  case "com.amazonaws.eks#ServerException":
1517
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1501
+ throw await de_ServerExceptionRes(parsedOutput, context);
1518
1502
  default:
1519
1503
  const parsedBody = parsedOutput.body;
1520
1504
  (0, smithy_client_1.throwDefaultError)({
@@ -1525,21 +1509,21 @@ const deserializeAws_restJson1DescribeAddonVersionsCommandError = async (output,
1525
1509
  });
1526
1510
  }
1527
1511
  };
1528
- const deserializeAws_restJson1DescribeClusterCommand = async (output, context) => {
1512
+ const de_DescribeClusterCommand = async (output, context) => {
1529
1513
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1530
- return deserializeAws_restJson1DescribeClusterCommandError(output, context);
1514
+ return de_DescribeClusterCommandError(output, context);
1531
1515
  }
1532
1516
  const contents = map({
1533
1517
  $metadata: deserializeMetadata(output),
1534
1518
  });
1535
1519
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1536
1520
  if (data.cluster != null) {
1537
- contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
1521
+ contents.cluster = de_Cluster(data.cluster, context);
1538
1522
  }
1539
1523
  return contents;
1540
1524
  };
1541
- exports.deserializeAws_restJson1DescribeClusterCommand = deserializeAws_restJson1DescribeClusterCommand;
1542
- const deserializeAws_restJson1DescribeClusterCommandError = async (output, context) => {
1525
+ exports.de_DescribeClusterCommand = de_DescribeClusterCommand;
1526
+ const de_DescribeClusterCommandError = async (output, context) => {
1543
1527
  const parsedOutput = {
1544
1528
  ...output,
1545
1529
  body: await parseErrorBody(output.body, context),
@@ -1548,16 +1532,16 @@ const deserializeAws_restJson1DescribeClusterCommandError = async (output, conte
1548
1532
  switch (errorCode) {
1549
1533
  case "ClientException":
1550
1534
  case "com.amazonaws.eks#ClientException":
1551
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1535
+ throw await de_ClientExceptionRes(parsedOutput, context);
1552
1536
  case "ResourceNotFoundException":
1553
1537
  case "com.amazonaws.eks#ResourceNotFoundException":
1554
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1538
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1555
1539
  case "ServerException":
1556
1540
  case "com.amazonaws.eks#ServerException":
1557
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1541
+ throw await de_ServerExceptionRes(parsedOutput, context);
1558
1542
  case "ServiceUnavailableException":
1559
1543
  case "com.amazonaws.eks#ServiceUnavailableException":
1560
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1544
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1561
1545
  default:
1562
1546
  const parsedBody = parsedOutput.body;
1563
1547
  (0, smithy_client_1.throwDefaultError)({
@@ -1568,21 +1552,21 @@ const deserializeAws_restJson1DescribeClusterCommandError = async (output, conte
1568
1552
  });
1569
1553
  }
1570
1554
  };
1571
- const deserializeAws_restJson1DescribeFargateProfileCommand = async (output, context) => {
1555
+ const de_DescribeFargateProfileCommand = async (output, context) => {
1572
1556
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1573
- return deserializeAws_restJson1DescribeFargateProfileCommandError(output, context);
1557
+ return de_DescribeFargateProfileCommandError(output, context);
1574
1558
  }
1575
1559
  const contents = map({
1576
1560
  $metadata: deserializeMetadata(output),
1577
1561
  });
1578
1562
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1579
1563
  if (data.fargateProfile != null) {
1580
- contents.fargateProfile = deserializeAws_restJson1FargateProfile(data.fargateProfile, context);
1564
+ contents.fargateProfile = de_FargateProfile(data.fargateProfile, context);
1581
1565
  }
1582
1566
  return contents;
1583
1567
  };
1584
- exports.deserializeAws_restJson1DescribeFargateProfileCommand = deserializeAws_restJson1DescribeFargateProfileCommand;
1585
- const deserializeAws_restJson1DescribeFargateProfileCommandError = async (output, context) => {
1568
+ exports.de_DescribeFargateProfileCommand = de_DescribeFargateProfileCommand;
1569
+ const de_DescribeFargateProfileCommandError = async (output, context) => {
1586
1570
  const parsedOutput = {
1587
1571
  ...output,
1588
1572
  body: await parseErrorBody(output.body, context),
@@ -1591,16 +1575,16 @@ const deserializeAws_restJson1DescribeFargateProfileCommandError = async (output
1591
1575
  switch (errorCode) {
1592
1576
  case "ClientException":
1593
1577
  case "com.amazonaws.eks#ClientException":
1594
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1578
+ throw await de_ClientExceptionRes(parsedOutput, context);
1595
1579
  case "InvalidParameterException":
1596
1580
  case "com.amazonaws.eks#InvalidParameterException":
1597
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1581
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1598
1582
  case "ResourceNotFoundException":
1599
1583
  case "com.amazonaws.eks#ResourceNotFoundException":
1600
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1584
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1601
1585
  case "ServerException":
1602
1586
  case "com.amazonaws.eks#ServerException":
1603
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1587
+ throw await de_ServerExceptionRes(parsedOutput, context);
1604
1588
  default:
1605
1589
  const parsedBody = parsedOutput.body;
1606
1590
  (0, smithy_client_1.throwDefaultError)({
@@ -1611,21 +1595,21 @@ const deserializeAws_restJson1DescribeFargateProfileCommandError = async (output
1611
1595
  });
1612
1596
  }
1613
1597
  };
1614
- const deserializeAws_restJson1DescribeIdentityProviderConfigCommand = async (output, context) => {
1598
+ const de_DescribeIdentityProviderConfigCommand = async (output, context) => {
1615
1599
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1616
- return deserializeAws_restJson1DescribeIdentityProviderConfigCommandError(output, context);
1600
+ return de_DescribeIdentityProviderConfigCommandError(output, context);
1617
1601
  }
1618
1602
  const contents = map({
1619
1603
  $metadata: deserializeMetadata(output),
1620
1604
  });
1621
1605
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1622
1606
  if (data.identityProviderConfig != null) {
1623
- contents.identityProviderConfig = deserializeAws_restJson1IdentityProviderConfigResponse(data.identityProviderConfig, context);
1607
+ contents.identityProviderConfig = de_IdentityProviderConfigResponse(data.identityProviderConfig, context);
1624
1608
  }
1625
1609
  return contents;
1626
1610
  };
1627
- exports.deserializeAws_restJson1DescribeIdentityProviderConfigCommand = deserializeAws_restJson1DescribeIdentityProviderConfigCommand;
1628
- const deserializeAws_restJson1DescribeIdentityProviderConfigCommandError = async (output, context) => {
1611
+ exports.de_DescribeIdentityProviderConfigCommand = de_DescribeIdentityProviderConfigCommand;
1612
+ const de_DescribeIdentityProviderConfigCommandError = async (output, context) => {
1629
1613
  const parsedOutput = {
1630
1614
  ...output,
1631
1615
  body: await parseErrorBody(output.body, context),
@@ -1634,19 +1618,19 @@ const deserializeAws_restJson1DescribeIdentityProviderConfigCommandError = async
1634
1618
  switch (errorCode) {
1635
1619
  case "ClientException":
1636
1620
  case "com.amazonaws.eks#ClientException":
1637
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1621
+ throw await de_ClientExceptionRes(parsedOutput, context);
1638
1622
  case "InvalidParameterException":
1639
1623
  case "com.amazonaws.eks#InvalidParameterException":
1640
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1624
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1641
1625
  case "ResourceNotFoundException":
1642
1626
  case "com.amazonaws.eks#ResourceNotFoundException":
1643
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1627
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1644
1628
  case "ServerException":
1645
1629
  case "com.amazonaws.eks#ServerException":
1646
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1630
+ throw await de_ServerExceptionRes(parsedOutput, context);
1647
1631
  case "ServiceUnavailableException":
1648
1632
  case "com.amazonaws.eks#ServiceUnavailableException":
1649
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1633
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1650
1634
  default:
1651
1635
  const parsedBody = parsedOutput.body;
1652
1636
  (0, smithy_client_1.throwDefaultError)({
@@ -1657,21 +1641,21 @@ const deserializeAws_restJson1DescribeIdentityProviderConfigCommandError = async
1657
1641
  });
1658
1642
  }
1659
1643
  };
1660
- const deserializeAws_restJson1DescribeNodegroupCommand = async (output, context) => {
1644
+ const de_DescribeNodegroupCommand = async (output, context) => {
1661
1645
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1662
- return deserializeAws_restJson1DescribeNodegroupCommandError(output, context);
1646
+ return de_DescribeNodegroupCommandError(output, context);
1663
1647
  }
1664
1648
  const contents = map({
1665
1649
  $metadata: deserializeMetadata(output),
1666
1650
  });
1667
1651
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1668
1652
  if (data.nodegroup != null) {
1669
- contents.nodegroup = deserializeAws_restJson1Nodegroup(data.nodegroup, context);
1653
+ contents.nodegroup = de_Nodegroup(data.nodegroup, context);
1670
1654
  }
1671
1655
  return contents;
1672
1656
  };
1673
- exports.deserializeAws_restJson1DescribeNodegroupCommand = deserializeAws_restJson1DescribeNodegroupCommand;
1674
- const deserializeAws_restJson1DescribeNodegroupCommandError = async (output, context) => {
1657
+ exports.de_DescribeNodegroupCommand = de_DescribeNodegroupCommand;
1658
+ const de_DescribeNodegroupCommandError = async (output, context) => {
1675
1659
  const parsedOutput = {
1676
1660
  ...output,
1677
1661
  body: await parseErrorBody(output.body, context),
@@ -1680,19 +1664,19 @@ const deserializeAws_restJson1DescribeNodegroupCommandError = async (output, con
1680
1664
  switch (errorCode) {
1681
1665
  case "ClientException":
1682
1666
  case "com.amazonaws.eks#ClientException":
1683
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1667
+ throw await de_ClientExceptionRes(parsedOutput, context);
1684
1668
  case "InvalidParameterException":
1685
1669
  case "com.amazonaws.eks#InvalidParameterException":
1686
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1670
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1687
1671
  case "ResourceNotFoundException":
1688
1672
  case "com.amazonaws.eks#ResourceNotFoundException":
1689
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1673
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1690
1674
  case "ServerException":
1691
1675
  case "com.amazonaws.eks#ServerException":
1692
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1676
+ throw await de_ServerExceptionRes(parsedOutput, context);
1693
1677
  case "ServiceUnavailableException":
1694
1678
  case "com.amazonaws.eks#ServiceUnavailableException":
1695
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1679
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1696
1680
  default:
1697
1681
  const parsedBody = parsedOutput.body;
1698
1682
  (0, smithy_client_1.throwDefaultError)({
@@ -1703,21 +1687,21 @@ const deserializeAws_restJson1DescribeNodegroupCommandError = async (output, con
1703
1687
  });
1704
1688
  }
1705
1689
  };
1706
- const deserializeAws_restJson1DescribeUpdateCommand = async (output, context) => {
1690
+ const de_DescribeUpdateCommand = async (output, context) => {
1707
1691
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1708
- return deserializeAws_restJson1DescribeUpdateCommandError(output, context);
1692
+ return de_DescribeUpdateCommandError(output, context);
1709
1693
  }
1710
1694
  const contents = map({
1711
1695
  $metadata: deserializeMetadata(output),
1712
1696
  });
1713
1697
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1714
1698
  if (data.update != null) {
1715
- contents.update = deserializeAws_restJson1Update(data.update, context);
1699
+ contents.update = de_Update(data.update, context);
1716
1700
  }
1717
1701
  return contents;
1718
1702
  };
1719
- exports.deserializeAws_restJson1DescribeUpdateCommand = deserializeAws_restJson1DescribeUpdateCommand;
1720
- const deserializeAws_restJson1DescribeUpdateCommandError = async (output, context) => {
1703
+ exports.de_DescribeUpdateCommand = de_DescribeUpdateCommand;
1704
+ const de_DescribeUpdateCommandError = async (output, context) => {
1721
1705
  const parsedOutput = {
1722
1706
  ...output,
1723
1707
  body: await parseErrorBody(output.body, context),
@@ -1726,16 +1710,16 @@ const deserializeAws_restJson1DescribeUpdateCommandError = async (output, contex
1726
1710
  switch (errorCode) {
1727
1711
  case "ClientException":
1728
1712
  case "com.amazonaws.eks#ClientException":
1729
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1713
+ throw await de_ClientExceptionRes(parsedOutput, context);
1730
1714
  case "InvalidParameterException":
1731
1715
  case "com.amazonaws.eks#InvalidParameterException":
1732
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1716
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1733
1717
  case "ResourceNotFoundException":
1734
1718
  case "com.amazonaws.eks#ResourceNotFoundException":
1735
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1719
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1736
1720
  case "ServerException":
1737
1721
  case "com.amazonaws.eks#ServerException":
1738
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1722
+ throw await de_ServerExceptionRes(parsedOutput, context);
1739
1723
  default:
1740
1724
  const parsedBody = parsedOutput.body;
1741
1725
  (0, smithy_client_1.throwDefaultError)({
@@ -1746,21 +1730,21 @@ const deserializeAws_restJson1DescribeUpdateCommandError = async (output, contex
1746
1730
  });
1747
1731
  }
1748
1732
  };
1749
- const deserializeAws_restJson1DisassociateIdentityProviderConfigCommand = async (output, context) => {
1733
+ const de_DisassociateIdentityProviderConfigCommand = async (output, context) => {
1750
1734
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1751
- return deserializeAws_restJson1DisassociateIdentityProviderConfigCommandError(output, context);
1735
+ return de_DisassociateIdentityProviderConfigCommandError(output, context);
1752
1736
  }
1753
1737
  const contents = map({
1754
1738
  $metadata: deserializeMetadata(output),
1755
1739
  });
1756
1740
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1757
1741
  if (data.update != null) {
1758
- contents.update = deserializeAws_restJson1Update(data.update, context);
1742
+ contents.update = de_Update(data.update, context);
1759
1743
  }
1760
1744
  return contents;
1761
1745
  };
1762
- exports.deserializeAws_restJson1DisassociateIdentityProviderConfigCommand = deserializeAws_restJson1DisassociateIdentityProviderConfigCommand;
1763
- const deserializeAws_restJson1DisassociateIdentityProviderConfigCommandError = async (output, context) => {
1746
+ exports.de_DisassociateIdentityProviderConfigCommand = de_DisassociateIdentityProviderConfigCommand;
1747
+ const de_DisassociateIdentityProviderConfigCommandError = async (output, context) => {
1764
1748
  const parsedOutput = {
1765
1749
  ...output,
1766
1750
  body: await parseErrorBody(output.body, context),
@@ -1769,22 +1753,22 @@ const deserializeAws_restJson1DisassociateIdentityProviderConfigCommandError = a
1769
1753
  switch (errorCode) {
1770
1754
  case "ClientException":
1771
1755
  case "com.amazonaws.eks#ClientException":
1772
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1756
+ throw await de_ClientExceptionRes(parsedOutput, context);
1773
1757
  case "InvalidParameterException":
1774
1758
  case "com.amazonaws.eks#InvalidParameterException":
1775
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1759
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1776
1760
  case "InvalidRequestException":
1777
1761
  case "com.amazonaws.eks#InvalidRequestException":
1778
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1762
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1779
1763
  case "ResourceInUseException":
1780
1764
  case "com.amazonaws.eks#ResourceInUseException":
1781
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
1765
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1782
1766
  case "ResourceNotFoundException":
1783
1767
  case "com.amazonaws.eks#ResourceNotFoundException":
1784
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1768
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1785
1769
  case "ServerException":
1786
1770
  case "com.amazonaws.eks#ServerException":
1787
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1771
+ throw await de_ServerExceptionRes(parsedOutput, context);
1788
1772
  default:
1789
1773
  const parsedBody = parsedOutput.body;
1790
1774
  (0, smithy_client_1.throwDefaultError)({
@@ -1795,24 +1779,24 @@ const deserializeAws_restJson1DisassociateIdentityProviderConfigCommandError = a
1795
1779
  });
1796
1780
  }
1797
1781
  };
1798
- const deserializeAws_restJson1ListAddonsCommand = async (output, context) => {
1782
+ const de_ListAddonsCommand = async (output, context) => {
1799
1783
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1800
- return deserializeAws_restJson1ListAddonsCommandError(output, context);
1784
+ return de_ListAddonsCommandError(output, context);
1801
1785
  }
1802
1786
  const contents = map({
1803
1787
  $metadata: deserializeMetadata(output),
1804
1788
  });
1805
1789
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1806
1790
  if (data.addons != null) {
1807
- contents.addons = deserializeAws_restJson1StringList(data.addons, context);
1791
+ contents.addons = de_StringList(data.addons, context);
1808
1792
  }
1809
1793
  if (data.nextToken != null) {
1810
1794
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1811
1795
  }
1812
1796
  return contents;
1813
1797
  };
1814
- exports.deserializeAws_restJson1ListAddonsCommand = deserializeAws_restJson1ListAddonsCommand;
1815
- const deserializeAws_restJson1ListAddonsCommandError = async (output, context) => {
1798
+ exports.de_ListAddonsCommand = de_ListAddonsCommand;
1799
+ const de_ListAddonsCommandError = async (output, context) => {
1816
1800
  const parsedOutput = {
1817
1801
  ...output,
1818
1802
  body: await parseErrorBody(output.body, context),
@@ -1821,19 +1805,19 @@ const deserializeAws_restJson1ListAddonsCommandError = async (output, context) =
1821
1805
  switch (errorCode) {
1822
1806
  case "ClientException":
1823
1807
  case "com.amazonaws.eks#ClientException":
1824
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1808
+ throw await de_ClientExceptionRes(parsedOutput, context);
1825
1809
  case "InvalidParameterException":
1826
1810
  case "com.amazonaws.eks#InvalidParameterException":
1827
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1811
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1828
1812
  case "InvalidRequestException":
1829
1813
  case "com.amazonaws.eks#InvalidRequestException":
1830
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1814
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1831
1815
  case "ResourceNotFoundException":
1832
1816
  case "com.amazonaws.eks#ResourceNotFoundException":
1833
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1817
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1834
1818
  case "ServerException":
1835
1819
  case "com.amazonaws.eks#ServerException":
1836
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1820
+ throw await de_ServerExceptionRes(parsedOutput, context);
1837
1821
  default:
1838
1822
  const parsedBody = parsedOutput.body;
1839
1823
  (0, smithy_client_1.throwDefaultError)({
@@ -1844,24 +1828,24 @@ const deserializeAws_restJson1ListAddonsCommandError = async (output, context) =
1844
1828
  });
1845
1829
  }
1846
1830
  };
1847
- const deserializeAws_restJson1ListClustersCommand = async (output, context) => {
1831
+ const de_ListClustersCommand = async (output, context) => {
1848
1832
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1849
- return deserializeAws_restJson1ListClustersCommandError(output, context);
1833
+ return de_ListClustersCommandError(output, context);
1850
1834
  }
1851
1835
  const contents = map({
1852
1836
  $metadata: deserializeMetadata(output),
1853
1837
  });
1854
1838
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1855
1839
  if (data.clusters != null) {
1856
- contents.clusters = deserializeAws_restJson1StringList(data.clusters, context);
1840
+ contents.clusters = de_StringList(data.clusters, context);
1857
1841
  }
1858
1842
  if (data.nextToken != null) {
1859
1843
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1860
1844
  }
1861
1845
  return contents;
1862
1846
  };
1863
- exports.deserializeAws_restJson1ListClustersCommand = deserializeAws_restJson1ListClustersCommand;
1864
- const deserializeAws_restJson1ListClustersCommandError = async (output, context) => {
1847
+ exports.de_ListClustersCommand = de_ListClustersCommand;
1848
+ const de_ListClustersCommandError = async (output, context) => {
1865
1849
  const parsedOutput = {
1866
1850
  ...output,
1867
1851
  body: await parseErrorBody(output.body, context),
@@ -1870,16 +1854,16 @@ const deserializeAws_restJson1ListClustersCommandError = async (output, context)
1870
1854
  switch (errorCode) {
1871
1855
  case "ClientException":
1872
1856
  case "com.amazonaws.eks#ClientException":
1873
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1857
+ throw await de_ClientExceptionRes(parsedOutput, context);
1874
1858
  case "InvalidParameterException":
1875
1859
  case "com.amazonaws.eks#InvalidParameterException":
1876
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1860
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1877
1861
  case "ServerException":
1878
1862
  case "com.amazonaws.eks#ServerException":
1879
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1863
+ throw await de_ServerExceptionRes(parsedOutput, context);
1880
1864
  case "ServiceUnavailableException":
1881
1865
  case "com.amazonaws.eks#ServiceUnavailableException":
1882
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1866
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1883
1867
  default:
1884
1868
  const parsedBody = parsedOutput.body;
1885
1869
  (0, smithy_client_1.throwDefaultError)({
@@ -1890,24 +1874,24 @@ const deserializeAws_restJson1ListClustersCommandError = async (output, context)
1890
1874
  });
1891
1875
  }
1892
1876
  };
1893
- const deserializeAws_restJson1ListFargateProfilesCommand = async (output, context) => {
1877
+ const de_ListFargateProfilesCommand = async (output, context) => {
1894
1878
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1895
- return deserializeAws_restJson1ListFargateProfilesCommandError(output, context);
1879
+ return de_ListFargateProfilesCommandError(output, context);
1896
1880
  }
1897
1881
  const contents = map({
1898
1882
  $metadata: deserializeMetadata(output),
1899
1883
  });
1900
1884
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1901
1885
  if (data.fargateProfileNames != null) {
1902
- contents.fargateProfileNames = deserializeAws_restJson1StringList(data.fargateProfileNames, context);
1886
+ contents.fargateProfileNames = de_StringList(data.fargateProfileNames, context);
1903
1887
  }
1904
1888
  if (data.nextToken != null) {
1905
1889
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1906
1890
  }
1907
1891
  return contents;
1908
1892
  };
1909
- exports.deserializeAws_restJson1ListFargateProfilesCommand = deserializeAws_restJson1ListFargateProfilesCommand;
1910
- const deserializeAws_restJson1ListFargateProfilesCommandError = async (output, context) => {
1893
+ exports.de_ListFargateProfilesCommand = de_ListFargateProfilesCommand;
1894
+ const de_ListFargateProfilesCommandError = async (output, context) => {
1911
1895
  const parsedOutput = {
1912
1896
  ...output,
1913
1897
  body: await parseErrorBody(output.body, context),
@@ -1916,16 +1900,16 @@ const deserializeAws_restJson1ListFargateProfilesCommandError = async (output, c
1916
1900
  switch (errorCode) {
1917
1901
  case "ClientException":
1918
1902
  case "com.amazonaws.eks#ClientException":
1919
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1903
+ throw await de_ClientExceptionRes(parsedOutput, context);
1920
1904
  case "InvalidParameterException":
1921
1905
  case "com.amazonaws.eks#InvalidParameterException":
1922
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1906
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1923
1907
  case "ResourceNotFoundException":
1924
1908
  case "com.amazonaws.eks#ResourceNotFoundException":
1925
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1909
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1926
1910
  case "ServerException":
1927
1911
  case "com.amazonaws.eks#ServerException":
1928
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1912
+ throw await de_ServerExceptionRes(parsedOutput, context);
1929
1913
  default:
1930
1914
  const parsedBody = parsedOutput.body;
1931
1915
  (0, smithy_client_1.throwDefaultError)({
@@ -1936,24 +1920,24 @@ const deserializeAws_restJson1ListFargateProfilesCommandError = async (output, c
1936
1920
  });
1937
1921
  }
1938
1922
  };
1939
- const deserializeAws_restJson1ListIdentityProviderConfigsCommand = async (output, context) => {
1923
+ const de_ListIdentityProviderConfigsCommand = async (output, context) => {
1940
1924
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1941
- return deserializeAws_restJson1ListIdentityProviderConfigsCommandError(output, context);
1925
+ return de_ListIdentityProviderConfigsCommandError(output, context);
1942
1926
  }
1943
1927
  const contents = map({
1944
1928
  $metadata: deserializeMetadata(output),
1945
1929
  });
1946
1930
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1947
1931
  if (data.identityProviderConfigs != null) {
1948
- contents.identityProviderConfigs = deserializeAws_restJson1IdentityProviderConfigs(data.identityProviderConfigs, context);
1932
+ contents.identityProviderConfigs = de_IdentityProviderConfigs(data.identityProviderConfigs, context);
1949
1933
  }
1950
1934
  if (data.nextToken != null) {
1951
1935
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1952
1936
  }
1953
1937
  return contents;
1954
1938
  };
1955
- exports.deserializeAws_restJson1ListIdentityProviderConfigsCommand = deserializeAws_restJson1ListIdentityProviderConfigsCommand;
1956
- const deserializeAws_restJson1ListIdentityProviderConfigsCommandError = async (output, context) => {
1939
+ exports.de_ListIdentityProviderConfigsCommand = de_ListIdentityProviderConfigsCommand;
1940
+ const de_ListIdentityProviderConfigsCommandError = async (output, context) => {
1957
1941
  const parsedOutput = {
1958
1942
  ...output,
1959
1943
  body: await parseErrorBody(output.body, context),
@@ -1962,19 +1946,19 @@ const deserializeAws_restJson1ListIdentityProviderConfigsCommandError = async (o
1962
1946
  switch (errorCode) {
1963
1947
  case "ClientException":
1964
1948
  case "com.amazonaws.eks#ClientException":
1965
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1949
+ throw await de_ClientExceptionRes(parsedOutput, context);
1966
1950
  case "InvalidParameterException":
1967
1951
  case "com.amazonaws.eks#InvalidParameterException":
1968
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1952
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1969
1953
  case "ResourceNotFoundException":
1970
1954
  case "com.amazonaws.eks#ResourceNotFoundException":
1971
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1955
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1972
1956
  case "ServerException":
1973
1957
  case "com.amazonaws.eks#ServerException":
1974
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1958
+ throw await de_ServerExceptionRes(parsedOutput, context);
1975
1959
  case "ServiceUnavailableException":
1976
1960
  case "com.amazonaws.eks#ServiceUnavailableException":
1977
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1961
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1978
1962
  default:
1979
1963
  const parsedBody = parsedOutput.body;
1980
1964
  (0, smithy_client_1.throwDefaultError)({
@@ -1985,9 +1969,9 @@ const deserializeAws_restJson1ListIdentityProviderConfigsCommandError = async (o
1985
1969
  });
1986
1970
  }
1987
1971
  };
1988
- const deserializeAws_restJson1ListNodegroupsCommand = async (output, context) => {
1972
+ const de_ListNodegroupsCommand = async (output, context) => {
1989
1973
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1990
- return deserializeAws_restJson1ListNodegroupsCommandError(output, context);
1974
+ return de_ListNodegroupsCommandError(output, context);
1991
1975
  }
1992
1976
  const contents = map({
1993
1977
  $metadata: deserializeMetadata(output),
@@ -1997,12 +1981,12 @@ const deserializeAws_restJson1ListNodegroupsCommand = async (output, context) =>
1997
1981
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1998
1982
  }
1999
1983
  if (data.nodegroups != null) {
2000
- contents.nodegroups = deserializeAws_restJson1StringList(data.nodegroups, context);
1984
+ contents.nodegroups = de_StringList(data.nodegroups, context);
2001
1985
  }
2002
1986
  return contents;
2003
1987
  };
2004
- exports.deserializeAws_restJson1ListNodegroupsCommand = deserializeAws_restJson1ListNodegroupsCommand;
2005
- const deserializeAws_restJson1ListNodegroupsCommandError = async (output, context) => {
1988
+ exports.de_ListNodegroupsCommand = de_ListNodegroupsCommand;
1989
+ const de_ListNodegroupsCommandError = async (output, context) => {
2006
1990
  const parsedOutput = {
2007
1991
  ...output,
2008
1992
  body: await parseErrorBody(output.body, context),
@@ -2011,19 +1995,19 @@ const deserializeAws_restJson1ListNodegroupsCommandError = async (output, contex
2011
1995
  switch (errorCode) {
2012
1996
  case "ClientException":
2013
1997
  case "com.amazonaws.eks#ClientException":
2014
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1998
+ throw await de_ClientExceptionRes(parsedOutput, context);
2015
1999
  case "InvalidParameterException":
2016
2000
  case "com.amazonaws.eks#InvalidParameterException":
2017
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2001
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2018
2002
  case "ResourceNotFoundException":
2019
2003
  case "com.amazonaws.eks#ResourceNotFoundException":
2020
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2004
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2021
2005
  case "ServerException":
2022
2006
  case "com.amazonaws.eks#ServerException":
2023
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2007
+ throw await de_ServerExceptionRes(parsedOutput, context);
2024
2008
  case "ServiceUnavailableException":
2025
2009
  case "com.amazonaws.eks#ServiceUnavailableException":
2026
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2010
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2027
2011
  default:
2028
2012
  const parsedBody = parsedOutput.body;
2029
2013
  (0, smithy_client_1.throwDefaultError)({
@@ -2034,21 +2018,21 @@ const deserializeAws_restJson1ListNodegroupsCommandError = async (output, contex
2034
2018
  });
2035
2019
  }
2036
2020
  };
2037
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2021
+ const de_ListTagsForResourceCommand = async (output, context) => {
2038
2022
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2039
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2023
+ return de_ListTagsForResourceCommandError(output, context);
2040
2024
  }
2041
2025
  const contents = map({
2042
2026
  $metadata: deserializeMetadata(output),
2043
2027
  });
2044
2028
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2045
2029
  if (data.tags != null) {
2046
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
2030
+ contents.tags = de_TagMap(data.tags, context);
2047
2031
  }
2048
2032
  return contents;
2049
2033
  };
2050
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
2051
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2034
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
2035
+ const de_ListTagsForResourceCommandError = async (output, context) => {
2052
2036
  const parsedOutput = {
2053
2037
  ...output,
2054
2038
  body: await parseErrorBody(output.body, context),
@@ -2057,10 +2041,10 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2057
2041
  switch (errorCode) {
2058
2042
  case "BadRequestException":
2059
2043
  case "com.amazonaws.eks#BadRequestException":
2060
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2044
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2061
2045
  case "NotFoundException":
2062
2046
  case "com.amazonaws.eks#NotFoundException":
2063
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2047
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2064
2048
  default:
2065
2049
  const parsedBody = parsedOutput.body;
2066
2050
  (0, smithy_client_1.throwDefaultError)({
@@ -2071,9 +2055,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2071
2055
  });
2072
2056
  }
2073
2057
  };
2074
- const deserializeAws_restJson1ListUpdatesCommand = async (output, context) => {
2058
+ const de_ListUpdatesCommand = async (output, context) => {
2075
2059
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2076
- return deserializeAws_restJson1ListUpdatesCommandError(output, context);
2060
+ return de_ListUpdatesCommandError(output, context);
2077
2061
  }
2078
2062
  const contents = map({
2079
2063
  $metadata: deserializeMetadata(output),
@@ -2083,12 +2067,12 @@ const deserializeAws_restJson1ListUpdatesCommand = async (output, context) => {
2083
2067
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2084
2068
  }
2085
2069
  if (data.updateIds != null) {
2086
- contents.updateIds = deserializeAws_restJson1StringList(data.updateIds, context);
2070
+ contents.updateIds = de_StringList(data.updateIds, context);
2087
2071
  }
2088
2072
  return contents;
2089
2073
  };
2090
- exports.deserializeAws_restJson1ListUpdatesCommand = deserializeAws_restJson1ListUpdatesCommand;
2091
- const deserializeAws_restJson1ListUpdatesCommandError = async (output, context) => {
2074
+ exports.de_ListUpdatesCommand = de_ListUpdatesCommand;
2075
+ const de_ListUpdatesCommandError = async (output, context) => {
2092
2076
  const parsedOutput = {
2093
2077
  ...output,
2094
2078
  body: await parseErrorBody(output.body, context),
@@ -2097,16 +2081,16 @@ const deserializeAws_restJson1ListUpdatesCommandError = async (output, context)
2097
2081
  switch (errorCode) {
2098
2082
  case "ClientException":
2099
2083
  case "com.amazonaws.eks#ClientException":
2100
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
2084
+ throw await de_ClientExceptionRes(parsedOutput, context);
2101
2085
  case "InvalidParameterException":
2102
2086
  case "com.amazonaws.eks#InvalidParameterException":
2103
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2087
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2104
2088
  case "ResourceNotFoundException":
2105
2089
  case "com.amazonaws.eks#ResourceNotFoundException":
2106
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2090
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2107
2091
  case "ServerException":
2108
2092
  case "com.amazonaws.eks#ServerException":
2109
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2093
+ throw await de_ServerExceptionRes(parsedOutput, context);
2110
2094
  default:
2111
2095
  const parsedBody = parsedOutput.body;
2112
2096
  (0, smithy_client_1.throwDefaultError)({
@@ -2117,21 +2101,21 @@ const deserializeAws_restJson1ListUpdatesCommandError = async (output, context)
2117
2101
  });
2118
2102
  }
2119
2103
  };
2120
- const deserializeAws_restJson1RegisterClusterCommand = async (output, context) => {
2104
+ const de_RegisterClusterCommand = async (output, context) => {
2121
2105
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2122
- return deserializeAws_restJson1RegisterClusterCommandError(output, context);
2106
+ return de_RegisterClusterCommandError(output, context);
2123
2107
  }
2124
2108
  const contents = map({
2125
2109
  $metadata: deserializeMetadata(output),
2126
2110
  });
2127
2111
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2128
2112
  if (data.cluster != null) {
2129
- contents.cluster = deserializeAws_restJson1Cluster(data.cluster, context);
2113
+ contents.cluster = de_Cluster(data.cluster, context);
2130
2114
  }
2131
2115
  return contents;
2132
2116
  };
2133
- exports.deserializeAws_restJson1RegisterClusterCommand = deserializeAws_restJson1RegisterClusterCommand;
2134
- const deserializeAws_restJson1RegisterClusterCommandError = async (output, context) => {
2117
+ exports.de_RegisterClusterCommand = de_RegisterClusterCommand;
2118
+ const de_RegisterClusterCommandError = async (output, context) => {
2135
2119
  const parsedOutput = {
2136
2120
  ...output,
2137
2121
  body: await parseErrorBody(output.body, context),
@@ -2140,28 +2124,28 @@ const deserializeAws_restJson1RegisterClusterCommandError = async (output, conte
2140
2124
  switch (errorCode) {
2141
2125
  case "AccessDeniedException":
2142
2126
  case "com.amazonaws.eks#AccessDeniedException":
2143
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2127
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2144
2128
  case "ClientException":
2145
2129
  case "com.amazonaws.eks#ClientException":
2146
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
2130
+ throw await de_ClientExceptionRes(parsedOutput, context);
2147
2131
  case "InvalidParameterException":
2148
2132
  case "com.amazonaws.eks#InvalidParameterException":
2149
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2133
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2150
2134
  case "ResourceInUseException":
2151
2135
  case "com.amazonaws.eks#ResourceInUseException":
2152
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
2136
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
2153
2137
  case "ResourceLimitExceededException":
2154
2138
  case "com.amazonaws.eks#ResourceLimitExceededException":
2155
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
2139
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2156
2140
  case "ResourcePropagationDelayException":
2157
2141
  case "com.amazonaws.eks#ResourcePropagationDelayException":
2158
- throw await deserializeAws_restJson1ResourcePropagationDelayExceptionResponse(parsedOutput, context);
2142
+ throw await de_ResourcePropagationDelayExceptionRes(parsedOutput, context);
2159
2143
  case "ServerException":
2160
2144
  case "com.amazonaws.eks#ServerException":
2161
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2145
+ throw await de_ServerExceptionRes(parsedOutput, context);
2162
2146
  case "ServiceUnavailableException":
2163
2147
  case "com.amazonaws.eks#ServiceUnavailableException":
2164
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2148
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2165
2149
  default:
2166
2150
  const parsedBody = parsedOutput.body;
2167
2151
  (0, smithy_client_1.throwDefaultError)({
@@ -2172,9 +2156,9 @@ const deserializeAws_restJson1RegisterClusterCommandError = async (output, conte
2172
2156
  });
2173
2157
  }
2174
2158
  };
2175
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2159
+ const de_TagResourceCommand = async (output, context) => {
2176
2160
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2177
- return deserializeAws_restJson1TagResourceCommandError(output, context);
2161
+ return de_TagResourceCommandError(output, context);
2178
2162
  }
2179
2163
  const contents = map({
2180
2164
  $metadata: deserializeMetadata(output),
@@ -2182,8 +2166,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2182
2166
  await collectBody(output.body, context);
2183
2167
  return contents;
2184
2168
  };
2185
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
2186
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2169
+ exports.de_TagResourceCommand = de_TagResourceCommand;
2170
+ const de_TagResourceCommandError = async (output, context) => {
2187
2171
  const parsedOutput = {
2188
2172
  ...output,
2189
2173
  body: await parseErrorBody(output.body, context),
@@ -2192,10 +2176,10 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2192
2176
  switch (errorCode) {
2193
2177
  case "BadRequestException":
2194
2178
  case "com.amazonaws.eks#BadRequestException":
2195
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2179
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2196
2180
  case "NotFoundException":
2197
2181
  case "com.amazonaws.eks#NotFoundException":
2198
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2182
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2199
2183
  default:
2200
2184
  const parsedBody = parsedOutput.body;
2201
2185
  (0, smithy_client_1.throwDefaultError)({
@@ -2206,9 +2190,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2206
2190
  });
2207
2191
  }
2208
2192
  };
2209
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2193
+ const de_UntagResourceCommand = async (output, context) => {
2210
2194
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2211
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2195
+ return de_UntagResourceCommandError(output, context);
2212
2196
  }
2213
2197
  const contents = map({
2214
2198
  $metadata: deserializeMetadata(output),
@@ -2216,8 +2200,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
2216
2200
  await collectBody(output.body, context);
2217
2201
  return contents;
2218
2202
  };
2219
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
2220
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2203
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
2204
+ const de_UntagResourceCommandError = async (output, context) => {
2221
2205
  const parsedOutput = {
2222
2206
  ...output,
2223
2207
  body: await parseErrorBody(output.body, context),
@@ -2226,10 +2210,10 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2226
2210
  switch (errorCode) {
2227
2211
  case "BadRequestException":
2228
2212
  case "com.amazonaws.eks#BadRequestException":
2229
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2213
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2230
2214
  case "NotFoundException":
2231
2215
  case "com.amazonaws.eks#NotFoundException":
2232
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2216
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2233
2217
  default:
2234
2218
  const parsedBody = parsedOutput.body;
2235
2219
  (0, smithy_client_1.throwDefaultError)({
@@ -2240,21 +2224,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2240
2224
  });
2241
2225
  }
2242
2226
  };
2243
- const deserializeAws_restJson1UpdateAddonCommand = async (output, context) => {
2227
+ const de_UpdateAddonCommand = async (output, context) => {
2244
2228
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2245
- return deserializeAws_restJson1UpdateAddonCommandError(output, context);
2229
+ return de_UpdateAddonCommandError(output, context);
2246
2230
  }
2247
2231
  const contents = map({
2248
2232
  $metadata: deserializeMetadata(output),
2249
2233
  });
2250
2234
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2251
2235
  if (data.update != null) {
2252
- contents.update = deserializeAws_restJson1Update(data.update, context);
2236
+ contents.update = de_Update(data.update, context);
2253
2237
  }
2254
2238
  return contents;
2255
2239
  };
2256
- exports.deserializeAws_restJson1UpdateAddonCommand = deserializeAws_restJson1UpdateAddonCommand;
2257
- const deserializeAws_restJson1UpdateAddonCommandError = async (output, context) => {
2240
+ exports.de_UpdateAddonCommand = de_UpdateAddonCommand;
2241
+ const de_UpdateAddonCommandError = async (output, context) => {
2258
2242
  const parsedOutput = {
2259
2243
  ...output,
2260
2244
  body: await parseErrorBody(output.body, context),
@@ -2263,22 +2247,22 @@ const deserializeAws_restJson1UpdateAddonCommandError = async (output, context)
2263
2247
  switch (errorCode) {
2264
2248
  case "ClientException":
2265
2249
  case "com.amazonaws.eks#ClientException":
2266
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
2250
+ throw await de_ClientExceptionRes(parsedOutput, context);
2267
2251
  case "InvalidParameterException":
2268
2252
  case "com.amazonaws.eks#InvalidParameterException":
2269
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2253
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2270
2254
  case "InvalidRequestException":
2271
2255
  case "com.amazonaws.eks#InvalidRequestException":
2272
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
2256
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2273
2257
  case "ResourceInUseException":
2274
2258
  case "com.amazonaws.eks#ResourceInUseException":
2275
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
2259
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
2276
2260
  case "ResourceNotFoundException":
2277
2261
  case "com.amazonaws.eks#ResourceNotFoundException":
2278
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2262
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2279
2263
  case "ServerException":
2280
2264
  case "com.amazonaws.eks#ServerException":
2281
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2265
+ throw await de_ServerExceptionRes(parsedOutput, context);
2282
2266
  default:
2283
2267
  const parsedBody = parsedOutput.body;
2284
2268
  (0, smithy_client_1.throwDefaultError)({
@@ -2289,21 +2273,21 @@ const deserializeAws_restJson1UpdateAddonCommandError = async (output, context)
2289
2273
  });
2290
2274
  }
2291
2275
  };
2292
- const deserializeAws_restJson1UpdateClusterConfigCommand = async (output, context) => {
2276
+ const de_UpdateClusterConfigCommand = async (output, context) => {
2293
2277
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2294
- return deserializeAws_restJson1UpdateClusterConfigCommandError(output, context);
2278
+ return de_UpdateClusterConfigCommandError(output, context);
2295
2279
  }
2296
2280
  const contents = map({
2297
2281
  $metadata: deserializeMetadata(output),
2298
2282
  });
2299
2283
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2300
2284
  if (data.update != null) {
2301
- contents.update = deserializeAws_restJson1Update(data.update, context);
2285
+ contents.update = de_Update(data.update, context);
2302
2286
  }
2303
2287
  return contents;
2304
2288
  };
2305
- exports.deserializeAws_restJson1UpdateClusterConfigCommand = deserializeAws_restJson1UpdateClusterConfigCommand;
2306
- const deserializeAws_restJson1UpdateClusterConfigCommandError = async (output, context) => {
2289
+ exports.de_UpdateClusterConfigCommand = de_UpdateClusterConfigCommand;
2290
+ const de_UpdateClusterConfigCommandError = async (output, context) => {
2307
2291
  const parsedOutput = {
2308
2292
  ...output,
2309
2293
  body: await parseErrorBody(output.body, context),
@@ -2312,22 +2296,22 @@ const deserializeAws_restJson1UpdateClusterConfigCommandError = async (output, c
2312
2296
  switch (errorCode) {
2313
2297
  case "ClientException":
2314
2298
  case "com.amazonaws.eks#ClientException":
2315
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
2299
+ throw await de_ClientExceptionRes(parsedOutput, context);
2316
2300
  case "InvalidParameterException":
2317
2301
  case "com.amazonaws.eks#InvalidParameterException":
2318
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2302
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2319
2303
  case "InvalidRequestException":
2320
2304
  case "com.amazonaws.eks#InvalidRequestException":
2321
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
2305
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2322
2306
  case "ResourceInUseException":
2323
2307
  case "com.amazonaws.eks#ResourceInUseException":
2324
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
2308
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
2325
2309
  case "ResourceNotFoundException":
2326
2310
  case "com.amazonaws.eks#ResourceNotFoundException":
2327
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2311
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2328
2312
  case "ServerException":
2329
2313
  case "com.amazonaws.eks#ServerException":
2330
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2314
+ throw await de_ServerExceptionRes(parsedOutput, context);
2331
2315
  default:
2332
2316
  const parsedBody = parsedOutput.body;
2333
2317
  (0, smithy_client_1.throwDefaultError)({
@@ -2338,21 +2322,21 @@ const deserializeAws_restJson1UpdateClusterConfigCommandError = async (output, c
2338
2322
  });
2339
2323
  }
2340
2324
  };
2341
- const deserializeAws_restJson1UpdateClusterVersionCommand = async (output, context) => {
2325
+ const de_UpdateClusterVersionCommand = async (output, context) => {
2342
2326
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2343
- return deserializeAws_restJson1UpdateClusterVersionCommandError(output, context);
2327
+ return de_UpdateClusterVersionCommandError(output, context);
2344
2328
  }
2345
2329
  const contents = map({
2346
2330
  $metadata: deserializeMetadata(output),
2347
2331
  });
2348
2332
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2349
2333
  if (data.update != null) {
2350
- contents.update = deserializeAws_restJson1Update(data.update, context);
2334
+ contents.update = de_Update(data.update, context);
2351
2335
  }
2352
2336
  return contents;
2353
2337
  };
2354
- exports.deserializeAws_restJson1UpdateClusterVersionCommand = deserializeAws_restJson1UpdateClusterVersionCommand;
2355
- const deserializeAws_restJson1UpdateClusterVersionCommandError = async (output, context) => {
2338
+ exports.de_UpdateClusterVersionCommand = de_UpdateClusterVersionCommand;
2339
+ const de_UpdateClusterVersionCommandError = async (output, context) => {
2356
2340
  const parsedOutput = {
2357
2341
  ...output,
2358
2342
  body: await parseErrorBody(output.body, context),
@@ -2361,22 +2345,22 @@ const deserializeAws_restJson1UpdateClusterVersionCommandError = async (output,
2361
2345
  switch (errorCode) {
2362
2346
  case "ClientException":
2363
2347
  case "com.amazonaws.eks#ClientException":
2364
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
2348
+ throw await de_ClientExceptionRes(parsedOutput, context);
2365
2349
  case "InvalidParameterException":
2366
2350
  case "com.amazonaws.eks#InvalidParameterException":
2367
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2351
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2368
2352
  case "InvalidRequestException":
2369
2353
  case "com.amazonaws.eks#InvalidRequestException":
2370
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
2354
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2371
2355
  case "ResourceInUseException":
2372
2356
  case "com.amazonaws.eks#ResourceInUseException":
2373
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
2357
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
2374
2358
  case "ResourceNotFoundException":
2375
2359
  case "com.amazonaws.eks#ResourceNotFoundException":
2376
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2360
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2377
2361
  case "ServerException":
2378
2362
  case "com.amazonaws.eks#ServerException":
2379
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2363
+ throw await de_ServerExceptionRes(parsedOutput, context);
2380
2364
  default:
2381
2365
  const parsedBody = parsedOutput.body;
2382
2366
  (0, smithy_client_1.throwDefaultError)({
@@ -2387,21 +2371,21 @@ const deserializeAws_restJson1UpdateClusterVersionCommandError = async (output,
2387
2371
  });
2388
2372
  }
2389
2373
  };
2390
- const deserializeAws_restJson1UpdateNodegroupConfigCommand = async (output, context) => {
2374
+ const de_UpdateNodegroupConfigCommand = async (output, context) => {
2391
2375
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2392
- return deserializeAws_restJson1UpdateNodegroupConfigCommandError(output, context);
2376
+ return de_UpdateNodegroupConfigCommandError(output, context);
2393
2377
  }
2394
2378
  const contents = map({
2395
2379
  $metadata: deserializeMetadata(output),
2396
2380
  });
2397
2381
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2398
2382
  if (data.update != null) {
2399
- contents.update = deserializeAws_restJson1Update(data.update, context);
2383
+ contents.update = de_Update(data.update, context);
2400
2384
  }
2401
2385
  return contents;
2402
2386
  };
2403
- exports.deserializeAws_restJson1UpdateNodegroupConfigCommand = deserializeAws_restJson1UpdateNodegroupConfigCommand;
2404
- const deserializeAws_restJson1UpdateNodegroupConfigCommandError = async (output, context) => {
2387
+ exports.de_UpdateNodegroupConfigCommand = de_UpdateNodegroupConfigCommand;
2388
+ const de_UpdateNodegroupConfigCommandError = async (output, context) => {
2405
2389
  const parsedOutput = {
2406
2390
  ...output,
2407
2391
  body: await parseErrorBody(output.body, context),
@@ -2410,22 +2394,22 @@ const deserializeAws_restJson1UpdateNodegroupConfigCommandError = async (output,
2410
2394
  switch (errorCode) {
2411
2395
  case "ClientException":
2412
2396
  case "com.amazonaws.eks#ClientException":
2413
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
2397
+ throw await de_ClientExceptionRes(parsedOutput, context);
2414
2398
  case "InvalidParameterException":
2415
2399
  case "com.amazonaws.eks#InvalidParameterException":
2416
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2400
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2417
2401
  case "InvalidRequestException":
2418
2402
  case "com.amazonaws.eks#InvalidRequestException":
2419
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
2403
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2420
2404
  case "ResourceInUseException":
2421
2405
  case "com.amazonaws.eks#ResourceInUseException":
2422
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
2406
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
2423
2407
  case "ResourceNotFoundException":
2424
2408
  case "com.amazonaws.eks#ResourceNotFoundException":
2425
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2409
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2426
2410
  case "ServerException":
2427
2411
  case "com.amazonaws.eks#ServerException":
2428
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2412
+ throw await de_ServerExceptionRes(parsedOutput, context);
2429
2413
  default:
2430
2414
  const parsedBody = parsedOutput.body;
2431
2415
  (0, smithy_client_1.throwDefaultError)({
@@ -2436,21 +2420,21 @@ const deserializeAws_restJson1UpdateNodegroupConfigCommandError = async (output,
2436
2420
  });
2437
2421
  }
2438
2422
  };
2439
- const deserializeAws_restJson1UpdateNodegroupVersionCommand = async (output, context) => {
2423
+ const de_UpdateNodegroupVersionCommand = async (output, context) => {
2440
2424
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2441
- return deserializeAws_restJson1UpdateNodegroupVersionCommandError(output, context);
2425
+ return de_UpdateNodegroupVersionCommandError(output, context);
2442
2426
  }
2443
2427
  const contents = map({
2444
2428
  $metadata: deserializeMetadata(output),
2445
2429
  });
2446
2430
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2447
2431
  if (data.update != null) {
2448
- contents.update = deserializeAws_restJson1Update(data.update, context);
2432
+ contents.update = de_Update(data.update, context);
2449
2433
  }
2450
2434
  return contents;
2451
2435
  };
2452
- exports.deserializeAws_restJson1UpdateNodegroupVersionCommand = deserializeAws_restJson1UpdateNodegroupVersionCommand;
2453
- const deserializeAws_restJson1UpdateNodegroupVersionCommandError = async (output, context) => {
2436
+ exports.de_UpdateNodegroupVersionCommand = de_UpdateNodegroupVersionCommand;
2437
+ const de_UpdateNodegroupVersionCommandError = async (output, context) => {
2454
2438
  const parsedOutput = {
2455
2439
  ...output,
2456
2440
  body: await parseErrorBody(output.body, context),
@@ -2459,22 +2443,22 @@ const deserializeAws_restJson1UpdateNodegroupVersionCommandError = async (output
2459
2443
  switch (errorCode) {
2460
2444
  case "ClientException":
2461
2445
  case "com.amazonaws.eks#ClientException":
2462
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
2446
+ throw await de_ClientExceptionRes(parsedOutput, context);
2463
2447
  case "InvalidParameterException":
2464
2448
  case "com.amazonaws.eks#InvalidParameterException":
2465
- throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
2449
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2466
2450
  case "InvalidRequestException":
2467
2451
  case "com.amazonaws.eks#InvalidRequestException":
2468
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
2452
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2469
2453
  case "ResourceInUseException":
2470
2454
  case "com.amazonaws.eks#ResourceInUseException":
2471
- throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
2455
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
2472
2456
  case "ResourceNotFoundException":
2473
2457
  case "com.amazonaws.eks#ResourceNotFoundException":
2474
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2458
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2475
2459
  case "ServerException":
2476
2460
  case "com.amazonaws.eks#ServerException":
2477
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
2461
+ throw await de_ServerExceptionRes(parsedOutput, context);
2478
2462
  default:
2479
2463
  const parsedBody = parsedOutput.body;
2480
2464
  (0, smithy_client_1.throwDefaultError)({
@@ -2486,7 +2470,7 @@ const deserializeAws_restJson1UpdateNodegroupVersionCommandError = async (output
2486
2470
  }
2487
2471
  };
2488
2472
  const map = smithy_client_1.map;
2489
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2473
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2490
2474
  const contents = map({});
2491
2475
  const data = parsedOutput.body;
2492
2476
  if (data.message != null) {
@@ -2498,7 +2482,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2498
2482
  });
2499
2483
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2500
2484
  };
2501
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2485
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
2502
2486
  const contents = map({});
2503
2487
  const data = parsedOutput.body;
2504
2488
  if (data.message != null) {
@@ -2510,7 +2494,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2510
2494
  });
2511
2495
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2512
2496
  };
2513
- const deserializeAws_restJson1ClientExceptionResponse = async (parsedOutput, context) => {
2497
+ const de_ClientExceptionRes = async (parsedOutput, context) => {
2514
2498
  const contents = map({});
2515
2499
  const data = parsedOutput.body;
2516
2500
  if (data.addonName != null) {
@@ -2531,7 +2515,7 @@ const deserializeAws_restJson1ClientExceptionResponse = async (parsedOutput, con
2531
2515
  });
2532
2516
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2533
2517
  };
2534
- const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
2518
+ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
2535
2519
  const contents = map({});
2536
2520
  const data = parsedOutput.body;
2537
2521
  if (data.addonName != null) {
@@ -2555,7 +2539,7 @@ const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedO
2555
2539
  });
2556
2540
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2557
2541
  };
2558
- const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
2542
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
2559
2543
  const contents = map({});
2560
2544
  const data = parsedOutput.body;
2561
2545
  if (data.addonName != null) {
@@ -2576,7 +2560,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
2576
2560
  });
2577
2561
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2578
2562
  };
2579
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
2563
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
2580
2564
  const contents = map({});
2581
2565
  const data = parsedOutput.body;
2582
2566
  if (data.message != null) {
@@ -2588,7 +2572,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
2588
2572
  });
2589
2573
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2590
2574
  };
2591
- const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
2575
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
2592
2576
  const contents = map({});
2593
2577
  const data = parsedOutput.body;
2594
2578
  if (data.addonName != null) {
@@ -2609,7 +2593,7 @@ const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutp
2609
2593
  });
2610
2594
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2611
2595
  };
2612
- const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
2596
+ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
2613
2597
  const contents = map({});
2614
2598
  const data = parsedOutput.body;
2615
2599
  if (data.clusterName != null) {
@@ -2627,7 +2611,7 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
2627
2611
  });
2628
2612
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2629
2613
  };
2630
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2614
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2631
2615
  const contents = map({});
2632
2616
  const data = parsedOutput.body;
2633
2617
  if (data.addonName != null) {
@@ -2651,7 +2635,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2651
2635
  });
2652
2636
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2653
2637
  };
2654
- const deserializeAws_restJson1ResourcePropagationDelayExceptionResponse = async (parsedOutput, context) => {
2638
+ const de_ResourcePropagationDelayExceptionRes = async (parsedOutput, context) => {
2655
2639
  const contents = map({});
2656
2640
  const data = parsedOutput.body;
2657
2641
  if (data.message != null) {
@@ -2663,7 +2647,7 @@ const deserializeAws_restJson1ResourcePropagationDelayExceptionResponse = async
2663
2647
  });
2664
2648
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2665
2649
  };
2666
- const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, context) => {
2650
+ const de_ServerExceptionRes = async (parsedOutput, context) => {
2667
2651
  const contents = map({});
2668
2652
  const data = parsedOutput.body;
2669
2653
  if (data.addonName != null) {
@@ -2684,7 +2668,7 @@ const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, con
2684
2668
  });
2685
2669
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2686
2670
  };
2687
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
2671
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
2688
2672
  const contents = map({});
2689
2673
  const data = parsedOutput.body;
2690
2674
  if (data.message != null) {
@@ -2696,7 +2680,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
2696
2680
  });
2697
2681
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2698
2682
  };
2699
- const deserializeAws_restJson1UnsupportedAvailabilityZoneExceptionResponse = async (parsedOutput, context) => {
2683
+ const de_UnsupportedAvailabilityZoneExceptionRes = async (parsedOutput, context) => {
2700
2684
  const contents = map({});
2701
2685
  const data = parsedOutput.body;
2702
2686
  if (data.clusterName != null) {
@@ -2709,7 +2693,7 @@ const deserializeAws_restJson1UnsupportedAvailabilityZoneExceptionResponse = asy
2709
2693
  contents.nodegroupName = (0, smithy_client_1.expectString)(data.nodegroupName);
2710
2694
  }
2711
2695
  if (data.validZones != null) {
2712
- contents.validZones = deserializeAws_restJson1StringList(data.validZones, context);
2696
+ contents.validZones = de_StringList(data.validZones, context);
2713
2697
  }
2714
2698
  const exception = new models_0_1.UnsupportedAvailabilityZoneException({
2715
2699
  $metadata: deserializeMetadata(parsedOutput),
@@ -2717,31 +2701,31 @@ const deserializeAws_restJson1UnsupportedAvailabilityZoneExceptionResponse = asy
2717
2701
  });
2718
2702
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2719
2703
  };
2720
- const serializeAws_restJson1ConnectorConfigRequest = (input, context) => {
2704
+ const se_ConnectorConfigRequest = (input, context) => {
2721
2705
  return {
2722
2706
  ...(input.provider != null && { provider: input.provider }),
2723
2707
  ...(input.roleArn != null && { roleArn: input.roleArn }),
2724
2708
  };
2725
2709
  };
2726
- const serializeAws_restJson1ControlPlanePlacementRequest = (input, context) => {
2710
+ const se_ControlPlanePlacementRequest = (input, context) => {
2727
2711
  return {
2728
2712
  ...(input.groupName != null && { groupName: input.groupName }),
2729
2713
  };
2730
2714
  };
2731
- const serializeAws_restJson1EncryptionConfig = (input, context) => {
2715
+ const se_EncryptionConfig = (input, context) => {
2732
2716
  return {
2733
- ...(input.provider != null && { provider: serializeAws_restJson1Provider(input.provider, context) }),
2734
- ...(input.resources != null && { resources: serializeAws_restJson1StringList(input.resources, context) }),
2717
+ ...(input.provider != null && { provider: se_Provider(input.provider, context) }),
2718
+ ...(input.resources != null && { resources: se_StringList(input.resources, context) }),
2735
2719
  };
2736
2720
  };
2737
- const serializeAws_restJson1EncryptionConfigList = (input, context) => {
2721
+ const se_EncryptionConfigList = (input, context) => {
2738
2722
  return input
2739
2723
  .filter((e) => e != null)
2740
2724
  .map((entry) => {
2741
- return serializeAws_restJson1EncryptionConfig(entry, context);
2725
+ return se_EncryptionConfig(entry, context);
2742
2726
  });
2743
2727
  };
2744
- const serializeAws_restJson1FargateProfileLabel = (input, context) => {
2728
+ const se_FargateProfileLabel = (input, context) => {
2745
2729
  return Object.entries(input).reduce((acc, [key, value]) => {
2746
2730
  if (value === null) {
2747
2731
  return acc;
@@ -2750,39 +2734,39 @@ const serializeAws_restJson1FargateProfileLabel = (input, context) => {
2750
2734
  return acc;
2751
2735
  }, {});
2752
2736
  };
2753
- const serializeAws_restJson1FargateProfileSelector = (input, context) => {
2737
+ const se_FargateProfileSelector = (input, context) => {
2754
2738
  return {
2755
- ...(input.labels != null && { labels: serializeAws_restJson1FargateProfileLabel(input.labels, context) }),
2739
+ ...(input.labels != null && { labels: se_FargateProfileLabel(input.labels, context) }),
2756
2740
  ...(input.namespace != null && { namespace: input.namespace }),
2757
2741
  };
2758
2742
  };
2759
- const serializeAws_restJson1FargateProfileSelectors = (input, context) => {
2743
+ const se_FargateProfileSelectors = (input, context) => {
2760
2744
  return input
2761
2745
  .filter((e) => e != null)
2762
2746
  .map((entry) => {
2763
- return serializeAws_restJson1FargateProfileSelector(entry, context);
2747
+ return se_FargateProfileSelector(entry, context);
2764
2748
  });
2765
2749
  };
2766
- const serializeAws_restJson1IdentityProviderConfig = (input, context) => {
2750
+ const se_IdentityProviderConfig = (input, context) => {
2767
2751
  return {
2768
2752
  ...(input.name != null && { name: input.name }),
2769
2753
  ...(input.type != null && { type: input.type }),
2770
2754
  };
2771
2755
  };
2772
- const serializeAws_restJson1KubernetesNetworkConfigRequest = (input, context) => {
2756
+ const se_KubernetesNetworkConfigRequest = (input, context) => {
2773
2757
  return {
2774
2758
  ...(input.ipFamily != null && { ipFamily: input.ipFamily }),
2775
2759
  ...(input.serviceIpv4Cidr != null && { serviceIpv4Cidr: input.serviceIpv4Cidr }),
2776
2760
  };
2777
2761
  };
2778
- const serializeAws_restJson1labelsKeyList = (input, context) => {
2762
+ const se_labelsKeyList = (input, context) => {
2779
2763
  return input
2780
2764
  .filter((e) => e != null)
2781
2765
  .map((entry) => {
2782
2766
  return entry;
2783
2767
  });
2784
2768
  };
2785
- const serializeAws_restJson1labelsMap = (input, context) => {
2769
+ const se_labelsMap = (input, context) => {
2786
2770
  return Object.entries(input).reduce((acc, [key, value]) => {
2787
2771
  if (value === null) {
2788
2772
  return acc;
@@ -2791,90 +2775,86 @@ const serializeAws_restJson1labelsMap = (input, context) => {
2791
2775
  return acc;
2792
2776
  }, {});
2793
2777
  };
2794
- const serializeAws_restJson1LaunchTemplateSpecification = (input, context) => {
2778
+ const se_LaunchTemplateSpecification = (input, context) => {
2795
2779
  return {
2796
2780
  ...(input.id != null && { id: input.id }),
2797
2781
  ...(input.name != null && { name: input.name }),
2798
2782
  ...(input.version != null && { version: input.version }),
2799
2783
  };
2800
2784
  };
2801
- const serializeAws_restJson1Logging = (input, context) => {
2785
+ const se_Logging = (input, context) => {
2802
2786
  return {
2803
- ...(input.clusterLogging != null && {
2804
- clusterLogging: serializeAws_restJson1LogSetups(input.clusterLogging, context),
2805
- }),
2787
+ ...(input.clusterLogging != null && { clusterLogging: se_LogSetups(input.clusterLogging, context) }),
2806
2788
  };
2807
2789
  };
2808
- const serializeAws_restJson1LogSetup = (input, context) => {
2790
+ const se_LogSetup = (input, context) => {
2809
2791
  return {
2810
2792
  ...(input.enabled != null && { enabled: input.enabled }),
2811
- ...(input.types != null && { types: serializeAws_restJson1LogTypes(input.types, context) }),
2793
+ ...(input.types != null && { types: se_LogTypes(input.types, context) }),
2812
2794
  };
2813
2795
  };
2814
- const serializeAws_restJson1LogSetups = (input, context) => {
2796
+ const se_LogSetups = (input, context) => {
2815
2797
  return input
2816
2798
  .filter((e) => e != null)
2817
2799
  .map((entry) => {
2818
- return serializeAws_restJson1LogSetup(entry, context);
2800
+ return se_LogSetup(entry, context);
2819
2801
  });
2820
2802
  };
2821
- const serializeAws_restJson1LogTypes = (input, context) => {
2803
+ const se_LogTypes = (input, context) => {
2822
2804
  return input
2823
2805
  .filter((e) => e != null)
2824
2806
  .map((entry) => {
2825
2807
  return entry;
2826
2808
  });
2827
2809
  };
2828
- const serializeAws_restJson1NodegroupScalingConfig = (input, context) => {
2810
+ const se_NodegroupScalingConfig = (input, context) => {
2829
2811
  return {
2830
2812
  ...(input.desiredSize != null && { desiredSize: input.desiredSize }),
2831
2813
  ...(input.maxSize != null && { maxSize: input.maxSize }),
2832
2814
  ...(input.minSize != null && { minSize: input.minSize }),
2833
2815
  };
2834
2816
  };
2835
- const serializeAws_restJson1NodegroupUpdateConfig = (input, context) => {
2817
+ const se_NodegroupUpdateConfig = (input, context) => {
2836
2818
  return {
2837
2819
  ...(input.maxUnavailable != null && { maxUnavailable: input.maxUnavailable }),
2838
2820
  ...(input.maxUnavailablePercentage != null && { maxUnavailablePercentage: input.maxUnavailablePercentage }),
2839
2821
  };
2840
2822
  };
2841
- const serializeAws_restJson1OidcIdentityProviderConfigRequest = (input, context) => {
2823
+ const se_OidcIdentityProviderConfigRequest = (input, context) => {
2842
2824
  return {
2843
2825
  ...(input.clientId != null && { clientId: input.clientId }),
2844
2826
  ...(input.groupsClaim != null && { groupsClaim: input.groupsClaim }),
2845
2827
  ...(input.groupsPrefix != null && { groupsPrefix: input.groupsPrefix }),
2846
2828
  ...(input.identityProviderConfigName != null && { identityProviderConfigName: input.identityProviderConfigName }),
2847
2829
  ...(input.issuerUrl != null && { issuerUrl: input.issuerUrl }),
2848
- ...(input.requiredClaims != null && {
2849
- requiredClaims: serializeAws_restJson1requiredClaimsMap(input.requiredClaims, context),
2850
- }),
2830
+ ...(input.requiredClaims != null && { requiredClaims: se_requiredClaimsMap(input.requiredClaims, context) }),
2851
2831
  ...(input.usernameClaim != null && { usernameClaim: input.usernameClaim }),
2852
2832
  ...(input.usernamePrefix != null && { usernamePrefix: input.usernamePrefix }),
2853
2833
  };
2854
2834
  };
2855
- const serializeAws_restJson1OutpostConfigRequest = (input, context) => {
2835
+ const se_OutpostConfigRequest = (input, context) => {
2856
2836
  return {
2857
2837
  ...(input.controlPlaneInstanceType != null && { controlPlaneInstanceType: input.controlPlaneInstanceType }),
2858
2838
  ...(input.controlPlanePlacement != null && {
2859
- controlPlanePlacement: serializeAws_restJson1ControlPlanePlacementRequest(input.controlPlanePlacement, context),
2839
+ controlPlanePlacement: se_ControlPlanePlacementRequest(input.controlPlanePlacement, context),
2860
2840
  }),
2861
- ...(input.outpostArns != null && { outpostArns: serializeAws_restJson1StringList(input.outpostArns, context) }),
2841
+ ...(input.outpostArns != null && { outpostArns: se_StringList(input.outpostArns, context) }),
2862
2842
  };
2863
2843
  };
2864
- const serializeAws_restJson1Provider = (input, context) => {
2844
+ const se_Provider = (input, context) => {
2865
2845
  return {
2866
2846
  ...(input.keyArn != null && { keyArn: input.keyArn }),
2867
2847
  };
2868
2848
  };
2869
- const serializeAws_restJson1RemoteAccessConfig = (input, context) => {
2849
+ const se_RemoteAccessConfig = (input, context) => {
2870
2850
  return {
2871
2851
  ...(input.ec2SshKey != null && { ec2SshKey: input.ec2SshKey }),
2872
2852
  ...(input.sourceSecurityGroups != null && {
2873
- sourceSecurityGroups: serializeAws_restJson1StringList(input.sourceSecurityGroups, context),
2853
+ sourceSecurityGroups: se_StringList(input.sourceSecurityGroups, context),
2874
2854
  }),
2875
2855
  };
2876
2856
  };
2877
- const serializeAws_restJson1requiredClaimsMap = (input, context) => {
2857
+ const se_requiredClaimsMap = (input, context) => {
2878
2858
  return Object.entries(input).reduce((acc, [key, value]) => {
2879
2859
  if (value === null) {
2880
2860
  return acc;
@@ -2883,14 +2863,14 @@ const serializeAws_restJson1requiredClaimsMap = (input, context) => {
2883
2863
  return acc;
2884
2864
  }, {});
2885
2865
  };
2886
- const serializeAws_restJson1StringList = (input, context) => {
2866
+ const se_StringList = (input, context) => {
2887
2867
  return input
2888
2868
  .filter((e) => e != null)
2889
2869
  .map((entry) => {
2890
2870
  return entry;
2891
2871
  });
2892
2872
  };
2893
- const serializeAws_restJson1TagMap = (input, context) => {
2873
+ const se_TagMap = (input, context) => {
2894
2874
  return Object.entries(input).reduce((acc, [key, value]) => {
2895
2875
  if (value === null) {
2896
2876
  return acc;
@@ -2899,52 +2879,42 @@ const serializeAws_restJson1TagMap = (input, context) => {
2899
2879
  return acc;
2900
2880
  }, {});
2901
2881
  };
2902
- const serializeAws_restJson1Taint = (input, context) => {
2882
+ const se_Taint = (input, context) => {
2903
2883
  return {
2904
2884
  ...(input.effect != null && { effect: input.effect }),
2905
2885
  ...(input.key != null && { key: input.key }),
2906
2886
  ...(input.value != null && { value: input.value }),
2907
2887
  };
2908
2888
  };
2909
- const serializeAws_restJson1taintsList = (input, context) => {
2889
+ const se_taintsList = (input, context) => {
2910
2890
  return input
2911
2891
  .filter((e) => e != null)
2912
2892
  .map((entry) => {
2913
- return serializeAws_restJson1Taint(entry, context);
2893
+ return se_Taint(entry, context);
2914
2894
  });
2915
2895
  };
2916
- const serializeAws_restJson1UpdateLabelsPayload = (input, context) => {
2896
+ const se_UpdateLabelsPayload = (input, context) => {
2917
2897
  return {
2918
- ...(input.addOrUpdateLabels != null && {
2919
- addOrUpdateLabels: serializeAws_restJson1labelsMap(input.addOrUpdateLabels, context),
2920
- }),
2921
- ...(input.removeLabels != null && {
2922
- removeLabels: serializeAws_restJson1labelsKeyList(input.removeLabels, context),
2923
- }),
2898
+ ...(input.addOrUpdateLabels != null && { addOrUpdateLabels: se_labelsMap(input.addOrUpdateLabels, context) }),
2899
+ ...(input.removeLabels != null && { removeLabels: se_labelsKeyList(input.removeLabels, context) }),
2924
2900
  };
2925
2901
  };
2926
- const serializeAws_restJson1UpdateTaintsPayload = (input, context) => {
2902
+ const se_UpdateTaintsPayload = (input, context) => {
2927
2903
  return {
2928
- ...(input.addOrUpdateTaints != null && {
2929
- addOrUpdateTaints: serializeAws_restJson1taintsList(input.addOrUpdateTaints, context),
2930
- }),
2931
- ...(input.removeTaints != null && { removeTaints: serializeAws_restJson1taintsList(input.removeTaints, context) }),
2904
+ ...(input.addOrUpdateTaints != null && { addOrUpdateTaints: se_taintsList(input.addOrUpdateTaints, context) }),
2905
+ ...(input.removeTaints != null && { removeTaints: se_taintsList(input.removeTaints, context) }),
2932
2906
  };
2933
2907
  };
2934
- const serializeAws_restJson1VpcConfigRequest = (input, context) => {
2908
+ const se_VpcConfigRequest = (input, context) => {
2935
2909
  return {
2936
2910
  ...(input.endpointPrivateAccess != null && { endpointPrivateAccess: input.endpointPrivateAccess }),
2937
2911
  ...(input.endpointPublicAccess != null && { endpointPublicAccess: input.endpointPublicAccess }),
2938
- ...(input.publicAccessCidrs != null && {
2939
- publicAccessCidrs: serializeAws_restJson1StringList(input.publicAccessCidrs, context),
2940
- }),
2941
- ...(input.securityGroupIds != null && {
2942
- securityGroupIds: serializeAws_restJson1StringList(input.securityGroupIds, context),
2943
- }),
2944
- ...(input.subnetIds != null && { subnetIds: serializeAws_restJson1StringList(input.subnetIds, context) }),
2912
+ ...(input.publicAccessCidrs != null && { publicAccessCidrs: se_StringList(input.publicAccessCidrs, context) }),
2913
+ ...(input.securityGroupIds != null && { securityGroupIds: se_StringList(input.securityGroupIds, context) }),
2914
+ ...(input.subnetIds != null && { subnetIds: se_StringList(input.subnetIds, context) }),
2945
2915
  };
2946
2916
  };
2947
- const deserializeAws_restJson1Addon = (output, context) => {
2917
+ const de_Addon = (output, context) => {
2948
2918
  return {
2949
2919
  addonArn: (0, smithy_client_1.expectString)(output.addonArn),
2950
2920
  addonName: (0, smithy_client_1.expectString)(output.addonName),
@@ -2952,188 +2922,172 @@ const deserializeAws_restJson1Addon = (output, context) => {
2952
2922
  clusterName: (0, smithy_client_1.expectString)(output.clusterName),
2953
2923
  configurationValues: (0, smithy_client_1.expectString)(output.configurationValues),
2954
2924
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
2955
- health: output.health != null ? deserializeAws_restJson1AddonHealth(output.health, context) : undefined,
2925
+ health: output.health != null ? de_AddonHealth(output.health, context) : undefined,
2956
2926
  marketplaceInformation: output.marketplaceInformation != null
2957
- ? deserializeAws_restJson1MarketplaceInformation(output.marketplaceInformation, context)
2927
+ ? de_MarketplaceInformation(output.marketplaceInformation, context)
2958
2928
  : undefined,
2959
2929
  modifiedAt: output.modifiedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt))) : undefined,
2960
2930
  owner: (0, smithy_client_1.expectString)(output.owner),
2961
2931
  publisher: (0, smithy_client_1.expectString)(output.publisher),
2962
2932
  serviceAccountRoleArn: (0, smithy_client_1.expectString)(output.serviceAccountRoleArn),
2963
2933
  status: (0, smithy_client_1.expectString)(output.status),
2964
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
2934
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
2965
2935
  };
2966
2936
  };
2967
- const deserializeAws_restJson1AddonHealth = (output, context) => {
2937
+ const de_AddonHealth = (output, context) => {
2968
2938
  return {
2969
- issues: output.issues != null ? deserializeAws_restJson1AddonIssueList(output.issues, context) : undefined,
2939
+ issues: output.issues != null ? de_AddonIssueList(output.issues, context) : undefined,
2970
2940
  };
2971
2941
  };
2972
- const deserializeAws_restJson1AddonInfo = (output, context) => {
2942
+ const de_AddonInfo = (output, context) => {
2973
2943
  return {
2974
2944
  addonName: (0, smithy_client_1.expectString)(output.addonName),
2975
- addonVersions: output.addonVersions != null
2976
- ? deserializeAws_restJson1AddonVersionInfoList(output.addonVersions, context)
2977
- : undefined,
2945
+ addonVersions: output.addonVersions != null ? de_AddonVersionInfoList(output.addonVersions, context) : undefined,
2978
2946
  marketplaceInformation: output.marketplaceInformation != null
2979
- ? deserializeAws_restJson1MarketplaceInformation(output.marketplaceInformation, context)
2947
+ ? de_MarketplaceInformation(output.marketplaceInformation, context)
2980
2948
  : undefined,
2981
2949
  owner: (0, smithy_client_1.expectString)(output.owner),
2982
2950
  publisher: (0, smithy_client_1.expectString)(output.publisher),
2983
2951
  type: (0, smithy_client_1.expectString)(output.type),
2984
2952
  };
2985
2953
  };
2986
- const deserializeAws_restJson1AddonIssue = (output, context) => {
2954
+ const de_AddonIssue = (output, context) => {
2987
2955
  return {
2988
2956
  code: (0, smithy_client_1.expectString)(output.code),
2989
2957
  message: (0, smithy_client_1.expectString)(output.message),
2990
- resourceIds: output.resourceIds != null ? deserializeAws_restJson1StringList(output.resourceIds, context) : undefined,
2958
+ resourceIds: output.resourceIds != null ? de_StringList(output.resourceIds, context) : undefined,
2991
2959
  };
2992
2960
  };
2993
- const deserializeAws_restJson1AddonIssueList = (output, context) => {
2961
+ const de_AddonIssueList = (output, context) => {
2994
2962
  const retVal = (output || [])
2995
2963
  .filter((e) => e != null)
2996
2964
  .map((entry) => {
2997
2965
  if (entry === null) {
2998
2966
  return null;
2999
2967
  }
3000
- return deserializeAws_restJson1AddonIssue(entry, context);
2968
+ return de_AddonIssue(entry, context);
3001
2969
  });
3002
2970
  return retVal;
3003
2971
  };
3004
- const deserializeAws_restJson1Addons = (output, context) => {
2972
+ const de_Addons = (output, context) => {
3005
2973
  const retVal = (output || [])
3006
2974
  .filter((e) => e != null)
3007
2975
  .map((entry) => {
3008
2976
  if (entry === null) {
3009
2977
  return null;
3010
2978
  }
3011
- return deserializeAws_restJson1AddonInfo(entry, context);
2979
+ return de_AddonInfo(entry, context);
3012
2980
  });
3013
2981
  return retVal;
3014
2982
  };
3015
- const deserializeAws_restJson1AddonVersionInfo = (output, context) => {
2983
+ const de_AddonVersionInfo = (output, context) => {
3016
2984
  return {
3017
2985
  addonVersion: (0, smithy_client_1.expectString)(output.addonVersion),
3018
- architecture: output.architecture != null ? deserializeAws_restJson1StringList(output.architecture, context) : undefined,
3019
- compatibilities: output.compatibilities != null
3020
- ? deserializeAws_restJson1Compatibilities(output.compatibilities, context)
3021
- : undefined,
2986
+ architecture: output.architecture != null ? de_StringList(output.architecture, context) : undefined,
2987
+ compatibilities: output.compatibilities != null ? de_Compatibilities(output.compatibilities, context) : undefined,
3022
2988
  requiresConfiguration: (0, smithy_client_1.expectBoolean)(output.requiresConfiguration),
3023
2989
  };
3024
2990
  };
3025
- const deserializeAws_restJson1AddonVersionInfoList = (output, context) => {
2991
+ const de_AddonVersionInfoList = (output, context) => {
3026
2992
  const retVal = (output || [])
3027
2993
  .filter((e) => e != null)
3028
2994
  .map((entry) => {
3029
2995
  if (entry === null) {
3030
2996
  return null;
3031
2997
  }
3032
- return deserializeAws_restJson1AddonVersionInfo(entry, context);
2998
+ return de_AddonVersionInfo(entry, context);
3033
2999
  });
3034
3000
  return retVal;
3035
3001
  };
3036
- const deserializeAws_restJson1AutoScalingGroup = (output, context) => {
3002
+ const de_AutoScalingGroup = (output, context) => {
3037
3003
  return {
3038
3004
  name: (0, smithy_client_1.expectString)(output.name),
3039
3005
  };
3040
3006
  };
3041
- const deserializeAws_restJson1AutoScalingGroupList = (output, context) => {
3007
+ const de_AutoScalingGroupList = (output, context) => {
3042
3008
  const retVal = (output || [])
3043
3009
  .filter((e) => e != null)
3044
3010
  .map((entry) => {
3045
3011
  if (entry === null) {
3046
3012
  return null;
3047
3013
  }
3048
- return deserializeAws_restJson1AutoScalingGroup(entry, context);
3014
+ return de_AutoScalingGroup(entry, context);
3049
3015
  });
3050
3016
  return retVal;
3051
3017
  };
3052
- const deserializeAws_restJson1Certificate = (output, context) => {
3018
+ const de_Certificate = (output, context) => {
3053
3019
  return {
3054
3020
  data: (0, smithy_client_1.expectString)(output.data),
3055
3021
  };
3056
3022
  };
3057
- const deserializeAws_restJson1Cluster = (output, context) => {
3023
+ const de_Cluster = (output, context) => {
3058
3024
  return {
3059
3025
  arn: (0, smithy_client_1.expectString)(output.arn),
3060
- certificateAuthority: output.certificateAuthority != null
3061
- ? deserializeAws_restJson1Certificate(output.certificateAuthority, context)
3062
- : undefined,
3026
+ certificateAuthority: output.certificateAuthority != null ? de_Certificate(output.certificateAuthority, context) : undefined,
3063
3027
  clientRequestToken: (0, smithy_client_1.expectString)(output.clientRequestToken),
3064
- connectorConfig: output.connectorConfig != null
3065
- ? deserializeAws_restJson1ConnectorConfigResponse(output.connectorConfig, context)
3066
- : undefined,
3028
+ connectorConfig: output.connectorConfig != null ? de_ConnectorConfigResponse(output.connectorConfig, context) : undefined,
3067
3029
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
3068
- encryptionConfig: output.encryptionConfig != null
3069
- ? deserializeAws_restJson1EncryptionConfigList(output.encryptionConfig, context)
3070
- : undefined,
3030
+ encryptionConfig: output.encryptionConfig != null ? de_EncryptionConfigList(output.encryptionConfig, context) : undefined,
3071
3031
  endpoint: (0, smithy_client_1.expectString)(output.endpoint),
3072
- health: output.health != null ? deserializeAws_restJson1ClusterHealth(output.health, context) : undefined,
3032
+ health: output.health != null ? de_ClusterHealth(output.health, context) : undefined,
3073
3033
  id: (0, smithy_client_1.expectString)(output.id),
3074
- identity: output.identity != null ? deserializeAws_restJson1Identity(output.identity, context) : undefined,
3034
+ identity: output.identity != null ? de_Identity(output.identity, context) : undefined,
3075
3035
  kubernetesNetworkConfig: output.kubernetesNetworkConfig != null
3076
- ? deserializeAws_restJson1KubernetesNetworkConfigResponse(output.kubernetesNetworkConfig, context)
3036
+ ? de_KubernetesNetworkConfigResponse(output.kubernetesNetworkConfig, context)
3077
3037
  : undefined,
3078
- logging: output.logging != null ? deserializeAws_restJson1Logging(output.logging, context) : undefined,
3038
+ logging: output.logging != null ? de_Logging(output.logging, context) : undefined,
3079
3039
  name: (0, smithy_client_1.expectString)(output.name),
3080
- outpostConfig: output.outpostConfig != null
3081
- ? deserializeAws_restJson1OutpostConfigResponse(output.outpostConfig, context)
3082
- : undefined,
3040
+ outpostConfig: output.outpostConfig != null ? de_OutpostConfigResponse(output.outpostConfig, context) : undefined,
3083
3041
  platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
3084
- resourcesVpcConfig: output.resourcesVpcConfig != null
3085
- ? deserializeAws_restJson1VpcConfigResponse(output.resourcesVpcConfig, context)
3086
- : undefined,
3042
+ resourcesVpcConfig: output.resourcesVpcConfig != null ? de_VpcConfigResponse(output.resourcesVpcConfig, context) : undefined,
3087
3043
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
3088
3044
  status: (0, smithy_client_1.expectString)(output.status),
3089
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
3045
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
3090
3046
  version: (0, smithy_client_1.expectString)(output.version),
3091
3047
  };
3092
3048
  };
3093
- const deserializeAws_restJson1ClusterHealth = (output, context) => {
3049
+ const de_ClusterHealth = (output, context) => {
3094
3050
  return {
3095
- issues: output.issues != null ? deserializeAws_restJson1ClusterIssueList(output.issues, context) : undefined,
3051
+ issues: output.issues != null ? de_ClusterIssueList(output.issues, context) : undefined,
3096
3052
  };
3097
3053
  };
3098
- const deserializeAws_restJson1ClusterIssue = (output, context) => {
3054
+ const de_ClusterIssue = (output, context) => {
3099
3055
  return {
3100
3056
  code: (0, smithy_client_1.expectString)(output.code),
3101
3057
  message: (0, smithy_client_1.expectString)(output.message),
3102
- resourceIds: output.resourceIds != null ? deserializeAws_restJson1StringList(output.resourceIds, context) : undefined,
3058
+ resourceIds: output.resourceIds != null ? de_StringList(output.resourceIds, context) : undefined,
3103
3059
  };
3104
3060
  };
3105
- const deserializeAws_restJson1ClusterIssueList = (output, context) => {
3061
+ const de_ClusterIssueList = (output, context) => {
3106
3062
  const retVal = (output || [])
3107
3063
  .filter((e) => e != null)
3108
3064
  .map((entry) => {
3109
3065
  if (entry === null) {
3110
3066
  return null;
3111
3067
  }
3112
- return deserializeAws_restJson1ClusterIssue(entry, context);
3068
+ return de_ClusterIssue(entry, context);
3113
3069
  });
3114
3070
  return retVal;
3115
3071
  };
3116
- const deserializeAws_restJson1Compatibilities = (output, context) => {
3072
+ const de_Compatibilities = (output, context) => {
3117
3073
  const retVal = (output || [])
3118
3074
  .filter((e) => e != null)
3119
3075
  .map((entry) => {
3120
3076
  if (entry === null) {
3121
3077
  return null;
3122
3078
  }
3123
- return deserializeAws_restJson1Compatibility(entry, context);
3079
+ return de_Compatibility(entry, context);
3124
3080
  });
3125
3081
  return retVal;
3126
3082
  };
3127
- const deserializeAws_restJson1Compatibility = (output, context) => {
3083
+ const de_Compatibility = (output, context) => {
3128
3084
  return {
3129
3085
  clusterVersion: (0, smithy_client_1.expectString)(output.clusterVersion),
3130
3086
  defaultVersion: (0, smithy_client_1.expectBoolean)(output.defaultVersion),
3131
- platformVersions: output.platformVersions != null
3132
- ? deserializeAws_restJson1StringList(output.platformVersions, context)
3133
- : undefined,
3087
+ platformVersions: output.platformVersions != null ? de_StringList(output.platformVersions, context) : undefined,
3134
3088
  };
3135
3089
  };
3136
- const deserializeAws_restJson1ConnectorConfigResponse = (output, context) => {
3090
+ const de_ConnectorConfigResponse = (output, context) => {
3137
3091
  return {
3138
3092
  activationCode: (0, smithy_client_1.expectString)(output.activationCode),
3139
3093
  activationExpiry: output.activationExpiry != null
@@ -3144,60 +3098,60 @@ const deserializeAws_restJson1ConnectorConfigResponse = (output, context) => {
3144
3098
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
3145
3099
  };
3146
3100
  };
3147
- const deserializeAws_restJson1ControlPlanePlacementResponse = (output, context) => {
3101
+ const de_ControlPlanePlacementResponse = (output, context) => {
3148
3102
  return {
3149
3103
  groupName: (0, smithy_client_1.expectString)(output.groupName),
3150
3104
  };
3151
3105
  };
3152
- const deserializeAws_restJson1EncryptionConfig = (output, context) => {
3106
+ const de_EncryptionConfig = (output, context) => {
3153
3107
  return {
3154
- provider: output.provider != null ? deserializeAws_restJson1Provider(output.provider, context) : undefined,
3155
- resources: output.resources != null ? deserializeAws_restJson1StringList(output.resources, context) : undefined,
3108
+ provider: output.provider != null ? de_Provider(output.provider, context) : undefined,
3109
+ resources: output.resources != null ? de_StringList(output.resources, context) : undefined,
3156
3110
  };
3157
3111
  };
3158
- const deserializeAws_restJson1EncryptionConfigList = (output, context) => {
3112
+ const de_EncryptionConfigList = (output, context) => {
3159
3113
  const retVal = (output || [])
3160
3114
  .filter((e) => e != null)
3161
3115
  .map((entry) => {
3162
3116
  if (entry === null) {
3163
3117
  return null;
3164
3118
  }
3165
- return deserializeAws_restJson1EncryptionConfig(entry, context);
3119
+ return de_EncryptionConfig(entry, context);
3166
3120
  });
3167
3121
  return retVal;
3168
3122
  };
3169
- const deserializeAws_restJson1ErrorDetail = (output, context) => {
3123
+ const de_ErrorDetail = (output, context) => {
3170
3124
  return {
3171
3125
  errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3172
3126
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3173
- resourceIds: output.resourceIds != null ? deserializeAws_restJson1StringList(output.resourceIds, context) : undefined,
3127
+ resourceIds: output.resourceIds != null ? de_StringList(output.resourceIds, context) : undefined,
3174
3128
  };
3175
3129
  };
3176
- const deserializeAws_restJson1ErrorDetails = (output, context) => {
3130
+ const de_ErrorDetails = (output, context) => {
3177
3131
  const retVal = (output || [])
3178
3132
  .filter((e) => e != null)
3179
3133
  .map((entry) => {
3180
3134
  if (entry === null) {
3181
3135
  return null;
3182
3136
  }
3183
- return deserializeAws_restJson1ErrorDetail(entry, context);
3137
+ return de_ErrorDetail(entry, context);
3184
3138
  });
3185
3139
  return retVal;
3186
3140
  };
3187
- const deserializeAws_restJson1FargateProfile = (output, context) => {
3141
+ const de_FargateProfile = (output, context) => {
3188
3142
  return {
3189
3143
  clusterName: (0, smithy_client_1.expectString)(output.clusterName),
3190
3144
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
3191
3145
  fargateProfileArn: (0, smithy_client_1.expectString)(output.fargateProfileArn),
3192
3146
  fargateProfileName: (0, smithy_client_1.expectString)(output.fargateProfileName),
3193
3147
  podExecutionRoleArn: (0, smithy_client_1.expectString)(output.podExecutionRoleArn),
3194
- selectors: output.selectors != null ? deserializeAws_restJson1FargateProfileSelectors(output.selectors, context) : undefined,
3148
+ selectors: output.selectors != null ? de_FargateProfileSelectors(output.selectors, context) : undefined,
3195
3149
  status: (0, smithy_client_1.expectString)(output.status),
3196
- subnets: output.subnets != null ? deserializeAws_restJson1StringList(output.subnets, context) : undefined,
3197
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
3150
+ subnets: output.subnets != null ? de_StringList(output.subnets, context) : undefined,
3151
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
3198
3152
  };
3199
3153
  };
3200
- const deserializeAws_restJson1FargateProfileLabel = (output, context) => {
3154
+ const de_FargateProfileLabel = (output, context) => {
3201
3155
  return Object.entries(output).reduce((acc, [key, value]) => {
3202
3156
  if (value === null) {
3203
3157
  return acc;
@@ -3206,76 +3160,76 @@ const deserializeAws_restJson1FargateProfileLabel = (output, context) => {
3206
3160
  return acc;
3207
3161
  }, {});
3208
3162
  };
3209
- const deserializeAws_restJson1FargateProfileSelector = (output, context) => {
3163
+ const de_FargateProfileSelector = (output, context) => {
3210
3164
  return {
3211
- labels: output.labels != null ? deserializeAws_restJson1FargateProfileLabel(output.labels, context) : undefined,
3165
+ labels: output.labels != null ? de_FargateProfileLabel(output.labels, context) : undefined,
3212
3166
  namespace: (0, smithy_client_1.expectString)(output.namespace),
3213
3167
  };
3214
3168
  };
3215
- const deserializeAws_restJson1FargateProfileSelectors = (output, context) => {
3169
+ const de_FargateProfileSelectors = (output, context) => {
3216
3170
  const retVal = (output || [])
3217
3171
  .filter((e) => e != null)
3218
3172
  .map((entry) => {
3219
3173
  if (entry === null) {
3220
3174
  return null;
3221
3175
  }
3222
- return deserializeAws_restJson1FargateProfileSelector(entry, context);
3176
+ return de_FargateProfileSelector(entry, context);
3223
3177
  });
3224
3178
  return retVal;
3225
3179
  };
3226
- const deserializeAws_restJson1Identity = (output, context) => {
3180
+ const de_Identity = (output, context) => {
3227
3181
  return {
3228
- oidc: output.oidc != null ? deserializeAws_restJson1OIDC(output.oidc, context) : undefined,
3182
+ oidc: output.oidc != null ? de_OIDC(output.oidc, context) : undefined,
3229
3183
  };
3230
3184
  };
3231
- const deserializeAws_restJson1IdentityProviderConfig = (output, context) => {
3185
+ const de_IdentityProviderConfig = (output, context) => {
3232
3186
  return {
3233
3187
  name: (0, smithy_client_1.expectString)(output.name),
3234
3188
  type: (0, smithy_client_1.expectString)(output.type),
3235
3189
  };
3236
3190
  };
3237
- const deserializeAws_restJson1IdentityProviderConfigResponse = (output, context) => {
3191
+ const de_IdentityProviderConfigResponse = (output, context) => {
3238
3192
  return {
3239
- oidc: output.oidc != null ? deserializeAws_restJson1OidcIdentityProviderConfig(output.oidc, context) : undefined,
3193
+ oidc: output.oidc != null ? de_OidcIdentityProviderConfig(output.oidc, context) : undefined,
3240
3194
  };
3241
3195
  };
3242
- const deserializeAws_restJson1IdentityProviderConfigs = (output, context) => {
3196
+ const de_IdentityProviderConfigs = (output, context) => {
3243
3197
  const retVal = (output || [])
3244
3198
  .filter((e) => e != null)
3245
3199
  .map((entry) => {
3246
3200
  if (entry === null) {
3247
3201
  return null;
3248
3202
  }
3249
- return deserializeAws_restJson1IdentityProviderConfig(entry, context);
3203
+ return de_IdentityProviderConfig(entry, context);
3250
3204
  });
3251
3205
  return retVal;
3252
3206
  };
3253
- const deserializeAws_restJson1Issue = (output, context) => {
3207
+ const de_Issue = (output, context) => {
3254
3208
  return {
3255
3209
  code: (0, smithy_client_1.expectString)(output.code),
3256
3210
  message: (0, smithy_client_1.expectString)(output.message),
3257
- resourceIds: output.resourceIds != null ? deserializeAws_restJson1StringList(output.resourceIds, context) : undefined,
3211
+ resourceIds: output.resourceIds != null ? de_StringList(output.resourceIds, context) : undefined,
3258
3212
  };
3259
3213
  };
3260
- const deserializeAws_restJson1IssueList = (output, context) => {
3214
+ const de_IssueList = (output, context) => {
3261
3215
  const retVal = (output || [])
3262
3216
  .filter((e) => e != null)
3263
3217
  .map((entry) => {
3264
3218
  if (entry === null) {
3265
3219
  return null;
3266
3220
  }
3267
- return deserializeAws_restJson1Issue(entry, context);
3221
+ return de_Issue(entry, context);
3268
3222
  });
3269
3223
  return retVal;
3270
3224
  };
3271
- const deserializeAws_restJson1KubernetesNetworkConfigResponse = (output, context) => {
3225
+ const de_KubernetesNetworkConfigResponse = (output, context) => {
3272
3226
  return {
3273
3227
  ipFamily: (0, smithy_client_1.expectString)(output.ipFamily),
3274
3228
  serviceIpv4Cidr: (0, smithy_client_1.expectString)(output.serviceIpv4Cidr),
3275
3229
  serviceIpv6Cidr: (0, smithy_client_1.expectString)(output.serviceIpv6Cidr),
3276
3230
  };
3277
3231
  };
3278
- const deserializeAws_restJson1labelsMap = (output, context) => {
3232
+ const de_labelsMap = (output, context) => {
3279
3233
  return Object.entries(output).reduce((acc, [key, value]) => {
3280
3234
  if (value === null) {
3281
3235
  return acc;
@@ -3284,36 +3238,36 @@ const deserializeAws_restJson1labelsMap = (output, context) => {
3284
3238
  return acc;
3285
3239
  }, {});
3286
3240
  };
3287
- const deserializeAws_restJson1LaunchTemplateSpecification = (output, context) => {
3241
+ const de_LaunchTemplateSpecification = (output, context) => {
3288
3242
  return {
3289
3243
  id: (0, smithy_client_1.expectString)(output.id),
3290
3244
  name: (0, smithy_client_1.expectString)(output.name),
3291
3245
  version: (0, smithy_client_1.expectString)(output.version),
3292
3246
  };
3293
3247
  };
3294
- const deserializeAws_restJson1Logging = (output, context) => {
3248
+ const de_Logging = (output, context) => {
3295
3249
  return {
3296
- clusterLogging: output.clusterLogging != null ? deserializeAws_restJson1LogSetups(output.clusterLogging, context) : undefined,
3250
+ clusterLogging: output.clusterLogging != null ? de_LogSetups(output.clusterLogging, context) : undefined,
3297
3251
  };
3298
3252
  };
3299
- const deserializeAws_restJson1LogSetup = (output, context) => {
3253
+ const de_LogSetup = (output, context) => {
3300
3254
  return {
3301
3255
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3302
- types: output.types != null ? deserializeAws_restJson1LogTypes(output.types, context) : undefined,
3256
+ types: output.types != null ? de_LogTypes(output.types, context) : undefined,
3303
3257
  };
3304
3258
  };
3305
- const deserializeAws_restJson1LogSetups = (output, context) => {
3259
+ const de_LogSetups = (output, context) => {
3306
3260
  const retVal = (output || [])
3307
3261
  .filter((e) => e != null)
3308
3262
  .map((entry) => {
3309
3263
  if (entry === null) {
3310
3264
  return null;
3311
3265
  }
3312
- return deserializeAws_restJson1LogSetup(entry, context);
3266
+ return de_LogSetup(entry, context);
3313
3267
  });
3314
3268
  return retVal;
3315
3269
  };
3316
- const deserializeAws_restJson1LogTypes = (output, context) => {
3270
+ const de_LogTypes = (output, context) => {
3317
3271
  const retVal = (output || [])
3318
3272
  .filter((e) => e != null)
3319
3273
  .map((entry) => {
@@ -3324,79 +3278,69 @@ const deserializeAws_restJson1LogTypes = (output, context) => {
3324
3278
  });
3325
3279
  return retVal;
3326
3280
  };
3327
- const deserializeAws_restJson1MarketplaceInformation = (output, context) => {
3281
+ const de_MarketplaceInformation = (output, context) => {
3328
3282
  return {
3329
3283
  productId: (0, smithy_client_1.expectString)(output.productId),
3330
3284
  productUrl: (0, smithy_client_1.expectString)(output.productUrl),
3331
3285
  };
3332
3286
  };
3333
- const deserializeAws_restJson1Nodegroup = (output, context) => {
3287
+ const de_Nodegroup = (output, context) => {
3334
3288
  return {
3335
3289
  amiType: (0, smithy_client_1.expectString)(output.amiType),
3336
3290
  capacityType: (0, smithy_client_1.expectString)(output.capacityType),
3337
3291
  clusterName: (0, smithy_client_1.expectString)(output.clusterName),
3338
3292
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
3339
3293
  diskSize: (0, smithy_client_1.expectInt32)(output.diskSize),
3340
- health: output.health != null ? deserializeAws_restJson1NodegroupHealth(output.health, context) : undefined,
3341
- instanceTypes: output.instanceTypes != null ? deserializeAws_restJson1StringList(output.instanceTypes, context) : undefined,
3342
- labels: output.labels != null ? deserializeAws_restJson1labelsMap(output.labels, context) : undefined,
3343
- launchTemplate: output.launchTemplate != null
3344
- ? deserializeAws_restJson1LaunchTemplateSpecification(output.launchTemplate, context)
3345
- : undefined,
3294
+ health: output.health != null ? de_NodegroupHealth(output.health, context) : undefined,
3295
+ instanceTypes: output.instanceTypes != null ? de_StringList(output.instanceTypes, context) : undefined,
3296
+ labels: output.labels != null ? de_labelsMap(output.labels, context) : undefined,
3297
+ launchTemplate: output.launchTemplate != null ? de_LaunchTemplateSpecification(output.launchTemplate, context) : undefined,
3346
3298
  modifiedAt: output.modifiedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedAt))) : undefined,
3347
3299
  nodeRole: (0, smithy_client_1.expectString)(output.nodeRole),
3348
3300
  nodegroupArn: (0, smithy_client_1.expectString)(output.nodegroupArn),
3349
3301
  nodegroupName: (0, smithy_client_1.expectString)(output.nodegroupName),
3350
3302
  releaseVersion: (0, smithy_client_1.expectString)(output.releaseVersion),
3351
- remoteAccess: output.remoteAccess != null
3352
- ? deserializeAws_restJson1RemoteAccessConfig(output.remoteAccess, context)
3353
- : undefined,
3354
- resources: output.resources != null ? deserializeAws_restJson1NodegroupResources(output.resources, context) : undefined,
3355
- scalingConfig: output.scalingConfig != null
3356
- ? deserializeAws_restJson1NodegroupScalingConfig(output.scalingConfig, context)
3357
- : undefined,
3303
+ remoteAccess: output.remoteAccess != null ? de_RemoteAccessConfig(output.remoteAccess, context) : undefined,
3304
+ resources: output.resources != null ? de_NodegroupResources(output.resources, context) : undefined,
3305
+ scalingConfig: output.scalingConfig != null ? de_NodegroupScalingConfig(output.scalingConfig, context) : undefined,
3358
3306
  status: (0, smithy_client_1.expectString)(output.status),
3359
- subnets: output.subnets != null ? deserializeAws_restJson1StringList(output.subnets, context) : undefined,
3360
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
3361
- taints: output.taints != null ? deserializeAws_restJson1taintsList(output.taints, context) : undefined,
3362
- updateConfig: output.updateConfig != null
3363
- ? deserializeAws_restJson1NodegroupUpdateConfig(output.updateConfig, context)
3364
- : undefined,
3307
+ subnets: output.subnets != null ? de_StringList(output.subnets, context) : undefined,
3308
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
3309
+ taints: output.taints != null ? de_taintsList(output.taints, context) : undefined,
3310
+ updateConfig: output.updateConfig != null ? de_NodegroupUpdateConfig(output.updateConfig, context) : undefined,
3365
3311
  version: (0, smithy_client_1.expectString)(output.version),
3366
3312
  };
3367
3313
  };
3368
- const deserializeAws_restJson1NodegroupHealth = (output, context) => {
3314
+ const de_NodegroupHealth = (output, context) => {
3369
3315
  return {
3370
- issues: output.issues != null ? deserializeAws_restJson1IssueList(output.issues, context) : undefined,
3316
+ issues: output.issues != null ? de_IssueList(output.issues, context) : undefined,
3371
3317
  };
3372
3318
  };
3373
- const deserializeAws_restJson1NodegroupResources = (output, context) => {
3319
+ const de_NodegroupResources = (output, context) => {
3374
3320
  return {
3375
- autoScalingGroups: output.autoScalingGroups != null
3376
- ? deserializeAws_restJson1AutoScalingGroupList(output.autoScalingGroups, context)
3377
- : undefined,
3321
+ autoScalingGroups: output.autoScalingGroups != null ? de_AutoScalingGroupList(output.autoScalingGroups, context) : undefined,
3378
3322
  remoteAccessSecurityGroup: (0, smithy_client_1.expectString)(output.remoteAccessSecurityGroup),
3379
3323
  };
3380
3324
  };
3381
- const deserializeAws_restJson1NodegroupScalingConfig = (output, context) => {
3325
+ const de_NodegroupScalingConfig = (output, context) => {
3382
3326
  return {
3383
3327
  desiredSize: (0, smithy_client_1.expectInt32)(output.desiredSize),
3384
3328
  maxSize: (0, smithy_client_1.expectInt32)(output.maxSize),
3385
3329
  minSize: (0, smithy_client_1.expectInt32)(output.minSize),
3386
3330
  };
3387
3331
  };
3388
- const deserializeAws_restJson1NodegroupUpdateConfig = (output, context) => {
3332
+ const de_NodegroupUpdateConfig = (output, context) => {
3389
3333
  return {
3390
3334
  maxUnavailable: (0, smithy_client_1.expectInt32)(output.maxUnavailable),
3391
3335
  maxUnavailablePercentage: (0, smithy_client_1.expectInt32)(output.maxUnavailablePercentage),
3392
3336
  };
3393
3337
  };
3394
- const deserializeAws_restJson1OIDC = (output, context) => {
3338
+ const de_OIDC = (output, context) => {
3395
3339
  return {
3396
3340
  issuer: (0, smithy_client_1.expectString)(output.issuer),
3397
3341
  };
3398
3342
  };
3399
- const deserializeAws_restJson1OidcIdentityProviderConfig = (output, context) => {
3343
+ const de_OidcIdentityProviderConfig = (output, context) => {
3400
3344
  return {
3401
3345
  clientId: (0, smithy_client_1.expectString)(output.clientId),
3402
3346
  clusterName: (0, smithy_client_1.expectString)(output.clusterName),
@@ -3405,38 +3349,34 @@ const deserializeAws_restJson1OidcIdentityProviderConfig = (output, context) =>
3405
3349
  identityProviderConfigArn: (0, smithy_client_1.expectString)(output.identityProviderConfigArn),
3406
3350
  identityProviderConfigName: (0, smithy_client_1.expectString)(output.identityProviderConfigName),
3407
3351
  issuerUrl: (0, smithy_client_1.expectString)(output.issuerUrl),
3408
- requiredClaims: output.requiredClaims != null
3409
- ? deserializeAws_restJson1requiredClaimsMap(output.requiredClaims, context)
3410
- : undefined,
3352
+ requiredClaims: output.requiredClaims != null ? de_requiredClaimsMap(output.requiredClaims, context) : undefined,
3411
3353
  status: (0, smithy_client_1.expectString)(output.status),
3412
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
3354
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
3413
3355
  usernameClaim: (0, smithy_client_1.expectString)(output.usernameClaim),
3414
3356
  usernamePrefix: (0, smithy_client_1.expectString)(output.usernamePrefix),
3415
3357
  };
3416
3358
  };
3417
- const deserializeAws_restJson1OutpostConfigResponse = (output, context) => {
3359
+ const de_OutpostConfigResponse = (output, context) => {
3418
3360
  return {
3419
3361
  controlPlaneInstanceType: (0, smithy_client_1.expectString)(output.controlPlaneInstanceType),
3420
3362
  controlPlanePlacement: output.controlPlanePlacement != null
3421
- ? deserializeAws_restJson1ControlPlanePlacementResponse(output.controlPlanePlacement, context)
3363
+ ? de_ControlPlanePlacementResponse(output.controlPlanePlacement, context)
3422
3364
  : undefined,
3423
- outpostArns: output.outpostArns != null ? deserializeAws_restJson1StringList(output.outpostArns, context) : undefined,
3365
+ outpostArns: output.outpostArns != null ? de_StringList(output.outpostArns, context) : undefined,
3424
3366
  };
3425
3367
  };
3426
- const deserializeAws_restJson1Provider = (output, context) => {
3368
+ const de_Provider = (output, context) => {
3427
3369
  return {
3428
3370
  keyArn: (0, smithy_client_1.expectString)(output.keyArn),
3429
3371
  };
3430
3372
  };
3431
- const deserializeAws_restJson1RemoteAccessConfig = (output, context) => {
3373
+ const de_RemoteAccessConfig = (output, context) => {
3432
3374
  return {
3433
3375
  ec2SshKey: (0, smithy_client_1.expectString)(output.ec2SshKey),
3434
- sourceSecurityGroups: output.sourceSecurityGroups != null
3435
- ? deserializeAws_restJson1StringList(output.sourceSecurityGroups, context)
3436
- : undefined,
3376
+ sourceSecurityGroups: output.sourceSecurityGroups != null ? de_StringList(output.sourceSecurityGroups, context) : undefined,
3437
3377
  };
3438
3378
  };
3439
- const deserializeAws_restJson1requiredClaimsMap = (output, context) => {
3379
+ const de_requiredClaimsMap = (output, context) => {
3440
3380
  return Object.entries(output).reduce((acc, [key, value]) => {
3441
3381
  if (value === null) {
3442
3382
  return acc;
@@ -3445,7 +3385,7 @@ const deserializeAws_restJson1requiredClaimsMap = (output, context) => {
3445
3385
  return acc;
3446
3386
  }, {});
3447
3387
  };
3448
- const deserializeAws_restJson1StringList = (output, context) => {
3388
+ const de_StringList = (output, context) => {
3449
3389
  const retVal = (output || [])
3450
3390
  .filter((e) => e != null)
3451
3391
  .map((entry) => {
@@ -3456,7 +3396,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
3456
3396
  });
3457
3397
  return retVal;
3458
3398
  };
3459
- const deserializeAws_restJson1TagMap = (output, context) => {
3399
+ const de_TagMap = (output, context) => {
3460
3400
  return Object.entries(output).reduce((acc, [key, value]) => {
3461
3401
  if (value === null) {
3462
3402
  return acc;
@@ -3465,63 +3405,59 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3465
3405
  return acc;
3466
3406
  }, {});
3467
3407
  };
3468
- const deserializeAws_restJson1Taint = (output, context) => {
3408
+ const de_Taint = (output, context) => {
3469
3409
  return {
3470
3410
  effect: (0, smithy_client_1.expectString)(output.effect),
3471
3411
  key: (0, smithy_client_1.expectString)(output.key),
3472
3412
  value: (0, smithy_client_1.expectString)(output.value),
3473
3413
  };
3474
3414
  };
3475
- const deserializeAws_restJson1taintsList = (output, context) => {
3415
+ const de_taintsList = (output, context) => {
3476
3416
  const retVal = (output || [])
3477
3417
  .filter((e) => e != null)
3478
3418
  .map((entry) => {
3479
3419
  if (entry === null) {
3480
3420
  return null;
3481
3421
  }
3482
- return deserializeAws_restJson1Taint(entry, context);
3422
+ return de_Taint(entry, context);
3483
3423
  });
3484
3424
  return retVal;
3485
3425
  };
3486
- const deserializeAws_restJson1Update = (output, context) => {
3426
+ const de_Update = (output, context) => {
3487
3427
  return {
3488
3428
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
3489
- errors: output.errors != null ? deserializeAws_restJson1ErrorDetails(output.errors, context) : undefined,
3429
+ errors: output.errors != null ? de_ErrorDetails(output.errors, context) : undefined,
3490
3430
  id: (0, smithy_client_1.expectString)(output.id),
3491
- params: output.params != null ? deserializeAws_restJson1UpdateParams(output.params, context) : undefined,
3431
+ params: output.params != null ? de_UpdateParams(output.params, context) : undefined,
3492
3432
  status: (0, smithy_client_1.expectString)(output.status),
3493
3433
  type: (0, smithy_client_1.expectString)(output.type),
3494
3434
  };
3495
3435
  };
3496
- const deserializeAws_restJson1UpdateParam = (output, context) => {
3436
+ const de_UpdateParam = (output, context) => {
3497
3437
  return {
3498
3438
  type: (0, smithy_client_1.expectString)(output.type),
3499
3439
  value: (0, smithy_client_1.expectString)(output.value),
3500
3440
  };
3501
3441
  };
3502
- const deserializeAws_restJson1UpdateParams = (output, context) => {
3442
+ const de_UpdateParams = (output, context) => {
3503
3443
  const retVal = (output || [])
3504
3444
  .filter((e) => e != null)
3505
3445
  .map((entry) => {
3506
3446
  if (entry === null) {
3507
3447
  return null;
3508
3448
  }
3509
- return deserializeAws_restJson1UpdateParam(entry, context);
3449
+ return de_UpdateParam(entry, context);
3510
3450
  });
3511
3451
  return retVal;
3512
3452
  };
3513
- const deserializeAws_restJson1VpcConfigResponse = (output, context) => {
3453
+ const de_VpcConfigResponse = (output, context) => {
3514
3454
  return {
3515
3455
  clusterSecurityGroupId: (0, smithy_client_1.expectString)(output.clusterSecurityGroupId),
3516
3456
  endpointPrivateAccess: (0, smithy_client_1.expectBoolean)(output.endpointPrivateAccess),
3517
3457
  endpointPublicAccess: (0, smithy_client_1.expectBoolean)(output.endpointPublicAccess),
3518
- publicAccessCidrs: output.publicAccessCidrs != null
3519
- ? deserializeAws_restJson1StringList(output.publicAccessCidrs, context)
3520
- : undefined,
3521
- securityGroupIds: output.securityGroupIds != null
3522
- ? deserializeAws_restJson1StringList(output.securityGroupIds, context)
3523
- : undefined,
3524
- subnetIds: output.subnetIds != null ? deserializeAws_restJson1StringList(output.subnetIds, context) : undefined,
3458
+ publicAccessCidrs: output.publicAccessCidrs != null ? de_StringList(output.publicAccessCidrs, context) : undefined,
3459
+ securityGroupIds: output.securityGroupIds != null ? de_StringList(output.securityGroupIds, context) : undefined,
3460
+ subnetIds: output.subnetIds != null ? de_StringList(output.subnetIds, context) : undefined,
3525
3461
  vpcId: (0, smithy_client_1.expectString)(output.vpcId),
3526
3462
  };
3527
3463
  };