@aws-sdk/client-batch 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 (53) hide show
  1. package/dist-cjs/commands/CancelJobCommand.js +2 -2
  2. package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +2 -2
  3. package/dist-cjs/commands/CreateJobQueueCommand.js +2 -2
  4. package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteJobQueueCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +2 -2
  8. package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeJobQueuesCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeJobsCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +2 -2
  14. package/dist-cjs/commands/ListJobsCommand.js +2 -2
  15. package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +2 -2
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  17. package/dist-cjs/commands/RegisterJobDefinitionCommand.js +2 -2
  18. package/dist-cjs/commands/SubmitJobCommand.js +2 -2
  19. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  20. package/dist-cjs/commands/TerminateJobCommand.js +2 -2
  21. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  22. package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateJobQueueCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +2 -2
  25. package/dist-cjs/protocols/Aws_restJson1.js +649 -797
  26. package/dist-es/commands/CancelJobCommand.js +3 -3
  27. package/dist-es/commands/CreateComputeEnvironmentCommand.js +3 -3
  28. package/dist-es/commands/CreateJobQueueCommand.js +3 -3
  29. package/dist-es/commands/CreateSchedulingPolicyCommand.js +3 -3
  30. package/dist-es/commands/DeleteComputeEnvironmentCommand.js +3 -3
  31. package/dist-es/commands/DeleteJobQueueCommand.js +3 -3
  32. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +3 -3
  33. package/dist-es/commands/DeregisterJobDefinitionCommand.js +3 -3
  34. package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +3 -3
  35. package/dist-es/commands/DescribeJobDefinitionsCommand.js +3 -3
  36. package/dist-es/commands/DescribeJobQueuesCommand.js +3 -3
  37. package/dist-es/commands/DescribeJobsCommand.js +3 -3
  38. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +3 -3
  39. package/dist-es/commands/ListJobsCommand.js +3 -3
  40. package/dist-es/commands/ListSchedulingPoliciesCommand.js +3 -3
  41. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  42. package/dist-es/commands/RegisterJobDefinitionCommand.js +3 -3
  43. package/dist-es/commands/SubmitJobCommand.js +3 -3
  44. package/dist-es/commands/TagResourceCommand.js +3 -3
  45. package/dist-es/commands/TerminateJobCommand.js +3 -3
  46. package/dist-es/commands/UntagResourceCommand.js +3 -3
  47. package/dist-es/commands/UpdateComputeEnvironmentCommand.js +3 -3
  48. package/dist-es/commands/UpdateJobQueueCommand.js +3 -3
  49. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +3 -3
  50. package/dist-es/protocols/Aws_restJson1.js +600 -748
  51. package/dist-types/protocols/Aws_restJson1.d.ts +192 -48
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -48
  53. package/package.json +6 -6
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map as __map, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { BatchServiceException as __BaseException } from "../models/BatchServiceException";
4
4
  import { ClientException, ServerException, } from "../models/models_0";
5
- export const serializeAws_restJson1CancelJobCommand = async (input, context) => {
5
+ export const se_CancelJobCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = {
8
8
  "content-type": "application/json",
@@ -23,7 +23,7 @@ export const serializeAws_restJson1CancelJobCommand = async (input, context) =>
23
23
  body,
24
24
  });
25
25
  };
26
- export const serializeAws_restJson1CreateComputeEnvironmentCommand = async (input, context) => {
26
+ export const se_CreateComputeEnvironmentCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {
29
29
  "content-type": "application/json",
@@ -32,15 +32,11 @@ export const serializeAws_restJson1CreateComputeEnvironmentCommand = async (inpu
32
32
  let body;
33
33
  body = JSON.stringify({
34
34
  ...(input.computeEnvironmentName != null && { computeEnvironmentName: input.computeEnvironmentName }),
35
- ...(input.computeResources != null && {
36
- computeResources: serializeAws_restJson1ComputeResource(input.computeResources, context),
37
- }),
38
- ...(input.eksConfiguration != null && {
39
- eksConfiguration: serializeAws_restJson1EksConfiguration(input.eksConfiguration, context),
40
- }),
35
+ ...(input.computeResources != null && { computeResources: se_ComputeResource(input.computeResources, context) }),
36
+ ...(input.eksConfiguration != null && { eksConfiguration: se_EksConfiguration(input.eksConfiguration, context) }),
41
37
  ...(input.serviceRole != null && { serviceRole: input.serviceRole }),
42
38
  ...(input.state != null && { state: input.state }),
43
- ...(input.tags != null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }),
39
+ ...(input.tags != null && { tags: se_TagrisTagsMap(input.tags, context) }),
44
40
  ...(input.type != null && { type: input.type }),
45
41
  ...(input.unmanagedvCpus != null && { unmanagedvCpus: input.unmanagedvCpus }),
46
42
  });
@@ -54,7 +50,7 @@ export const serializeAws_restJson1CreateComputeEnvironmentCommand = async (inpu
54
50
  body,
55
51
  });
56
52
  };
57
- export const serializeAws_restJson1CreateJobQueueCommand = async (input, context) => {
53
+ export const se_CreateJobQueueCommand = async (input, context) => {
58
54
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
55
  const headers = {
60
56
  "content-type": "application/json",
@@ -63,13 +59,13 @@ export const serializeAws_restJson1CreateJobQueueCommand = async (input, context
63
59
  let body;
64
60
  body = JSON.stringify({
65
61
  ...(input.computeEnvironmentOrder != null && {
66
- computeEnvironmentOrder: serializeAws_restJson1ComputeEnvironmentOrders(input.computeEnvironmentOrder, context),
62
+ computeEnvironmentOrder: se_ComputeEnvironmentOrders(input.computeEnvironmentOrder, context),
67
63
  }),
68
64
  ...(input.jobQueueName != null && { jobQueueName: input.jobQueueName }),
69
65
  ...(input.priority != null && { priority: input.priority }),
70
66
  ...(input.schedulingPolicyArn != null && { schedulingPolicyArn: input.schedulingPolicyArn }),
71
67
  ...(input.state != null && { state: input.state }),
72
- ...(input.tags != null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }),
68
+ ...(input.tags != null && { tags: se_TagrisTagsMap(input.tags, context) }),
73
69
  });
74
70
  return new __HttpRequest({
75
71
  protocol,
@@ -81,7 +77,7 @@ export const serializeAws_restJson1CreateJobQueueCommand = async (input, context
81
77
  body,
82
78
  });
83
79
  };
84
- export const serializeAws_restJson1CreateSchedulingPolicyCommand = async (input, context) => {
80
+ export const se_CreateSchedulingPolicyCommand = async (input, context) => {
85
81
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
86
82
  const headers = {
87
83
  "content-type": "application/json",
@@ -89,11 +85,9 @@ export const serializeAws_restJson1CreateSchedulingPolicyCommand = async (input,
89
85
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/createschedulingpolicy";
90
86
  let body;
91
87
  body = JSON.stringify({
92
- ...(input.fairsharePolicy != null && {
93
- fairsharePolicy: serializeAws_restJson1FairsharePolicy(input.fairsharePolicy, context),
94
- }),
88
+ ...(input.fairsharePolicy != null && { fairsharePolicy: se_FairsharePolicy(input.fairsharePolicy, context) }),
95
89
  ...(input.name != null && { name: input.name }),
96
- ...(input.tags != null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }),
90
+ ...(input.tags != null && { tags: se_TagrisTagsMap(input.tags, context) }),
97
91
  });
98
92
  return new __HttpRequest({
99
93
  protocol,
@@ -105,7 +99,7 @@ export const serializeAws_restJson1CreateSchedulingPolicyCommand = async (input,
105
99
  body,
106
100
  });
107
101
  };
108
- export const serializeAws_restJson1DeleteComputeEnvironmentCommand = async (input, context) => {
102
+ export const se_DeleteComputeEnvironmentCommand = async (input, context) => {
109
103
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
110
104
  const headers = {
111
105
  "content-type": "application/json",
@@ -125,7 +119,7 @@ export const serializeAws_restJson1DeleteComputeEnvironmentCommand = async (inpu
125
119
  body,
126
120
  });
127
121
  };
128
- export const serializeAws_restJson1DeleteJobQueueCommand = async (input, context) => {
122
+ export const se_DeleteJobQueueCommand = async (input, context) => {
129
123
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
130
124
  const headers = {
131
125
  "content-type": "application/json",
@@ -145,7 +139,7 @@ export const serializeAws_restJson1DeleteJobQueueCommand = async (input, context
145
139
  body,
146
140
  });
147
141
  };
148
- export const serializeAws_restJson1DeleteSchedulingPolicyCommand = async (input, context) => {
142
+ export const se_DeleteSchedulingPolicyCommand = async (input, context) => {
149
143
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
150
144
  const headers = {
151
145
  "content-type": "application/json",
@@ -165,7 +159,7 @@ export const serializeAws_restJson1DeleteSchedulingPolicyCommand = async (input,
165
159
  body,
166
160
  });
167
161
  };
168
- export const serializeAws_restJson1DeregisterJobDefinitionCommand = async (input, context) => {
162
+ export const se_DeregisterJobDefinitionCommand = async (input, context) => {
169
163
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
170
164
  const headers = {
171
165
  "content-type": "application/json",
@@ -185,7 +179,7 @@ export const serializeAws_restJson1DeregisterJobDefinitionCommand = async (input
185
179
  body,
186
180
  });
187
181
  };
188
- export const serializeAws_restJson1DescribeComputeEnvironmentsCommand = async (input, context) => {
182
+ export const se_DescribeComputeEnvironmentsCommand = async (input, context) => {
189
183
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
190
184
  const headers = {
191
185
  "content-type": "application/json",
@@ -194,7 +188,7 @@ export const serializeAws_restJson1DescribeComputeEnvironmentsCommand = async (i
194
188
  let body;
195
189
  body = JSON.stringify({
196
190
  ...(input.computeEnvironments != null && {
197
- computeEnvironments: serializeAws_restJson1StringList(input.computeEnvironments, context),
191
+ computeEnvironments: se_StringList(input.computeEnvironments, context),
198
192
  }),
199
193
  ...(input.maxResults != null && { maxResults: input.maxResults }),
200
194
  ...(input.nextToken != null && { nextToken: input.nextToken }),
@@ -209,7 +203,7 @@ export const serializeAws_restJson1DescribeComputeEnvironmentsCommand = async (i
209
203
  body,
210
204
  });
211
205
  };
212
- export const serializeAws_restJson1DescribeJobDefinitionsCommand = async (input, context) => {
206
+ export const se_DescribeJobDefinitionsCommand = async (input, context) => {
213
207
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
214
208
  const headers = {
215
209
  "content-type": "application/json",
@@ -218,9 +212,7 @@ export const serializeAws_restJson1DescribeJobDefinitionsCommand = async (input,
218
212
  let body;
219
213
  body = JSON.stringify({
220
214
  ...(input.jobDefinitionName != null && { jobDefinitionName: input.jobDefinitionName }),
221
- ...(input.jobDefinitions != null && {
222
- jobDefinitions: serializeAws_restJson1StringList(input.jobDefinitions, context),
223
- }),
215
+ ...(input.jobDefinitions != null && { jobDefinitions: se_StringList(input.jobDefinitions, context) }),
224
216
  ...(input.maxResults != null && { maxResults: input.maxResults }),
225
217
  ...(input.nextToken != null && { nextToken: input.nextToken }),
226
218
  ...(input.status != null && { status: input.status }),
@@ -235,7 +227,7 @@ export const serializeAws_restJson1DescribeJobDefinitionsCommand = async (input,
235
227
  body,
236
228
  });
237
229
  };
238
- export const serializeAws_restJson1DescribeJobQueuesCommand = async (input, context) => {
230
+ export const se_DescribeJobQueuesCommand = async (input, context) => {
239
231
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
240
232
  const headers = {
241
233
  "content-type": "application/json",
@@ -243,7 +235,7 @@ export const serializeAws_restJson1DescribeJobQueuesCommand = async (input, cont
243
235
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/describejobqueues";
244
236
  let body;
245
237
  body = JSON.stringify({
246
- ...(input.jobQueues != null && { jobQueues: serializeAws_restJson1StringList(input.jobQueues, context) }),
238
+ ...(input.jobQueues != null && { jobQueues: se_StringList(input.jobQueues, context) }),
247
239
  ...(input.maxResults != null && { maxResults: input.maxResults }),
248
240
  ...(input.nextToken != null && { nextToken: input.nextToken }),
249
241
  });
@@ -257,7 +249,7 @@ export const serializeAws_restJson1DescribeJobQueuesCommand = async (input, cont
257
249
  body,
258
250
  });
259
251
  };
260
- export const serializeAws_restJson1DescribeJobsCommand = async (input, context) => {
252
+ export const se_DescribeJobsCommand = async (input, context) => {
261
253
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
262
254
  const headers = {
263
255
  "content-type": "application/json",
@@ -265,7 +257,7 @@ export const serializeAws_restJson1DescribeJobsCommand = async (input, context)
265
257
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/describejobs";
266
258
  let body;
267
259
  body = JSON.stringify({
268
- ...(input.jobs != null && { jobs: serializeAws_restJson1StringList(input.jobs, context) }),
260
+ ...(input.jobs != null && { jobs: se_StringList(input.jobs, context) }),
269
261
  });
270
262
  return new __HttpRequest({
271
263
  protocol,
@@ -277,7 +269,7 @@ export const serializeAws_restJson1DescribeJobsCommand = async (input, context)
277
269
  body,
278
270
  });
279
271
  };
280
- export const serializeAws_restJson1DescribeSchedulingPoliciesCommand = async (input, context) => {
272
+ export const se_DescribeSchedulingPoliciesCommand = async (input, context) => {
281
273
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
282
274
  const headers = {
283
275
  "content-type": "application/json",
@@ -285,7 +277,7 @@ export const serializeAws_restJson1DescribeSchedulingPoliciesCommand = async (in
285
277
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/describeschedulingpolicies";
286
278
  let body;
287
279
  body = JSON.stringify({
288
- ...(input.arns != null && { arns: serializeAws_restJson1StringList(input.arns, context) }),
280
+ ...(input.arns != null && { arns: se_StringList(input.arns, context) }),
289
281
  });
290
282
  return new __HttpRequest({
291
283
  protocol,
@@ -297,7 +289,7 @@ export const serializeAws_restJson1DescribeSchedulingPoliciesCommand = async (in
297
289
  body,
298
290
  });
299
291
  };
300
- export const serializeAws_restJson1ListJobsCommand = async (input, context) => {
292
+ export const se_ListJobsCommand = async (input, context) => {
301
293
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
302
294
  const headers = {
303
295
  "content-type": "application/json",
@@ -306,7 +298,7 @@ export const serializeAws_restJson1ListJobsCommand = async (input, context) => {
306
298
  let body;
307
299
  body = JSON.stringify({
308
300
  ...(input.arrayJobId != null && { arrayJobId: input.arrayJobId }),
309
- ...(input.filters != null && { filters: serializeAws_restJson1ListJobsFilterList(input.filters, context) }),
301
+ ...(input.filters != null && { filters: se_ListJobsFilterList(input.filters, context) }),
310
302
  ...(input.jobQueue != null && { jobQueue: input.jobQueue }),
311
303
  ...(input.jobStatus != null && { jobStatus: input.jobStatus }),
312
304
  ...(input.maxResults != null && { maxResults: input.maxResults }),
@@ -323,7 +315,7 @@ export const serializeAws_restJson1ListJobsCommand = async (input, context) => {
323
315
  body,
324
316
  });
325
317
  };
326
- export const serializeAws_restJson1ListSchedulingPoliciesCommand = async (input, context) => {
318
+ export const se_ListSchedulingPoliciesCommand = async (input, context) => {
327
319
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
328
320
  const headers = {
329
321
  "content-type": "application/json",
@@ -344,7 +336,7 @@ export const serializeAws_restJson1ListSchedulingPoliciesCommand = async (input,
344
336
  body,
345
337
  });
346
338
  };
347
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
339
+ export const se_ListTagsForResourceCommand = async (input, context) => {
348
340
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
349
341
  const headers = {};
350
342
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{resourceArn}";
@@ -360,7 +352,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
360
352
  body,
361
353
  });
362
354
  };
363
- export const serializeAws_restJson1RegisterJobDefinitionCommand = async (input, context) => {
355
+ export const se_RegisterJobDefinitionCommand = async (input, context) => {
364
356
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
365
357
  const headers = {
366
358
  "content-type": "application/json",
@@ -369,26 +361,20 @@ export const serializeAws_restJson1RegisterJobDefinitionCommand = async (input,
369
361
  let body;
370
362
  body = JSON.stringify({
371
363
  ...(input.containerProperties != null && {
372
- containerProperties: serializeAws_restJson1ContainerProperties(input.containerProperties, context),
373
- }),
374
- ...(input.eksProperties != null && {
375
- eksProperties: serializeAws_restJson1EksProperties(input.eksProperties, context),
364
+ containerProperties: se_ContainerProperties(input.containerProperties, context),
376
365
  }),
366
+ ...(input.eksProperties != null && { eksProperties: se_EksProperties(input.eksProperties, context) }),
377
367
  ...(input.jobDefinitionName != null && { jobDefinitionName: input.jobDefinitionName }),
378
- ...(input.nodeProperties != null && {
379
- nodeProperties: serializeAws_restJson1NodeProperties(input.nodeProperties, context),
380
- }),
381
- ...(input.parameters != null && { parameters: serializeAws_restJson1ParametersMap(input.parameters, context) }),
368
+ ...(input.nodeProperties != null && { nodeProperties: se_NodeProperties(input.nodeProperties, context) }),
369
+ ...(input.parameters != null && { parameters: se_ParametersMap(input.parameters, context) }),
382
370
  ...(input.platformCapabilities != null && {
383
- platformCapabilities: serializeAws_restJson1PlatformCapabilityList(input.platformCapabilities, context),
371
+ platformCapabilities: se_PlatformCapabilityList(input.platformCapabilities, context),
384
372
  }),
385
373
  ...(input.propagateTags != null && { propagateTags: input.propagateTags }),
386
- ...(input.retryStrategy != null && {
387
- retryStrategy: serializeAws_restJson1RetryStrategy(input.retryStrategy, context),
388
- }),
374
+ ...(input.retryStrategy != null && { retryStrategy: se_RetryStrategy(input.retryStrategy, context) }),
389
375
  ...(input.schedulingPriority != null && { schedulingPriority: input.schedulingPriority }),
390
- ...(input.tags != null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }),
391
- ...(input.timeout != null && { timeout: serializeAws_restJson1JobTimeout(input.timeout, context) }),
376
+ ...(input.tags != null && { tags: se_TagrisTagsMap(input.tags, context) }),
377
+ ...(input.timeout != null && { timeout: se_JobTimeout(input.timeout, context) }),
392
378
  ...(input.type != null && { type: input.type }),
393
379
  });
394
380
  return new __HttpRequest({
@@ -401,7 +387,7 @@ export const serializeAws_restJson1RegisterJobDefinitionCommand = async (input,
401
387
  body,
402
388
  });
403
389
  };
404
- export const serializeAws_restJson1SubmitJobCommand = async (input, context) => {
390
+ export const se_SubmitJobCommand = async (input, context) => {
405
391
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
406
392
  const headers = {
407
393
  "content-type": "application/json",
@@ -409,31 +395,25 @@ export const serializeAws_restJson1SubmitJobCommand = async (input, context) =>
409
395
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/submitjob";
410
396
  let body;
411
397
  body = JSON.stringify({
412
- ...(input.arrayProperties != null && {
413
- arrayProperties: serializeAws_restJson1ArrayProperties(input.arrayProperties, context),
414
- }),
398
+ ...(input.arrayProperties != null && { arrayProperties: se_ArrayProperties(input.arrayProperties, context) }),
415
399
  ...(input.containerOverrides != null && {
416
- containerOverrides: serializeAws_restJson1ContainerOverrides(input.containerOverrides, context),
400
+ containerOverrides: se_ContainerOverrides(input.containerOverrides, context),
417
401
  }),
418
- ...(input.dependsOn != null && { dependsOn: serializeAws_restJson1JobDependencyList(input.dependsOn, context) }),
402
+ ...(input.dependsOn != null && { dependsOn: se_JobDependencyList(input.dependsOn, context) }),
419
403
  ...(input.eksPropertiesOverride != null && {
420
- eksPropertiesOverride: serializeAws_restJson1EksPropertiesOverride(input.eksPropertiesOverride, context),
404
+ eksPropertiesOverride: se_EksPropertiesOverride(input.eksPropertiesOverride, context),
421
405
  }),
422
406
  ...(input.jobDefinition != null && { jobDefinition: input.jobDefinition }),
423
407
  ...(input.jobName != null && { jobName: input.jobName }),
424
408
  ...(input.jobQueue != null && { jobQueue: input.jobQueue }),
425
- ...(input.nodeOverrides != null && {
426
- nodeOverrides: serializeAws_restJson1NodeOverrides(input.nodeOverrides, context),
427
- }),
428
- ...(input.parameters != null && { parameters: serializeAws_restJson1ParametersMap(input.parameters, context) }),
409
+ ...(input.nodeOverrides != null && { nodeOverrides: se_NodeOverrides(input.nodeOverrides, context) }),
410
+ ...(input.parameters != null && { parameters: se_ParametersMap(input.parameters, context) }),
429
411
  ...(input.propagateTags != null && { propagateTags: input.propagateTags }),
430
- ...(input.retryStrategy != null && {
431
- retryStrategy: serializeAws_restJson1RetryStrategy(input.retryStrategy, context),
432
- }),
412
+ ...(input.retryStrategy != null && { retryStrategy: se_RetryStrategy(input.retryStrategy, context) }),
433
413
  ...(input.schedulingPriorityOverride != null && { schedulingPriorityOverride: input.schedulingPriorityOverride }),
434
414
  ...(input.shareIdentifier != null && { shareIdentifier: input.shareIdentifier }),
435
- ...(input.tags != null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }),
436
- ...(input.timeout != null && { timeout: serializeAws_restJson1JobTimeout(input.timeout, context) }),
415
+ ...(input.tags != null && { tags: se_TagrisTagsMap(input.tags, context) }),
416
+ ...(input.timeout != null && { timeout: se_JobTimeout(input.timeout, context) }),
437
417
  });
438
418
  return new __HttpRequest({
439
419
  protocol,
@@ -445,7 +425,7 @@ export const serializeAws_restJson1SubmitJobCommand = async (input, context) =>
445
425
  body,
446
426
  });
447
427
  };
448
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
428
+ export const se_TagResourceCommand = async (input, context) => {
449
429
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
450
430
  const headers = {
451
431
  "content-type": "application/json",
@@ -454,7 +434,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
454
434
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
455
435
  let body;
456
436
  body = JSON.stringify({
457
- ...(input.tags != null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }),
437
+ ...(input.tags != null && { tags: se_TagrisTagsMap(input.tags, context) }),
458
438
  });
459
439
  return new __HttpRequest({
460
440
  protocol,
@@ -466,7 +446,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
466
446
  body,
467
447
  });
468
448
  };
469
- export const serializeAws_restJson1TerminateJobCommand = async (input, context) => {
449
+ export const se_TerminateJobCommand = async (input, context) => {
470
450
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
471
451
  const headers = {
472
452
  "content-type": "application/json",
@@ -487,7 +467,7 @@ export const serializeAws_restJson1TerminateJobCommand = async (input, context)
487
467
  body,
488
468
  });
489
469
  };
490
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
470
+ export const se_UntagResourceCommand = async (input, context) => {
491
471
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
492
472
  const headers = {};
493
473
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{resourceArn}";
@@ -510,7 +490,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
510
490
  body,
511
491
  });
512
492
  };
513
- export const serializeAws_restJson1UpdateComputeEnvironmentCommand = async (input, context) => {
493
+ export const se_UpdateComputeEnvironmentCommand = async (input, context) => {
514
494
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
515
495
  const headers = {
516
496
  "content-type": "application/json",
@@ -520,14 +500,12 @@ export const serializeAws_restJson1UpdateComputeEnvironmentCommand = async (inpu
520
500
  body = JSON.stringify({
521
501
  ...(input.computeEnvironment != null && { computeEnvironment: input.computeEnvironment }),
522
502
  ...(input.computeResources != null && {
523
- computeResources: serializeAws_restJson1ComputeResourceUpdate(input.computeResources, context),
503
+ computeResources: se_ComputeResourceUpdate(input.computeResources, context),
524
504
  }),
525
505
  ...(input.serviceRole != null && { serviceRole: input.serviceRole }),
526
506
  ...(input.state != null && { state: input.state }),
527
507
  ...(input.unmanagedvCpus != null && { unmanagedvCpus: input.unmanagedvCpus }),
528
- ...(input.updatePolicy != null && {
529
- updatePolicy: serializeAws_restJson1UpdatePolicy(input.updatePolicy, context),
530
- }),
508
+ ...(input.updatePolicy != null && { updatePolicy: se_UpdatePolicy(input.updatePolicy, context) }),
531
509
  });
532
510
  return new __HttpRequest({
533
511
  protocol,
@@ -539,7 +517,7 @@ export const serializeAws_restJson1UpdateComputeEnvironmentCommand = async (inpu
539
517
  body,
540
518
  });
541
519
  };
542
- export const serializeAws_restJson1UpdateJobQueueCommand = async (input, context) => {
520
+ export const se_UpdateJobQueueCommand = async (input, context) => {
543
521
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
544
522
  const headers = {
545
523
  "content-type": "application/json",
@@ -548,7 +526,7 @@ export const serializeAws_restJson1UpdateJobQueueCommand = async (input, context
548
526
  let body;
549
527
  body = JSON.stringify({
550
528
  ...(input.computeEnvironmentOrder != null && {
551
- computeEnvironmentOrder: serializeAws_restJson1ComputeEnvironmentOrders(input.computeEnvironmentOrder, context),
529
+ computeEnvironmentOrder: se_ComputeEnvironmentOrders(input.computeEnvironmentOrder, context),
552
530
  }),
553
531
  ...(input.jobQueue != null && { jobQueue: input.jobQueue }),
554
532
  ...(input.priority != null && { priority: input.priority }),
@@ -565,7 +543,7 @@ export const serializeAws_restJson1UpdateJobQueueCommand = async (input, context
565
543
  body,
566
544
  });
567
545
  };
568
- export const serializeAws_restJson1UpdateSchedulingPolicyCommand = async (input, context) => {
546
+ export const se_UpdateSchedulingPolicyCommand = async (input, context) => {
569
547
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
570
548
  const headers = {
571
549
  "content-type": "application/json",
@@ -574,9 +552,7 @@ export const serializeAws_restJson1UpdateSchedulingPolicyCommand = async (input,
574
552
  let body;
575
553
  body = JSON.stringify({
576
554
  ...(input.arn != null && { arn: input.arn }),
577
- ...(input.fairsharePolicy != null && {
578
- fairsharePolicy: serializeAws_restJson1FairsharePolicy(input.fairsharePolicy, context),
579
- }),
555
+ ...(input.fairsharePolicy != null && { fairsharePolicy: se_FairsharePolicy(input.fairsharePolicy, context) }),
580
556
  });
581
557
  return new __HttpRequest({
582
558
  protocol,
@@ -588,9 +564,9 @@ export const serializeAws_restJson1UpdateSchedulingPolicyCommand = async (input,
588
564
  body,
589
565
  });
590
566
  };
591
- export const deserializeAws_restJson1CancelJobCommand = async (output, context) => {
567
+ export const de_CancelJobCommand = async (output, context) => {
592
568
  if (output.statusCode !== 200 && output.statusCode >= 300) {
593
- return deserializeAws_restJson1CancelJobCommandError(output, context);
569
+ return de_CancelJobCommandError(output, context);
594
570
  }
595
571
  const contents = map({
596
572
  $metadata: deserializeMetadata(output),
@@ -598,7 +574,7 @@ export const deserializeAws_restJson1CancelJobCommand = async (output, context)
598
574
  await collectBody(output.body, context);
599
575
  return contents;
600
576
  };
601
- const deserializeAws_restJson1CancelJobCommandError = async (output, context) => {
577
+ const de_CancelJobCommandError = async (output, context) => {
602
578
  const parsedOutput = {
603
579
  ...output,
604
580
  body: await parseErrorBody(output.body, context),
@@ -607,10 +583,10 @@ const deserializeAws_restJson1CancelJobCommandError = async (output, context) =>
607
583
  switch (errorCode) {
608
584
  case "ClientException":
609
585
  case "com.amazonaws.batch#ClientException":
610
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
586
+ throw await de_ClientExceptionRes(parsedOutput, context);
611
587
  case "ServerException":
612
588
  case "com.amazonaws.batch#ServerException":
613
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
589
+ throw await de_ServerExceptionRes(parsedOutput, context);
614
590
  default:
615
591
  const parsedBody = parsedOutput.body;
616
592
  throwDefaultError({
@@ -621,9 +597,9 @@ const deserializeAws_restJson1CancelJobCommandError = async (output, context) =>
621
597
  });
622
598
  }
623
599
  };
624
- export const deserializeAws_restJson1CreateComputeEnvironmentCommand = async (output, context) => {
600
+ export const de_CreateComputeEnvironmentCommand = async (output, context) => {
625
601
  if (output.statusCode !== 200 && output.statusCode >= 300) {
626
- return deserializeAws_restJson1CreateComputeEnvironmentCommandError(output, context);
602
+ return de_CreateComputeEnvironmentCommandError(output, context);
627
603
  }
628
604
  const contents = map({
629
605
  $metadata: deserializeMetadata(output),
@@ -637,7 +613,7 @@ export const deserializeAws_restJson1CreateComputeEnvironmentCommand = async (ou
637
613
  }
638
614
  return contents;
639
615
  };
640
- const deserializeAws_restJson1CreateComputeEnvironmentCommandError = async (output, context) => {
616
+ const de_CreateComputeEnvironmentCommandError = async (output, context) => {
641
617
  const parsedOutput = {
642
618
  ...output,
643
619
  body: await parseErrorBody(output.body, context),
@@ -646,10 +622,10 @@ const deserializeAws_restJson1CreateComputeEnvironmentCommandError = async (outp
646
622
  switch (errorCode) {
647
623
  case "ClientException":
648
624
  case "com.amazonaws.batch#ClientException":
649
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
625
+ throw await de_ClientExceptionRes(parsedOutput, context);
650
626
  case "ServerException":
651
627
  case "com.amazonaws.batch#ServerException":
652
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
628
+ throw await de_ServerExceptionRes(parsedOutput, context);
653
629
  default:
654
630
  const parsedBody = parsedOutput.body;
655
631
  throwDefaultError({
@@ -660,9 +636,9 @@ const deserializeAws_restJson1CreateComputeEnvironmentCommandError = async (outp
660
636
  });
661
637
  }
662
638
  };
663
- export const deserializeAws_restJson1CreateJobQueueCommand = async (output, context) => {
639
+ export const de_CreateJobQueueCommand = async (output, context) => {
664
640
  if (output.statusCode !== 200 && output.statusCode >= 300) {
665
- return deserializeAws_restJson1CreateJobQueueCommandError(output, context);
641
+ return de_CreateJobQueueCommandError(output, context);
666
642
  }
667
643
  const contents = map({
668
644
  $metadata: deserializeMetadata(output),
@@ -676,7 +652,7 @@ export const deserializeAws_restJson1CreateJobQueueCommand = async (output, cont
676
652
  }
677
653
  return contents;
678
654
  };
679
- const deserializeAws_restJson1CreateJobQueueCommandError = async (output, context) => {
655
+ const de_CreateJobQueueCommandError = async (output, context) => {
680
656
  const parsedOutput = {
681
657
  ...output,
682
658
  body: await parseErrorBody(output.body, context),
@@ -685,10 +661,10 @@ const deserializeAws_restJson1CreateJobQueueCommandError = async (output, contex
685
661
  switch (errorCode) {
686
662
  case "ClientException":
687
663
  case "com.amazonaws.batch#ClientException":
688
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
664
+ throw await de_ClientExceptionRes(parsedOutput, context);
689
665
  case "ServerException":
690
666
  case "com.amazonaws.batch#ServerException":
691
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
667
+ throw await de_ServerExceptionRes(parsedOutput, context);
692
668
  default:
693
669
  const parsedBody = parsedOutput.body;
694
670
  throwDefaultError({
@@ -699,9 +675,9 @@ const deserializeAws_restJson1CreateJobQueueCommandError = async (output, contex
699
675
  });
700
676
  }
701
677
  };
702
- export const deserializeAws_restJson1CreateSchedulingPolicyCommand = async (output, context) => {
678
+ export const de_CreateSchedulingPolicyCommand = async (output, context) => {
703
679
  if (output.statusCode !== 200 && output.statusCode >= 300) {
704
- return deserializeAws_restJson1CreateSchedulingPolicyCommandError(output, context);
680
+ return de_CreateSchedulingPolicyCommandError(output, context);
705
681
  }
706
682
  const contents = map({
707
683
  $metadata: deserializeMetadata(output),
@@ -715,7 +691,7 @@ export const deserializeAws_restJson1CreateSchedulingPolicyCommand = async (outp
715
691
  }
716
692
  return contents;
717
693
  };
718
- const deserializeAws_restJson1CreateSchedulingPolicyCommandError = async (output, context) => {
694
+ const de_CreateSchedulingPolicyCommandError = async (output, context) => {
719
695
  const parsedOutput = {
720
696
  ...output,
721
697
  body: await parseErrorBody(output.body, context),
@@ -724,10 +700,10 @@ const deserializeAws_restJson1CreateSchedulingPolicyCommandError = async (output
724
700
  switch (errorCode) {
725
701
  case "ClientException":
726
702
  case "com.amazonaws.batch#ClientException":
727
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
703
+ throw await de_ClientExceptionRes(parsedOutput, context);
728
704
  case "ServerException":
729
705
  case "com.amazonaws.batch#ServerException":
730
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
706
+ throw await de_ServerExceptionRes(parsedOutput, context);
731
707
  default:
732
708
  const parsedBody = parsedOutput.body;
733
709
  throwDefaultError({
@@ -738,9 +714,9 @@ const deserializeAws_restJson1CreateSchedulingPolicyCommandError = async (output
738
714
  });
739
715
  }
740
716
  };
741
- export const deserializeAws_restJson1DeleteComputeEnvironmentCommand = async (output, context) => {
717
+ export const de_DeleteComputeEnvironmentCommand = async (output, context) => {
742
718
  if (output.statusCode !== 200 && output.statusCode >= 300) {
743
- return deserializeAws_restJson1DeleteComputeEnvironmentCommandError(output, context);
719
+ return de_DeleteComputeEnvironmentCommandError(output, context);
744
720
  }
745
721
  const contents = map({
746
722
  $metadata: deserializeMetadata(output),
@@ -748,7 +724,7 @@ export const deserializeAws_restJson1DeleteComputeEnvironmentCommand = async (ou
748
724
  await collectBody(output.body, context);
749
725
  return contents;
750
726
  };
751
- const deserializeAws_restJson1DeleteComputeEnvironmentCommandError = async (output, context) => {
727
+ const de_DeleteComputeEnvironmentCommandError = async (output, context) => {
752
728
  const parsedOutput = {
753
729
  ...output,
754
730
  body: await parseErrorBody(output.body, context),
@@ -757,10 +733,10 @@ const deserializeAws_restJson1DeleteComputeEnvironmentCommandError = async (outp
757
733
  switch (errorCode) {
758
734
  case "ClientException":
759
735
  case "com.amazonaws.batch#ClientException":
760
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
736
+ throw await de_ClientExceptionRes(parsedOutput, context);
761
737
  case "ServerException":
762
738
  case "com.amazonaws.batch#ServerException":
763
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
739
+ throw await de_ServerExceptionRes(parsedOutput, context);
764
740
  default:
765
741
  const parsedBody = parsedOutput.body;
766
742
  throwDefaultError({
@@ -771,9 +747,9 @@ const deserializeAws_restJson1DeleteComputeEnvironmentCommandError = async (outp
771
747
  });
772
748
  }
773
749
  };
774
- export const deserializeAws_restJson1DeleteJobQueueCommand = async (output, context) => {
750
+ export const de_DeleteJobQueueCommand = async (output, context) => {
775
751
  if (output.statusCode !== 200 && output.statusCode >= 300) {
776
- return deserializeAws_restJson1DeleteJobQueueCommandError(output, context);
752
+ return de_DeleteJobQueueCommandError(output, context);
777
753
  }
778
754
  const contents = map({
779
755
  $metadata: deserializeMetadata(output),
@@ -781,7 +757,7 @@ export const deserializeAws_restJson1DeleteJobQueueCommand = async (output, cont
781
757
  await collectBody(output.body, context);
782
758
  return contents;
783
759
  };
784
- const deserializeAws_restJson1DeleteJobQueueCommandError = async (output, context) => {
760
+ const de_DeleteJobQueueCommandError = async (output, context) => {
785
761
  const parsedOutput = {
786
762
  ...output,
787
763
  body: await parseErrorBody(output.body, context),
@@ -790,10 +766,10 @@ const deserializeAws_restJson1DeleteJobQueueCommandError = async (output, contex
790
766
  switch (errorCode) {
791
767
  case "ClientException":
792
768
  case "com.amazonaws.batch#ClientException":
793
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
769
+ throw await de_ClientExceptionRes(parsedOutput, context);
794
770
  case "ServerException":
795
771
  case "com.amazonaws.batch#ServerException":
796
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
772
+ throw await de_ServerExceptionRes(parsedOutput, context);
797
773
  default:
798
774
  const parsedBody = parsedOutput.body;
799
775
  throwDefaultError({
@@ -804,9 +780,9 @@ const deserializeAws_restJson1DeleteJobQueueCommandError = async (output, contex
804
780
  });
805
781
  }
806
782
  };
807
- export const deserializeAws_restJson1DeleteSchedulingPolicyCommand = async (output, context) => {
783
+ export const de_DeleteSchedulingPolicyCommand = async (output, context) => {
808
784
  if (output.statusCode !== 200 && output.statusCode >= 300) {
809
- return deserializeAws_restJson1DeleteSchedulingPolicyCommandError(output, context);
785
+ return de_DeleteSchedulingPolicyCommandError(output, context);
810
786
  }
811
787
  const contents = map({
812
788
  $metadata: deserializeMetadata(output),
@@ -814,7 +790,7 @@ export const deserializeAws_restJson1DeleteSchedulingPolicyCommand = async (outp
814
790
  await collectBody(output.body, context);
815
791
  return contents;
816
792
  };
817
- const deserializeAws_restJson1DeleteSchedulingPolicyCommandError = async (output, context) => {
793
+ const de_DeleteSchedulingPolicyCommandError = async (output, context) => {
818
794
  const parsedOutput = {
819
795
  ...output,
820
796
  body: await parseErrorBody(output.body, context),
@@ -823,10 +799,10 @@ const deserializeAws_restJson1DeleteSchedulingPolicyCommandError = async (output
823
799
  switch (errorCode) {
824
800
  case "ClientException":
825
801
  case "com.amazonaws.batch#ClientException":
826
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
802
+ throw await de_ClientExceptionRes(parsedOutput, context);
827
803
  case "ServerException":
828
804
  case "com.amazonaws.batch#ServerException":
829
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
805
+ throw await de_ServerExceptionRes(parsedOutput, context);
830
806
  default:
831
807
  const parsedBody = parsedOutput.body;
832
808
  throwDefaultError({
@@ -837,9 +813,9 @@ const deserializeAws_restJson1DeleteSchedulingPolicyCommandError = async (output
837
813
  });
838
814
  }
839
815
  };
840
- export const deserializeAws_restJson1DeregisterJobDefinitionCommand = async (output, context) => {
816
+ export const de_DeregisterJobDefinitionCommand = async (output, context) => {
841
817
  if (output.statusCode !== 200 && output.statusCode >= 300) {
842
- return deserializeAws_restJson1DeregisterJobDefinitionCommandError(output, context);
818
+ return de_DeregisterJobDefinitionCommandError(output, context);
843
819
  }
844
820
  const contents = map({
845
821
  $metadata: deserializeMetadata(output),
@@ -847,7 +823,7 @@ export const deserializeAws_restJson1DeregisterJobDefinitionCommand = async (out
847
823
  await collectBody(output.body, context);
848
824
  return contents;
849
825
  };
850
- const deserializeAws_restJson1DeregisterJobDefinitionCommandError = async (output, context) => {
826
+ const de_DeregisterJobDefinitionCommandError = async (output, context) => {
851
827
  const parsedOutput = {
852
828
  ...output,
853
829
  body: await parseErrorBody(output.body, context),
@@ -856,10 +832,10 @@ const deserializeAws_restJson1DeregisterJobDefinitionCommandError = async (outpu
856
832
  switch (errorCode) {
857
833
  case "ClientException":
858
834
  case "com.amazonaws.batch#ClientException":
859
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
835
+ throw await de_ClientExceptionRes(parsedOutput, context);
860
836
  case "ServerException":
861
837
  case "com.amazonaws.batch#ServerException":
862
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
838
+ throw await de_ServerExceptionRes(parsedOutput, context);
863
839
  default:
864
840
  const parsedBody = parsedOutput.body;
865
841
  throwDefaultError({
@@ -870,23 +846,23 @@ const deserializeAws_restJson1DeregisterJobDefinitionCommandError = async (outpu
870
846
  });
871
847
  }
872
848
  };
873
- export const deserializeAws_restJson1DescribeComputeEnvironmentsCommand = async (output, context) => {
849
+ export const de_DescribeComputeEnvironmentsCommand = async (output, context) => {
874
850
  if (output.statusCode !== 200 && output.statusCode >= 300) {
875
- return deserializeAws_restJson1DescribeComputeEnvironmentsCommandError(output, context);
851
+ return de_DescribeComputeEnvironmentsCommandError(output, context);
876
852
  }
877
853
  const contents = map({
878
854
  $metadata: deserializeMetadata(output),
879
855
  });
880
856
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
881
857
  if (data.computeEnvironments != null) {
882
- contents.computeEnvironments = deserializeAws_restJson1ComputeEnvironmentDetailList(data.computeEnvironments, context);
858
+ contents.computeEnvironments = de_ComputeEnvironmentDetailList(data.computeEnvironments, context);
883
859
  }
884
860
  if (data.nextToken != null) {
885
861
  contents.nextToken = __expectString(data.nextToken);
886
862
  }
887
863
  return contents;
888
864
  };
889
- const deserializeAws_restJson1DescribeComputeEnvironmentsCommandError = async (output, context) => {
865
+ const de_DescribeComputeEnvironmentsCommandError = async (output, context) => {
890
866
  const parsedOutput = {
891
867
  ...output,
892
868
  body: await parseErrorBody(output.body, context),
@@ -895,10 +871,10 @@ const deserializeAws_restJson1DescribeComputeEnvironmentsCommandError = async (o
895
871
  switch (errorCode) {
896
872
  case "ClientException":
897
873
  case "com.amazonaws.batch#ClientException":
898
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
874
+ throw await de_ClientExceptionRes(parsedOutput, context);
899
875
  case "ServerException":
900
876
  case "com.amazonaws.batch#ServerException":
901
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
877
+ throw await de_ServerExceptionRes(parsedOutput, context);
902
878
  default:
903
879
  const parsedBody = parsedOutput.body;
904
880
  throwDefaultError({
@@ -909,23 +885,23 @@ const deserializeAws_restJson1DescribeComputeEnvironmentsCommandError = async (o
909
885
  });
910
886
  }
911
887
  };
912
- export const deserializeAws_restJson1DescribeJobDefinitionsCommand = async (output, context) => {
888
+ export const de_DescribeJobDefinitionsCommand = async (output, context) => {
913
889
  if (output.statusCode !== 200 && output.statusCode >= 300) {
914
- return deserializeAws_restJson1DescribeJobDefinitionsCommandError(output, context);
890
+ return de_DescribeJobDefinitionsCommandError(output, context);
915
891
  }
916
892
  const contents = map({
917
893
  $metadata: deserializeMetadata(output),
918
894
  });
919
895
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
920
896
  if (data.jobDefinitions != null) {
921
- contents.jobDefinitions = deserializeAws_restJson1JobDefinitionList(data.jobDefinitions, context);
897
+ contents.jobDefinitions = de_JobDefinitionList(data.jobDefinitions, context);
922
898
  }
923
899
  if (data.nextToken != null) {
924
900
  contents.nextToken = __expectString(data.nextToken);
925
901
  }
926
902
  return contents;
927
903
  };
928
- const deserializeAws_restJson1DescribeJobDefinitionsCommandError = async (output, context) => {
904
+ const de_DescribeJobDefinitionsCommandError = async (output, context) => {
929
905
  const parsedOutput = {
930
906
  ...output,
931
907
  body: await parseErrorBody(output.body, context),
@@ -934,10 +910,10 @@ const deserializeAws_restJson1DescribeJobDefinitionsCommandError = async (output
934
910
  switch (errorCode) {
935
911
  case "ClientException":
936
912
  case "com.amazonaws.batch#ClientException":
937
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
913
+ throw await de_ClientExceptionRes(parsedOutput, context);
938
914
  case "ServerException":
939
915
  case "com.amazonaws.batch#ServerException":
940
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
916
+ throw await de_ServerExceptionRes(parsedOutput, context);
941
917
  default:
942
918
  const parsedBody = parsedOutput.body;
943
919
  throwDefaultError({
@@ -948,23 +924,23 @@ const deserializeAws_restJson1DescribeJobDefinitionsCommandError = async (output
948
924
  });
949
925
  }
950
926
  };
951
- export const deserializeAws_restJson1DescribeJobQueuesCommand = async (output, context) => {
927
+ export const de_DescribeJobQueuesCommand = async (output, context) => {
952
928
  if (output.statusCode !== 200 && output.statusCode >= 300) {
953
- return deserializeAws_restJson1DescribeJobQueuesCommandError(output, context);
929
+ return de_DescribeJobQueuesCommandError(output, context);
954
930
  }
955
931
  const contents = map({
956
932
  $metadata: deserializeMetadata(output),
957
933
  });
958
934
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
959
935
  if (data.jobQueues != null) {
960
- contents.jobQueues = deserializeAws_restJson1JobQueueDetailList(data.jobQueues, context);
936
+ contents.jobQueues = de_JobQueueDetailList(data.jobQueues, context);
961
937
  }
962
938
  if (data.nextToken != null) {
963
939
  contents.nextToken = __expectString(data.nextToken);
964
940
  }
965
941
  return contents;
966
942
  };
967
- const deserializeAws_restJson1DescribeJobQueuesCommandError = async (output, context) => {
943
+ const de_DescribeJobQueuesCommandError = async (output, context) => {
968
944
  const parsedOutput = {
969
945
  ...output,
970
946
  body: await parseErrorBody(output.body, context),
@@ -973,10 +949,10 @@ const deserializeAws_restJson1DescribeJobQueuesCommandError = async (output, con
973
949
  switch (errorCode) {
974
950
  case "ClientException":
975
951
  case "com.amazonaws.batch#ClientException":
976
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
952
+ throw await de_ClientExceptionRes(parsedOutput, context);
977
953
  case "ServerException":
978
954
  case "com.amazonaws.batch#ServerException":
979
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
955
+ throw await de_ServerExceptionRes(parsedOutput, context);
980
956
  default:
981
957
  const parsedBody = parsedOutput.body;
982
958
  throwDefaultError({
@@ -987,20 +963,20 @@ const deserializeAws_restJson1DescribeJobQueuesCommandError = async (output, con
987
963
  });
988
964
  }
989
965
  };
990
- export const deserializeAws_restJson1DescribeJobsCommand = async (output, context) => {
966
+ export const de_DescribeJobsCommand = async (output, context) => {
991
967
  if (output.statusCode !== 200 && output.statusCode >= 300) {
992
- return deserializeAws_restJson1DescribeJobsCommandError(output, context);
968
+ return de_DescribeJobsCommandError(output, context);
993
969
  }
994
970
  const contents = map({
995
971
  $metadata: deserializeMetadata(output),
996
972
  });
997
973
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
998
974
  if (data.jobs != null) {
999
- contents.jobs = deserializeAws_restJson1JobDetailList(data.jobs, context);
975
+ contents.jobs = de_JobDetailList(data.jobs, context);
1000
976
  }
1001
977
  return contents;
1002
978
  };
1003
- const deserializeAws_restJson1DescribeJobsCommandError = async (output, context) => {
979
+ const de_DescribeJobsCommandError = async (output, context) => {
1004
980
  const parsedOutput = {
1005
981
  ...output,
1006
982
  body: await parseErrorBody(output.body, context),
@@ -1009,10 +985,10 @@ const deserializeAws_restJson1DescribeJobsCommandError = async (output, context)
1009
985
  switch (errorCode) {
1010
986
  case "ClientException":
1011
987
  case "com.amazonaws.batch#ClientException":
1012
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
988
+ throw await de_ClientExceptionRes(parsedOutput, context);
1013
989
  case "ServerException":
1014
990
  case "com.amazonaws.batch#ServerException":
1015
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
991
+ throw await de_ServerExceptionRes(parsedOutput, context);
1016
992
  default:
1017
993
  const parsedBody = parsedOutput.body;
1018
994
  throwDefaultError({
@@ -1023,20 +999,20 @@ const deserializeAws_restJson1DescribeJobsCommandError = async (output, context)
1023
999
  });
1024
1000
  }
1025
1001
  };
1026
- export const deserializeAws_restJson1DescribeSchedulingPoliciesCommand = async (output, context) => {
1002
+ export const de_DescribeSchedulingPoliciesCommand = async (output, context) => {
1027
1003
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1028
- return deserializeAws_restJson1DescribeSchedulingPoliciesCommandError(output, context);
1004
+ return de_DescribeSchedulingPoliciesCommandError(output, context);
1029
1005
  }
1030
1006
  const contents = map({
1031
1007
  $metadata: deserializeMetadata(output),
1032
1008
  });
1033
1009
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1034
1010
  if (data.schedulingPolicies != null) {
1035
- contents.schedulingPolicies = deserializeAws_restJson1SchedulingPolicyDetailList(data.schedulingPolicies, context);
1011
+ contents.schedulingPolicies = de_SchedulingPolicyDetailList(data.schedulingPolicies, context);
1036
1012
  }
1037
1013
  return contents;
1038
1014
  };
1039
- const deserializeAws_restJson1DescribeSchedulingPoliciesCommandError = async (output, context) => {
1015
+ const de_DescribeSchedulingPoliciesCommandError = async (output, context) => {
1040
1016
  const parsedOutput = {
1041
1017
  ...output,
1042
1018
  body: await parseErrorBody(output.body, context),
@@ -1045,10 +1021,10 @@ const deserializeAws_restJson1DescribeSchedulingPoliciesCommandError = async (ou
1045
1021
  switch (errorCode) {
1046
1022
  case "ClientException":
1047
1023
  case "com.amazonaws.batch#ClientException":
1048
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1024
+ throw await de_ClientExceptionRes(parsedOutput, context);
1049
1025
  case "ServerException":
1050
1026
  case "com.amazonaws.batch#ServerException":
1051
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1027
+ throw await de_ServerExceptionRes(parsedOutput, context);
1052
1028
  default:
1053
1029
  const parsedBody = parsedOutput.body;
1054
1030
  throwDefaultError({
@@ -1059,23 +1035,23 @@ const deserializeAws_restJson1DescribeSchedulingPoliciesCommandError = async (ou
1059
1035
  });
1060
1036
  }
1061
1037
  };
1062
- export const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
1038
+ export const de_ListJobsCommand = async (output, context) => {
1063
1039
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1064
- return deserializeAws_restJson1ListJobsCommandError(output, context);
1040
+ return de_ListJobsCommandError(output, context);
1065
1041
  }
1066
1042
  const contents = map({
1067
1043
  $metadata: deserializeMetadata(output),
1068
1044
  });
1069
1045
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1070
1046
  if (data.jobSummaryList != null) {
1071
- contents.jobSummaryList = deserializeAws_restJson1JobSummaryList(data.jobSummaryList, context);
1047
+ contents.jobSummaryList = de_JobSummaryList(data.jobSummaryList, context);
1072
1048
  }
1073
1049
  if (data.nextToken != null) {
1074
1050
  contents.nextToken = __expectString(data.nextToken);
1075
1051
  }
1076
1052
  return contents;
1077
1053
  };
1078
- const deserializeAws_restJson1ListJobsCommandError = async (output, context) => {
1054
+ const de_ListJobsCommandError = async (output, context) => {
1079
1055
  const parsedOutput = {
1080
1056
  ...output,
1081
1057
  body: await parseErrorBody(output.body, context),
@@ -1084,10 +1060,10 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
1084
1060
  switch (errorCode) {
1085
1061
  case "ClientException":
1086
1062
  case "com.amazonaws.batch#ClientException":
1087
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1063
+ throw await de_ClientExceptionRes(parsedOutput, context);
1088
1064
  case "ServerException":
1089
1065
  case "com.amazonaws.batch#ServerException":
1090
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1066
+ throw await de_ServerExceptionRes(parsedOutput, context);
1091
1067
  default:
1092
1068
  const parsedBody = parsedOutput.body;
1093
1069
  throwDefaultError({
@@ -1098,9 +1074,9 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
1098
1074
  });
1099
1075
  }
1100
1076
  };
1101
- export const deserializeAws_restJson1ListSchedulingPoliciesCommand = async (output, context) => {
1077
+ export const de_ListSchedulingPoliciesCommand = async (output, context) => {
1102
1078
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1103
- return deserializeAws_restJson1ListSchedulingPoliciesCommandError(output, context);
1079
+ return de_ListSchedulingPoliciesCommandError(output, context);
1104
1080
  }
1105
1081
  const contents = map({
1106
1082
  $metadata: deserializeMetadata(output),
@@ -1110,11 +1086,11 @@ export const deserializeAws_restJson1ListSchedulingPoliciesCommand = async (outp
1110
1086
  contents.nextToken = __expectString(data.nextToken);
1111
1087
  }
1112
1088
  if (data.schedulingPolicies != null) {
1113
- contents.schedulingPolicies = deserializeAws_restJson1SchedulingPolicyListingDetailList(data.schedulingPolicies, context);
1089
+ contents.schedulingPolicies = de_SchedulingPolicyListingDetailList(data.schedulingPolicies, context);
1114
1090
  }
1115
1091
  return contents;
1116
1092
  };
1117
- const deserializeAws_restJson1ListSchedulingPoliciesCommandError = async (output, context) => {
1093
+ const de_ListSchedulingPoliciesCommandError = async (output, context) => {
1118
1094
  const parsedOutput = {
1119
1095
  ...output,
1120
1096
  body: await parseErrorBody(output.body, context),
@@ -1123,10 +1099,10 @@ const deserializeAws_restJson1ListSchedulingPoliciesCommandError = async (output
1123
1099
  switch (errorCode) {
1124
1100
  case "ClientException":
1125
1101
  case "com.amazonaws.batch#ClientException":
1126
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1102
+ throw await de_ClientExceptionRes(parsedOutput, context);
1127
1103
  case "ServerException":
1128
1104
  case "com.amazonaws.batch#ServerException":
1129
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1105
+ throw await de_ServerExceptionRes(parsedOutput, context);
1130
1106
  default:
1131
1107
  const parsedBody = parsedOutput.body;
1132
1108
  throwDefaultError({
@@ -1137,20 +1113,20 @@ const deserializeAws_restJson1ListSchedulingPoliciesCommandError = async (output
1137
1113
  });
1138
1114
  }
1139
1115
  };
1140
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1116
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1141
1117
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1142
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1118
+ return de_ListTagsForResourceCommandError(output, context);
1143
1119
  }
1144
1120
  const contents = map({
1145
1121
  $metadata: deserializeMetadata(output),
1146
1122
  });
1147
1123
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1148
1124
  if (data.tags != null) {
1149
- contents.tags = deserializeAws_restJson1TagrisTagsMap(data.tags, context);
1125
+ contents.tags = de_TagrisTagsMap(data.tags, context);
1150
1126
  }
1151
1127
  return contents;
1152
1128
  };
1153
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1129
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1154
1130
  const parsedOutput = {
1155
1131
  ...output,
1156
1132
  body: await parseErrorBody(output.body, context),
@@ -1159,10 +1135,10 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1159
1135
  switch (errorCode) {
1160
1136
  case "ClientException":
1161
1137
  case "com.amazonaws.batch#ClientException":
1162
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1138
+ throw await de_ClientExceptionRes(parsedOutput, context);
1163
1139
  case "ServerException":
1164
1140
  case "com.amazonaws.batch#ServerException":
1165
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1141
+ throw await de_ServerExceptionRes(parsedOutput, context);
1166
1142
  default:
1167
1143
  const parsedBody = parsedOutput.body;
1168
1144
  throwDefaultError({
@@ -1173,9 +1149,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1173
1149
  });
1174
1150
  }
1175
1151
  };
1176
- export const deserializeAws_restJson1RegisterJobDefinitionCommand = async (output, context) => {
1152
+ export const de_RegisterJobDefinitionCommand = async (output, context) => {
1177
1153
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1178
- return deserializeAws_restJson1RegisterJobDefinitionCommandError(output, context);
1154
+ return de_RegisterJobDefinitionCommandError(output, context);
1179
1155
  }
1180
1156
  const contents = map({
1181
1157
  $metadata: deserializeMetadata(output),
@@ -1192,7 +1168,7 @@ export const deserializeAws_restJson1RegisterJobDefinitionCommand = async (outpu
1192
1168
  }
1193
1169
  return contents;
1194
1170
  };
1195
- const deserializeAws_restJson1RegisterJobDefinitionCommandError = async (output, context) => {
1171
+ const de_RegisterJobDefinitionCommandError = async (output, context) => {
1196
1172
  const parsedOutput = {
1197
1173
  ...output,
1198
1174
  body: await parseErrorBody(output.body, context),
@@ -1201,10 +1177,10 @@ const deserializeAws_restJson1RegisterJobDefinitionCommandError = async (output,
1201
1177
  switch (errorCode) {
1202
1178
  case "ClientException":
1203
1179
  case "com.amazonaws.batch#ClientException":
1204
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1180
+ throw await de_ClientExceptionRes(parsedOutput, context);
1205
1181
  case "ServerException":
1206
1182
  case "com.amazonaws.batch#ServerException":
1207
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1183
+ throw await de_ServerExceptionRes(parsedOutput, context);
1208
1184
  default:
1209
1185
  const parsedBody = parsedOutput.body;
1210
1186
  throwDefaultError({
@@ -1215,9 +1191,9 @@ const deserializeAws_restJson1RegisterJobDefinitionCommandError = async (output,
1215
1191
  });
1216
1192
  }
1217
1193
  };
1218
- export const deserializeAws_restJson1SubmitJobCommand = async (output, context) => {
1194
+ export const de_SubmitJobCommand = async (output, context) => {
1219
1195
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1220
- return deserializeAws_restJson1SubmitJobCommandError(output, context);
1196
+ return de_SubmitJobCommandError(output, context);
1221
1197
  }
1222
1198
  const contents = map({
1223
1199
  $metadata: deserializeMetadata(output),
@@ -1234,7 +1210,7 @@ export const deserializeAws_restJson1SubmitJobCommand = async (output, context)
1234
1210
  }
1235
1211
  return contents;
1236
1212
  };
1237
- const deserializeAws_restJson1SubmitJobCommandError = async (output, context) => {
1213
+ const de_SubmitJobCommandError = async (output, context) => {
1238
1214
  const parsedOutput = {
1239
1215
  ...output,
1240
1216
  body: await parseErrorBody(output.body, context),
@@ -1243,10 +1219,10 @@ const deserializeAws_restJson1SubmitJobCommandError = async (output, context) =>
1243
1219
  switch (errorCode) {
1244
1220
  case "ClientException":
1245
1221
  case "com.amazonaws.batch#ClientException":
1246
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1222
+ throw await de_ClientExceptionRes(parsedOutput, context);
1247
1223
  case "ServerException":
1248
1224
  case "com.amazonaws.batch#ServerException":
1249
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1225
+ throw await de_ServerExceptionRes(parsedOutput, context);
1250
1226
  default:
1251
1227
  const parsedBody = parsedOutput.body;
1252
1228
  throwDefaultError({
@@ -1257,9 +1233,9 @@ const deserializeAws_restJson1SubmitJobCommandError = async (output, context) =>
1257
1233
  });
1258
1234
  }
1259
1235
  };
1260
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1236
+ export const de_TagResourceCommand = async (output, context) => {
1261
1237
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1262
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1238
+ return de_TagResourceCommandError(output, context);
1263
1239
  }
1264
1240
  const contents = map({
1265
1241
  $metadata: deserializeMetadata(output),
@@ -1267,7 +1243,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1267
1243
  await collectBody(output.body, context);
1268
1244
  return contents;
1269
1245
  };
1270
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1246
+ const de_TagResourceCommandError = async (output, context) => {
1271
1247
  const parsedOutput = {
1272
1248
  ...output,
1273
1249
  body: await parseErrorBody(output.body, context),
@@ -1276,10 +1252,10 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1276
1252
  switch (errorCode) {
1277
1253
  case "ClientException":
1278
1254
  case "com.amazonaws.batch#ClientException":
1279
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1255
+ throw await de_ClientExceptionRes(parsedOutput, context);
1280
1256
  case "ServerException":
1281
1257
  case "com.amazonaws.batch#ServerException":
1282
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1258
+ throw await de_ServerExceptionRes(parsedOutput, context);
1283
1259
  default:
1284
1260
  const parsedBody = parsedOutput.body;
1285
1261
  throwDefaultError({
@@ -1290,9 +1266,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1290
1266
  });
1291
1267
  }
1292
1268
  };
1293
- export const deserializeAws_restJson1TerminateJobCommand = async (output, context) => {
1269
+ export const de_TerminateJobCommand = async (output, context) => {
1294
1270
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1295
- return deserializeAws_restJson1TerminateJobCommandError(output, context);
1271
+ return de_TerminateJobCommandError(output, context);
1296
1272
  }
1297
1273
  const contents = map({
1298
1274
  $metadata: deserializeMetadata(output),
@@ -1300,7 +1276,7 @@ export const deserializeAws_restJson1TerminateJobCommand = async (output, contex
1300
1276
  await collectBody(output.body, context);
1301
1277
  return contents;
1302
1278
  };
1303
- const deserializeAws_restJson1TerminateJobCommandError = async (output, context) => {
1279
+ const de_TerminateJobCommandError = async (output, context) => {
1304
1280
  const parsedOutput = {
1305
1281
  ...output,
1306
1282
  body: await parseErrorBody(output.body, context),
@@ -1309,10 +1285,10 @@ const deserializeAws_restJson1TerminateJobCommandError = async (output, context)
1309
1285
  switch (errorCode) {
1310
1286
  case "ClientException":
1311
1287
  case "com.amazonaws.batch#ClientException":
1312
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1288
+ throw await de_ClientExceptionRes(parsedOutput, context);
1313
1289
  case "ServerException":
1314
1290
  case "com.amazonaws.batch#ServerException":
1315
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1291
+ throw await de_ServerExceptionRes(parsedOutput, context);
1316
1292
  default:
1317
1293
  const parsedBody = parsedOutput.body;
1318
1294
  throwDefaultError({
@@ -1323,9 +1299,9 @@ const deserializeAws_restJson1TerminateJobCommandError = async (output, context)
1323
1299
  });
1324
1300
  }
1325
1301
  };
1326
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1302
+ export const de_UntagResourceCommand = async (output, context) => {
1327
1303
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1328
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1304
+ return de_UntagResourceCommandError(output, context);
1329
1305
  }
1330
1306
  const contents = map({
1331
1307
  $metadata: deserializeMetadata(output),
@@ -1333,7 +1309,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1333
1309
  await collectBody(output.body, context);
1334
1310
  return contents;
1335
1311
  };
1336
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1312
+ const de_UntagResourceCommandError = async (output, context) => {
1337
1313
  const parsedOutput = {
1338
1314
  ...output,
1339
1315
  body: await parseErrorBody(output.body, context),
@@ -1342,10 +1318,10 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1342
1318
  switch (errorCode) {
1343
1319
  case "ClientException":
1344
1320
  case "com.amazonaws.batch#ClientException":
1345
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1321
+ throw await de_ClientExceptionRes(parsedOutput, context);
1346
1322
  case "ServerException":
1347
1323
  case "com.amazonaws.batch#ServerException":
1348
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1324
+ throw await de_ServerExceptionRes(parsedOutput, context);
1349
1325
  default:
1350
1326
  const parsedBody = parsedOutput.body;
1351
1327
  throwDefaultError({
@@ -1356,9 +1332,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1356
1332
  });
1357
1333
  }
1358
1334
  };
1359
- export const deserializeAws_restJson1UpdateComputeEnvironmentCommand = async (output, context) => {
1335
+ export const de_UpdateComputeEnvironmentCommand = async (output, context) => {
1360
1336
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1361
- return deserializeAws_restJson1UpdateComputeEnvironmentCommandError(output, context);
1337
+ return de_UpdateComputeEnvironmentCommandError(output, context);
1362
1338
  }
1363
1339
  const contents = map({
1364
1340
  $metadata: deserializeMetadata(output),
@@ -1372,7 +1348,7 @@ export const deserializeAws_restJson1UpdateComputeEnvironmentCommand = async (ou
1372
1348
  }
1373
1349
  return contents;
1374
1350
  };
1375
- const deserializeAws_restJson1UpdateComputeEnvironmentCommandError = async (output, context) => {
1351
+ const de_UpdateComputeEnvironmentCommandError = async (output, context) => {
1376
1352
  const parsedOutput = {
1377
1353
  ...output,
1378
1354
  body: await parseErrorBody(output.body, context),
@@ -1381,10 +1357,10 @@ const deserializeAws_restJson1UpdateComputeEnvironmentCommandError = async (outp
1381
1357
  switch (errorCode) {
1382
1358
  case "ClientException":
1383
1359
  case "com.amazonaws.batch#ClientException":
1384
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1360
+ throw await de_ClientExceptionRes(parsedOutput, context);
1385
1361
  case "ServerException":
1386
1362
  case "com.amazonaws.batch#ServerException":
1387
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1363
+ throw await de_ServerExceptionRes(parsedOutput, context);
1388
1364
  default:
1389
1365
  const parsedBody = parsedOutput.body;
1390
1366
  throwDefaultError({
@@ -1395,9 +1371,9 @@ const deserializeAws_restJson1UpdateComputeEnvironmentCommandError = async (outp
1395
1371
  });
1396
1372
  }
1397
1373
  };
1398
- export const deserializeAws_restJson1UpdateJobQueueCommand = async (output, context) => {
1374
+ export const de_UpdateJobQueueCommand = async (output, context) => {
1399
1375
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1400
- return deserializeAws_restJson1UpdateJobQueueCommandError(output, context);
1376
+ return de_UpdateJobQueueCommandError(output, context);
1401
1377
  }
1402
1378
  const contents = map({
1403
1379
  $metadata: deserializeMetadata(output),
@@ -1411,7 +1387,7 @@ export const deserializeAws_restJson1UpdateJobQueueCommand = async (output, cont
1411
1387
  }
1412
1388
  return contents;
1413
1389
  };
1414
- const deserializeAws_restJson1UpdateJobQueueCommandError = async (output, context) => {
1390
+ const de_UpdateJobQueueCommandError = async (output, context) => {
1415
1391
  const parsedOutput = {
1416
1392
  ...output,
1417
1393
  body: await parseErrorBody(output.body, context),
@@ -1420,10 +1396,10 @@ const deserializeAws_restJson1UpdateJobQueueCommandError = async (output, contex
1420
1396
  switch (errorCode) {
1421
1397
  case "ClientException":
1422
1398
  case "com.amazonaws.batch#ClientException":
1423
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1399
+ throw await de_ClientExceptionRes(parsedOutput, context);
1424
1400
  case "ServerException":
1425
1401
  case "com.amazonaws.batch#ServerException":
1426
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1402
+ throw await de_ServerExceptionRes(parsedOutput, context);
1427
1403
  default:
1428
1404
  const parsedBody = parsedOutput.body;
1429
1405
  throwDefaultError({
@@ -1434,9 +1410,9 @@ const deserializeAws_restJson1UpdateJobQueueCommandError = async (output, contex
1434
1410
  });
1435
1411
  }
1436
1412
  };
1437
- export const deserializeAws_restJson1UpdateSchedulingPolicyCommand = async (output, context) => {
1413
+ export const de_UpdateSchedulingPolicyCommand = async (output, context) => {
1438
1414
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1439
- return deserializeAws_restJson1UpdateSchedulingPolicyCommandError(output, context);
1415
+ return de_UpdateSchedulingPolicyCommandError(output, context);
1440
1416
  }
1441
1417
  const contents = map({
1442
1418
  $metadata: deserializeMetadata(output),
@@ -1444,7 +1420,7 @@ export const deserializeAws_restJson1UpdateSchedulingPolicyCommand = async (outp
1444
1420
  await collectBody(output.body, context);
1445
1421
  return contents;
1446
1422
  };
1447
- const deserializeAws_restJson1UpdateSchedulingPolicyCommandError = async (output, context) => {
1423
+ const de_UpdateSchedulingPolicyCommandError = async (output, context) => {
1448
1424
  const parsedOutput = {
1449
1425
  ...output,
1450
1426
  body: await parseErrorBody(output.body, context),
@@ -1453,10 +1429,10 @@ const deserializeAws_restJson1UpdateSchedulingPolicyCommandError = async (output
1453
1429
  switch (errorCode) {
1454
1430
  case "ClientException":
1455
1431
  case "com.amazonaws.batch#ClientException":
1456
- throw await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context);
1432
+ throw await de_ClientExceptionRes(parsedOutput, context);
1457
1433
  case "ServerException":
1458
1434
  case "com.amazonaws.batch#ServerException":
1459
- throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1435
+ throw await de_ServerExceptionRes(parsedOutput, context);
1460
1436
  default:
1461
1437
  const parsedBody = parsedOutput.body;
1462
1438
  throwDefaultError({
@@ -1468,7 +1444,7 @@ const deserializeAws_restJson1UpdateSchedulingPolicyCommandError = async (output
1468
1444
  }
1469
1445
  };
1470
1446
  const map = __map;
1471
- const deserializeAws_restJson1ClientExceptionResponse = async (parsedOutput, context) => {
1447
+ const de_ClientExceptionRes = async (parsedOutput, context) => {
1472
1448
  const contents = map({});
1473
1449
  const data = parsedOutput.body;
1474
1450
  if (data.message != null) {
@@ -1480,7 +1456,7 @@ const deserializeAws_restJson1ClientExceptionResponse = async (parsedOutput, con
1480
1456
  });
1481
1457
  return __decorateServiceException(exception, parsedOutput.body);
1482
1458
  };
1483
- const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, context) => {
1459
+ const de_ServerExceptionRes = async (parsedOutput, context) => {
1484
1460
  const contents = map({});
1485
1461
  const data = parsedOutput.body;
1486
1462
  if (data.message != null) {
@@ -1492,182 +1468,162 @@ const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, con
1492
1468
  });
1493
1469
  return __decorateServiceException(exception, parsedOutput.body);
1494
1470
  };
1495
- const serializeAws_restJson1ArrayProperties = (input, context) => {
1471
+ const se_ArrayProperties = (input, context) => {
1496
1472
  return {
1497
1473
  ...(input.size != null && { size: input.size }),
1498
1474
  };
1499
1475
  };
1500
- const serializeAws_restJson1ComputeEnvironmentOrder = (input, context) => {
1476
+ const se_ComputeEnvironmentOrder = (input, context) => {
1501
1477
  return {
1502
1478
  ...(input.computeEnvironment != null && { computeEnvironment: input.computeEnvironment }),
1503
1479
  ...(input.order != null && { order: input.order }),
1504
1480
  };
1505
1481
  };
1506
- const serializeAws_restJson1ComputeEnvironmentOrders = (input, context) => {
1482
+ const se_ComputeEnvironmentOrders = (input, context) => {
1507
1483
  return input
1508
1484
  .filter((e) => e != null)
1509
1485
  .map((entry) => {
1510
- return serializeAws_restJson1ComputeEnvironmentOrder(entry, context);
1486
+ return se_ComputeEnvironmentOrder(entry, context);
1511
1487
  });
1512
1488
  };
1513
- const serializeAws_restJson1ComputeResource = (input, context) => {
1489
+ const se_ComputeResource = (input, context) => {
1514
1490
  return {
1515
1491
  ...(input.allocationStrategy != null && { allocationStrategy: input.allocationStrategy }),
1516
1492
  ...(input.bidPercentage != null && { bidPercentage: input.bidPercentage }),
1517
1493
  ...(input.desiredvCpus != null && { desiredvCpus: input.desiredvCpus }),
1518
1494
  ...(input.ec2Configuration != null && {
1519
- ec2Configuration: serializeAws_restJson1Ec2ConfigurationList(input.ec2Configuration, context),
1495
+ ec2Configuration: se_Ec2ConfigurationList(input.ec2Configuration, context),
1520
1496
  }),
1521
1497
  ...(input.ec2KeyPair != null && { ec2KeyPair: input.ec2KeyPair }),
1522
1498
  ...(input.imageId != null && { imageId: input.imageId }),
1523
1499
  ...(input.instanceRole != null && { instanceRole: input.instanceRole }),
1524
- ...(input.instanceTypes != null && {
1525
- instanceTypes: serializeAws_restJson1StringList(input.instanceTypes, context),
1526
- }),
1500
+ ...(input.instanceTypes != null && { instanceTypes: se_StringList(input.instanceTypes, context) }),
1527
1501
  ...(input.launchTemplate != null && {
1528
- launchTemplate: serializeAws_restJson1LaunchTemplateSpecification(input.launchTemplate, context),
1502
+ launchTemplate: se_LaunchTemplateSpecification(input.launchTemplate, context),
1529
1503
  }),
1530
1504
  ...(input.maxvCpus != null && { maxvCpus: input.maxvCpus }),
1531
1505
  ...(input.minvCpus != null && { minvCpus: input.minvCpus }),
1532
1506
  ...(input.placementGroup != null && { placementGroup: input.placementGroup }),
1533
- ...(input.securityGroupIds != null && {
1534
- securityGroupIds: serializeAws_restJson1StringList(input.securityGroupIds, context),
1535
- }),
1507
+ ...(input.securityGroupIds != null && { securityGroupIds: se_StringList(input.securityGroupIds, context) }),
1536
1508
  ...(input.spotIamFleetRole != null && { spotIamFleetRole: input.spotIamFleetRole }),
1537
- ...(input.subnets != null && { subnets: serializeAws_restJson1StringList(input.subnets, context) }),
1538
- ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
1509
+ ...(input.subnets != null && { subnets: se_StringList(input.subnets, context) }),
1510
+ ...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
1539
1511
  ...(input.type != null && { type: input.type }),
1540
1512
  };
1541
1513
  };
1542
- const serializeAws_restJson1ComputeResourceUpdate = (input, context) => {
1514
+ const se_ComputeResourceUpdate = (input, context) => {
1543
1515
  return {
1544
1516
  ...(input.allocationStrategy != null && { allocationStrategy: input.allocationStrategy }),
1545
1517
  ...(input.bidPercentage != null && { bidPercentage: input.bidPercentage }),
1546
1518
  ...(input.desiredvCpus != null && { desiredvCpus: input.desiredvCpus }),
1547
1519
  ...(input.ec2Configuration != null && {
1548
- ec2Configuration: serializeAws_restJson1Ec2ConfigurationList(input.ec2Configuration, context),
1520
+ ec2Configuration: se_Ec2ConfigurationList(input.ec2Configuration, context),
1549
1521
  }),
1550
1522
  ...(input.ec2KeyPair != null && { ec2KeyPair: input.ec2KeyPair }),
1551
1523
  ...(input.imageId != null && { imageId: input.imageId }),
1552
1524
  ...(input.instanceRole != null && { instanceRole: input.instanceRole }),
1553
- ...(input.instanceTypes != null && {
1554
- instanceTypes: serializeAws_restJson1StringList(input.instanceTypes, context),
1555
- }),
1525
+ ...(input.instanceTypes != null && { instanceTypes: se_StringList(input.instanceTypes, context) }),
1556
1526
  ...(input.launchTemplate != null && {
1557
- launchTemplate: serializeAws_restJson1LaunchTemplateSpecification(input.launchTemplate, context),
1527
+ launchTemplate: se_LaunchTemplateSpecification(input.launchTemplate, context),
1558
1528
  }),
1559
1529
  ...(input.maxvCpus != null && { maxvCpus: input.maxvCpus }),
1560
1530
  ...(input.minvCpus != null && { minvCpus: input.minvCpus }),
1561
1531
  ...(input.placementGroup != null && { placementGroup: input.placementGroup }),
1562
- ...(input.securityGroupIds != null && {
1563
- securityGroupIds: serializeAws_restJson1StringList(input.securityGroupIds, context),
1564
- }),
1565
- ...(input.subnets != null && { subnets: serializeAws_restJson1StringList(input.subnets, context) }),
1566
- ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
1532
+ ...(input.securityGroupIds != null && { securityGroupIds: se_StringList(input.securityGroupIds, context) }),
1533
+ ...(input.subnets != null && { subnets: se_StringList(input.subnets, context) }),
1534
+ ...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
1567
1535
  ...(input.type != null && { type: input.type }),
1568
1536
  ...(input.updateToLatestImageVersion != null && { updateToLatestImageVersion: input.updateToLatestImageVersion }),
1569
1537
  };
1570
1538
  };
1571
- const serializeAws_restJson1ContainerOverrides = (input, context) => {
1539
+ const se_ContainerOverrides = (input, context) => {
1572
1540
  return {
1573
- ...(input.command != null && { command: serializeAws_restJson1StringList(input.command, context) }),
1574
- ...(input.environment != null && {
1575
- environment: serializeAws_restJson1EnvironmentVariables(input.environment, context),
1576
- }),
1541
+ ...(input.command != null && { command: se_StringList(input.command, context) }),
1542
+ ...(input.environment != null && { environment: se_EnvironmentVariables(input.environment, context) }),
1577
1543
  ...(input.instanceType != null && { instanceType: input.instanceType }),
1578
1544
  ...(input.memory != null && { memory: input.memory }),
1579
1545
  ...(input.resourceRequirements != null && {
1580
- resourceRequirements: serializeAws_restJson1ResourceRequirements(input.resourceRequirements, context),
1546
+ resourceRequirements: se_ResourceRequirements(input.resourceRequirements, context),
1581
1547
  }),
1582
1548
  ...(input.vcpus != null && { vcpus: input.vcpus }),
1583
1549
  };
1584
1550
  };
1585
- const serializeAws_restJson1ContainerProperties = (input, context) => {
1551
+ const se_ContainerProperties = (input, context) => {
1586
1552
  return {
1587
- ...(input.command != null && { command: serializeAws_restJson1StringList(input.command, context) }),
1588
- ...(input.environment != null && {
1589
- environment: serializeAws_restJson1EnvironmentVariables(input.environment, context),
1590
- }),
1591
- ...(input.ephemeralStorage != null && {
1592
- ephemeralStorage: serializeAws_restJson1EphemeralStorage(input.ephemeralStorage, context),
1593
- }),
1553
+ ...(input.command != null && { command: se_StringList(input.command, context) }),
1554
+ ...(input.environment != null && { environment: se_EnvironmentVariables(input.environment, context) }),
1555
+ ...(input.ephemeralStorage != null && { ephemeralStorage: se_EphemeralStorage(input.ephemeralStorage, context) }),
1594
1556
  ...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
1595
1557
  ...(input.fargatePlatformConfiguration != null && {
1596
- fargatePlatformConfiguration: serializeAws_restJson1FargatePlatformConfiguration(input.fargatePlatformConfiguration, context),
1558
+ fargatePlatformConfiguration: se_FargatePlatformConfiguration(input.fargatePlatformConfiguration, context),
1597
1559
  }),
1598
1560
  ...(input.image != null && { image: input.image }),
1599
1561
  ...(input.instanceType != null && { instanceType: input.instanceType }),
1600
1562
  ...(input.jobRoleArn != null && { jobRoleArn: input.jobRoleArn }),
1601
- ...(input.linuxParameters != null && {
1602
- linuxParameters: serializeAws_restJson1LinuxParameters(input.linuxParameters, context),
1603
- }),
1604
- ...(input.logConfiguration != null && {
1605
- logConfiguration: serializeAws_restJson1LogConfiguration(input.logConfiguration, context),
1606
- }),
1563
+ ...(input.linuxParameters != null && { linuxParameters: se_LinuxParameters(input.linuxParameters, context) }),
1564
+ ...(input.logConfiguration != null && { logConfiguration: se_LogConfiguration(input.logConfiguration, context) }),
1607
1565
  ...(input.memory != null && { memory: input.memory }),
1608
- ...(input.mountPoints != null && { mountPoints: serializeAws_restJson1MountPoints(input.mountPoints, context) }),
1566
+ ...(input.mountPoints != null && { mountPoints: se_MountPoints(input.mountPoints, context) }),
1609
1567
  ...(input.networkConfiguration != null && {
1610
- networkConfiguration: serializeAws_restJson1NetworkConfiguration(input.networkConfiguration, context),
1568
+ networkConfiguration: se_NetworkConfiguration(input.networkConfiguration, context),
1611
1569
  }),
1612
1570
  ...(input.privileged != null && { privileged: input.privileged }),
1613
1571
  ...(input.readonlyRootFilesystem != null && { readonlyRootFilesystem: input.readonlyRootFilesystem }),
1614
1572
  ...(input.resourceRequirements != null && {
1615
- resourceRequirements: serializeAws_restJson1ResourceRequirements(input.resourceRequirements, context),
1573
+ resourceRequirements: se_ResourceRequirements(input.resourceRequirements, context),
1616
1574
  }),
1617
- ...(input.secrets != null && { secrets: serializeAws_restJson1SecretList(input.secrets, context) }),
1618
- ...(input.ulimits != null && { ulimits: serializeAws_restJson1Ulimits(input.ulimits, context) }),
1575
+ ...(input.secrets != null && { secrets: se_SecretList(input.secrets, context) }),
1576
+ ...(input.ulimits != null && { ulimits: se_Ulimits(input.ulimits, context) }),
1619
1577
  ...(input.user != null && { user: input.user }),
1620
1578
  ...(input.vcpus != null && { vcpus: input.vcpus }),
1621
- ...(input.volumes != null && { volumes: serializeAws_restJson1Volumes(input.volumes, context) }),
1579
+ ...(input.volumes != null && { volumes: se_Volumes(input.volumes, context) }),
1622
1580
  };
1623
1581
  };
1624
- const serializeAws_restJson1Device = (input, context) => {
1582
+ const se_Device = (input, context) => {
1625
1583
  return {
1626
1584
  ...(input.containerPath != null && { containerPath: input.containerPath }),
1627
1585
  ...(input.hostPath != null && { hostPath: input.hostPath }),
1628
- ...(input.permissions != null && {
1629
- permissions: serializeAws_restJson1DeviceCgroupPermissions(input.permissions, context),
1630
- }),
1586
+ ...(input.permissions != null && { permissions: se_DeviceCgroupPermissions(input.permissions, context) }),
1631
1587
  };
1632
1588
  };
1633
- const serializeAws_restJson1DeviceCgroupPermissions = (input, context) => {
1589
+ const se_DeviceCgroupPermissions = (input, context) => {
1634
1590
  return input
1635
1591
  .filter((e) => e != null)
1636
1592
  .map((entry) => {
1637
1593
  return entry;
1638
1594
  });
1639
1595
  };
1640
- const serializeAws_restJson1DevicesList = (input, context) => {
1596
+ const se_DevicesList = (input, context) => {
1641
1597
  return input
1642
1598
  .filter((e) => e != null)
1643
1599
  .map((entry) => {
1644
- return serializeAws_restJson1Device(entry, context);
1600
+ return se_Device(entry, context);
1645
1601
  });
1646
1602
  };
1647
- const serializeAws_restJson1Ec2Configuration = (input, context) => {
1603
+ const se_Ec2Configuration = (input, context) => {
1648
1604
  return {
1649
1605
  ...(input.imageIdOverride != null && { imageIdOverride: input.imageIdOverride }),
1650
1606
  ...(input.imageKubernetesVersion != null && { imageKubernetesVersion: input.imageKubernetesVersion }),
1651
1607
  ...(input.imageType != null && { imageType: input.imageType }),
1652
1608
  };
1653
1609
  };
1654
- const serializeAws_restJson1Ec2ConfigurationList = (input, context) => {
1610
+ const se_Ec2ConfigurationList = (input, context) => {
1655
1611
  return input
1656
1612
  .filter((e) => e != null)
1657
1613
  .map((entry) => {
1658
- return serializeAws_restJson1Ec2Configuration(entry, context);
1614
+ return se_Ec2Configuration(entry, context);
1659
1615
  });
1660
1616
  };
1661
- const serializeAws_restJson1EFSAuthorizationConfig = (input, context) => {
1617
+ const se_EFSAuthorizationConfig = (input, context) => {
1662
1618
  return {
1663
1619
  ...(input.accessPointId != null && { accessPointId: input.accessPointId }),
1664
1620
  ...(input.iam != null && { iam: input.iam }),
1665
1621
  };
1666
1622
  };
1667
- const serializeAws_restJson1EFSVolumeConfiguration = (input, context) => {
1623
+ const se_EFSVolumeConfiguration = (input, context) => {
1668
1624
  return {
1669
1625
  ...(input.authorizationConfig != null && {
1670
- authorizationConfig: serializeAws_restJson1EFSAuthorizationConfig(input.authorizationConfig, context),
1626
+ authorizationConfig: se_EFSAuthorizationConfig(input.authorizationConfig, context),
1671
1627
  }),
1672
1628
  ...(input.fileSystemId != null && { fileSystemId: input.fileSystemId }),
1673
1629
  ...(input.rootDirectory != null && { rootDirectory: input.rootDirectory }),
@@ -1675,76 +1631,70 @@ const serializeAws_restJson1EFSVolumeConfiguration = (input, context) => {
1675
1631
  ...(input.transitEncryptionPort != null && { transitEncryptionPort: input.transitEncryptionPort }),
1676
1632
  };
1677
1633
  };
1678
- const serializeAws_restJson1EksConfiguration = (input, context) => {
1634
+ const se_EksConfiguration = (input, context) => {
1679
1635
  return {
1680
1636
  ...(input.eksClusterArn != null && { eksClusterArn: input.eksClusterArn }),
1681
1637
  ...(input.kubernetesNamespace != null && { kubernetesNamespace: input.kubernetesNamespace }),
1682
1638
  };
1683
1639
  };
1684
- const serializeAws_restJson1EksContainer = (input, context) => {
1640
+ const se_EksContainer = (input, context) => {
1685
1641
  return {
1686
- ...(input.args != null && { args: serializeAws_restJson1StringList(input.args, context) }),
1687
- ...(input.command != null && { command: serializeAws_restJson1StringList(input.command, context) }),
1688
- ...(input.env != null && { env: serializeAws_restJson1EksContainerEnvironmentVariables(input.env, context) }),
1642
+ ...(input.args != null && { args: se_StringList(input.args, context) }),
1643
+ ...(input.command != null && { command: se_StringList(input.command, context) }),
1644
+ ...(input.env != null && { env: se_EksContainerEnvironmentVariables(input.env, context) }),
1689
1645
  ...(input.image != null && { image: input.image }),
1690
1646
  ...(input.imagePullPolicy != null && { imagePullPolicy: input.imagePullPolicy }),
1691
1647
  ...(input.name != null && { name: input.name }),
1692
- ...(input.resources != null && {
1693
- resources: serializeAws_restJson1EksContainerResourceRequirements(input.resources, context),
1694
- }),
1648
+ ...(input.resources != null && { resources: se_EksContainerResourceRequirements(input.resources, context) }),
1695
1649
  ...(input.securityContext != null && {
1696
- securityContext: serializeAws_restJson1EksContainerSecurityContext(input.securityContext, context),
1697
- }),
1698
- ...(input.volumeMounts != null && {
1699
- volumeMounts: serializeAws_restJson1EksContainerVolumeMounts(input.volumeMounts, context),
1650
+ securityContext: se_EksContainerSecurityContext(input.securityContext, context),
1700
1651
  }),
1652
+ ...(input.volumeMounts != null && { volumeMounts: se_EksContainerVolumeMounts(input.volumeMounts, context) }),
1701
1653
  };
1702
1654
  };
1703
- const serializeAws_restJson1EksContainerEnvironmentVariable = (input, context) => {
1655
+ const se_EksContainerEnvironmentVariable = (input, context) => {
1704
1656
  return {
1705
1657
  ...(input.name != null && { name: input.name }),
1706
1658
  ...(input.value != null && { value: input.value }),
1707
1659
  };
1708
1660
  };
1709
- const serializeAws_restJson1EksContainerEnvironmentVariables = (input, context) => {
1661
+ const se_EksContainerEnvironmentVariables = (input, context) => {
1710
1662
  return input
1711
1663
  .filter((e) => e != null)
1712
1664
  .map((entry) => {
1713
- return serializeAws_restJson1EksContainerEnvironmentVariable(entry, context);
1665
+ return se_EksContainerEnvironmentVariable(entry, context);
1714
1666
  });
1715
1667
  };
1716
- const serializeAws_restJson1EksContainerOverride = (input, context) => {
1668
+ const se_EksContainerOverride = (input, context) => {
1717
1669
  return {
1718
- ...(input.args != null && { args: serializeAws_restJson1StringList(input.args, context) }),
1719
- ...(input.command != null && { command: serializeAws_restJson1StringList(input.command, context) }),
1720
- ...(input.env != null && { env: serializeAws_restJson1EksContainerEnvironmentVariables(input.env, context) }),
1670
+ ...(input.args != null && { args: se_StringList(input.args, context) }),
1671
+ ...(input.command != null && { command: se_StringList(input.command, context) }),
1672
+ ...(input.env != null && { env: se_EksContainerEnvironmentVariables(input.env, context) }),
1721
1673
  ...(input.image != null && { image: input.image }),
1722
- ...(input.resources != null && {
1723
- resources: serializeAws_restJson1EksContainerResourceRequirements(input.resources, context),
1724
- }),
1674
+ ...(input.resources != null && { resources: se_EksContainerResourceRequirements(input.resources, context) }),
1725
1675
  };
1726
1676
  };
1727
- const serializeAws_restJson1EksContainerOverrideList = (input, context) => {
1677
+ const se_EksContainerOverrideList = (input, context) => {
1728
1678
  return input
1729
1679
  .filter((e) => e != null)
1730
1680
  .map((entry) => {
1731
- return serializeAws_restJson1EksContainerOverride(entry, context);
1681
+ return se_EksContainerOverride(entry, context);
1732
1682
  });
1733
1683
  };
1734
- const serializeAws_restJson1EksContainerResourceRequirements = (input, context) => {
1684
+ const se_EksContainerResourceRequirements = (input, context) => {
1735
1685
  return {
1736
- ...(input.limits != null && { limits: serializeAws_restJson1EksLimits(input.limits, context) }),
1737
- ...(input.requests != null && { requests: serializeAws_restJson1EksRequests(input.requests, context) }),
1686
+ ...(input.limits != null && { limits: se_EksLimits(input.limits, context) }),
1687
+ ...(input.requests != null && { requests: se_EksRequests(input.requests, context) }),
1738
1688
  };
1739
1689
  };
1740
- const serializeAws_restJson1EksContainers = (input, context) => {
1690
+ const se_EksContainers = (input, context) => {
1741
1691
  return input
1742
1692
  .filter((e) => e != null)
1743
1693
  .map((entry) => {
1744
- return serializeAws_restJson1EksContainer(entry, context);
1694
+ return se_EksContainer(entry, context);
1745
1695
  });
1746
1696
  };
1747
- const serializeAws_restJson1EksContainerSecurityContext = (input, context) => {
1697
+ const se_EksContainerSecurityContext = (input, context) => {
1748
1698
  return {
1749
1699
  ...(input.privileged != null && { privileged: input.privileged }),
1750
1700
  ...(input.readOnlyRootFilesystem != null && { readOnlyRootFilesystem: input.readOnlyRootFilesystem }),
@@ -1753,32 +1703,32 @@ const serializeAws_restJson1EksContainerSecurityContext = (input, context) => {
1753
1703
  ...(input.runAsUser != null && { runAsUser: input.runAsUser }),
1754
1704
  };
1755
1705
  };
1756
- const serializeAws_restJson1EksContainerVolumeMount = (input, context) => {
1706
+ const se_EksContainerVolumeMount = (input, context) => {
1757
1707
  return {
1758
1708
  ...(input.mountPath != null && { mountPath: input.mountPath }),
1759
1709
  ...(input.name != null && { name: input.name }),
1760
1710
  ...(input.readOnly != null && { readOnly: input.readOnly }),
1761
1711
  };
1762
1712
  };
1763
- const serializeAws_restJson1EksContainerVolumeMounts = (input, context) => {
1713
+ const se_EksContainerVolumeMounts = (input, context) => {
1764
1714
  return input
1765
1715
  .filter((e) => e != null)
1766
1716
  .map((entry) => {
1767
- return serializeAws_restJson1EksContainerVolumeMount(entry, context);
1717
+ return se_EksContainerVolumeMount(entry, context);
1768
1718
  });
1769
1719
  };
1770
- const serializeAws_restJson1EksEmptyDir = (input, context) => {
1720
+ const se_EksEmptyDir = (input, context) => {
1771
1721
  return {
1772
1722
  ...(input.medium != null && { medium: input.medium }),
1773
1723
  ...(input.sizeLimit != null && { sizeLimit: input.sizeLimit }),
1774
1724
  };
1775
1725
  };
1776
- const serializeAws_restJson1EksHostPath = (input, context) => {
1726
+ const se_EksHostPath = (input, context) => {
1777
1727
  return {
1778
1728
  ...(input.path != null && { path: input.path }),
1779
1729
  };
1780
1730
  };
1781
- const serializeAws_restJson1EksLabelsMap = (input, context) => {
1731
+ const se_EksLabelsMap = (input, context) => {
1782
1732
  return Object.entries(input).reduce((acc, [key, value]) => {
1783
1733
  if (value === null) {
1784
1734
  return acc;
@@ -1787,7 +1737,7 @@ const serializeAws_restJson1EksLabelsMap = (input, context) => {
1787
1737
  return acc;
1788
1738
  }, {});
1789
1739
  };
1790
- const serializeAws_restJson1EksLimits = (input, context) => {
1740
+ const se_EksLimits = (input, context) => {
1791
1741
  return Object.entries(input).reduce((acc, [key, value]) => {
1792
1742
  if (value === null) {
1793
1743
  return acc;
@@ -1796,44 +1746,38 @@ const serializeAws_restJson1EksLimits = (input, context) => {
1796
1746
  return acc;
1797
1747
  }, {});
1798
1748
  };
1799
- const serializeAws_restJson1EksMetadata = (input, context) => {
1749
+ const se_EksMetadata = (input, context) => {
1800
1750
  return {
1801
- ...(input.labels != null && { labels: serializeAws_restJson1EksLabelsMap(input.labels, context) }),
1751
+ ...(input.labels != null && { labels: se_EksLabelsMap(input.labels, context) }),
1802
1752
  };
1803
1753
  };
1804
- const serializeAws_restJson1EksPodProperties = (input, context) => {
1754
+ const se_EksPodProperties = (input, context) => {
1805
1755
  return {
1806
- ...(input.containers != null && { containers: serializeAws_restJson1EksContainers(input.containers, context) }),
1756
+ ...(input.containers != null && { containers: se_EksContainers(input.containers, context) }),
1807
1757
  ...(input.dnsPolicy != null && { dnsPolicy: input.dnsPolicy }),
1808
1758
  ...(input.hostNetwork != null && { hostNetwork: input.hostNetwork }),
1809
- ...(input.metadata != null && { metadata: serializeAws_restJson1EksMetadata(input.metadata, context) }),
1759
+ ...(input.metadata != null && { metadata: se_EksMetadata(input.metadata, context) }),
1810
1760
  ...(input.serviceAccountName != null && { serviceAccountName: input.serviceAccountName }),
1811
- ...(input.volumes != null && { volumes: serializeAws_restJson1EksVolumes(input.volumes, context) }),
1761
+ ...(input.volumes != null && { volumes: se_EksVolumes(input.volumes, context) }),
1812
1762
  };
1813
1763
  };
1814
- const serializeAws_restJson1EksPodPropertiesOverride = (input, context) => {
1764
+ const se_EksPodPropertiesOverride = (input, context) => {
1815
1765
  return {
1816
- ...(input.containers != null && {
1817
- containers: serializeAws_restJson1EksContainerOverrideList(input.containers, context),
1818
- }),
1819
- ...(input.metadata != null && { metadata: serializeAws_restJson1EksMetadata(input.metadata, context) }),
1766
+ ...(input.containers != null && { containers: se_EksContainerOverrideList(input.containers, context) }),
1767
+ ...(input.metadata != null && { metadata: se_EksMetadata(input.metadata, context) }),
1820
1768
  };
1821
1769
  };
1822
- const serializeAws_restJson1EksProperties = (input, context) => {
1770
+ const se_EksProperties = (input, context) => {
1823
1771
  return {
1824
- ...(input.podProperties != null && {
1825
- podProperties: serializeAws_restJson1EksPodProperties(input.podProperties, context),
1826
- }),
1772
+ ...(input.podProperties != null && { podProperties: se_EksPodProperties(input.podProperties, context) }),
1827
1773
  };
1828
1774
  };
1829
- const serializeAws_restJson1EksPropertiesOverride = (input, context) => {
1775
+ const se_EksPropertiesOverride = (input, context) => {
1830
1776
  return {
1831
- ...(input.podProperties != null && {
1832
- podProperties: serializeAws_restJson1EksPodPropertiesOverride(input.podProperties, context),
1833
- }),
1777
+ ...(input.podProperties != null && { podProperties: se_EksPodPropertiesOverride(input.podProperties, context) }),
1834
1778
  };
1835
1779
  };
1836
- const serializeAws_restJson1EksRequests = (input, context) => {
1780
+ const se_EksRequests = (input, context) => {
1837
1781
  return Object.entries(input).reduce((acc, [key, value]) => {
1838
1782
  if (value === null) {
1839
1783
  return acc;
@@ -1842,40 +1786,40 @@ const serializeAws_restJson1EksRequests = (input, context) => {
1842
1786
  return acc;
1843
1787
  }, {});
1844
1788
  };
1845
- const serializeAws_restJson1EksSecret = (input, context) => {
1789
+ const se_EksSecret = (input, context) => {
1846
1790
  return {
1847
1791
  ...(input.optional != null && { optional: input.optional }),
1848
1792
  ...(input.secretName != null && { secretName: input.secretName }),
1849
1793
  };
1850
1794
  };
1851
- const serializeAws_restJson1EksVolume = (input, context) => {
1795
+ const se_EksVolume = (input, context) => {
1852
1796
  return {
1853
- ...(input.emptyDir != null && { emptyDir: serializeAws_restJson1EksEmptyDir(input.emptyDir, context) }),
1854
- ...(input.hostPath != null && { hostPath: serializeAws_restJson1EksHostPath(input.hostPath, context) }),
1797
+ ...(input.emptyDir != null && { emptyDir: se_EksEmptyDir(input.emptyDir, context) }),
1798
+ ...(input.hostPath != null && { hostPath: se_EksHostPath(input.hostPath, context) }),
1855
1799
  ...(input.name != null && { name: input.name }),
1856
- ...(input.secret != null && { secret: serializeAws_restJson1EksSecret(input.secret, context) }),
1800
+ ...(input.secret != null && { secret: se_EksSecret(input.secret, context) }),
1857
1801
  };
1858
1802
  };
1859
- const serializeAws_restJson1EksVolumes = (input, context) => {
1803
+ const se_EksVolumes = (input, context) => {
1860
1804
  return input
1861
1805
  .filter((e) => e != null)
1862
1806
  .map((entry) => {
1863
- return serializeAws_restJson1EksVolume(entry, context);
1807
+ return se_EksVolume(entry, context);
1864
1808
  });
1865
1809
  };
1866
- const serializeAws_restJson1EnvironmentVariables = (input, context) => {
1810
+ const se_EnvironmentVariables = (input, context) => {
1867
1811
  return input
1868
1812
  .filter((e) => e != null)
1869
1813
  .map((entry) => {
1870
- return serializeAws_restJson1KeyValuePair(entry, context);
1814
+ return se_KeyValuePair(entry, context);
1871
1815
  });
1872
1816
  };
1873
- const serializeAws_restJson1EphemeralStorage = (input, context) => {
1817
+ const se_EphemeralStorage = (input, context) => {
1874
1818
  return {
1875
1819
  ...(input.sizeInGiB != null && { sizeInGiB: input.sizeInGiB }),
1876
1820
  };
1877
1821
  };
1878
- const serializeAws_restJson1EvaluateOnExit = (input, context) => {
1822
+ const se_EvaluateOnExit = (input, context) => {
1879
1823
  return {
1880
1824
  ...(input.action != null && { action: input.action }),
1881
1825
  ...(input.onExitCode != null && { onExitCode: input.onExitCode }),
@@ -1883,96 +1827,94 @@ const serializeAws_restJson1EvaluateOnExit = (input, context) => {
1883
1827
  ...(input.onStatusReason != null && { onStatusReason: input.onStatusReason }),
1884
1828
  };
1885
1829
  };
1886
- const serializeAws_restJson1EvaluateOnExitList = (input, context) => {
1830
+ const se_EvaluateOnExitList = (input, context) => {
1887
1831
  return input
1888
1832
  .filter((e) => e != null)
1889
1833
  .map((entry) => {
1890
- return serializeAws_restJson1EvaluateOnExit(entry, context);
1834
+ return se_EvaluateOnExit(entry, context);
1891
1835
  });
1892
1836
  };
1893
- const serializeAws_restJson1FairsharePolicy = (input, context) => {
1837
+ const se_FairsharePolicy = (input, context) => {
1894
1838
  return {
1895
1839
  ...(input.computeReservation != null && { computeReservation: input.computeReservation }),
1896
1840
  ...(input.shareDecaySeconds != null && { shareDecaySeconds: input.shareDecaySeconds }),
1897
1841
  ...(input.shareDistribution != null && {
1898
- shareDistribution: serializeAws_restJson1ShareAttributesList(input.shareDistribution, context),
1842
+ shareDistribution: se_ShareAttributesList(input.shareDistribution, context),
1899
1843
  }),
1900
1844
  };
1901
1845
  };
1902
- const serializeAws_restJson1FargatePlatformConfiguration = (input, context) => {
1846
+ const se_FargatePlatformConfiguration = (input, context) => {
1903
1847
  return {
1904
1848
  ...(input.platformVersion != null && { platformVersion: input.platformVersion }),
1905
1849
  };
1906
1850
  };
1907
- const serializeAws_restJson1Host = (input, context) => {
1851
+ const se_Host = (input, context) => {
1908
1852
  return {
1909
1853
  ...(input.sourcePath != null && { sourcePath: input.sourcePath }),
1910
1854
  };
1911
1855
  };
1912
- const serializeAws_restJson1JobDependency = (input, context) => {
1856
+ const se_JobDependency = (input, context) => {
1913
1857
  return {
1914
1858
  ...(input.jobId != null && { jobId: input.jobId }),
1915
1859
  ...(input.type != null && { type: input.type }),
1916
1860
  };
1917
1861
  };
1918
- const serializeAws_restJson1JobDependencyList = (input, context) => {
1862
+ const se_JobDependencyList = (input, context) => {
1919
1863
  return input
1920
1864
  .filter((e) => e != null)
1921
1865
  .map((entry) => {
1922
- return serializeAws_restJson1JobDependency(entry, context);
1866
+ return se_JobDependency(entry, context);
1923
1867
  });
1924
1868
  };
1925
- const serializeAws_restJson1JobTimeout = (input, context) => {
1869
+ const se_JobTimeout = (input, context) => {
1926
1870
  return {
1927
1871
  ...(input.attemptDurationSeconds != null && { attemptDurationSeconds: input.attemptDurationSeconds }),
1928
1872
  };
1929
1873
  };
1930
- const serializeAws_restJson1KeyValuePair = (input, context) => {
1874
+ const se_KeyValuePair = (input, context) => {
1931
1875
  return {
1932
1876
  ...(input.name != null && { name: input.name }),
1933
1877
  ...(input.value != null && { value: input.value }),
1934
1878
  };
1935
1879
  };
1936
- const serializeAws_restJson1KeyValuesPair = (input, context) => {
1880
+ const se_KeyValuesPair = (input, context) => {
1937
1881
  return {
1938
1882
  ...(input.name != null && { name: input.name }),
1939
- ...(input.values != null && { values: serializeAws_restJson1StringList(input.values, context) }),
1883
+ ...(input.values != null && { values: se_StringList(input.values, context) }),
1940
1884
  };
1941
1885
  };
1942
- const serializeAws_restJson1LaunchTemplateSpecification = (input, context) => {
1886
+ const se_LaunchTemplateSpecification = (input, context) => {
1943
1887
  return {
1944
1888
  ...(input.launchTemplateId != null && { launchTemplateId: input.launchTemplateId }),
1945
1889
  ...(input.launchTemplateName != null && { launchTemplateName: input.launchTemplateName }),
1946
1890
  ...(input.version != null && { version: input.version }),
1947
1891
  };
1948
1892
  };
1949
- const serializeAws_restJson1LinuxParameters = (input, context) => {
1893
+ const se_LinuxParameters = (input, context) => {
1950
1894
  return {
1951
- ...(input.devices != null && { devices: serializeAws_restJson1DevicesList(input.devices, context) }),
1895
+ ...(input.devices != null && { devices: se_DevicesList(input.devices, context) }),
1952
1896
  ...(input.initProcessEnabled != null && { initProcessEnabled: input.initProcessEnabled }),
1953
1897
  ...(input.maxSwap != null && { maxSwap: input.maxSwap }),
1954
1898
  ...(input.sharedMemorySize != null && { sharedMemorySize: input.sharedMemorySize }),
1955
1899
  ...(input.swappiness != null && { swappiness: input.swappiness }),
1956
- ...(input.tmpfs != null && { tmpfs: serializeAws_restJson1TmpfsList(input.tmpfs, context) }),
1900
+ ...(input.tmpfs != null && { tmpfs: se_TmpfsList(input.tmpfs, context) }),
1957
1901
  };
1958
1902
  };
1959
- const serializeAws_restJson1ListJobsFilterList = (input, context) => {
1903
+ const se_ListJobsFilterList = (input, context) => {
1960
1904
  return input
1961
1905
  .filter((e) => e != null)
1962
1906
  .map((entry) => {
1963
- return serializeAws_restJson1KeyValuesPair(entry, context);
1907
+ return se_KeyValuesPair(entry, context);
1964
1908
  });
1965
1909
  };
1966
- const serializeAws_restJson1LogConfiguration = (input, context) => {
1910
+ const se_LogConfiguration = (input, context) => {
1967
1911
  return {
1968
1912
  ...(input.logDriver != null && { logDriver: input.logDriver }),
1969
- ...(input.options != null && { options: serializeAws_restJson1LogConfigurationOptionsMap(input.options, context) }),
1970
- ...(input.secretOptions != null && {
1971
- secretOptions: serializeAws_restJson1SecretList(input.secretOptions, context),
1972
- }),
1913
+ ...(input.options != null && { options: se_LogConfigurationOptionsMap(input.options, context) }),
1914
+ ...(input.secretOptions != null && { secretOptions: se_SecretList(input.secretOptions, context) }),
1973
1915
  };
1974
1916
  };
1975
- const serializeAws_restJson1LogConfigurationOptionsMap = (input, context) => {
1917
+ const se_LogConfigurationOptionsMap = (input, context) => {
1976
1918
  return Object.entries(input).reduce((acc, [key, value]) => {
1977
1919
  if (value === null) {
1978
1920
  return acc;
@@ -1981,71 +1923,71 @@ const serializeAws_restJson1LogConfigurationOptionsMap = (input, context) => {
1981
1923
  return acc;
1982
1924
  }, {});
1983
1925
  };
1984
- const serializeAws_restJson1MountPoint = (input, context) => {
1926
+ const se_MountPoint = (input, context) => {
1985
1927
  return {
1986
1928
  ...(input.containerPath != null && { containerPath: input.containerPath }),
1987
1929
  ...(input.readOnly != null && { readOnly: input.readOnly }),
1988
1930
  ...(input.sourceVolume != null && { sourceVolume: input.sourceVolume }),
1989
1931
  };
1990
1932
  };
1991
- const serializeAws_restJson1MountPoints = (input, context) => {
1933
+ const se_MountPoints = (input, context) => {
1992
1934
  return input
1993
1935
  .filter((e) => e != null)
1994
1936
  .map((entry) => {
1995
- return serializeAws_restJson1MountPoint(entry, context);
1937
+ return se_MountPoint(entry, context);
1996
1938
  });
1997
1939
  };
1998
- const serializeAws_restJson1NetworkConfiguration = (input, context) => {
1940
+ const se_NetworkConfiguration = (input, context) => {
1999
1941
  return {
2000
1942
  ...(input.assignPublicIp != null && { assignPublicIp: input.assignPublicIp }),
2001
1943
  };
2002
1944
  };
2003
- const serializeAws_restJson1NodeOverrides = (input, context) => {
1945
+ const se_NodeOverrides = (input, context) => {
2004
1946
  return {
2005
1947
  ...(input.nodePropertyOverrides != null && {
2006
- nodePropertyOverrides: serializeAws_restJson1NodePropertyOverrides(input.nodePropertyOverrides, context),
1948
+ nodePropertyOverrides: se_NodePropertyOverrides(input.nodePropertyOverrides, context),
2007
1949
  }),
2008
1950
  ...(input.numNodes != null && { numNodes: input.numNodes }),
2009
1951
  };
2010
1952
  };
2011
- const serializeAws_restJson1NodeProperties = (input, context) => {
1953
+ const se_NodeProperties = (input, context) => {
2012
1954
  return {
2013
1955
  ...(input.mainNode != null && { mainNode: input.mainNode }),
2014
1956
  ...(input.nodeRangeProperties != null && {
2015
- nodeRangeProperties: serializeAws_restJson1NodeRangeProperties(input.nodeRangeProperties, context),
1957
+ nodeRangeProperties: se_NodeRangeProperties(input.nodeRangeProperties, context),
2016
1958
  }),
2017
1959
  ...(input.numNodes != null && { numNodes: input.numNodes }),
2018
1960
  };
2019
1961
  };
2020
- const serializeAws_restJson1NodePropertyOverride = (input, context) => {
1962
+ const se_NodePropertyOverride = (input, context) => {
2021
1963
  return {
2022
1964
  ...(input.containerOverrides != null && {
2023
- containerOverrides: serializeAws_restJson1ContainerOverrides(input.containerOverrides, context),
1965
+ containerOverrides: se_ContainerOverrides(input.containerOverrides, context),
2024
1966
  }),
2025
1967
  ...(input.targetNodes != null && { targetNodes: input.targetNodes }),
2026
1968
  };
2027
1969
  };
2028
- const serializeAws_restJson1NodePropertyOverrides = (input, context) => {
1970
+ const se_NodePropertyOverrides = (input, context) => {
2029
1971
  return input
2030
1972
  .filter((e) => e != null)
2031
1973
  .map((entry) => {
2032
- return serializeAws_restJson1NodePropertyOverride(entry, context);
1974
+ return se_NodePropertyOverride(entry, context);
2033
1975
  });
2034
1976
  };
2035
- const serializeAws_restJson1NodeRangeProperties = (input, context) => {
1977
+ const se_NodeRangeProperties = (input, context) => {
2036
1978
  return input
2037
1979
  .filter((e) => e != null)
2038
1980
  .map((entry) => {
2039
- return serializeAws_restJson1NodeRangeProperty(entry, context);
1981
+ return se_NodeRangeProperty(entry, context);
2040
1982
  });
2041
1983
  };
2042
- const serializeAws_restJson1NodeRangeProperty = (input, context) => {
1984
+ const se_NodeRangeProperty = (input, context) => {
2043
1985
  return {
2044
- ...(input.container != null && { container: serializeAws_restJson1ContainerProperties(input.container, context) }),
1986
+ ...(input.container != null && { container: se_ContainerProperties(input.container, context) }),
2045
1987
  ...(input.targetNodes != null && { targetNodes: input.targetNodes }),
2046
1988
  };
2047
1989
  };
2048
- const serializeAws_restJson1ParametersMap = (input, context) => {
1990
+ const se_ParametersMap = (input, context) => {
2049
1991
  return Object.entries(input).reduce((acc, [key, value]) => {
2050
1992
  if (value === null) {
2051
1993
  return acc;
@@ -2054,68 +1996,66 @@ const serializeAws_restJson1ParametersMap = (input, context) => {
2054
1996
  return acc;
2055
1997
  }, {});
2056
1998
  };
2057
- const serializeAws_restJson1PlatformCapabilityList = (input, context) => {
1999
+ const se_PlatformCapabilityList = (input, context) => {
2058
2000
  return input
2059
2001
  .filter((e) => e != null)
2060
2002
  .map((entry) => {
2061
2003
  return entry;
2062
2004
  });
2063
2005
  };
2064
- const serializeAws_restJson1ResourceRequirement = (input, context) => {
2006
+ const se_ResourceRequirement = (input, context) => {
2065
2007
  return {
2066
2008
  ...(input.type != null && { type: input.type }),
2067
2009
  ...(input.value != null && { value: input.value }),
2068
2010
  };
2069
2011
  };
2070
- const serializeAws_restJson1ResourceRequirements = (input, context) => {
2012
+ const se_ResourceRequirements = (input, context) => {
2071
2013
  return input
2072
2014
  .filter((e) => e != null)
2073
2015
  .map((entry) => {
2074
- return serializeAws_restJson1ResourceRequirement(entry, context);
2016
+ return se_ResourceRequirement(entry, context);
2075
2017
  });
2076
2018
  };
2077
- const serializeAws_restJson1RetryStrategy = (input, context) => {
2019
+ const se_RetryStrategy = (input, context) => {
2078
2020
  return {
2079
2021
  ...(input.attempts != null && { attempts: input.attempts }),
2080
- ...(input.evaluateOnExit != null && {
2081
- evaluateOnExit: serializeAws_restJson1EvaluateOnExitList(input.evaluateOnExit, context),
2082
- }),
2022
+ ...(input.evaluateOnExit != null && { evaluateOnExit: se_EvaluateOnExitList(input.evaluateOnExit, context) }),
2083
2023
  };
2084
2024
  };
2085
- const serializeAws_restJson1Secret = (input, context) => {
2025
+ const se_Secret = (input, context) => {
2086
2026
  return {
2087
2027
  ...(input.name != null && { name: input.name }),
2088
2028
  ...(input.valueFrom != null && { valueFrom: input.valueFrom }),
2089
2029
  };
2090
2030
  };
2091
- const serializeAws_restJson1SecretList = (input, context) => {
2031
+ const se_SecretList = (input, context) => {
2092
2032
  return input
2093
2033
  .filter((e) => e != null)
2094
2034
  .map((entry) => {
2095
- return serializeAws_restJson1Secret(entry, context);
2035
+ return se_Secret(entry, context);
2096
2036
  });
2097
2037
  };
2098
- const serializeAws_restJson1ShareAttributes = (input, context) => {
2038
+ const se_ShareAttributes = (input, context) => {
2099
2039
  return {
2100
2040
  ...(input.shareIdentifier != null && { shareIdentifier: input.shareIdentifier }),
2101
2041
  ...(input.weightFactor != null && { weightFactor: __serializeFloat(input.weightFactor) }),
2102
2042
  };
2103
2043
  };
2104
- const serializeAws_restJson1ShareAttributesList = (input, context) => {
2044
+ const se_ShareAttributesList = (input, context) => {
2105
2045
  return input
2106
2046
  .filter((e) => e != null)
2107
2047
  .map((entry) => {
2108
- return serializeAws_restJson1ShareAttributes(entry, context);
2048
+ return se_ShareAttributes(entry, context);
2109
2049
  });
2110
2050
  };
2111
- const serializeAws_restJson1StringList = (input, context) => {
2051
+ const se_StringList = (input, context) => {
2112
2052
  return input
2113
2053
  .filter((e) => e != null)
2114
2054
  .map((entry) => {
2115
2055
  return entry;
2116
2056
  });
2117
2057
  };
2118
- const serializeAws_restJson1TagrisTagsMap = (input, context) => {
2058
+ const se_TagrisTagsMap = (input, context) => {
2119
2059
  return Object.entries(input).reduce((acc, [key, value]) => {
2120
2060
  if (value === null) {
2121
2061
  return acc;
@@ -2124,7 +2064,7 @@ const serializeAws_restJson1TagrisTagsMap = (input, context) => {
2124
2064
  return acc;
2125
2065
  }, {});
2126
2066
  };
2127
- const serializeAws_restJson1TagsMap = (input, context) => {
2067
+ const se_TagsMap = (input, context) => {
2128
2068
  return Object.entries(input).reduce((acc, [key, value]) => {
2129
2069
  if (value === null) {
2130
2070
  return acc;
@@ -2133,57 +2073,57 @@ const serializeAws_restJson1TagsMap = (input, context) => {
2133
2073
  return acc;
2134
2074
  }, {});
2135
2075
  };
2136
- const serializeAws_restJson1Tmpfs = (input, context) => {
2076
+ const se_Tmpfs = (input, context) => {
2137
2077
  return {
2138
2078
  ...(input.containerPath != null && { containerPath: input.containerPath }),
2139
- ...(input.mountOptions != null && { mountOptions: serializeAws_restJson1StringList(input.mountOptions, context) }),
2079
+ ...(input.mountOptions != null && { mountOptions: se_StringList(input.mountOptions, context) }),
2140
2080
  ...(input.size != null && { size: input.size }),
2141
2081
  };
2142
2082
  };
2143
- const serializeAws_restJson1TmpfsList = (input, context) => {
2083
+ const se_TmpfsList = (input, context) => {
2144
2084
  return input
2145
2085
  .filter((e) => e != null)
2146
2086
  .map((entry) => {
2147
- return serializeAws_restJson1Tmpfs(entry, context);
2087
+ return se_Tmpfs(entry, context);
2148
2088
  });
2149
2089
  };
2150
- const serializeAws_restJson1Ulimit = (input, context) => {
2090
+ const se_Ulimit = (input, context) => {
2151
2091
  return {
2152
2092
  ...(input.hardLimit != null && { hardLimit: input.hardLimit }),
2153
2093
  ...(input.name != null && { name: input.name }),
2154
2094
  ...(input.softLimit != null && { softLimit: input.softLimit }),
2155
2095
  };
2156
2096
  };
2157
- const serializeAws_restJson1Ulimits = (input, context) => {
2097
+ const se_Ulimits = (input, context) => {
2158
2098
  return input
2159
2099
  .filter((e) => e != null)
2160
2100
  .map((entry) => {
2161
- return serializeAws_restJson1Ulimit(entry, context);
2101
+ return se_Ulimit(entry, context);
2162
2102
  });
2163
2103
  };
2164
- const serializeAws_restJson1UpdatePolicy = (input, context) => {
2104
+ const se_UpdatePolicy = (input, context) => {
2165
2105
  return {
2166
2106
  ...(input.jobExecutionTimeoutMinutes != null && { jobExecutionTimeoutMinutes: input.jobExecutionTimeoutMinutes }),
2167
2107
  ...(input.terminateJobsOnUpdate != null && { terminateJobsOnUpdate: input.terminateJobsOnUpdate }),
2168
2108
  };
2169
2109
  };
2170
- const serializeAws_restJson1Volume = (input, context) => {
2110
+ const se_Volume = (input, context) => {
2171
2111
  return {
2172
2112
  ...(input.efsVolumeConfiguration != null && {
2173
- efsVolumeConfiguration: serializeAws_restJson1EFSVolumeConfiguration(input.efsVolumeConfiguration, context),
2113
+ efsVolumeConfiguration: se_EFSVolumeConfiguration(input.efsVolumeConfiguration, context),
2174
2114
  }),
2175
- ...(input.host != null && { host: serializeAws_restJson1Host(input.host, context) }),
2115
+ ...(input.host != null && { host: se_Host(input.host, context) }),
2176
2116
  ...(input.name != null && { name: input.name }),
2177
2117
  };
2178
2118
  };
2179
- const serializeAws_restJson1Volumes = (input, context) => {
2119
+ const se_Volumes = (input, context) => {
2180
2120
  return input
2181
2121
  .filter((e) => e != null)
2182
2122
  .map((entry) => {
2183
- return serializeAws_restJson1Volume(entry, context);
2123
+ return se_Volume(entry, context);
2184
2124
  });
2185
2125
  };
2186
- const deserializeAws_restJson1ArrayJobStatusSummary = (output, context) => {
2126
+ const de_ArrayJobStatusSummary = (output, context) => {
2187
2127
  return Object.entries(output).reduce((acc, [key, value]) => {
2188
2128
  if (value === null) {
2189
2129
  return acc;
@@ -2192,232 +2132,190 @@ const deserializeAws_restJson1ArrayJobStatusSummary = (output, context) => {
2192
2132
  return acc;
2193
2133
  }, {});
2194
2134
  };
2195
- const deserializeAws_restJson1ArrayPropertiesDetail = (output, context) => {
2135
+ const de_ArrayPropertiesDetail = (output, context) => {
2196
2136
  return {
2197
2137
  index: __expectInt32(output.index),
2198
2138
  size: __expectInt32(output.size),
2199
- statusSummary: output.statusSummary != null
2200
- ? deserializeAws_restJson1ArrayJobStatusSummary(output.statusSummary, context)
2201
- : undefined,
2139
+ statusSummary: output.statusSummary != null ? de_ArrayJobStatusSummary(output.statusSummary, context) : undefined,
2202
2140
  };
2203
2141
  };
2204
- const deserializeAws_restJson1ArrayPropertiesSummary = (output, context) => {
2142
+ const de_ArrayPropertiesSummary = (output, context) => {
2205
2143
  return {
2206
2144
  index: __expectInt32(output.index),
2207
2145
  size: __expectInt32(output.size),
2208
2146
  };
2209
2147
  };
2210
- const deserializeAws_restJson1AttemptContainerDetail = (output, context) => {
2148
+ const de_AttemptContainerDetail = (output, context) => {
2211
2149
  return {
2212
2150
  containerInstanceArn: __expectString(output.containerInstanceArn),
2213
2151
  exitCode: __expectInt32(output.exitCode),
2214
2152
  logStreamName: __expectString(output.logStreamName),
2215
- networkInterfaces: output.networkInterfaces != null
2216
- ? deserializeAws_restJson1NetworkInterfaceList(output.networkInterfaces, context)
2217
- : undefined,
2153
+ networkInterfaces: output.networkInterfaces != null ? de_NetworkInterfaceList(output.networkInterfaces, context) : undefined,
2218
2154
  reason: __expectString(output.reason),
2219
2155
  taskArn: __expectString(output.taskArn),
2220
2156
  };
2221
2157
  };
2222
- const deserializeAws_restJson1AttemptDetail = (output, context) => {
2158
+ const de_AttemptDetail = (output, context) => {
2223
2159
  return {
2224
- container: output.container != null ? deserializeAws_restJson1AttemptContainerDetail(output.container, context) : undefined,
2160
+ container: output.container != null ? de_AttemptContainerDetail(output.container, context) : undefined,
2225
2161
  startedAt: __expectLong(output.startedAt),
2226
2162
  statusReason: __expectString(output.statusReason),
2227
2163
  stoppedAt: __expectLong(output.stoppedAt),
2228
2164
  };
2229
2165
  };
2230
- const deserializeAws_restJson1AttemptDetails = (output, context) => {
2166
+ const de_AttemptDetails = (output, context) => {
2231
2167
  const retVal = (output || [])
2232
2168
  .filter((e) => e != null)
2233
2169
  .map((entry) => {
2234
2170
  if (entry === null) {
2235
2171
  return null;
2236
2172
  }
2237
- return deserializeAws_restJson1AttemptDetail(entry, context);
2173
+ return de_AttemptDetail(entry, context);
2238
2174
  });
2239
2175
  return retVal;
2240
2176
  };
2241
- const deserializeAws_restJson1ComputeEnvironmentDetail = (output, context) => {
2177
+ const de_ComputeEnvironmentDetail = (output, context) => {
2242
2178
  return {
2243
2179
  computeEnvironmentArn: __expectString(output.computeEnvironmentArn),
2244
2180
  computeEnvironmentName: __expectString(output.computeEnvironmentName),
2245
- computeResources: output.computeResources != null
2246
- ? deserializeAws_restJson1ComputeResource(output.computeResources, context)
2247
- : undefined,
2181
+ computeResources: output.computeResources != null ? de_ComputeResource(output.computeResources, context) : undefined,
2248
2182
  containerOrchestrationType: __expectString(output.containerOrchestrationType),
2249
2183
  ecsClusterArn: __expectString(output.ecsClusterArn),
2250
- eksConfiguration: output.eksConfiguration != null
2251
- ? deserializeAws_restJson1EksConfiguration(output.eksConfiguration, context)
2252
- : undefined,
2184
+ eksConfiguration: output.eksConfiguration != null ? de_EksConfiguration(output.eksConfiguration, context) : undefined,
2253
2185
  serviceRole: __expectString(output.serviceRole),
2254
2186
  state: __expectString(output.state),
2255
2187
  status: __expectString(output.status),
2256
2188
  statusReason: __expectString(output.statusReason),
2257
- tags: output.tags != null ? deserializeAws_restJson1TagrisTagsMap(output.tags, context) : undefined,
2189
+ tags: output.tags != null ? de_TagrisTagsMap(output.tags, context) : undefined,
2258
2190
  type: __expectString(output.type),
2259
2191
  unmanagedvCpus: __expectInt32(output.unmanagedvCpus),
2260
- updatePolicy: output.updatePolicy != null ? deserializeAws_restJson1UpdatePolicy(output.updatePolicy, context) : undefined,
2192
+ updatePolicy: output.updatePolicy != null ? de_UpdatePolicy(output.updatePolicy, context) : undefined,
2261
2193
  uuid: __expectString(output.uuid),
2262
2194
  };
2263
2195
  };
2264
- const deserializeAws_restJson1ComputeEnvironmentDetailList = (output, context) => {
2196
+ const de_ComputeEnvironmentDetailList = (output, context) => {
2265
2197
  const retVal = (output || [])
2266
2198
  .filter((e) => e != null)
2267
2199
  .map((entry) => {
2268
2200
  if (entry === null) {
2269
2201
  return null;
2270
2202
  }
2271
- return deserializeAws_restJson1ComputeEnvironmentDetail(entry, context);
2203
+ return de_ComputeEnvironmentDetail(entry, context);
2272
2204
  });
2273
2205
  return retVal;
2274
2206
  };
2275
- const deserializeAws_restJson1ComputeEnvironmentOrder = (output, context) => {
2207
+ const de_ComputeEnvironmentOrder = (output, context) => {
2276
2208
  return {
2277
2209
  computeEnvironment: __expectString(output.computeEnvironment),
2278
2210
  order: __expectInt32(output.order),
2279
2211
  };
2280
2212
  };
2281
- const deserializeAws_restJson1ComputeEnvironmentOrders = (output, context) => {
2213
+ const de_ComputeEnvironmentOrders = (output, context) => {
2282
2214
  const retVal = (output || [])
2283
2215
  .filter((e) => e != null)
2284
2216
  .map((entry) => {
2285
2217
  if (entry === null) {
2286
2218
  return null;
2287
2219
  }
2288
- return deserializeAws_restJson1ComputeEnvironmentOrder(entry, context);
2220
+ return de_ComputeEnvironmentOrder(entry, context);
2289
2221
  });
2290
2222
  return retVal;
2291
2223
  };
2292
- const deserializeAws_restJson1ComputeResource = (output, context) => {
2224
+ const de_ComputeResource = (output, context) => {
2293
2225
  return {
2294
2226
  allocationStrategy: __expectString(output.allocationStrategy),
2295
2227
  bidPercentage: __expectInt32(output.bidPercentage),
2296
2228
  desiredvCpus: __expectInt32(output.desiredvCpus),
2297
- ec2Configuration: output.ec2Configuration != null
2298
- ? deserializeAws_restJson1Ec2ConfigurationList(output.ec2Configuration, context)
2299
- : undefined,
2229
+ ec2Configuration: output.ec2Configuration != null ? de_Ec2ConfigurationList(output.ec2Configuration, context) : undefined,
2300
2230
  ec2KeyPair: __expectString(output.ec2KeyPair),
2301
2231
  imageId: __expectString(output.imageId),
2302
2232
  instanceRole: __expectString(output.instanceRole),
2303
- instanceTypes: output.instanceTypes != null ? deserializeAws_restJson1StringList(output.instanceTypes, context) : undefined,
2304
- launchTemplate: output.launchTemplate != null
2305
- ? deserializeAws_restJson1LaunchTemplateSpecification(output.launchTemplate, context)
2306
- : undefined,
2233
+ instanceTypes: output.instanceTypes != null ? de_StringList(output.instanceTypes, context) : undefined,
2234
+ launchTemplate: output.launchTemplate != null ? de_LaunchTemplateSpecification(output.launchTemplate, context) : undefined,
2307
2235
  maxvCpus: __expectInt32(output.maxvCpus),
2308
2236
  minvCpus: __expectInt32(output.minvCpus),
2309
2237
  placementGroup: __expectString(output.placementGroup),
2310
- securityGroupIds: output.securityGroupIds != null
2311
- ? deserializeAws_restJson1StringList(output.securityGroupIds, context)
2312
- : undefined,
2238
+ securityGroupIds: output.securityGroupIds != null ? de_StringList(output.securityGroupIds, context) : undefined,
2313
2239
  spotIamFleetRole: __expectString(output.spotIamFleetRole),
2314
- subnets: output.subnets != null ? deserializeAws_restJson1StringList(output.subnets, context) : undefined,
2315
- tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
2240
+ subnets: output.subnets != null ? de_StringList(output.subnets, context) : undefined,
2241
+ tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
2316
2242
  type: __expectString(output.type),
2317
2243
  };
2318
2244
  };
2319
- const deserializeAws_restJson1ContainerDetail = (output, context) => {
2245
+ const de_ContainerDetail = (output, context) => {
2320
2246
  return {
2321
- command: output.command != null ? deserializeAws_restJson1StringList(output.command, context) : undefined,
2247
+ command: output.command != null ? de_StringList(output.command, context) : undefined,
2322
2248
  containerInstanceArn: __expectString(output.containerInstanceArn),
2323
- environment: output.environment != null
2324
- ? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
2325
- : undefined,
2326
- ephemeralStorage: output.ephemeralStorage != null
2327
- ? deserializeAws_restJson1EphemeralStorage(output.ephemeralStorage, context)
2328
- : undefined,
2249
+ environment: output.environment != null ? de_EnvironmentVariables(output.environment, context) : undefined,
2250
+ ephemeralStorage: output.ephemeralStorage != null ? de_EphemeralStorage(output.ephemeralStorage, context) : undefined,
2329
2251
  executionRoleArn: __expectString(output.executionRoleArn),
2330
2252
  exitCode: __expectInt32(output.exitCode),
2331
2253
  fargatePlatformConfiguration: output.fargatePlatformConfiguration != null
2332
- ? deserializeAws_restJson1FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
2254
+ ? de_FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
2333
2255
  : undefined,
2334
2256
  image: __expectString(output.image),
2335
2257
  instanceType: __expectString(output.instanceType),
2336
2258
  jobRoleArn: __expectString(output.jobRoleArn),
2337
- linuxParameters: output.linuxParameters != null
2338
- ? deserializeAws_restJson1LinuxParameters(output.linuxParameters, context)
2339
- : undefined,
2340
- logConfiguration: output.logConfiguration != null
2341
- ? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
2342
- : undefined,
2259
+ linuxParameters: output.linuxParameters != null ? de_LinuxParameters(output.linuxParameters, context) : undefined,
2260
+ logConfiguration: output.logConfiguration != null ? de_LogConfiguration(output.logConfiguration, context) : undefined,
2343
2261
  logStreamName: __expectString(output.logStreamName),
2344
2262
  memory: __expectInt32(output.memory),
2345
- mountPoints: output.mountPoints != null ? deserializeAws_restJson1MountPoints(output.mountPoints, context) : undefined,
2346
- networkConfiguration: output.networkConfiguration != null
2347
- ? deserializeAws_restJson1NetworkConfiguration(output.networkConfiguration, context)
2348
- : undefined,
2349
- networkInterfaces: output.networkInterfaces != null
2350
- ? deserializeAws_restJson1NetworkInterfaceList(output.networkInterfaces, context)
2351
- : undefined,
2263
+ mountPoints: output.mountPoints != null ? de_MountPoints(output.mountPoints, context) : undefined,
2264
+ networkConfiguration: output.networkConfiguration != null ? de_NetworkConfiguration(output.networkConfiguration, context) : undefined,
2265
+ networkInterfaces: output.networkInterfaces != null ? de_NetworkInterfaceList(output.networkInterfaces, context) : undefined,
2352
2266
  privileged: __expectBoolean(output.privileged),
2353
2267
  readonlyRootFilesystem: __expectBoolean(output.readonlyRootFilesystem),
2354
2268
  reason: __expectString(output.reason),
2355
- resourceRequirements: output.resourceRequirements != null
2356
- ? deserializeAws_restJson1ResourceRequirements(output.resourceRequirements, context)
2357
- : undefined,
2358
- secrets: output.secrets != null ? deserializeAws_restJson1SecretList(output.secrets, context) : undefined,
2269
+ resourceRequirements: output.resourceRequirements != null ? de_ResourceRequirements(output.resourceRequirements, context) : undefined,
2270
+ secrets: output.secrets != null ? de_SecretList(output.secrets, context) : undefined,
2359
2271
  taskArn: __expectString(output.taskArn),
2360
- ulimits: output.ulimits != null ? deserializeAws_restJson1Ulimits(output.ulimits, context) : undefined,
2272
+ ulimits: output.ulimits != null ? de_Ulimits(output.ulimits, context) : undefined,
2361
2273
  user: __expectString(output.user),
2362
2274
  vcpus: __expectInt32(output.vcpus),
2363
- volumes: output.volumes != null ? deserializeAws_restJson1Volumes(output.volumes, context) : undefined,
2275
+ volumes: output.volumes != null ? de_Volumes(output.volumes, context) : undefined,
2364
2276
  };
2365
2277
  };
2366
- const deserializeAws_restJson1ContainerProperties = (output, context) => {
2278
+ const de_ContainerProperties = (output, context) => {
2367
2279
  return {
2368
- command: output.command != null ? deserializeAws_restJson1StringList(output.command, context) : undefined,
2369
- environment: output.environment != null
2370
- ? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
2371
- : undefined,
2372
- ephemeralStorage: output.ephemeralStorage != null
2373
- ? deserializeAws_restJson1EphemeralStorage(output.ephemeralStorage, context)
2374
- : undefined,
2280
+ command: output.command != null ? de_StringList(output.command, context) : undefined,
2281
+ environment: output.environment != null ? de_EnvironmentVariables(output.environment, context) : undefined,
2282
+ ephemeralStorage: output.ephemeralStorage != null ? de_EphemeralStorage(output.ephemeralStorage, context) : undefined,
2375
2283
  executionRoleArn: __expectString(output.executionRoleArn),
2376
2284
  fargatePlatformConfiguration: output.fargatePlatformConfiguration != null
2377
- ? deserializeAws_restJson1FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
2285
+ ? de_FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
2378
2286
  : undefined,
2379
2287
  image: __expectString(output.image),
2380
2288
  instanceType: __expectString(output.instanceType),
2381
2289
  jobRoleArn: __expectString(output.jobRoleArn),
2382
- linuxParameters: output.linuxParameters != null
2383
- ? deserializeAws_restJson1LinuxParameters(output.linuxParameters, context)
2384
- : undefined,
2385
- logConfiguration: output.logConfiguration != null
2386
- ? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
2387
- : undefined,
2290
+ linuxParameters: output.linuxParameters != null ? de_LinuxParameters(output.linuxParameters, context) : undefined,
2291
+ logConfiguration: output.logConfiguration != null ? de_LogConfiguration(output.logConfiguration, context) : undefined,
2388
2292
  memory: __expectInt32(output.memory),
2389
- mountPoints: output.mountPoints != null ? deserializeAws_restJson1MountPoints(output.mountPoints, context) : undefined,
2390
- networkConfiguration: output.networkConfiguration != null
2391
- ? deserializeAws_restJson1NetworkConfiguration(output.networkConfiguration, context)
2392
- : undefined,
2293
+ mountPoints: output.mountPoints != null ? de_MountPoints(output.mountPoints, context) : undefined,
2294
+ networkConfiguration: output.networkConfiguration != null ? de_NetworkConfiguration(output.networkConfiguration, context) : undefined,
2393
2295
  privileged: __expectBoolean(output.privileged),
2394
2296
  readonlyRootFilesystem: __expectBoolean(output.readonlyRootFilesystem),
2395
- resourceRequirements: output.resourceRequirements != null
2396
- ? deserializeAws_restJson1ResourceRequirements(output.resourceRequirements, context)
2397
- : undefined,
2398
- secrets: output.secrets != null ? deserializeAws_restJson1SecretList(output.secrets, context) : undefined,
2399
- ulimits: output.ulimits != null ? deserializeAws_restJson1Ulimits(output.ulimits, context) : undefined,
2297
+ resourceRequirements: output.resourceRequirements != null ? de_ResourceRequirements(output.resourceRequirements, context) : undefined,
2298
+ secrets: output.secrets != null ? de_SecretList(output.secrets, context) : undefined,
2299
+ ulimits: output.ulimits != null ? de_Ulimits(output.ulimits, context) : undefined,
2400
2300
  user: __expectString(output.user),
2401
2301
  vcpus: __expectInt32(output.vcpus),
2402
- volumes: output.volumes != null ? deserializeAws_restJson1Volumes(output.volumes, context) : undefined,
2302
+ volumes: output.volumes != null ? de_Volumes(output.volumes, context) : undefined,
2403
2303
  };
2404
2304
  };
2405
- const deserializeAws_restJson1ContainerSummary = (output, context) => {
2305
+ const de_ContainerSummary = (output, context) => {
2406
2306
  return {
2407
2307
  exitCode: __expectInt32(output.exitCode),
2408
2308
  reason: __expectString(output.reason),
2409
2309
  };
2410
2310
  };
2411
- const deserializeAws_restJson1Device = (output, context) => {
2311
+ const de_Device = (output, context) => {
2412
2312
  return {
2413
2313
  containerPath: __expectString(output.containerPath),
2414
2314
  hostPath: __expectString(output.hostPath),
2415
- permissions: output.permissions != null
2416
- ? deserializeAws_restJson1DeviceCgroupPermissions(output.permissions, context)
2417
- : undefined,
2315
+ permissions: output.permissions != null ? de_DeviceCgroupPermissions(output.permissions, context) : undefined,
2418
2316
  };
2419
2317
  };
2420
- const deserializeAws_restJson1DeviceCgroupPermissions = (output, context) => {
2318
+ const de_DeviceCgroupPermissions = (output, context) => {
2421
2319
  const retVal = (output || [])
2422
2320
  .filter((e) => e != null)
2423
2321
  .map((entry) => {
@@ -2428,74 +2326,70 @@ const deserializeAws_restJson1DeviceCgroupPermissions = (output, context) => {
2428
2326
  });
2429
2327
  return retVal;
2430
2328
  };
2431
- const deserializeAws_restJson1DevicesList = (output, context) => {
2329
+ const de_DevicesList = (output, context) => {
2432
2330
  const retVal = (output || [])
2433
2331
  .filter((e) => e != null)
2434
2332
  .map((entry) => {
2435
2333
  if (entry === null) {
2436
2334
  return null;
2437
2335
  }
2438
- return deserializeAws_restJson1Device(entry, context);
2336
+ return de_Device(entry, context);
2439
2337
  });
2440
2338
  return retVal;
2441
2339
  };
2442
- const deserializeAws_restJson1Ec2Configuration = (output, context) => {
2340
+ const de_Ec2Configuration = (output, context) => {
2443
2341
  return {
2444
2342
  imageIdOverride: __expectString(output.imageIdOverride),
2445
2343
  imageKubernetesVersion: __expectString(output.imageKubernetesVersion),
2446
2344
  imageType: __expectString(output.imageType),
2447
2345
  };
2448
2346
  };
2449
- const deserializeAws_restJson1Ec2ConfigurationList = (output, context) => {
2347
+ const de_Ec2ConfigurationList = (output, context) => {
2450
2348
  const retVal = (output || [])
2451
2349
  .filter((e) => e != null)
2452
2350
  .map((entry) => {
2453
2351
  if (entry === null) {
2454
2352
  return null;
2455
2353
  }
2456
- return deserializeAws_restJson1Ec2Configuration(entry, context);
2354
+ return de_Ec2Configuration(entry, context);
2457
2355
  });
2458
2356
  return retVal;
2459
2357
  };
2460
- const deserializeAws_restJson1EFSAuthorizationConfig = (output, context) => {
2358
+ const de_EFSAuthorizationConfig = (output, context) => {
2461
2359
  return {
2462
2360
  accessPointId: __expectString(output.accessPointId),
2463
2361
  iam: __expectString(output.iam),
2464
2362
  };
2465
2363
  };
2466
- const deserializeAws_restJson1EFSVolumeConfiguration = (output, context) => {
2364
+ const de_EFSVolumeConfiguration = (output, context) => {
2467
2365
  return {
2468
- authorizationConfig: output.authorizationConfig != null
2469
- ? deserializeAws_restJson1EFSAuthorizationConfig(output.authorizationConfig, context)
2470
- : undefined,
2366
+ authorizationConfig: output.authorizationConfig != null ? de_EFSAuthorizationConfig(output.authorizationConfig, context) : undefined,
2471
2367
  fileSystemId: __expectString(output.fileSystemId),
2472
2368
  rootDirectory: __expectString(output.rootDirectory),
2473
2369
  transitEncryption: __expectString(output.transitEncryption),
2474
2370
  transitEncryptionPort: __expectInt32(output.transitEncryptionPort),
2475
2371
  };
2476
2372
  };
2477
- const deserializeAws_restJson1EksAttemptContainerDetail = (output, context) => {
2373
+ const de_EksAttemptContainerDetail = (output, context) => {
2478
2374
  return {
2479
2375
  exitCode: __expectInt32(output.exitCode),
2480
2376
  reason: __expectString(output.reason),
2481
2377
  };
2482
2378
  };
2483
- const deserializeAws_restJson1EksAttemptContainerDetails = (output, context) => {
2379
+ const de_EksAttemptContainerDetails = (output, context) => {
2484
2380
  const retVal = (output || [])
2485
2381
  .filter((e) => e != null)
2486
2382
  .map((entry) => {
2487
2383
  if (entry === null) {
2488
2384
  return null;
2489
2385
  }
2490
- return deserializeAws_restJson1EksAttemptContainerDetail(entry, context);
2386
+ return de_EksAttemptContainerDetail(entry, context);
2491
2387
  });
2492
2388
  return retVal;
2493
2389
  };
2494
- const deserializeAws_restJson1EksAttemptDetail = (output, context) => {
2390
+ const de_EksAttemptDetail = (output, context) => {
2495
2391
  return {
2496
- containers: output.containers != null
2497
- ? deserializeAws_restJson1EksAttemptContainerDetails(output.containers, context)
2498
- : undefined,
2392
+ containers: output.containers != null ? de_EksAttemptContainerDetails(output.containers, context) : undefined,
2499
2393
  nodeName: __expectString(output.nodeName),
2500
2394
  podName: __expectString(output.podName),
2501
2395
  startedAt: __expectLong(output.startedAt),
@@ -2503,109 +2397,97 @@ const deserializeAws_restJson1EksAttemptDetail = (output, context) => {
2503
2397
  stoppedAt: __expectLong(output.stoppedAt),
2504
2398
  };
2505
2399
  };
2506
- const deserializeAws_restJson1EksAttemptDetails = (output, context) => {
2400
+ const de_EksAttemptDetails = (output, context) => {
2507
2401
  const retVal = (output || [])
2508
2402
  .filter((e) => e != null)
2509
2403
  .map((entry) => {
2510
2404
  if (entry === null) {
2511
2405
  return null;
2512
2406
  }
2513
- return deserializeAws_restJson1EksAttemptDetail(entry, context);
2407
+ return de_EksAttemptDetail(entry, context);
2514
2408
  });
2515
2409
  return retVal;
2516
2410
  };
2517
- const deserializeAws_restJson1EksConfiguration = (output, context) => {
2411
+ const de_EksConfiguration = (output, context) => {
2518
2412
  return {
2519
2413
  eksClusterArn: __expectString(output.eksClusterArn),
2520
2414
  kubernetesNamespace: __expectString(output.kubernetesNamespace),
2521
2415
  };
2522
2416
  };
2523
- const deserializeAws_restJson1EksContainer = (output, context) => {
2417
+ const de_EksContainer = (output, context) => {
2524
2418
  return {
2525
- args: output.args != null ? deserializeAws_restJson1StringList(output.args, context) : undefined,
2526
- command: output.command != null ? deserializeAws_restJson1StringList(output.command, context) : undefined,
2527
- env: output.env != null ? deserializeAws_restJson1EksContainerEnvironmentVariables(output.env, context) : undefined,
2419
+ args: output.args != null ? de_StringList(output.args, context) : undefined,
2420
+ command: output.command != null ? de_StringList(output.command, context) : undefined,
2421
+ env: output.env != null ? de_EksContainerEnvironmentVariables(output.env, context) : undefined,
2528
2422
  image: __expectString(output.image),
2529
2423
  imagePullPolicy: __expectString(output.imagePullPolicy),
2530
2424
  name: __expectString(output.name),
2531
- resources: output.resources != null
2532
- ? deserializeAws_restJson1EksContainerResourceRequirements(output.resources, context)
2533
- : undefined,
2534
- securityContext: output.securityContext != null
2535
- ? deserializeAws_restJson1EksContainerSecurityContext(output.securityContext, context)
2536
- : undefined,
2537
- volumeMounts: output.volumeMounts != null
2538
- ? deserializeAws_restJson1EksContainerVolumeMounts(output.volumeMounts, context)
2539
- : undefined,
2425
+ resources: output.resources != null ? de_EksContainerResourceRequirements(output.resources, context) : undefined,
2426
+ securityContext: output.securityContext != null ? de_EksContainerSecurityContext(output.securityContext, context) : undefined,
2427
+ volumeMounts: output.volumeMounts != null ? de_EksContainerVolumeMounts(output.volumeMounts, context) : undefined,
2540
2428
  };
2541
2429
  };
2542
- const deserializeAws_restJson1EksContainerDetail = (output, context) => {
2430
+ const de_EksContainerDetail = (output, context) => {
2543
2431
  return {
2544
- args: output.args != null ? deserializeAws_restJson1StringList(output.args, context) : undefined,
2545
- command: output.command != null ? deserializeAws_restJson1StringList(output.command, context) : undefined,
2546
- env: output.env != null ? deserializeAws_restJson1EksContainerEnvironmentVariables(output.env, context) : undefined,
2432
+ args: output.args != null ? de_StringList(output.args, context) : undefined,
2433
+ command: output.command != null ? de_StringList(output.command, context) : undefined,
2434
+ env: output.env != null ? de_EksContainerEnvironmentVariables(output.env, context) : undefined,
2547
2435
  exitCode: __expectInt32(output.exitCode),
2548
2436
  image: __expectString(output.image),
2549
2437
  imagePullPolicy: __expectString(output.imagePullPolicy),
2550
2438
  name: __expectString(output.name),
2551
2439
  reason: __expectString(output.reason),
2552
- resources: output.resources != null
2553
- ? deserializeAws_restJson1EksContainerResourceRequirements(output.resources, context)
2554
- : undefined,
2555
- securityContext: output.securityContext != null
2556
- ? deserializeAws_restJson1EksContainerSecurityContext(output.securityContext, context)
2557
- : undefined,
2558
- volumeMounts: output.volumeMounts != null
2559
- ? deserializeAws_restJson1EksContainerVolumeMounts(output.volumeMounts, context)
2560
- : undefined,
2440
+ resources: output.resources != null ? de_EksContainerResourceRequirements(output.resources, context) : undefined,
2441
+ securityContext: output.securityContext != null ? de_EksContainerSecurityContext(output.securityContext, context) : undefined,
2442
+ volumeMounts: output.volumeMounts != null ? de_EksContainerVolumeMounts(output.volumeMounts, context) : undefined,
2561
2443
  };
2562
2444
  };
2563
- const deserializeAws_restJson1EksContainerDetails = (output, context) => {
2445
+ const de_EksContainerDetails = (output, context) => {
2564
2446
  const retVal = (output || [])
2565
2447
  .filter((e) => e != null)
2566
2448
  .map((entry) => {
2567
2449
  if (entry === null) {
2568
2450
  return null;
2569
2451
  }
2570
- return deserializeAws_restJson1EksContainerDetail(entry, context);
2452
+ return de_EksContainerDetail(entry, context);
2571
2453
  });
2572
2454
  return retVal;
2573
2455
  };
2574
- const deserializeAws_restJson1EksContainerEnvironmentVariable = (output, context) => {
2456
+ const de_EksContainerEnvironmentVariable = (output, context) => {
2575
2457
  return {
2576
2458
  name: __expectString(output.name),
2577
2459
  value: __expectString(output.value),
2578
2460
  };
2579
2461
  };
2580
- const deserializeAws_restJson1EksContainerEnvironmentVariables = (output, context) => {
2462
+ const de_EksContainerEnvironmentVariables = (output, context) => {
2581
2463
  const retVal = (output || [])
2582
2464
  .filter((e) => e != null)
2583
2465
  .map((entry) => {
2584
2466
  if (entry === null) {
2585
2467
  return null;
2586
2468
  }
2587
- return deserializeAws_restJson1EksContainerEnvironmentVariable(entry, context);
2469
+ return de_EksContainerEnvironmentVariable(entry, context);
2588
2470
  });
2589
2471
  return retVal;
2590
2472
  };
2591
- const deserializeAws_restJson1EksContainerResourceRequirements = (output, context) => {
2473
+ const de_EksContainerResourceRequirements = (output, context) => {
2592
2474
  return {
2593
- limits: output.limits != null ? deserializeAws_restJson1EksLimits(output.limits, context) : undefined,
2594
- requests: output.requests != null ? deserializeAws_restJson1EksRequests(output.requests, context) : undefined,
2475
+ limits: output.limits != null ? de_EksLimits(output.limits, context) : undefined,
2476
+ requests: output.requests != null ? de_EksRequests(output.requests, context) : undefined,
2595
2477
  };
2596
2478
  };
2597
- const deserializeAws_restJson1EksContainers = (output, context) => {
2479
+ const de_EksContainers = (output, context) => {
2598
2480
  const retVal = (output || [])
2599
2481
  .filter((e) => e != null)
2600
2482
  .map((entry) => {
2601
2483
  if (entry === null) {
2602
2484
  return null;
2603
2485
  }
2604
- return deserializeAws_restJson1EksContainer(entry, context);
2486
+ return de_EksContainer(entry, context);
2605
2487
  });
2606
2488
  return retVal;
2607
2489
  };
2608
- const deserializeAws_restJson1EksContainerSecurityContext = (output, context) => {
2490
+ const de_EksContainerSecurityContext = (output, context) => {
2609
2491
  return {
2610
2492
  privileged: __expectBoolean(output.privileged),
2611
2493
  readOnlyRootFilesystem: __expectBoolean(output.readOnlyRootFilesystem),
@@ -2614,36 +2496,36 @@ const deserializeAws_restJson1EksContainerSecurityContext = (output, context) =>
2614
2496
  runAsUser: __expectLong(output.runAsUser),
2615
2497
  };
2616
2498
  };
2617
- const deserializeAws_restJson1EksContainerVolumeMount = (output, context) => {
2499
+ const de_EksContainerVolumeMount = (output, context) => {
2618
2500
  return {
2619
2501
  mountPath: __expectString(output.mountPath),
2620
2502
  name: __expectString(output.name),
2621
2503
  readOnly: __expectBoolean(output.readOnly),
2622
2504
  };
2623
2505
  };
2624
- const deserializeAws_restJson1EksContainerVolumeMounts = (output, context) => {
2506
+ const de_EksContainerVolumeMounts = (output, context) => {
2625
2507
  const retVal = (output || [])
2626
2508
  .filter((e) => e != null)
2627
2509
  .map((entry) => {
2628
2510
  if (entry === null) {
2629
2511
  return null;
2630
2512
  }
2631
- return deserializeAws_restJson1EksContainerVolumeMount(entry, context);
2513
+ return de_EksContainerVolumeMount(entry, context);
2632
2514
  });
2633
2515
  return retVal;
2634
2516
  };
2635
- const deserializeAws_restJson1EksEmptyDir = (output, context) => {
2517
+ const de_EksEmptyDir = (output, context) => {
2636
2518
  return {
2637
2519
  medium: __expectString(output.medium),
2638
2520
  sizeLimit: __expectString(output.sizeLimit),
2639
2521
  };
2640
2522
  };
2641
- const deserializeAws_restJson1EksHostPath = (output, context) => {
2523
+ const de_EksHostPath = (output, context) => {
2642
2524
  return {
2643
2525
  path: __expectString(output.path),
2644
2526
  };
2645
2527
  };
2646
- const deserializeAws_restJson1EksLabelsMap = (output, context) => {
2528
+ const de_EksLabelsMap = (output, context) => {
2647
2529
  return Object.entries(output).reduce((acc, [key, value]) => {
2648
2530
  if (value === null) {
2649
2531
  return acc;
@@ -2652,7 +2534,7 @@ const deserializeAws_restJson1EksLabelsMap = (output, context) => {
2652
2534
  return acc;
2653
2535
  }, {});
2654
2536
  };
2655
- const deserializeAws_restJson1EksLimits = (output, context) => {
2537
+ const de_EksLimits = (output, context) => {
2656
2538
  return Object.entries(output).reduce((acc, [key, value]) => {
2657
2539
  if (value === null) {
2658
2540
  return acc;
@@ -2661,48 +2543,44 @@ const deserializeAws_restJson1EksLimits = (output, context) => {
2661
2543
  return acc;
2662
2544
  }, {});
2663
2545
  };
2664
- const deserializeAws_restJson1EksMetadata = (output, context) => {
2546
+ const de_EksMetadata = (output, context) => {
2665
2547
  return {
2666
- labels: output.labels != null ? deserializeAws_restJson1EksLabelsMap(output.labels, context) : undefined,
2548
+ labels: output.labels != null ? de_EksLabelsMap(output.labels, context) : undefined,
2667
2549
  };
2668
2550
  };
2669
- const deserializeAws_restJson1EksPodProperties = (output, context) => {
2551
+ const de_EksPodProperties = (output, context) => {
2670
2552
  return {
2671
- containers: output.containers != null ? deserializeAws_restJson1EksContainers(output.containers, context) : undefined,
2553
+ containers: output.containers != null ? de_EksContainers(output.containers, context) : undefined,
2672
2554
  dnsPolicy: __expectString(output.dnsPolicy),
2673
2555
  hostNetwork: __expectBoolean(output.hostNetwork),
2674
- metadata: output.metadata != null ? deserializeAws_restJson1EksMetadata(output.metadata, context) : undefined,
2556
+ metadata: output.metadata != null ? de_EksMetadata(output.metadata, context) : undefined,
2675
2557
  serviceAccountName: __expectString(output.serviceAccountName),
2676
- volumes: output.volumes != null ? deserializeAws_restJson1EksVolumes(output.volumes, context) : undefined,
2558
+ volumes: output.volumes != null ? de_EksVolumes(output.volumes, context) : undefined,
2677
2559
  };
2678
2560
  };
2679
- const deserializeAws_restJson1EksPodPropertiesDetail = (output, context) => {
2561
+ const de_EksPodPropertiesDetail = (output, context) => {
2680
2562
  return {
2681
- containers: output.containers != null ? deserializeAws_restJson1EksContainerDetails(output.containers, context) : undefined,
2563
+ containers: output.containers != null ? de_EksContainerDetails(output.containers, context) : undefined,
2682
2564
  dnsPolicy: __expectString(output.dnsPolicy),
2683
2565
  hostNetwork: __expectBoolean(output.hostNetwork),
2684
- metadata: output.metadata != null ? deserializeAws_restJson1EksMetadata(output.metadata, context) : undefined,
2566
+ metadata: output.metadata != null ? de_EksMetadata(output.metadata, context) : undefined,
2685
2567
  nodeName: __expectString(output.nodeName),
2686
2568
  podName: __expectString(output.podName),
2687
2569
  serviceAccountName: __expectString(output.serviceAccountName),
2688
- volumes: output.volumes != null ? deserializeAws_restJson1EksVolumes(output.volumes, context) : undefined,
2570
+ volumes: output.volumes != null ? de_EksVolumes(output.volumes, context) : undefined,
2689
2571
  };
2690
2572
  };
2691
- const deserializeAws_restJson1EksProperties = (output, context) => {
2573
+ const de_EksProperties = (output, context) => {
2692
2574
  return {
2693
- podProperties: output.podProperties != null
2694
- ? deserializeAws_restJson1EksPodProperties(output.podProperties, context)
2695
- : undefined,
2575
+ podProperties: output.podProperties != null ? de_EksPodProperties(output.podProperties, context) : undefined,
2696
2576
  };
2697
2577
  };
2698
- const deserializeAws_restJson1EksPropertiesDetail = (output, context) => {
2578
+ const de_EksPropertiesDetail = (output, context) => {
2699
2579
  return {
2700
- podProperties: output.podProperties != null
2701
- ? deserializeAws_restJson1EksPodPropertiesDetail(output.podProperties, context)
2702
- : undefined,
2580
+ podProperties: output.podProperties != null ? de_EksPodPropertiesDetail(output.podProperties, context) : undefined,
2703
2581
  };
2704
2582
  };
2705
- const deserializeAws_restJson1EksRequests = (output, context) => {
2583
+ const de_EksRequests = (output, context) => {
2706
2584
  return Object.entries(output).reduce((acc, [key, value]) => {
2707
2585
  if (value === null) {
2708
2586
  return acc;
@@ -2711,48 +2589,48 @@ const deserializeAws_restJson1EksRequests = (output, context) => {
2711
2589
  return acc;
2712
2590
  }, {});
2713
2591
  };
2714
- const deserializeAws_restJson1EksSecret = (output, context) => {
2592
+ const de_EksSecret = (output, context) => {
2715
2593
  return {
2716
2594
  optional: __expectBoolean(output.optional),
2717
2595
  secretName: __expectString(output.secretName),
2718
2596
  };
2719
2597
  };
2720
- const deserializeAws_restJson1EksVolume = (output, context) => {
2598
+ const de_EksVolume = (output, context) => {
2721
2599
  return {
2722
- emptyDir: output.emptyDir != null ? deserializeAws_restJson1EksEmptyDir(output.emptyDir, context) : undefined,
2723
- hostPath: output.hostPath != null ? deserializeAws_restJson1EksHostPath(output.hostPath, context) : undefined,
2600
+ emptyDir: output.emptyDir != null ? de_EksEmptyDir(output.emptyDir, context) : undefined,
2601
+ hostPath: output.hostPath != null ? de_EksHostPath(output.hostPath, context) : undefined,
2724
2602
  name: __expectString(output.name),
2725
- secret: output.secret != null ? deserializeAws_restJson1EksSecret(output.secret, context) : undefined,
2603
+ secret: output.secret != null ? de_EksSecret(output.secret, context) : undefined,
2726
2604
  };
2727
2605
  };
2728
- const deserializeAws_restJson1EksVolumes = (output, context) => {
2606
+ const de_EksVolumes = (output, context) => {
2729
2607
  const retVal = (output || [])
2730
2608
  .filter((e) => e != null)
2731
2609
  .map((entry) => {
2732
2610
  if (entry === null) {
2733
2611
  return null;
2734
2612
  }
2735
- return deserializeAws_restJson1EksVolume(entry, context);
2613
+ return de_EksVolume(entry, context);
2736
2614
  });
2737
2615
  return retVal;
2738
2616
  };
2739
- const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
2617
+ const de_EnvironmentVariables = (output, context) => {
2740
2618
  const retVal = (output || [])
2741
2619
  .filter((e) => e != null)
2742
2620
  .map((entry) => {
2743
2621
  if (entry === null) {
2744
2622
  return null;
2745
2623
  }
2746
- return deserializeAws_restJson1KeyValuePair(entry, context);
2624
+ return de_KeyValuePair(entry, context);
2747
2625
  });
2748
2626
  return retVal;
2749
2627
  };
2750
- const deserializeAws_restJson1EphemeralStorage = (output, context) => {
2628
+ const de_EphemeralStorage = (output, context) => {
2751
2629
  return {
2752
2630
  sizeInGiB: __expectInt32(output.sizeInGiB),
2753
2631
  };
2754
2632
  };
2755
- const deserializeAws_restJson1EvaluateOnExit = (output, context) => {
2633
+ const de_EvaluateOnExit = (output, context) => {
2756
2634
  return {
2757
2635
  action: __expectString(output.action),
2758
2636
  onExitCode: __expectString(output.onExitCode),
@@ -2760,103 +2638,91 @@ const deserializeAws_restJson1EvaluateOnExit = (output, context) => {
2760
2638
  onStatusReason: __expectString(output.onStatusReason),
2761
2639
  };
2762
2640
  };
2763
- const deserializeAws_restJson1EvaluateOnExitList = (output, context) => {
2641
+ const de_EvaluateOnExitList = (output, context) => {
2764
2642
  const retVal = (output || [])
2765
2643
  .filter((e) => e != null)
2766
2644
  .map((entry) => {
2767
2645
  if (entry === null) {
2768
2646
  return null;
2769
2647
  }
2770
- return deserializeAws_restJson1EvaluateOnExit(entry, context);
2648
+ return de_EvaluateOnExit(entry, context);
2771
2649
  });
2772
2650
  return retVal;
2773
2651
  };
2774
- const deserializeAws_restJson1FairsharePolicy = (output, context) => {
2652
+ const de_FairsharePolicy = (output, context) => {
2775
2653
  return {
2776
2654
  computeReservation: __expectInt32(output.computeReservation),
2777
2655
  shareDecaySeconds: __expectInt32(output.shareDecaySeconds),
2778
- shareDistribution: output.shareDistribution != null
2779
- ? deserializeAws_restJson1ShareAttributesList(output.shareDistribution, context)
2780
- : undefined,
2656
+ shareDistribution: output.shareDistribution != null ? de_ShareAttributesList(output.shareDistribution, context) : undefined,
2781
2657
  };
2782
2658
  };
2783
- const deserializeAws_restJson1FargatePlatformConfiguration = (output, context) => {
2659
+ const de_FargatePlatformConfiguration = (output, context) => {
2784
2660
  return {
2785
2661
  platformVersion: __expectString(output.platformVersion),
2786
2662
  };
2787
2663
  };
2788
- const deserializeAws_restJson1Host = (output, context) => {
2664
+ const de_Host = (output, context) => {
2789
2665
  return {
2790
2666
  sourcePath: __expectString(output.sourcePath),
2791
2667
  };
2792
2668
  };
2793
- const deserializeAws_restJson1JobDefinition = (output, context) => {
2669
+ const de_JobDefinition = (output, context) => {
2794
2670
  return {
2795
2671
  containerOrchestrationType: __expectString(output.containerOrchestrationType),
2796
- containerProperties: output.containerProperties != null
2797
- ? deserializeAws_restJson1ContainerProperties(output.containerProperties, context)
2798
- : undefined,
2799
- eksProperties: output.eksProperties != null ? deserializeAws_restJson1EksProperties(output.eksProperties, context) : undefined,
2672
+ containerProperties: output.containerProperties != null ? de_ContainerProperties(output.containerProperties, context) : undefined,
2673
+ eksProperties: output.eksProperties != null ? de_EksProperties(output.eksProperties, context) : undefined,
2800
2674
  jobDefinitionArn: __expectString(output.jobDefinitionArn),
2801
2675
  jobDefinitionName: __expectString(output.jobDefinitionName),
2802
- nodeProperties: output.nodeProperties != null
2803
- ? deserializeAws_restJson1NodeProperties(output.nodeProperties, context)
2804
- : undefined,
2805
- parameters: output.parameters != null ? deserializeAws_restJson1ParametersMap(output.parameters, context) : undefined,
2806
- platformCapabilities: output.platformCapabilities != null
2807
- ? deserializeAws_restJson1PlatformCapabilityList(output.platformCapabilities, context)
2808
- : undefined,
2676
+ nodeProperties: output.nodeProperties != null ? de_NodeProperties(output.nodeProperties, context) : undefined,
2677
+ parameters: output.parameters != null ? de_ParametersMap(output.parameters, context) : undefined,
2678
+ platformCapabilities: output.platformCapabilities != null ? de_PlatformCapabilityList(output.platformCapabilities, context) : undefined,
2809
2679
  propagateTags: __expectBoolean(output.propagateTags),
2810
- retryStrategy: output.retryStrategy != null ? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context) : undefined,
2680
+ retryStrategy: output.retryStrategy != null ? de_RetryStrategy(output.retryStrategy, context) : undefined,
2811
2681
  revision: __expectInt32(output.revision),
2812
2682
  schedulingPriority: __expectInt32(output.schedulingPriority),
2813
2683
  status: __expectString(output.status),
2814
- tags: output.tags != null ? deserializeAws_restJson1TagrisTagsMap(output.tags, context) : undefined,
2815
- timeout: output.timeout != null ? deserializeAws_restJson1JobTimeout(output.timeout, context) : undefined,
2684
+ tags: output.tags != null ? de_TagrisTagsMap(output.tags, context) : undefined,
2685
+ timeout: output.timeout != null ? de_JobTimeout(output.timeout, context) : undefined,
2816
2686
  type: __expectString(output.type),
2817
2687
  };
2818
2688
  };
2819
- const deserializeAws_restJson1JobDefinitionList = (output, context) => {
2689
+ const de_JobDefinitionList = (output, context) => {
2820
2690
  const retVal = (output || [])
2821
2691
  .filter((e) => e != null)
2822
2692
  .map((entry) => {
2823
2693
  if (entry === null) {
2824
2694
  return null;
2825
2695
  }
2826
- return deserializeAws_restJson1JobDefinition(entry, context);
2696
+ return de_JobDefinition(entry, context);
2827
2697
  });
2828
2698
  return retVal;
2829
2699
  };
2830
- const deserializeAws_restJson1JobDependency = (output, context) => {
2700
+ const de_JobDependency = (output, context) => {
2831
2701
  return {
2832
2702
  jobId: __expectString(output.jobId),
2833
2703
  type: __expectString(output.type),
2834
2704
  };
2835
2705
  };
2836
- const deserializeAws_restJson1JobDependencyList = (output, context) => {
2706
+ const de_JobDependencyList = (output, context) => {
2837
2707
  const retVal = (output || [])
2838
2708
  .filter((e) => e != null)
2839
2709
  .map((entry) => {
2840
2710
  if (entry === null) {
2841
2711
  return null;
2842
2712
  }
2843
- return deserializeAws_restJson1JobDependency(entry, context);
2713
+ return de_JobDependency(entry, context);
2844
2714
  });
2845
2715
  return retVal;
2846
2716
  };
2847
- const deserializeAws_restJson1JobDetail = (output, context) => {
2717
+ const de_JobDetail = (output, context) => {
2848
2718
  return {
2849
- arrayProperties: output.arrayProperties != null
2850
- ? deserializeAws_restJson1ArrayPropertiesDetail(output.arrayProperties, context)
2851
- : undefined,
2852
- attempts: output.attempts != null ? deserializeAws_restJson1AttemptDetails(output.attempts, context) : undefined,
2853
- container: output.container != null ? deserializeAws_restJson1ContainerDetail(output.container, context) : undefined,
2719
+ arrayProperties: output.arrayProperties != null ? de_ArrayPropertiesDetail(output.arrayProperties, context) : undefined,
2720
+ attempts: output.attempts != null ? de_AttemptDetails(output.attempts, context) : undefined,
2721
+ container: output.container != null ? de_ContainerDetail(output.container, context) : undefined,
2854
2722
  createdAt: __expectLong(output.createdAt),
2855
- dependsOn: output.dependsOn != null ? deserializeAws_restJson1JobDependencyList(output.dependsOn, context) : undefined,
2856
- eksAttempts: output.eksAttempts != null ? deserializeAws_restJson1EksAttemptDetails(output.eksAttempts, context) : undefined,
2857
- eksProperties: output.eksProperties != null
2858
- ? deserializeAws_restJson1EksPropertiesDetail(output.eksProperties, context)
2859
- : undefined,
2723
+ dependsOn: output.dependsOn != null ? de_JobDependencyList(output.dependsOn, context) : undefined,
2724
+ eksAttempts: output.eksAttempts != null ? de_EksAttemptDetails(output.eksAttempts, context) : undefined,
2725
+ eksProperties: output.eksProperties != null ? de_EksPropertiesDetail(output.eksProperties, context) : undefined,
2860
2726
  isCancelled: __expectBoolean(output.isCancelled),
2861
2727
  isTerminated: __expectBoolean(output.isTerminated),
2862
2728
  jobArn: __expectString(output.jobArn),
@@ -2864,41 +2730,37 @@ const deserializeAws_restJson1JobDetail = (output, context) => {
2864
2730
  jobId: __expectString(output.jobId),
2865
2731
  jobName: __expectString(output.jobName),
2866
2732
  jobQueue: __expectString(output.jobQueue),
2867
- nodeDetails: output.nodeDetails != null ? deserializeAws_restJson1NodeDetails(output.nodeDetails, context) : undefined,
2868
- nodeProperties: output.nodeProperties != null
2869
- ? deserializeAws_restJson1NodeProperties(output.nodeProperties, context)
2870
- : undefined,
2871
- parameters: output.parameters != null ? deserializeAws_restJson1ParametersMap(output.parameters, context) : undefined,
2872
- platformCapabilities: output.platformCapabilities != null
2873
- ? deserializeAws_restJson1PlatformCapabilityList(output.platformCapabilities, context)
2874
- : undefined,
2733
+ nodeDetails: output.nodeDetails != null ? de_NodeDetails(output.nodeDetails, context) : undefined,
2734
+ nodeProperties: output.nodeProperties != null ? de_NodeProperties(output.nodeProperties, context) : undefined,
2735
+ parameters: output.parameters != null ? de_ParametersMap(output.parameters, context) : undefined,
2736
+ platformCapabilities: output.platformCapabilities != null ? de_PlatformCapabilityList(output.platformCapabilities, context) : undefined,
2875
2737
  propagateTags: __expectBoolean(output.propagateTags),
2876
- retryStrategy: output.retryStrategy != null ? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context) : undefined,
2738
+ retryStrategy: output.retryStrategy != null ? de_RetryStrategy(output.retryStrategy, context) : undefined,
2877
2739
  schedulingPriority: __expectInt32(output.schedulingPriority),
2878
2740
  shareIdentifier: __expectString(output.shareIdentifier),
2879
2741
  startedAt: __expectLong(output.startedAt),
2880
2742
  status: __expectString(output.status),
2881
2743
  statusReason: __expectString(output.statusReason),
2882
2744
  stoppedAt: __expectLong(output.stoppedAt),
2883
- tags: output.tags != null ? deserializeAws_restJson1TagrisTagsMap(output.tags, context) : undefined,
2884
- timeout: output.timeout != null ? deserializeAws_restJson1JobTimeout(output.timeout, context) : undefined,
2745
+ tags: output.tags != null ? de_TagrisTagsMap(output.tags, context) : undefined,
2746
+ timeout: output.timeout != null ? de_JobTimeout(output.timeout, context) : undefined,
2885
2747
  };
2886
2748
  };
2887
- const deserializeAws_restJson1JobDetailList = (output, context) => {
2749
+ const de_JobDetailList = (output, context) => {
2888
2750
  const retVal = (output || [])
2889
2751
  .filter((e) => e != null)
2890
2752
  .map((entry) => {
2891
2753
  if (entry === null) {
2892
2754
  return null;
2893
2755
  }
2894
- return deserializeAws_restJson1JobDetail(entry, context);
2756
+ return de_JobDetail(entry, context);
2895
2757
  });
2896
2758
  return retVal;
2897
2759
  };
2898
- const deserializeAws_restJson1JobQueueDetail = (output, context) => {
2760
+ const de_JobQueueDetail = (output, context) => {
2899
2761
  return {
2900
2762
  computeEnvironmentOrder: output.computeEnvironmentOrder != null
2901
- ? deserializeAws_restJson1ComputeEnvironmentOrders(output.computeEnvironmentOrder, context)
2763
+ ? de_ComputeEnvironmentOrders(output.computeEnvironmentOrder, context)
2902
2764
  : undefined,
2903
2765
  jobQueueArn: __expectString(output.jobQueueArn),
2904
2766
  jobQueueName: __expectString(output.jobQueueName),
@@ -2907,87 +2769,83 @@ const deserializeAws_restJson1JobQueueDetail = (output, context) => {
2907
2769
  state: __expectString(output.state),
2908
2770
  status: __expectString(output.status),
2909
2771
  statusReason: __expectString(output.statusReason),
2910
- tags: output.tags != null ? deserializeAws_restJson1TagrisTagsMap(output.tags, context) : undefined,
2772
+ tags: output.tags != null ? de_TagrisTagsMap(output.tags, context) : undefined,
2911
2773
  };
2912
2774
  };
2913
- const deserializeAws_restJson1JobQueueDetailList = (output, context) => {
2775
+ const de_JobQueueDetailList = (output, context) => {
2914
2776
  const retVal = (output || [])
2915
2777
  .filter((e) => e != null)
2916
2778
  .map((entry) => {
2917
2779
  if (entry === null) {
2918
2780
  return null;
2919
2781
  }
2920
- return deserializeAws_restJson1JobQueueDetail(entry, context);
2782
+ return de_JobQueueDetail(entry, context);
2921
2783
  });
2922
2784
  return retVal;
2923
2785
  };
2924
- const deserializeAws_restJson1JobSummary = (output, context) => {
2786
+ const de_JobSummary = (output, context) => {
2925
2787
  return {
2926
- arrayProperties: output.arrayProperties != null
2927
- ? deserializeAws_restJson1ArrayPropertiesSummary(output.arrayProperties, context)
2928
- : undefined,
2929
- container: output.container != null ? deserializeAws_restJson1ContainerSummary(output.container, context) : undefined,
2788
+ arrayProperties: output.arrayProperties != null ? de_ArrayPropertiesSummary(output.arrayProperties, context) : undefined,
2789
+ container: output.container != null ? de_ContainerSummary(output.container, context) : undefined,
2930
2790
  createdAt: __expectLong(output.createdAt),
2931
2791
  jobArn: __expectString(output.jobArn),
2932
2792
  jobDefinition: __expectString(output.jobDefinition),
2933
2793
  jobId: __expectString(output.jobId),
2934
2794
  jobName: __expectString(output.jobName),
2935
- nodeProperties: output.nodeProperties != null
2936
- ? deserializeAws_restJson1NodePropertiesSummary(output.nodeProperties, context)
2937
- : undefined,
2795
+ nodeProperties: output.nodeProperties != null ? de_NodePropertiesSummary(output.nodeProperties, context) : undefined,
2938
2796
  startedAt: __expectLong(output.startedAt),
2939
2797
  status: __expectString(output.status),
2940
2798
  statusReason: __expectString(output.statusReason),
2941
2799
  stoppedAt: __expectLong(output.stoppedAt),
2942
2800
  };
2943
2801
  };
2944
- const deserializeAws_restJson1JobSummaryList = (output, context) => {
2802
+ const de_JobSummaryList = (output, context) => {
2945
2803
  const retVal = (output || [])
2946
2804
  .filter((e) => e != null)
2947
2805
  .map((entry) => {
2948
2806
  if (entry === null) {
2949
2807
  return null;
2950
2808
  }
2951
- return deserializeAws_restJson1JobSummary(entry, context);
2809
+ return de_JobSummary(entry, context);
2952
2810
  });
2953
2811
  return retVal;
2954
2812
  };
2955
- const deserializeAws_restJson1JobTimeout = (output, context) => {
2813
+ const de_JobTimeout = (output, context) => {
2956
2814
  return {
2957
2815
  attemptDurationSeconds: __expectInt32(output.attemptDurationSeconds),
2958
2816
  };
2959
2817
  };
2960
- const deserializeAws_restJson1KeyValuePair = (output, context) => {
2818
+ const de_KeyValuePair = (output, context) => {
2961
2819
  return {
2962
2820
  name: __expectString(output.name),
2963
2821
  value: __expectString(output.value),
2964
2822
  };
2965
2823
  };
2966
- const deserializeAws_restJson1LaunchTemplateSpecification = (output, context) => {
2824
+ const de_LaunchTemplateSpecification = (output, context) => {
2967
2825
  return {
2968
2826
  launchTemplateId: __expectString(output.launchTemplateId),
2969
2827
  launchTemplateName: __expectString(output.launchTemplateName),
2970
2828
  version: __expectString(output.version),
2971
2829
  };
2972
2830
  };
2973
- const deserializeAws_restJson1LinuxParameters = (output, context) => {
2831
+ const de_LinuxParameters = (output, context) => {
2974
2832
  return {
2975
- devices: output.devices != null ? deserializeAws_restJson1DevicesList(output.devices, context) : undefined,
2833
+ devices: output.devices != null ? de_DevicesList(output.devices, context) : undefined,
2976
2834
  initProcessEnabled: __expectBoolean(output.initProcessEnabled),
2977
2835
  maxSwap: __expectInt32(output.maxSwap),
2978
2836
  sharedMemorySize: __expectInt32(output.sharedMemorySize),
2979
2837
  swappiness: __expectInt32(output.swappiness),
2980
- tmpfs: output.tmpfs != null ? deserializeAws_restJson1TmpfsList(output.tmpfs, context) : undefined,
2838
+ tmpfs: output.tmpfs != null ? de_TmpfsList(output.tmpfs, context) : undefined,
2981
2839
  };
2982
2840
  };
2983
- const deserializeAws_restJson1LogConfiguration = (output, context) => {
2841
+ const de_LogConfiguration = (output, context) => {
2984
2842
  return {
2985
2843
  logDriver: __expectString(output.logDriver),
2986
- options: output.options != null ? deserializeAws_restJson1LogConfigurationOptionsMap(output.options, context) : undefined,
2987
- secretOptions: output.secretOptions != null ? deserializeAws_restJson1SecretList(output.secretOptions, context) : undefined,
2844
+ options: output.options != null ? de_LogConfigurationOptionsMap(output.options, context) : undefined,
2845
+ secretOptions: output.secretOptions != null ? de_SecretList(output.secretOptions, context) : undefined,
2988
2846
  };
2989
2847
  };
2990
- const deserializeAws_restJson1LogConfigurationOptionsMap = (output, context) => {
2848
+ const de_LogConfigurationOptionsMap = (output, context) => {
2991
2849
  return Object.entries(output).reduce((acc, [key, value]) => {
2992
2850
  if (value === null) {
2993
2851
  return acc;
@@ -2996,87 +2854,85 @@ const deserializeAws_restJson1LogConfigurationOptionsMap = (output, context) =>
2996
2854
  return acc;
2997
2855
  }, {});
2998
2856
  };
2999
- const deserializeAws_restJson1MountPoint = (output, context) => {
2857
+ const de_MountPoint = (output, context) => {
3000
2858
  return {
3001
2859
  containerPath: __expectString(output.containerPath),
3002
2860
  readOnly: __expectBoolean(output.readOnly),
3003
2861
  sourceVolume: __expectString(output.sourceVolume),
3004
2862
  };
3005
2863
  };
3006
- const deserializeAws_restJson1MountPoints = (output, context) => {
2864
+ const de_MountPoints = (output, context) => {
3007
2865
  const retVal = (output || [])
3008
2866
  .filter((e) => e != null)
3009
2867
  .map((entry) => {
3010
2868
  if (entry === null) {
3011
2869
  return null;
3012
2870
  }
3013
- return deserializeAws_restJson1MountPoint(entry, context);
2871
+ return de_MountPoint(entry, context);
3014
2872
  });
3015
2873
  return retVal;
3016
2874
  };
3017
- const deserializeAws_restJson1NetworkConfiguration = (output, context) => {
2875
+ const de_NetworkConfiguration = (output, context) => {
3018
2876
  return {
3019
2877
  assignPublicIp: __expectString(output.assignPublicIp),
3020
2878
  };
3021
2879
  };
3022
- const deserializeAws_restJson1NetworkInterface = (output, context) => {
2880
+ const de_NetworkInterface = (output, context) => {
3023
2881
  return {
3024
2882
  attachmentId: __expectString(output.attachmentId),
3025
2883
  ipv6Address: __expectString(output.ipv6Address),
3026
2884
  privateIpv4Address: __expectString(output.privateIpv4Address),
3027
2885
  };
3028
2886
  };
3029
- const deserializeAws_restJson1NetworkInterfaceList = (output, context) => {
2887
+ const de_NetworkInterfaceList = (output, context) => {
3030
2888
  const retVal = (output || [])
3031
2889
  .filter((e) => e != null)
3032
2890
  .map((entry) => {
3033
2891
  if (entry === null) {
3034
2892
  return null;
3035
2893
  }
3036
- return deserializeAws_restJson1NetworkInterface(entry, context);
2894
+ return de_NetworkInterface(entry, context);
3037
2895
  });
3038
2896
  return retVal;
3039
2897
  };
3040
- const deserializeAws_restJson1NodeDetails = (output, context) => {
2898
+ const de_NodeDetails = (output, context) => {
3041
2899
  return {
3042
2900
  isMainNode: __expectBoolean(output.isMainNode),
3043
2901
  nodeIndex: __expectInt32(output.nodeIndex),
3044
2902
  };
3045
2903
  };
3046
- const deserializeAws_restJson1NodeProperties = (output, context) => {
2904
+ const de_NodeProperties = (output, context) => {
3047
2905
  return {
3048
2906
  mainNode: __expectInt32(output.mainNode),
3049
- nodeRangeProperties: output.nodeRangeProperties != null
3050
- ? deserializeAws_restJson1NodeRangeProperties(output.nodeRangeProperties, context)
3051
- : undefined,
2907
+ nodeRangeProperties: output.nodeRangeProperties != null ? de_NodeRangeProperties(output.nodeRangeProperties, context) : undefined,
3052
2908
  numNodes: __expectInt32(output.numNodes),
3053
2909
  };
3054
2910
  };
3055
- const deserializeAws_restJson1NodePropertiesSummary = (output, context) => {
2911
+ const de_NodePropertiesSummary = (output, context) => {
3056
2912
  return {
3057
2913
  isMainNode: __expectBoolean(output.isMainNode),
3058
2914
  nodeIndex: __expectInt32(output.nodeIndex),
3059
2915
  numNodes: __expectInt32(output.numNodes),
3060
2916
  };
3061
2917
  };
3062
- const deserializeAws_restJson1NodeRangeProperties = (output, context) => {
2918
+ const de_NodeRangeProperties = (output, context) => {
3063
2919
  const retVal = (output || [])
3064
2920
  .filter((e) => e != null)
3065
2921
  .map((entry) => {
3066
2922
  if (entry === null) {
3067
2923
  return null;
3068
2924
  }
3069
- return deserializeAws_restJson1NodeRangeProperty(entry, context);
2925
+ return de_NodeRangeProperty(entry, context);
3070
2926
  });
3071
2927
  return retVal;
3072
2928
  };
3073
- const deserializeAws_restJson1NodeRangeProperty = (output, context) => {
2929
+ const de_NodeRangeProperty = (output, context) => {
3074
2930
  return {
3075
- container: output.container != null ? deserializeAws_restJson1ContainerProperties(output.container, context) : undefined,
2931
+ container: output.container != null ? de_ContainerProperties(output.container, context) : undefined,
3076
2932
  targetNodes: __expectString(output.targetNodes),
3077
2933
  };
3078
2934
  };
3079
- const deserializeAws_restJson1ParametersMap = (output, context) => {
2935
+ const de_ParametersMap = (output, context) => {
3080
2936
  return Object.entries(output).reduce((acc, [key, value]) => {
3081
2937
  if (value === null) {
3082
2938
  return acc;
@@ -3085,7 +2941,7 @@ const deserializeAws_restJson1ParametersMap = (output, context) => {
3085
2941
  return acc;
3086
2942
  }, {});
3087
2943
  };
3088
- const deserializeAws_restJson1PlatformCapabilityList = (output, context) => {
2944
+ const de_PlatformCapabilityList = (output, context) => {
3089
2945
  const retVal = (output || [])
3090
2946
  .filter((e) => e != null)
3091
2947
  .map((entry) => {
@@ -3096,103 +2952,99 @@ const deserializeAws_restJson1PlatformCapabilityList = (output, context) => {
3096
2952
  });
3097
2953
  return retVal;
3098
2954
  };
3099
- const deserializeAws_restJson1ResourceRequirement = (output, context) => {
2955
+ const de_ResourceRequirement = (output, context) => {
3100
2956
  return {
3101
2957
  type: __expectString(output.type),
3102
2958
  value: __expectString(output.value),
3103
2959
  };
3104
2960
  };
3105
- const deserializeAws_restJson1ResourceRequirements = (output, context) => {
2961
+ const de_ResourceRequirements = (output, context) => {
3106
2962
  const retVal = (output || [])
3107
2963
  .filter((e) => e != null)
3108
2964
  .map((entry) => {
3109
2965
  if (entry === null) {
3110
2966
  return null;
3111
2967
  }
3112
- return deserializeAws_restJson1ResourceRequirement(entry, context);
2968
+ return de_ResourceRequirement(entry, context);
3113
2969
  });
3114
2970
  return retVal;
3115
2971
  };
3116
- const deserializeAws_restJson1RetryStrategy = (output, context) => {
2972
+ const de_RetryStrategy = (output, context) => {
3117
2973
  return {
3118
2974
  attempts: __expectInt32(output.attempts),
3119
- evaluateOnExit: output.evaluateOnExit != null
3120
- ? deserializeAws_restJson1EvaluateOnExitList(output.evaluateOnExit, context)
3121
- : undefined,
2975
+ evaluateOnExit: output.evaluateOnExit != null ? de_EvaluateOnExitList(output.evaluateOnExit, context) : undefined,
3122
2976
  };
3123
2977
  };
3124
- const deserializeAws_restJson1SchedulingPolicyDetail = (output, context) => {
2978
+ const de_SchedulingPolicyDetail = (output, context) => {
3125
2979
  return {
3126
2980
  arn: __expectString(output.arn),
3127
- fairsharePolicy: output.fairsharePolicy != null
3128
- ? deserializeAws_restJson1FairsharePolicy(output.fairsharePolicy, context)
3129
- : undefined,
2981
+ fairsharePolicy: output.fairsharePolicy != null ? de_FairsharePolicy(output.fairsharePolicy, context) : undefined,
3130
2982
  name: __expectString(output.name),
3131
- tags: output.tags != null ? deserializeAws_restJson1TagrisTagsMap(output.tags, context) : undefined,
2983
+ tags: output.tags != null ? de_TagrisTagsMap(output.tags, context) : undefined,
3132
2984
  };
3133
2985
  };
3134
- const deserializeAws_restJson1SchedulingPolicyDetailList = (output, context) => {
2986
+ const de_SchedulingPolicyDetailList = (output, context) => {
3135
2987
  const retVal = (output || [])
3136
2988
  .filter((e) => e != null)
3137
2989
  .map((entry) => {
3138
2990
  if (entry === null) {
3139
2991
  return null;
3140
2992
  }
3141
- return deserializeAws_restJson1SchedulingPolicyDetail(entry, context);
2993
+ return de_SchedulingPolicyDetail(entry, context);
3142
2994
  });
3143
2995
  return retVal;
3144
2996
  };
3145
- const deserializeAws_restJson1SchedulingPolicyListingDetail = (output, context) => {
2997
+ const de_SchedulingPolicyListingDetail = (output, context) => {
3146
2998
  return {
3147
2999
  arn: __expectString(output.arn),
3148
3000
  };
3149
3001
  };
3150
- const deserializeAws_restJson1SchedulingPolicyListingDetailList = (output, context) => {
3002
+ const de_SchedulingPolicyListingDetailList = (output, context) => {
3151
3003
  const retVal = (output || [])
3152
3004
  .filter((e) => e != null)
3153
3005
  .map((entry) => {
3154
3006
  if (entry === null) {
3155
3007
  return null;
3156
3008
  }
3157
- return deserializeAws_restJson1SchedulingPolicyListingDetail(entry, context);
3009
+ return de_SchedulingPolicyListingDetail(entry, context);
3158
3010
  });
3159
3011
  return retVal;
3160
3012
  };
3161
- const deserializeAws_restJson1Secret = (output, context) => {
3013
+ const de_Secret = (output, context) => {
3162
3014
  return {
3163
3015
  name: __expectString(output.name),
3164
3016
  valueFrom: __expectString(output.valueFrom),
3165
3017
  };
3166
3018
  };
3167
- const deserializeAws_restJson1SecretList = (output, context) => {
3019
+ const de_SecretList = (output, context) => {
3168
3020
  const retVal = (output || [])
3169
3021
  .filter((e) => e != null)
3170
3022
  .map((entry) => {
3171
3023
  if (entry === null) {
3172
3024
  return null;
3173
3025
  }
3174
- return deserializeAws_restJson1Secret(entry, context);
3026
+ return de_Secret(entry, context);
3175
3027
  });
3176
3028
  return retVal;
3177
3029
  };
3178
- const deserializeAws_restJson1ShareAttributes = (output, context) => {
3030
+ const de_ShareAttributes = (output, context) => {
3179
3031
  return {
3180
3032
  shareIdentifier: __expectString(output.shareIdentifier),
3181
3033
  weightFactor: __limitedParseFloat32(output.weightFactor),
3182
3034
  };
3183
3035
  };
3184
- const deserializeAws_restJson1ShareAttributesList = (output, context) => {
3036
+ const de_ShareAttributesList = (output, context) => {
3185
3037
  const retVal = (output || [])
3186
3038
  .filter((e) => e != null)
3187
3039
  .map((entry) => {
3188
3040
  if (entry === null) {
3189
3041
  return null;
3190
3042
  }
3191
- return deserializeAws_restJson1ShareAttributes(entry, context);
3043
+ return de_ShareAttributes(entry, context);
3192
3044
  });
3193
3045
  return retVal;
3194
3046
  };
3195
- const deserializeAws_restJson1StringList = (output, context) => {
3047
+ const de_StringList = (output, context) => {
3196
3048
  const retVal = (output || [])
3197
3049
  .filter((e) => e != null)
3198
3050
  .map((entry) => {
@@ -3203,7 +3055,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
3203
3055
  });
3204
3056
  return retVal;
3205
3057
  };
3206
- const deserializeAws_restJson1TagrisTagsMap = (output, context) => {
3058
+ const de_TagrisTagsMap = (output, context) => {
3207
3059
  return Object.entries(output).reduce((acc, [key, value]) => {
3208
3060
  if (value === null) {
3209
3061
  return acc;
@@ -3212,7 +3064,7 @@ const deserializeAws_restJson1TagrisTagsMap = (output, context) => {
3212
3064
  return acc;
3213
3065
  }, {});
3214
3066
  };
3215
- const deserializeAws_restJson1TagsMap = (output, context) => {
3067
+ const de_TagsMap = (output, context) => {
3216
3068
  return Object.entries(output).reduce((acc, [key, value]) => {
3217
3069
  if (value === null) {
3218
3070
  return acc;
@@ -3221,65 +3073,65 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
3221
3073
  return acc;
3222
3074
  }, {});
3223
3075
  };
3224
- const deserializeAws_restJson1Tmpfs = (output, context) => {
3076
+ const de_Tmpfs = (output, context) => {
3225
3077
  return {
3226
3078
  containerPath: __expectString(output.containerPath),
3227
- mountOptions: output.mountOptions != null ? deserializeAws_restJson1StringList(output.mountOptions, context) : undefined,
3079
+ mountOptions: output.mountOptions != null ? de_StringList(output.mountOptions, context) : undefined,
3228
3080
  size: __expectInt32(output.size),
3229
3081
  };
3230
3082
  };
3231
- const deserializeAws_restJson1TmpfsList = (output, context) => {
3083
+ const de_TmpfsList = (output, context) => {
3232
3084
  const retVal = (output || [])
3233
3085
  .filter((e) => e != null)
3234
3086
  .map((entry) => {
3235
3087
  if (entry === null) {
3236
3088
  return null;
3237
3089
  }
3238
- return deserializeAws_restJson1Tmpfs(entry, context);
3090
+ return de_Tmpfs(entry, context);
3239
3091
  });
3240
3092
  return retVal;
3241
3093
  };
3242
- const deserializeAws_restJson1Ulimit = (output, context) => {
3094
+ const de_Ulimit = (output, context) => {
3243
3095
  return {
3244
3096
  hardLimit: __expectInt32(output.hardLimit),
3245
3097
  name: __expectString(output.name),
3246
3098
  softLimit: __expectInt32(output.softLimit),
3247
3099
  };
3248
3100
  };
3249
- const deserializeAws_restJson1Ulimits = (output, context) => {
3101
+ const de_Ulimits = (output, context) => {
3250
3102
  const retVal = (output || [])
3251
3103
  .filter((e) => e != null)
3252
3104
  .map((entry) => {
3253
3105
  if (entry === null) {
3254
3106
  return null;
3255
3107
  }
3256
- return deserializeAws_restJson1Ulimit(entry, context);
3108
+ return de_Ulimit(entry, context);
3257
3109
  });
3258
3110
  return retVal;
3259
3111
  };
3260
- const deserializeAws_restJson1UpdatePolicy = (output, context) => {
3112
+ const de_UpdatePolicy = (output, context) => {
3261
3113
  return {
3262
3114
  jobExecutionTimeoutMinutes: __expectLong(output.jobExecutionTimeoutMinutes),
3263
3115
  terminateJobsOnUpdate: __expectBoolean(output.terminateJobsOnUpdate),
3264
3116
  };
3265
3117
  };
3266
- const deserializeAws_restJson1Volume = (output, context) => {
3118
+ const de_Volume = (output, context) => {
3267
3119
  return {
3268
3120
  efsVolumeConfiguration: output.efsVolumeConfiguration != null
3269
- ? deserializeAws_restJson1EFSVolumeConfiguration(output.efsVolumeConfiguration, context)
3121
+ ? de_EFSVolumeConfiguration(output.efsVolumeConfiguration, context)
3270
3122
  : undefined,
3271
- host: output.host != null ? deserializeAws_restJson1Host(output.host, context) : undefined,
3123
+ host: output.host != null ? de_Host(output.host, context) : undefined,
3272
3124
  name: __expectString(output.name),
3273
3125
  };
3274
3126
  };
3275
- const deserializeAws_restJson1Volumes = (output, context) => {
3127
+ const de_Volumes = (output, context) => {
3276
3128
  const retVal = (output || [])
3277
3129
  .filter((e) => e != null)
3278
3130
  .map((entry) => {
3279
3131
  if (entry === null) {
3280
3132
  return null;
3281
3133
  }
3282
- return deserializeAws_restJson1Volume(entry, context);
3134
+ return de_Volume(entry, context);
3283
3135
  });
3284
3136
  return retVal;
3285
3137
  };