@aws-sdk/client-emr-containers 3.306.0 → 3.310.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 (43) hide show
  1. package/dist-cjs/commands/CancelJobRunCommand.js +2 -2
  2. package/dist-cjs/commands/CreateJobTemplateCommand.js +2 -2
  3. package/dist-cjs/commands/CreateManagedEndpointCommand.js +2 -2
  4. package/dist-cjs/commands/CreateVirtualClusterCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteJobTemplateCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteManagedEndpointCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteVirtualClusterCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeJobRunCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeJobTemplateCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeManagedEndpointCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeVirtualClusterCommand.js +2 -2
  12. package/dist-cjs/commands/ListJobRunsCommand.js +2 -2
  13. package/dist-cjs/commands/ListJobTemplatesCommand.js +2 -2
  14. package/dist-cjs/commands/ListManagedEndpointsCommand.js +2 -2
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-cjs/commands/ListVirtualClustersCommand.js +2 -2
  17. package/dist-cjs/commands/StartJobRunCommand.js +2 -2
  18. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  19. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  20. package/dist-cjs/protocols/Aws_restJson1.js +305 -329
  21. package/dist-es/commands/CancelJobRunCommand.js +3 -3
  22. package/dist-es/commands/CreateJobTemplateCommand.js +3 -3
  23. package/dist-es/commands/CreateManagedEndpointCommand.js +3 -3
  24. package/dist-es/commands/CreateVirtualClusterCommand.js +3 -3
  25. package/dist-es/commands/DeleteJobTemplateCommand.js +3 -3
  26. package/dist-es/commands/DeleteManagedEndpointCommand.js +3 -3
  27. package/dist-es/commands/DeleteVirtualClusterCommand.js +3 -3
  28. package/dist-es/commands/DescribeJobRunCommand.js +3 -3
  29. package/dist-es/commands/DescribeJobTemplateCommand.js +3 -3
  30. package/dist-es/commands/DescribeManagedEndpointCommand.js +3 -3
  31. package/dist-es/commands/DescribeVirtualClusterCommand.js +3 -3
  32. package/dist-es/commands/ListJobRunsCommand.js +3 -3
  33. package/dist-es/commands/ListJobTemplatesCommand.js +3 -3
  34. package/dist-es/commands/ListManagedEndpointsCommand.js +3 -3
  35. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  36. package/dist-es/commands/ListVirtualClustersCommand.js +3 -3
  37. package/dist-es/commands/StartJobRunCommand.js +3 -3
  38. package/dist-es/commands/TagResourceCommand.js +3 -3
  39. package/dist-es/commands/UntagResourceCommand.js +3 -3
  40. package/dist-es/protocols/Aws_restJson1.js +266 -290
  41. package/dist-types/protocols/Aws_restJson1.d.ts +152 -38
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -38
  43. package/package.json +35 -35
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectInt32 as
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { EMRContainersServiceException as __BaseException } from "../models/EMRContainersServiceException";
5
5
  import { ContainerInfo, InternalServerException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
6
- export const serializeAws_restJson1CancelJobRunCommand = async (input, context) => {
6
+ export const se_CancelJobRunCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
8
  const headers = {};
9
9
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -21,7 +21,7 @@ export const serializeAws_restJson1CancelJobRunCommand = async (input, context)
21
21
  body,
22
22
  });
23
23
  };
24
- export const serializeAws_restJson1CreateJobTemplateCommand = async (input, context) => {
24
+ export const se_CreateJobTemplateCommand = async (input, context) => {
25
25
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
26
26
  const headers = {
27
27
  "content-type": "application/json",
@@ -30,12 +30,10 @@ export const serializeAws_restJson1CreateJobTemplateCommand = async (input, cont
30
30
  let body;
31
31
  body = JSON.stringify({
32
32
  clientToken: input.clientToken ?? generateIdempotencyToken(),
33
- ...(input.jobTemplateData != null && {
34
- jobTemplateData: serializeAws_restJson1JobTemplateData(input.jobTemplateData, context),
35
- }),
33
+ ...(input.jobTemplateData != null && { jobTemplateData: se_JobTemplateData(input.jobTemplateData, context) }),
36
34
  ...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
37
35
  ...(input.name != null && { name: input.name }),
38
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
36
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
39
37
  });
40
38
  return new __HttpRequest({
41
39
  protocol,
@@ -47,7 +45,7 @@ export const serializeAws_restJson1CreateJobTemplateCommand = async (input, cont
47
45
  body,
48
46
  });
49
47
  };
50
- export const serializeAws_restJson1CreateManagedEndpointCommand = async (input, context) => {
48
+ export const se_CreateManagedEndpointCommand = async (input, context) => {
51
49
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
52
50
  const headers = {
53
51
  "content-type": "application/json",
@@ -60,12 +58,12 @@ export const serializeAws_restJson1CreateManagedEndpointCommand = async (input,
60
58
  ...(input.certificateArn != null && { certificateArn: input.certificateArn }),
61
59
  clientToken: input.clientToken ?? generateIdempotencyToken(),
62
60
  ...(input.configurationOverrides != null && {
63
- configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
61
+ configurationOverrides: se_ConfigurationOverrides(input.configurationOverrides, context),
64
62
  }),
65
63
  ...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
66
64
  ...(input.name != null && { name: input.name }),
67
65
  ...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
68
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
66
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
69
67
  ...(input.type != null && { type: input.type }),
70
68
  });
71
69
  return new __HttpRequest({
@@ -78,7 +76,7 @@ export const serializeAws_restJson1CreateManagedEndpointCommand = async (input,
78
76
  body,
79
77
  });
80
78
  };
81
- export const serializeAws_restJson1CreateVirtualClusterCommand = async (input, context) => {
79
+ export const se_CreateVirtualClusterCommand = async (input, context) => {
82
80
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
83
81
  const headers = {
84
82
  "content-type": "application/json",
@@ -88,10 +86,10 @@ export const serializeAws_restJson1CreateVirtualClusterCommand = async (input, c
88
86
  body = JSON.stringify({
89
87
  clientToken: input.clientToken ?? generateIdempotencyToken(),
90
88
  ...(input.containerProvider != null && {
91
- containerProvider: serializeAws_restJson1ContainerProvider(input.containerProvider, context),
89
+ containerProvider: se_ContainerProvider(input.containerProvider, context),
92
90
  }),
93
91
  ...(input.name != null && { name: input.name }),
94
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
92
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
95
93
  });
96
94
  return new __HttpRequest({
97
95
  protocol,
@@ -103,7 +101,7 @@ export const serializeAws_restJson1CreateVirtualClusterCommand = async (input, c
103
101
  body,
104
102
  });
105
103
  };
106
- export const serializeAws_restJson1DeleteJobTemplateCommand = async (input, context) => {
104
+ export const se_DeleteJobTemplateCommand = async (input, context) => {
107
105
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
108
106
  const headers = {};
109
107
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates/{id}";
@@ -119,7 +117,7 @@ export const serializeAws_restJson1DeleteJobTemplateCommand = async (input, cont
119
117
  body,
120
118
  });
121
119
  };
122
- export const serializeAws_restJson1DeleteManagedEndpointCommand = async (input, context) => {
120
+ export const se_DeleteManagedEndpointCommand = async (input, context) => {
123
121
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
124
122
  const headers = {};
125
123
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -137,7 +135,7 @@ export const serializeAws_restJson1DeleteManagedEndpointCommand = async (input,
137
135
  body,
138
136
  });
139
137
  };
140
- export const serializeAws_restJson1DeleteVirtualClusterCommand = async (input, context) => {
138
+ export const se_DeleteVirtualClusterCommand = async (input, context) => {
141
139
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
142
140
  const headers = {};
143
141
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/virtualclusters/{id}";
@@ -153,7 +151,7 @@ export const serializeAws_restJson1DeleteVirtualClusterCommand = async (input, c
153
151
  body,
154
152
  });
155
153
  };
156
- export const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
154
+ export const se_DescribeJobRunCommand = async (input, context) => {
157
155
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
158
156
  const headers = {};
159
157
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -171,7 +169,7 @@ export const serializeAws_restJson1DescribeJobRunCommand = async (input, context
171
169
  body,
172
170
  });
173
171
  };
174
- export const serializeAws_restJson1DescribeJobTemplateCommand = async (input, context) => {
172
+ export const se_DescribeJobTemplateCommand = async (input, context) => {
175
173
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
176
174
  const headers = {};
177
175
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates/{id}";
@@ -187,7 +185,7 @@ export const serializeAws_restJson1DescribeJobTemplateCommand = async (input, co
187
185
  body,
188
186
  });
189
187
  };
190
- export const serializeAws_restJson1DescribeManagedEndpointCommand = async (input, context) => {
188
+ export const se_DescribeManagedEndpointCommand = async (input, context) => {
191
189
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
192
190
  const headers = {};
193
191
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -205,7 +203,7 @@ export const serializeAws_restJson1DescribeManagedEndpointCommand = async (input
205
203
  body,
206
204
  });
207
205
  };
208
- export const serializeAws_restJson1DescribeVirtualClusterCommand = async (input, context) => {
206
+ export const se_DescribeVirtualClusterCommand = async (input, context) => {
209
207
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
210
208
  const headers = {};
211
209
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/virtualclusters/{id}";
@@ -221,7 +219,7 @@ export const serializeAws_restJson1DescribeVirtualClusterCommand = async (input,
221
219
  body,
222
220
  });
223
221
  };
224
- export const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
222
+ export const se_ListJobRunsCommand = async (input, context) => {
225
223
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
226
224
  const headers = {};
227
225
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -253,7 +251,7 @@ export const serializeAws_restJson1ListJobRunsCommand = async (input, context) =
253
251
  body,
254
252
  });
255
253
  };
256
- export const serializeAws_restJson1ListJobTemplatesCommand = async (input, context) => {
254
+ export const se_ListJobTemplatesCommand = async (input, context) => {
257
255
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
258
256
  const headers = {};
259
257
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates";
@@ -281,7 +279,7 @@ export const serializeAws_restJson1ListJobTemplatesCommand = async (input, conte
281
279
  body,
282
280
  });
283
281
  };
284
- export const serializeAws_restJson1ListManagedEndpointsCommand = async (input, context) => {
282
+ export const se_ListManagedEndpointsCommand = async (input, context) => {
285
283
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
286
284
  const headers = {};
287
285
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -313,7 +311,7 @@ export const serializeAws_restJson1ListManagedEndpointsCommand = async (input, c
313
311
  body,
314
312
  });
315
313
  };
316
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
314
+ export const se_ListTagsForResourceCommand = async (input, context) => {
317
315
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
318
316
  const headers = {};
319
317
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -329,7 +327,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
329
327
  body,
330
328
  });
331
329
  };
332
- export const serializeAws_restJson1ListVirtualClustersCommand = async (input, context) => {
330
+ export const se_ListVirtualClustersCommand = async (input, context) => {
333
331
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
334
332
  const headers = {};
335
333
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/virtualclusters";
@@ -360,7 +358,7 @@ export const serializeAws_restJson1ListVirtualClustersCommand = async (input, co
360
358
  body,
361
359
  });
362
360
  };
363
- export const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
361
+ export const se_StartJobRunCommand = async (input, context) => {
364
362
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
365
363
  const headers = {
366
364
  "content-type": "application/json",
@@ -372,20 +370,20 @@ export const serializeAws_restJson1StartJobRunCommand = async (input, context) =
372
370
  body = JSON.stringify({
373
371
  clientToken: input.clientToken ?? generateIdempotencyToken(),
374
372
  ...(input.configurationOverrides != null && {
375
- configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
373
+ configurationOverrides: se_ConfigurationOverrides(input.configurationOverrides, context),
376
374
  }),
377
375
  ...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
378
- ...(input.jobDriver != null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) }),
376
+ ...(input.jobDriver != null && { jobDriver: se_JobDriver(input.jobDriver, context) }),
379
377
  ...(input.jobTemplateId != null && { jobTemplateId: input.jobTemplateId }),
380
378
  ...(input.jobTemplateParameters != null && {
381
- jobTemplateParameters: serializeAws_restJson1TemplateParameterInputMap(input.jobTemplateParameters, context),
379
+ jobTemplateParameters: se_TemplateParameterInputMap(input.jobTemplateParameters, context),
382
380
  }),
383
381
  ...(input.name != null && { name: input.name }),
384
382
  ...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
385
383
  ...(input.retryPolicyConfiguration != null && {
386
- retryPolicyConfiguration: serializeAws_restJson1RetryPolicyConfiguration(input.retryPolicyConfiguration, context),
384
+ retryPolicyConfiguration: se_RetryPolicyConfiguration(input.retryPolicyConfiguration, context),
387
385
  }),
388
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
386
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
389
387
  });
390
388
  return new __HttpRequest({
391
389
  protocol,
@@ -397,7 +395,7 @@ export const serializeAws_restJson1StartJobRunCommand = async (input, context) =
397
395
  body,
398
396
  });
399
397
  };
400
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
398
+ export const se_TagResourceCommand = async (input, context) => {
401
399
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
402
400
  const headers = {
403
401
  "content-type": "application/json",
@@ -406,7 +404,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
406
404
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
407
405
  let body;
408
406
  body = JSON.stringify({
409
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
407
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
410
408
  });
411
409
  return new __HttpRequest({
412
410
  protocol,
@@ -418,7 +416,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
418
416
  body,
419
417
  });
420
418
  };
421
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
419
+ export const se_UntagResourceCommand = async (input, context) => {
422
420
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
423
421
  const headers = {};
424
422
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -441,9 +439,9 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
441
439
  body,
442
440
  });
443
441
  };
444
- export const deserializeAws_restJson1CancelJobRunCommand = async (output, context) => {
442
+ export const de_CancelJobRunCommand = async (output, context) => {
445
443
  if (output.statusCode !== 200 && output.statusCode >= 300) {
446
- return deserializeAws_restJson1CancelJobRunCommandError(output, context);
444
+ return de_CancelJobRunCommandError(output, context);
447
445
  }
448
446
  const contents = map({
449
447
  $metadata: deserializeMetadata(output),
@@ -457,7 +455,7 @@ export const deserializeAws_restJson1CancelJobRunCommand = async (output, contex
457
455
  }
458
456
  return contents;
459
457
  };
460
- const deserializeAws_restJson1CancelJobRunCommandError = async (output, context) => {
458
+ const de_CancelJobRunCommandError = async (output, context) => {
461
459
  const parsedOutput = {
462
460
  ...output,
463
461
  body: await parseErrorBody(output.body, context),
@@ -466,10 +464,10 @@ const deserializeAws_restJson1CancelJobRunCommandError = async (output, context)
466
464
  switch (errorCode) {
467
465
  case "InternalServerException":
468
466
  case "com.amazonaws.emrcontainers#InternalServerException":
469
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
467
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
470
468
  case "ValidationException":
471
469
  case "com.amazonaws.emrcontainers#ValidationException":
472
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
470
+ throw await de_ValidationExceptionRes(parsedOutput, context);
473
471
  default:
474
472
  const parsedBody = parsedOutput.body;
475
473
  throwDefaultError({
@@ -480,9 +478,9 @@ const deserializeAws_restJson1CancelJobRunCommandError = async (output, context)
480
478
  });
481
479
  }
482
480
  };
483
- export const deserializeAws_restJson1CreateJobTemplateCommand = async (output, context) => {
481
+ export const de_CreateJobTemplateCommand = async (output, context) => {
484
482
  if (output.statusCode !== 200 && output.statusCode >= 300) {
485
- return deserializeAws_restJson1CreateJobTemplateCommandError(output, context);
483
+ return de_CreateJobTemplateCommandError(output, context);
486
484
  }
487
485
  const contents = map({
488
486
  $metadata: deserializeMetadata(output),
@@ -502,7 +500,7 @@ export const deserializeAws_restJson1CreateJobTemplateCommand = async (output, c
502
500
  }
503
501
  return contents;
504
502
  };
505
- const deserializeAws_restJson1CreateJobTemplateCommandError = async (output, context) => {
503
+ const de_CreateJobTemplateCommandError = async (output, context) => {
506
504
  const parsedOutput = {
507
505
  ...output,
508
506
  body: await parseErrorBody(output.body, context),
@@ -511,13 +509,13 @@ const deserializeAws_restJson1CreateJobTemplateCommandError = async (output, con
511
509
  switch (errorCode) {
512
510
  case "InternalServerException":
513
511
  case "com.amazonaws.emrcontainers#InternalServerException":
514
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
512
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
515
513
  case "ResourceNotFoundException":
516
514
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
517
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
515
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
518
516
  case "ValidationException":
519
517
  case "com.amazonaws.emrcontainers#ValidationException":
520
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
518
+ throw await de_ValidationExceptionRes(parsedOutput, context);
521
519
  default:
522
520
  const parsedBody = parsedOutput.body;
523
521
  throwDefaultError({
@@ -528,9 +526,9 @@ const deserializeAws_restJson1CreateJobTemplateCommandError = async (output, con
528
526
  });
529
527
  }
530
528
  };
531
- export const deserializeAws_restJson1CreateManagedEndpointCommand = async (output, context) => {
529
+ export const de_CreateManagedEndpointCommand = async (output, context) => {
532
530
  if (output.statusCode !== 200 && output.statusCode >= 300) {
533
- return deserializeAws_restJson1CreateManagedEndpointCommandError(output, context);
531
+ return de_CreateManagedEndpointCommandError(output, context);
534
532
  }
535
533
  const contents = map({
536
534
  $metadata: deserializeMetadata(output),
@@ -550,7 +548,7 @@ export const deserializeAws_restJson1CreateManagedEndpointCommand = async (outpu
550
548
  }
551
549
  return contents;
552
550
  };
553
- const deserializeAws_restJson1CreateManagedEndpointCommandError = async (output, context) => {
551
+ const de_CreateManagedEndpointCommandError = async (output, context) => {
554
552
  const parsedOutput = {
555
553
  ...output,
556
554
  body: await parseErrorBody(output.body, context),
@@ -559,13 +557,13 @@ const deserializeAws_restJson1CreateManagedEndpointCommandError = async (output,
559
557
  switch (errorCode) {
560
558
  case "InternalServerException":
561
559
  case "com.amazonaws.emrcontainers#InternalServerException":
562
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
560
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
563
561
  case "ResourceNotFoundException":
564
562
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
565
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
563
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
566
564
  case "ValidationException":
567
565
  case "com.amazonaws.emrcontainers#ValidationException":
568
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
566
+ throw await de_ValidationExceptionRes(parsedOutput, context);
569
567
  default:
570
568
  const parsedBody = parsedOutput.body;
571
569
  throwDefaultError({
@@ -576,9 +574,9 @@ const deserializeAws_restJson1CreateManagedEndpointCommandError = async (output,
576
574
  });
577
575
  }
578
576
  };
579
- export const deserializeAws_restJson1CreateVirtualClusterCommand = async (output, context) => {
577
+ export const de_CreateVirtualClusterCommand = async (output, context) => {
580
578
  if (output.statusCode !== 200 && output.statusCode >= 300) {
581
- return deserializeAws_restJson1CreateVirtualClusterCommandError(output, context);
579
+ return de_CreateVirtualClusterCommandError(output, context);
582
580
  }
583
581
  const contents = map({
584
582
  $metadata: deserializeMetadata(output),
@@ -595,7 +593,7 @@ export const deserializeAws_restJson1CreateVirtualClusterCommand = async (output
595
593
  }
596
594
  return contents;
597
595
  };
598
- const deserializeAws_restJson1CreateVirtualClusterCommandError = async (output, context) => {
596
+ const de_CreateVirtualClusterCommandError = async (output, context) => {
599
597
  const parsedOutput = {
600
598
  ...output,
601
599
  body: await parseErrorBody(output.body, context),
@@ -604,13 +602,13 @@ const deserializeAws_restJson1CreateVirtualClusterCommandError = async (output,
604
602
  switch (errorCode) {
605
603
  case "InternalServerException":
606
604
  case "com.amazonaws.emrcontainers#InternalServerException":
607
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
605
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
608
606
  case "ResourceNotFoundException":
609
607
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
610
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
608
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
611
609
  case "ValidationException":
612
610
  case "com.amazonaws.emrcontainers#ValidationException":
613
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
611
+ throw await de_ValidationExceptionRes(parsedOutput, context);
614
612
  default:
615
613
  const parsedBody = parsedOutput.body;
616
614
  throwDefaultError({
@@ -621,9 +619,9 @@ const deserializeAws_restJson1CreateVirtualClusterCommandError = async (output,
621
619
  });
622
620
  }
623
621
  };
624
- export const deserializeAws_restJson1DeleteJobTemplateCommand = async (output, context) => {
622
+ export const de_DeleteJobTemplateCommand = async (output, context) => {
625
623
  if (output.statusCode !== 200 && output.statusCode >= 300) {
626
- return deserializeAws_restJson1DeleteJobTemplateCommandError(output, context);
624
+ return de_DeleteJobTemplateCommandError(output, context);
627
625
  }
628
626
  const contents = map({
629
627
  $metadata: deserializeMetadata(output),
@@ -634,7 +632,7 @@ export const deserializeAws_restJson1DeleteJobTemplateCommand = async (output, c
634
632
  }
635
633
  return contents;
636
634
  };
637
- const deserializeAws_restJson1DeleteJobTemplateCommandError = async (output, context) => {
635
+ const de_DeleteJobTemplateCommandError = async (output, context) => {
638
636
  const parsedOutput = {
639
637
  ...output,
640
638
  body: await parseErrorBody(output.body, context),
@@ -643,10 +641,10 @@ const deserializeAws_restJson1DeleteJobTemplateCommandError = async (output, con
643
641
  switch (errorCode) {
644
642
  case "InternalServerException":
645
643
  case "com.amazonaws.emrcontainers#InternalServerException":
646
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
644
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
647
645
  case "ValidationException":
648
646
  case "com.amazonaws.emrcontainers#ValidationException":
649
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
647
+ throw await de_ValidationExceptionRes(parsedOutput, context);
650
648
  default:
651
649
  const parsedBody = parsedOutput.body;
652
650
  throwDefaultError({
@@ -657,9 +655,9 @@ const deserializeAws_restJson1DeleteJobTemplateCommandError = async (output, con
657
655
  });
658
656
  }
659
657
  };
660
- export const deserializeAws_restJson1DeleteManagedEndpointCommand = async (output, context) => {
658
+ export const de_DeleteManagedEndpointCommand = async (output, context) => {
661
659
  if (output.statusCode !== 200 && output.statusCode >= 300) {
662
- return deserializeAws_restJson1DeleteManagedEndpointCommandError(output, context);
660
+ return de_DeleteManagedEndpointCommandError(output, context);
663
661
  }
664
662
  const contents = map({
665
663
  $metadata: deserializeMetadata(output),
@@ -673,7 +671,7 @@ export const deserializeAws_restJson1DeleteManagedEndpointCommand = async (outpu
673
671
  }
674
672
  return contents;
675
673
  };
676
- const deserializeAws_restJson1DeleteManagedEndpointCommandError = async (output, context) => {
674
+ const de_DeleteManagedEndpointCommandError = async (output, context) => {
677
675
  const parsedOutput = {
678
676
  ...output,
679
677
  body: await parseErrorBody(output.body, context),
@@ -682,10 +680,10 @@ const deserializeAws_restJson1DeleteManagedEndpointCommandError = async (output,
682
680
  switch (errorCode) {
683
681
  case "InternalServerException":
684
682
  case "com.amazonaws.emrcontainers#InternalServerException":
685
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
683
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
686
684
  case "ValidationException":
687
685
  case "com.amazonaws.emrcontainers#ValidationException":
688
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
686
+ throw await de_ValidationExceptionRes(parsedOutput, context);
689
687
  default:
690
688
  const parsedBody = parsedOutput.body;
691
689
  throwDefaultError({
@@ -696,9 +694,9 @@ const deserializeAws_restJson1DeleteManagedEndpointCommandError = async (output,
696
694
  });
697
695
  }
698
696
  };
699
- export const deserializeAws_restJson1DeleteVirtualClusterCommand = async (output, context) => {
697
+ export const de_DeleteVirtualClusterCommand = async (output, context) => {
700
698
  if (output.statusCode !== 200 && output.statusCode >= 300) {
701
- return deserializeAws_restJson1DeleteVirtualClusterCommandError(output, context);
699
+ return de_DeleteVirtualClusterCommandError(output, context);
702
700
  }
703
701
  const contents = map({
704
702
  $metadata: deserializeMetadata(output),
@@ -709,7 +707,7 @@ export const deserializeAws_restJson1DeleteVirtualClusterCommand = async (output
709
707
  }
710
708
  return contents;
711
709
  };
712
- const deserializeAws_restJson1DeleteVirtualClusterCommandError = async (output, context) => {
710
+ const de_DeleteVirtualClusterCommandError = async (output, context) => {
713
711
  const parsedOutput = {
714
712
  ...output,
715
713
  body: await parseErrorBody(output.body, context),
@@ -718,10 +716,10 @@ const deserializeAws_restJson1DeleteVirtualClusterCommandError = async (output,
718
716
  switch (errorCode) {
719
717
  case "InternalServerException":
720
718
  case "com.amazonaws.emrcontainers#InternalServerException":
721
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
719
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
722
720
  case "ValidationException":
723
721
  case "com.amazonaws.emrcontainers#ValidationException":
724
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
722
+ throw await de_ValidationExceptionRes(parsedOutput, context);
725
723
  default:
726
724
  const parsedBody = parsedOutput.body;
727
725
  throwDefaultError({
@@ -732,20 +730,20 @@ const deserializeAws_restJson1DeleteVirtualClusterCommandError = async (output,
732
730
  });
733
731
  }
734
732
  };
735
- export const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) => {
733
+ export const de_DescribeJobRunCommand = async (output, context) => {
736
734
  if (output.statusCode !== 200 && output.statusCode >= 300) {
737
- return deserializeAws_restJson1DescribeJobRunCommandError(output, context);
735
+ return de_DescribeJobRunCommandError(output, context);
738
736
  }
739
737
  const contents = map({
740
738
  $metadata: deserializeMetadata(output),
741
739
  });
742
740
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
743
741
  if (data.jobRun != null) {
744
- contents.jobRun = deserializeAws_restJson1JobRun(data.jobRun, context);
742
+ contents.jobRun = de_JobRun(data.jobRun, context);
745
743
  }
746
744
  return contents;
747
745
  };
748
- const deserializeAws_restJson1DescribeJobRunCommandError = async (output, context) => {
746
+ const de_DescribeJobRunCommandError = async (output, context) => {
749
747
  const parsedOutput = {
750
748
  ...output,
751
749
  body: await parseErrorBody(output.body, context),
@@ -754,13 +752,13 @@ const deserializeAws_restJson1DescribeJobRunCommandError = async (output, contex
754
752
  switch (errorCode) {
755
753
  case "InternalServerException":
756
754
  case "com.amazonaws.emrcontainers#InternalServerException":
757
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
755
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
758
756
  case "ResourceNotFoundException":
759
757
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
760
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
758
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
761
759
  case "ValidationException":
762
760
  case "com.amazonaws.emrcontainers#ValidationException":
763
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
761
+ throw await de_ValidationExceptionRes(parsedOutput, context);
764
762
  default:
765
763
  const parsedBody = parsedOutput.body;
766
764
  throwDefaultError({
@@ -771,20 +769,20 @@ const deserializeAws_restJson1DescribeJobRunCommandError = async (output, contex
771
769
  });
772
770
  }
773
771
  };
774
- export const deserializeAws_restJson1DescribeJobTemplateCommand = async (output, context) => {
772
+ export const de_DescribeJobTemplateCommand = async (output, context) => {
775
773
  if (output.statusCode !== 200 && output.statusCode >= 300) {
776
- return deserializeAws_restJson1DescribeJobTemplateCommandError(output, context);
774
+ return de_DescribeJobTemplateCommandError(output, context);
777
775
  }
778
776
  const contents = map({
779
777
  $metadata: deserializeMetadata(output),
780
778
  });
781
779
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
782
780
  if (data.jobTemplate != null) {
783
- contents.jobTemplate = deserializeAws_restJson1JobTemplate(data.jobTemplate, context);
781
+ contents.jobTemplate = de_JobTemplate(data.jobTemplate, context);
784
782
  }
785
783
  return contents;
786
784
  };
787
- const deserializeAws_restJson1DescribeJobTemplateCommandError = async (output, context) => {
785
+ const de_DescribeJobTemplateCommandError = async (output, context) => {
788
786
  const parsedOutput = {
789
787
  ...output,
790
788
  body: await parseErrorBody(output.body, context),
@@ -793,13 +791,13 @@ const deserializeAws_restJson1DescribeJobTemplateCommandError = async (output, c
793
791
  switch (errorCode) {
794
792
  case "InternalServerException":
795
793
  case "com.amazonaws.emrcontainers#InternalServerException":
796
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
794
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
797
795
  case "ResourceNotFoundException":
798
796
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
799
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
797
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
800
798
  case "ValidationException":
801
799
  case "com.amazonaws.emrcontainers#ValidationException":
802
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
800
+ throw await de_ValidationExceptionRes(parsedOutput, context);
803
801
  default:
804
802
  const parsedBody = parsedOutput.body;
805
803
  throwDefaultError({
@@ -810,20 +808,20 @@ const deserializeAws_restJson1DescribeJobTemplateCommandError = async (output, c
810
808
  });
811
809
  }
812
810
  };
813
- export const deserializeAws_restJson1DescribeManagedEndpointCommand = async (output, context) => {
811
+ export const de_DescribeManagedEndpointCommand = async (output, context) => {
814
812
  if (output.statusCode !== 200 && output.statusCode >= 300) {
815
- return deserializeAws_restJson1DescribeManagedEndpointCommandError(output, context);
813
+ return de_DescribeManagedEndpointCommandError(output, context);
816
814
  }
817
815
  const contents = map({
818
816
  $metadata: deserializeMetadata(output),
819
817
  });
820
818
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
821
819
  if (data.endpoint != null) {
822
- contents.endpoint = deserializeAws_restJson1Endpoint(data.endpoint, context);
820
+ contents.endpoint = de_Endpoint(data.endpoint, context);
823
821
  }
824
822
  return contents;
825
823
  };
826
- const deserializeAws_restJson1DescribeManagedEndpointCommandError = async (output, context) => {
824
+ const de_DescribeManagedEndpointCommandError = async (output, context) => {
827
825
  const parsedOutput = {
828
826
  ...output,
829
827
  body: await parseErrorBody(output.body, context),
@@ -832,13 +830,13 @@ const deserializeAws_restJson1DescribeManagedEndpointCommandError = async (outpu
832
830
  switch (errorCode) {
833
831
  case "InternalServerException":
834
832
  case "com.amazonaws.emrcontainers#InternalServerException":
835
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
833
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
836
834
  case "ResourceNotFoundException":
837
835
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
838
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
836
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
839
837
  case "ValidationException":
840
838
  case "com.amazonaws.emrcontainers#ValidationException":
841
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
839
+ throw await de_ValidationExceptionRes(parsedOutput, context);
842
840
  default:
843
841
  const parsedBody = parsedOutput.body;
844
842
  throwDefaultError({
@@ -849,20 +847,20 @@ const deserializeAws_restJson1DescribeManagedEndpointCommandError = async (outpu
849
847
  });
850
848
  }
851
849
  };
852
- export const deserializeAws_restJson1DescribeVirtualClusterCommand = async (output, context) => {
850
+ export const de_DescribeVirtualClusterCommand = async (output, context) => {
853
851
  if (output.statusCode !== 200 && output.statusCode >= 300) {
854
- return deserializeAws_restJson1DescribeVirtualClusterCommandError(output, context);
852
+ return de_DescribeVirtualClusterCommandError(output, context);
855
853
  }
856
854
  const contents = map({
857
855
  $metadata: deserializeMetadata(output),
858
856
  });
859
857
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
860
858
  if (data.virtualCluster != null) {
861
- contents.virtualCluster = deserializeAws_restJson1VirtualCluster(data.virtualCluster, context);
859
+ contents.virtualCluster = de_VirtualCluster(data.virtualCluster, context);
862
860
  }
863
861
  return contents;
864
862
  };
865
- const deserializeAws_restJson1DescribeVirtualClusterCommandError = async (output, context) => {
863
+ const de_DescribeVirtualClusterCommandError = async (output, context) => {
866
864
  const parsedOutput = {
867
865
  ...output,
868
866
  body: await parseErrorBody(output.body, context),
@@ -871,13 +869,13 @@ const deserializeAws_restJson1DescribeVirtualClusterCommandError = async (output
871
869
  switch (errorCode) {
872
870
  case "InternalServerException":
873
871
  case "com.amazonaws.emrcontainers#InternalServerException":
874
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
872
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
875
873
  case "ResourceNotFoundException":
876
874
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
877
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
875
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
878
876
  case "ValidationException":
879
877
  case "com.amazonaws.emrcontainers#ValidationException":
880
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
878
+ throw await de_ValidationExceptionRes(parsedOutput, context);
881
879
  default:
882
880
  const parsedBody = parsedOutput.body;
883
881
  throwDefaultError({
@@ -888,23 +886,23 @@ const deserializeAws_restJson1DescribeVirtualClusterCommandError = async (output
888
886
  });
889
887
  }
890
888
  };
891
- export const deserializeAws_restJson1ListJobRunsCommand = async (output, context) => {
889
+ export const de_ListJobRunsCommand = async (output, context) => {
892
890
  if (output.statusCode !== 200 && output.statusCode >= 300) {
893
- return deserializeAws_restJson1ListJobRunsCommandError(output, context);
891
+ return de_ListJobRunsCommandError(output, context);
894
892
  }
895
893
  const contents = map({
896
894
  $metadata: deserializeMetadata(output),
897
895
  });
898
896
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
899
897
  if (data.jobRuns != null) {
900
- contents.jobRuns = deserializeAws_restJson1JobRuns(data.jobRuns, context);
898
+ contents.jobRuns = de_JobRuns(data.jobRuns, context);
901
899
  }
902
900
  if (data.nextToken != null) {
903
901
  contents.nextToken = __expectString(data.nextToken);
904
902
  }
905
903
  return contents;
906
904
  };
907
- const deserializeAws_restJson1ListJobRunsCommandError = async (output, context) => {
905
+ const de_ListJobRunsCommandError = async (output, context) => {
908
906
  const parsedOutput = {
909
907
  ...output,
910
908
  body: await parseErrorBody(output.body, context),
@@ -913,10 +911,10 @@ const deserializeAws_restJson1ListJobRunsCommandError = async (output, context)
913
911
  switch (errorCode) {
914
912
  case "InternalServerException":
915
913
  case "com.amazonaws.emrcontainers#InternalServerException":
916
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
914
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
917
915
  case "ValidationException":
918
916
  case "com.amazonaws.emrcontainers#ValidationException":
919
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
917
+ throw await de_ValidationExceptionRes(parsedOutput, context);
920
918
  default:
921
919
  const parsedBody = parsedOutput.body;
922
920
  throwDefaultError({
@@ -927,9 +925,9 @@ const deserializeAws_restJson1ListJobRunsCommandError = async (output, context)
927
925
  });
928
926
  }
929
927
  };
930
- export const deserializeAws_restJson1ListJobTemplatesCommand = async (output, context) => {
928
+ export const de_ListJobTemplatesCommand = async (output, context) => {
931
929
  if (output.statusCode !== 200 && output.statusCode >= 300) {
932
- return deserializeAws_restJson1ListJobTemplatesCommandError(output, context);
930
+ return de_ListJobTemplatesCommandError(output, context);
933
931
  }
934
932
  const contents = map({
935
933
  $metadata: deserializeMetadata(output),
@@ -939,11 +937,11 @@ export const deserializeAws_restJson1ListJobTemplatesCommand = async (output, co
939
937
  contents.nextToken = __expectString(data.nextToken);
940
938
  }
941
939
  if (data.templates != null) {
942
- contents.templates = deserializeAws_restJson1JobTemplates(data.templates, context);
940
+ contents.templates = de_JobTemplates(data.templates, context);
943
941
  }
944
942
  return contents;
945
943
  };
946
- const deserializeAws_restJson1ListJobTemplatesCommandError = async (output, context) => {
944
+ const de_ListJobTemplatesCommandError = async (output, context) => {
947
945
  const parsedOutput = {
948
946
  ...output,
949
947
  body: await parseErrorBody(output.body, context),
@@ -952,10 +950,10 @@ const deserializeAws_restJson1ListJobTemplatesCommandError = async (output, cont
952
950
  switch (errorCode) {
953
951
  case "InternalServerException":
954
952
  case "com.amazonaws.emrcontainers#InternalServerException":
955
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
953
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
956
954
  case "ValidationException":
957
955
  case "com.amazonaws.emrcontainers#ValidationException":
958
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
956
+ throw await de_ValidationExceptionRes(parsedOutput, context);
959
957
  default:
960
958
  const parsedBody = parsedOutput.body;
961
959
  throwDefaultError({
@@ -966,23 +964,23 @@ const deserializeAws_restJson1ListJobTemplatesCommandError = async (output, cont
966
964
  });
967
965
  }
968
966
  };
969
- export const deserializeAws_restJson1ListManagedEndpointsCommand = async (output, context) => {
967
+ export const de_ListManagedEndpointsCommand = async (output, context) => {
970
968
  if (output.statusCode !== 200 && output.statusCode >= 300) {
971
- return deserializeAws_restJson1ListManagedEndpointsCommandError(output, context);
969
+ return de_ListManagedEndpointsCommandError(output, context);
972
970
  }
973
971
  const contents = map({
974
972
  $metadata: deserializeMetadata(output),
975
973
  });
976
974
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
977
975
  if (data.endpoints != null) {
978
- contents.endpoints = deserializeAws_restJson1Endpoints(data.endpoints, context);
976
+ contents.endpoints = de_Endpoints(data.endpoints, context);
979
977
  }
980
978
  if (data.nextToken != null) {
981
979
  contents.nextToken = __expectString(data.nextToken);
982
980
  }
983
981
  return contents;
984
982
  };
985
- const deserializeAws_restJson1ListManagedEndpointsCommandError = async (output, context) => {
983
+ const de_ListManagedEndpointsCommandError = async (output, context) => {
986
984
  const parsedOutput = {
987
985
  ...output,
988
986
  body: await parseErrorBody(output.body, context),
@@ -991,10 +989,10 @@ const deserializeAws_restJson1ListManagedEndpointsCommandError = async (output,
991
989
  switch (errorCode) {
992
990
  case "InternalServerException":
993
991
  case "com.amazonaws.emrcontainers#InternalServerException":
994
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
992
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
995
993
  case "ValidationException":
996
994
  case "com.amazonaws.emrcontainers#ValidationException":
997
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
995
+ throw await de_ValidationExceptionRes(parsedOutput, context);
998
996
  default:
999
997
  const parsedBody = parsedOutput.body;
1000
998
  throwDefaultError({
@@ -1005,20 +1003,20 @@ const deserializeAws_restJson1ListManagedEndpointsCommandError = async (output,
1005
1003
  });
1006
1004
  }
1007
1005
  };
1008
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1006
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1009
1007
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1010
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1008
+ return de_ListTagsForResourceCommandError(output, context);
1011
1009
  }
1012
1010
  const contents = map({
1013
1011
  $metadata: deserializeMetadata(output),
1014
1012
  });
1015
1013
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1016
1014
  if (data.tags != null) {
1017
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1015
+ contents.tags = de_TagMap(data.tags, context);
1018
1016
  }
1019
1017
  return contents;
1020
1018
  };
1021
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1019
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1022
1020
  const parsedOutput = {
1023
1021
  ...output,
1024
1022
  body: await parseErrorBody(output.body, context),
@@ -1027,13 +1025,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1027
1025
  switch (errorCode) {
1028
1026
  case "InternalServerException":
1029
1027
  case "com.amazonaws.emrcontainers#InternalServerException":
1030
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1028
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1031
1029
  case "ResourceNotFoundException":
1032
1030
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
1033
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1031
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1034
1032
  case "ValidationException":
1035
1033
  case "com.amazonaws.emrcontainers#ValidationException":
1036
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1034
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1037
1035
  default:
1038
1036
  const parsedBody = parsedOutput.body;
1039
1037
  throwDefaultError({
@@ -1044,9 +1042,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1044
1042
  });
1045
1043
  }
1046
1044
  };
1047
- export const deserializeAws_restJson1ListVirtualClustersCommand = async (output, context) => {
1045
+ export const de_ListVirtualClustersCommand = async (output, context) => {
1048
1046
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1049
- return deserializeAws_restJson1ListVirtualClustersCommandError(output, context);
1047
+ return de_ListVirtualClustersCommandError(output, context);
1050
1048
  }
1051
1049
  const contents = map({
1052
1050
  $metadata: deserializeMetadata(output),
@@ -1056,11 +1054,11 @@ export const deserializeAws_restJson1ListVirtualClustersCommand = async (output,
1056
1054
  contents.nextToken = __expectString(data.nextToken);
1057
1055
  }
1058
1056
  if (data.virtualClusters != null) {
1059
- contents.virtualClusters = deserializeAws_restJson1VirtualClusters(data.virtualClusters, context);
1057
+ contents.virtualClusters = de_VirtualClusters(data.virtualClusters, context);
1060
1058
  }
1061
1059
  return contents;
1062
1060
  };
1063
- const deserializeAws_restJson1ListVirtualClustersCommandError = async (output, context) => {
1061
+ const de_ListVirtualClustersCommandError = async (output, context) => {
1064
1062
  const parsedOutput = {
1065
1063
  ...output,
1066
1064
  body: await parseErrorBody(output.body, context),
@@ -1069,10 +1067,10 @@ const deserializeAws_restJson1ListVirtualClustersCommandError = async (output, c
1069
1067
  switch (errorCode) {
1070
1068
  case "InternalServerException":
1071
1069
  case "com.amazonaws.emrcontainers#InternalServerException":
1072
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1070
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1073
1071
  case "ValidationException":
1074
1072
  case "com.amazonaws.emrcontainers#ValidationException":
1075
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1073
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1076
1074
  default:
1077
1075
  const parsedBody = parsedOutput.body;
1078
1076
  throwDefaultError({
@@ -1083,9 +1081,9 @@ const deserializeAws_restJson1ListVirtualClustersCommandError = async (output, c
1083
1081
  });
1084
1082
  }
1085
1083
  };
1086
- export const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
1084
+ export const de_StartJobRunCommand = async (output, context) => {
1087
1085
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1088
- return deserializeAws_restJson1StartJobRunCommandError(output, context);
1086
+ return de_StartJobRunCommandError(output, context);
1089
1087
  }
1090
1088
  const contents = map({
1091
1089
  $metadata: deserializeMetadata(output),
@@ -1105,7 +1103,7 @@ export const deserializeAws_restJson1StartJobRunCommand = async (output, context
1105
1103
  }
1106
1104
  return contents;
1107
1105
  };
1108
- const deserializeAws_restJson1StartJobRunCommandError = async (output, context) => {
1106
+ const de_StartJobRunCommandError = async (output, context) => {
1109
1107
  const parsedOutput = {
1110
1108
  ...output,
1111
1109
  body: await parseErrorBody(output.body, context),
@@ -1114,13 +1112,13 @@ const deserializeAws_restJson1StartJobRunCommandError = async (output, context)
1114
1112
  switch (errorCode) {
1115
1113
  case "InternalServerException":
1116
1114
  case "com.amazonaws.emrcontainers#InternalServerException":
1117
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1115
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1118
1116
  case "ResourceNotFoundException":
1119
1117
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
1120
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1118
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1121
1119
  case "ValidationException":
1122
1120
  case "com.amazonaws.emrcontainers#ValidationException":
1123
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1121
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1124
1122
  default:
1125
1123
  const parsedBody = parsedOutput.body;
1126
1124
  throwDefaultError({
@@ -1131,9 +1129,9 @@ const deserializeAws_restJson1StartJobRunCommandError = async (output, context)
1131
1129
  });
1132
1130
  }
1133
1131
  };
1134
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1132
+ export const de_TagResourceCommand = async (output, context) => {
1135
1133
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1136
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1134
+ return de_TagResourceCommandError(output, context);
1137
1135
  }
1138
1136
  const contents = map({
1139
1137
  $metadata: deserializeMetadata(output),
@@ -1141,7 +1139,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1141
1139
  await collectBody(output.body, context);
1142
1140
  return contents;
1143
1141
  };
1144
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1142
+ const de_TagResourceCommandError = async (output, context) => {
1145
1143
  const parsedOutput = {
1146
1144
  ...output,
1147
1145
  body: await parseErrorBody(output.body, context),
@@ -1150,13 +1148,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1150
1148
  switch (errorCode) {
1151
1149
  case "InternalServerException":
1152
1150
  case "com.amazonaws.emrcontainers#InternalServerException":
1153
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1151
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1154
1152
  case "ResourceNotFoundException":
1155
1153
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
1156
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1154
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1157
1155
  case "ValidationException":
1158
1156
  case "com.amazonaws.emrcontainers#ValidationException":
1159
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1157
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1160
1158
  default:
1161
1159
  const parsedBody = parsedOutput.body;
1162
1160
  throwDefaultError({
@@ -1167,9 +1165,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1167
1165
  });
1168
1166
  }
1169
1167
  };
1170
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1168
+ export const de_UntagResourceCommand = async (output, context) => {
1171
1169
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1172
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1170
+ return de_UntagResourceCommandError(output, context);
1173
1171
  }
1174
1172
  const contents = map({
1175
1173
  $metadata: deserializeMetadata(output),
@@ -1177,7 +1175,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1177
1175
  await collectBody(output.body, context);
1178
1176
  return contents;
1179
1177
  };
1180
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1178
+ const de_UntagResourceCommandError = async (output, context) => {
1181
1179
  const parsedOutput = {
1182
1180
  ...output,
1183
1181
  body: await parseErrorBody(output.body, context),
@@ -1186,13 +1184,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1186
1184
  switch (errorCode) {
1187
1185
  case "InternalServerException":
1188
1186
  case "com.amazonaws.emrcontainers#InternalServerException":
1189
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1187
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1190
1188
  case "ResourceNotFoundException":
1191
1189
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
1192
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1190
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1193
1191
  case "ValidationException":
1194
1192
  case "com.amazonaws.emrcontainers#ValidationException":
1195
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1193
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1196
1194
  default:
1197
1195
  const parsedBody = parsedOutput.body;
1198
1196
  throwDefaultError({
@@ -1204,7 +1202,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1204
1202
  }
1205
1203
  };
1206
1204
  const map = __map;
1207
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1205
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1208
1206
  const contents = map({});
1209
1207
  const data = parsedOutput.body;
1210
1208
  if (data.message != null) {
@@ -1216,7 +1214,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1216
1214
  });
1217
1215
  return __decorateServiceException(exception, parsedOutput.body);
1218
1216
  };
1219
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1217
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1220
1218
  const contents = map({});
1221
1219
  const data = parsedOutput.body;
1222
1220
  if (data.message != null) {
@@ -1228,7 +1226,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1228
1226
  });
1229
1227
  return __decorateServiceException(exception, parsedOutput.body);
1230
1228
  };
1231
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1229
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1232
1230
  const contents = map({});
1233
1231
  const data = parsedOutput.body;
1234
1232
  if (data.message != null) {
@@ -1240,143 +1238,139 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1240
1238
  });
1241
1239
  return __decorateServiceException(exception, parsedOutput.body);
1242
1240
  };
1243
- const serializeAws_restJson1CloudWatchMonitoringConfiguration = (input, context) => {
1241
+ const se_CloudWatchMonitoringConfiguration = (input, context) => {
1244
1242
  return {
1245
1243
  ...(input.logGroupName != null && { logGroupName: input.logGroupName }),
1246
1244
  ...(input.logStreamNamePrefix != null && { logStreamNamePrefix: input.logStreamNamePrefix }),
1247
1245
  };
1248
1246
  };
1249
- const serializeAws_restJson1Configuration = (input, context) => {
1247
+ const se_Configuration = (input, context) => {
1250
1248
  return {
1251
1249
  ...(input.classification != null && { classification: input.classification }),
1252
- ...(input.configurations != null && {
1253
- configurations: serializeAws_restJson1ConfigurationList(input.configurations, context),
1254
- }),
1255
- ...(input.properties != null && {
1256
- properties: serializeAws_restJson1SensitivePropertiesMap(input.properties, context),
1257
- }),
1250
+ ...(input.configurations != null && { configurations: se_ConfigurationList(input.configurations, context) }),
1251
+ ...(input.properties != null && { properties: se_SensitivePropertiesMap(input.properties, context) }),
1258
1252
  };
1259
1253
  };
1260
- const serializeAws_restJson1ConfigurationList = (input, context) => {
1254
+ const se_ConfigurationList = (input, context) => {
1261
1255
  return input
1262
1256
  .filter((e) => e != null)
1263
1257
  .map((entry) => {
1264
- return serializeAws_restJson1Configuration(entry, context);
1258
+ return se_Configuration(entry, context);
1265
1259
  });
1266
1260
  };
1267
- const serializeAws_restJson1ConfigurationOverrides = (input, context) => {
1261
+ const se_ConfigurationOverrides = (input, context) => {
1268
1262
  return {
1269
1263
  ...(input.applicationConfiguration != null && {
1270
- applicationConfiguration: serializeAws_restJson1ConfigurationList(input.applicationConfiguration, context),
1264
+ applicationConfiguration: se_ConfigurationList(input.applicationConfiguration, context),
1271
1265
  }),
1272
1266
  ...(input.monitoringConfiguration != null && {
1273
- monitoringConfiguration: serializeAws_restJson1MonitoringConfiguration(input.monitoringConfiguration, context),
1267
+ monitoringConfiguration: se_MonitoringConfiguration(input.monitoringConfiguration, context),
1274
1268
  }),
1275
1269
  };
1276
1270
  };
1277
- const serializeAws_restJson1ContainerInfo = (input, context) => {
1271
+ const se_ContainerInfo = (input, context) => {
1278
1272
  return ContainerInfo.visit(input, {
1279
- eksInfo: (value) => ({ eksInfo: serializeAws_restJson1EksInfo(value, context) }),
1273
+ eksInfo: (value) => ({ eksInfo: se_EksInfo(value, context) }),
1280
1274
  _: (name, value) => ({ name: value }),
1281
1275
  });
1282
1276
  };
1283
- const serializeAws_restJson1ContainerProvider = (input, context) => {
1277
+ const se_ContainerProvider = (input, context) => {
1284
1278
  return {
1285
1279
  ...(input.id != null && { id: input.id }),
1286
- ...(input.info != null && { info: serializeAws_restJson1ContainerInfo(input.info, context) }),
1280
+ ...(input.info != null && { info: se_ContainerInfo(input.info, context) }),
1287
1281
  ...(input.type != null && { type: input.type }),
1288
1282
  };
1289
1283
  };
1290
- const serializeAws_restJson1EksInfo = (input, context) => {
1284
+ const se_EksInfo = (input, context) => {
1291
1285
  return {
1292
1286
  ...(input.namespace != null && { namespace: input.namespace }),
1293
1287
  };
1294
1288
  };
1295
- const serializeAws_restJson1EntryPointArguments = (input, context) => {
1289
+ const se_EntryPointArguments = (input, context) => {
1296
1290
  return input
1297
1291
  .filter((e) => e != null)
1298
1292
  .map((entry) => {
1299
1293
  return entry;
1300
1294
  });
1301
1295
  };
1302
- const serializeAws_restJson1JobDriver = (input, context) => {
1296
+ const se_JobDriver = (input, context) => {
1303
1297
  return {
1304
1298
  ...(input.sparkSqlJobDriver != null && {
1305
- sparkSqlJobDriver: serializeAws_restJson1SparkSqlJobDriver(input.sparkSqlJobDriver, context),
1299
+ sparkSqlJobDriver: se_SparkSqlJobDriver(input.sparkSqlJobDriver, context),
1306
1300
  }),
1307
1301
  ...(input.sparkSubmitJobDriver != null && {
1308
- sparkSubmitJobDriver: serializeAws_restJson1SparkSubmitJobDriver(input.sparkSubmitJobDriver, context),
1302
+ sparkSubmitJobDriver: se_SparkSubmitJobDriver(input.sparkSubmitJobDriver, context),
1309
1303
  }),
1310
1304
  };
1311
1305
  };
1312
- const serializeAws_restJson1JobTemplateData = (input, context) => {
1306
+ const se_JobTemplateData = (input, context) => {
1313
1307
  return {
1314
1308
  ...(input.configurationOverrides != null && {
1315
- configurationOverrides: serializeAws_restJson1ParametricConfigurationOverrides(input.configurationOverrides, context),
1309
+ configurationOverrides: se_ParametricConfigurationOverrides(input.configurationOverrides, context),
1316
1310
  }),
1317
1311
  ...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
1318
- ...(input.jobDriver != null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) }),
1319
- ...(input.jobTags != null && { jobTags: serializeAws_restJson1TagMap(input.jobTags, context) }),
1312
+ ...(input.jobDriver != null && { jobDriver: se_JobDriver(input.jobDriver, context) }),
1313
+ ...(input.jobTags != null && { jobTags: se_TagMap(input.jobTags, context) }),
1320
1314
  ...(input.parameterConfiguration != null && {
1321
- parameterConfiguration: serializeAws_restJson1TemplateParameterConfigurationMap(input.parameterConfiguration, context),
1315
+ parameterConfiguration: se_TemplateParameterConfigurationMap(input.parameterConfiguration, context),
1322
1316
  }),
1323
1317
  ...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
1324
1318
  };
1325
1319
  };
1326
- const serializeAws_restJson1MonitoringConfiguration = (input, context) => {
1320
+ const se_MonitoringConfiguration = (input, context) => {
1327
1321
  return {
1328
1322
  ...(input.cloudWatchMonitoringConfiguration != null && {
1329
- cloudWatchMonitoringConfiguration: serializeAws_restJson1CloudWatchMonitoringConfiguration(input.cloudWatchMonitoringConfiguration, context),
1323
+ cloudWatchMonitoringConfiguration: se_CloudWatchMonitoringConfiguration(input.cloudWatchMonitoringConfiguration, context),
1330
1324
  }),
1331
1325
  ...(input.persistentAppUI != null && { persistentAppUI: input.persistentAppUI }),
1332
1326
  ...(input.s3MonitoringConfiguration != null && {
1333
- s3MonitoringConfiguration: serializeAws_restJson1S3MonitoringConfiguration(input.s3MonitoringConfiguration, context),
1327
+ s3MonitoringConfiguration: se_S3MonitoringConfiguration(input.s3MonitoringConfiguration, context),
1334
1328
  }),
1335
1329
  };
1336
1330
  };
1337
- const serializeAws_restJson1ParametricCloudWatchMonitoringConfiguration = (input, context) => {
1331
+ const se_ParametricCloudWatchMonitoringConfiguration = (input, context) => {
1338
1332
  return {
1339
1333
  ...(input.logGroupName != null && { logGroupName: input.logGroupName }),
1340
1334
  ...(input.logStreamNamePrefix != null && { logStreamNamePrefix: input.logStreamNamePrefix }),
1341
1335
  };
1342
1336
  };
1343
- const serializeAws_restJson1ParametricConfigurationOverrides = (input, context) => {
1337
+ const se_ParametricConfigurationOverrides = (input, context) => {
1344
1338
  return {
1345
1339
  ...(input.applicationConfiguration != null && {
1346
- applicationConfiguration: serializeAws_restJson1ConfigurationList(input.applicationConfiguration, context),
1340
+ applicationConfiguration: se_ConfigurationList(input.applicationConfiguration, context),
1347
1341
  }),
1348
1342
  ...(input.monitoringConfiguration != null && {
1349
- monitoringConfiguration: serializeAws_restJson1ParametricMonitoringConfiguration(input.monitoringConfiguration, context),
1343
+ monitoringConfiguration: se_ParametricMonitoringConfiguration(input.monitoringConfiguration, context),
1350
1344
  }),
1351
1345
  };
1352
1346
  };
1353
- const serializeAws_restJson1ParametricMonitoringConfiguration = (input, context) => {
1347
+ const se_ParametricMonitoringConfiguration = (input, context) => {
1354
1348
  return {
1355
1349
  ...(input.cloudWatchMonitoringConfiguration != null && {
1356
- cloudWatchMonitoringConfiguration: serializeAws_restJson1ParametricCloudWatchMonitoringConfiguration(input.cloudWatchMonitoringConfiguration, context),
1350
+ cloudWatchMonitoringConfiguration: se_ParametricCloudWatchMonitoringConfiguration(input.cloudWatchMonitoringConfiguration, context),
1357
1351
  }),
1358
1352
  ...(input.persistentAppUI != null && { persistentAppUI: input.persistentAppUI }),
1359
1353
  ...(input.s3MonitoringConfiguration != null && {
1360
- s3MonitoringConfiguration: serializeAws_restJson1ParametricS3MonitoringConfiguration(input.s3MonitoringConfiguration, context),
1354
+ s3MonitoringConfiguration: se_ParametricS3MonitoringConfiguration(input.s3MonitoringConfiguration, context),
1361
1355
  }),
1362
1356
  };
1363
1357
  };
1364
- const serializeAws_restJson1ParametricS3MonitoringConfiguration = (input, context) => {
1358
+ const se_ParametricS3MonitoringConfiguration = (input, context) => {
1365
1359
  return {
1366
1360
  ...(input.logUri != null && { logUri: input.logUri }),
1367
1361
  };
1368
1362
  };
1369
- const serializeAws_restJson1RetryPolicyConfiguration = (input, context) => {
1363
+ const se_RetryPolicyConfiguration = (input, context) => {
1370
1364
  return {
1371
1365
  ...(input.maxAttempts != null && { maxAttempts: input.maxAttempts }),
1372
1366
  };
1373
1367
  };
1374
- const serializeAws_restJson1S3MonitoringConfiguration = (input, context) => {
1368
+ const se_S3MonitoringConfiguration = (input, context) => {
1375
1369
  return {
1376
1370
  ...(input.logUri != null && { logUri: input.logUri }),
1377
1371
  };
1378
1372
  };
1379
- const serializeAws_restJson1SensitivePropertiesMap = (input, context) => {
1373
+ const se_SensitivePropertiesMap = (input, context) => {
1380
1374
  return Object.entries(input).reduce((acc, [key, value]) => {
1381
1375
  if (value === null) {
1382
1376
  return acc;
@@ -1385,22 +1379,22 @@ const serializeAws_restJson1SensitivePropertiesMap = (input, context) => {
1385
1379
  return acc;
1386
1380
  }, {});
1387
1381
  };
1388
- const serializeAws_restJson1SparkSqlJobDriver = (input, context) => {
1382
+ const se_SparkSqlJobDriver = (input, context) => {
1389
1383
  return {
1390
1384
  ...(input.entryPoint != null && { entryPoint: input.entryPoint }),
1391
1385
  ...(input.sparkSqlParameters != null && { sparkSqlParameters: input.sparkSqlParameters }),
1392
1386
  };
1393
1387
  };
1394
- const serializeAws_restJson1SparkSubmitJobDriver = (input, context) => {
1388
+ const se_SparkSubmitJobDriver = (input, context) => {
1395
1389
  return {
1396
1390
  ...(input.entryPoint != null && { entryPoint: input.entryPoint }),
1397
1391
  ...(input.entryPointArguments != null && {
1398
- entryPointArguments: serializeAws_restJson1EntryPointArguments(input.entryPointArguments, context),
1392
+ entryPointArguments: se_EntryPointArguments(input.entryPointArguments, context),
1399
1393
  }),
1400
1394
  ...(input.sparkSubmitParameters != null && { sparkSubmitParameters: input.sparkSubmitParameters }),
1401
1395
  };
1402
1396
  };
1403
- const serializeAws_restJson1TagMap = (input, context) => {
1397
+ const se_TagMap = (input, context) => {
1404
1398
  return Object.entries(input).reduce((acc, [key, value]) => {
1405
1399
  if (value === null) {
1406
1400
  return acc;
@@ -1409,22 +1403,22 @@ const serializeAws_restJson1TagMap = (input, context) => {
1409
1403
  return acc;
1410
1404
  }, {});
1411
1405
  };
1412
- const serializeAws_restJson1TemplateParameterConfiguration = (input, context) => {
1406
+ const se_TemplateParameterConfiguration = (input, context) => {
1413
1407
  return {
1414
1408
  ...(input.defaultValue != null && { defaultValue: input.defaultValue }),
1415
1409
  ...(input.type != null && { type: input.type }),
1416
1410
  };
1417
1411
  };
1418
- const serializeAws_restJson1TemplateParameterConfigurationMap = (input, context) => {
1412
+ const se_TemplateParameterConfigurationMap = (input, context) => {
1419
1413
  return Object.entries(input).reduce((acc, [key, value]) => {
1420
1414
  if (value === null) {
1421
1415
  return acc;
1422
1416
  }
1423
- acc[key] = serializeAws_restJson1TemplateParameterConfiguration(value, context);
1417
+ acc[key] = se_TemplateParameterConfiguration(value, context);
1424
1418
  return acc;
1425
1419
  }, {});
1426
1420
  };
1427
- const serializeAws_restJson1TemplateParameterInputMap = (input, context) => {
1421
+ const se_TemplateParameterInputMap = (input, context) => {
1428
1422
  return Object.entries(input).reduce((acc, [key, value]) => {
1429
1423
  if (value === null) {
1430
1424
  return acc;
@@ -1433,79 +1427,73 @@ const serializeAws_restJson1TemplateParameterInputMap = (input, context) => {
1433
1427
  return acc;
1434
1428
  }, {});
1435
1429
  };
1436
- const deserializeAws_restJson1Certificate = (output, context) => {
1430
+ const de_Certificate = (output, context) => {
1437
1431
  return {
1438
1432
  certificateArn: __expectString(output.certificateArn),
1439
1433
  certificateData: __expectString(output.certificateData),
1440
1434
  };
1441
1435
  };
1442
- const deserializeAws_restJson1CloudWatchMonitoringConfiguration = (output, context) => {
1436
+ const de_CloudWatchMonitoringConfiguration = (output, context) => {
1443
1437
  return {
1444
1438
  logGroupName: __expectString(output.logGroupName),
1445
1439
  logStreamNamePrefix: __expectString(output.logStreamNamePrefix),
1446
1440
  };
1447
1441
  };
1448
- const deserializeAws_restJson1Configuration = (output, context) => {
1442
+ const de_Configuration = (output, context) => {
1449
1443
  return {
1450
1444
  classification: __expectString(output.classification),
1451
- configurations: output.configurations != null
1452
- ? deserializeAws_restJson1ConfigurationList(output.configurations, context)
1453
- : undefined,
1454
- properties: output.properties != null
1455
- ? deserializeAws_restJson1SensitivePropertiesMap(output.properties, context)
1456
- : undefined,
1445
+ configurations: output.configurations != null ? de_ConfigurationList(output.configurations, context) : undefined,
1446
+ properties: output.properties != null ? de_SensitivePropertiesMap(output.properties, context) : undefined,
1457
1447
  };
1458
1448
  };
1459
- const deserializeAws_restJson1ConfigurationList = (output, context) => {
1449
+ const de_ConfigurationList = (output, context) => {
1460
1450
  const retVal = (output || [])
1461
1451
  .filter((e) => e != null)
1462
1452
  .map((entry) => {
1463
1453
  if (entry === null) {
1464
1454
  return null;
1465
1455
  }
1466
- return deserializeAws_restJson1Configuration(entry, context);
1456
+ return de_Configuration(entry, context);
1467
1457
  });
1468
1458
  return retVal;
1469
1459
  };
1470
- const deserializeAws_restJson1ConfigurationOverrides = (output, context) => {
1460
+ const de_ConfigurationOverrides = (output, context) => {
1471
1461
  return {
1472
1462
  applicationConfiguration: output.applicationConfiguration != null
1473
- ? deserializeAws_restJson1ConfigurationList(output.applicationConfiguration, context)
1463
+ ? de_ConfigurationList(output.applicationConfiguration, context)
1474
1464
  : undefined,
1475
1465
  monitoringConfiguration: output.monitoringConfiguration != null
1476
- ? deserializeAws_restJson1MonitoringConfiguration(output.monitoringConfiguration, context)
1466
+ ? de_MonitoringConfiguration(output.monitoringConfiguration, context)
1477
1467
  : undefined,
1478
1468
  };
1479
1469
  };
1480
- const deserializeAws_restJson1ContainerInfo = (output, context) => {
1470
+ const de_ContainerInfo = (output, context) => {
1481
1471
  if (output.eksInfo != null) {
1482
1472
  return {
1483
- eksInfo: deserializeAws_restJson1EksInfo(output.eksInfo, context),
1473
+ eksInfo: de_EksInfo(output.eksInfo, context),
1484
1474
  };
1485
1475
  }
1486
1476
  return { $unknown: Object.entries(output)[0] };
1487
1477
  };
1488
- const deserializeAws_restJson1ContainerProvider = (output, context) => {
1478
+ const de_ContainerProvider = (output, context) => {
1489
1479
  return {
1490
1480
  id: __expectString(output.id),
1491
- info: output.info != null ? deserializeAws_restJson1ContainerInfo(__expectUnion(output.info), context) : undefined,
1481
+ info: output.info != null ? de_ContainerInfo(__expectUnion(output.info), context) : undefined,
1492
1482
  type: __expectString(output.type),
1493
1483
  };
1494
1484
  };
1495
- const deserializeAws_restJson1EksInfo = (output, context) => {
1485
+ const de_EksInfo = (output, context) => {
1496
1486
  return {
1497
1487
  namespace: __expectString(output.namespace),
1498
1488
  };
1499
1489
  };
1500
- const deserializeAws_restJson1Endpoint = (output, context) => {
1490
+ const de_Endpoint = (output, context) => {
1501
1491
  return {
1502
1492
  arn: __expectString(output.arn),
1503
1493
  certificateArn: __expectString(output.certificateArn),
1504
- certificateAuthority: output.certificateAuthority != null
1505
- ? deserializeAws_restJson1Certificate(output.certificateAuthority, context)
1506
- : undefined,
1494
+ certificateAuthority: output.certificateAuthority != null ? de_Certificate(output.certificateAuthority, context) : undefined,
1507
1495
  configurationOverrides: output.configurationOverrides != null
1508
- ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1496
+ ? de_ConfigurationOverrides(output.configurationOverrides, context)
1509
1497
  : undefined,
1510
1498
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1511
1499
  executionRoleArn: __expectString(output.executionRoleArn),
@@ -1517,24 +1505,24 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
1517
1505
  serverUrl: __expectString(output.serverUrl),
1518
1506
  state: __expectString(output.state),
1519
1507
  stateDetails: __expectString(output.stateDetails),
1520
- subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIds(output.subnetIds, context) : undefined,
1521
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1508
+ subnetIds: output.subnetIds != null ? de_SubnetIds(output.subnetIds, context) : undefined,
1509
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1522
1510
  type: __expectString(output.type),
1523
1511
  virtualClusterId: __expectString(output.virtualClusterId),
1524
1512
  };
1525
1513
  };
1526
- const deserializeAws_restJson1Endpoints = (output, context) => {
1514
+ const de_Endpoints = (output, context) => {
1527
1515
  const retVal = (output || [])
1528
1516
  .filter((e) => e != null)
1529
1517
  .map((entry) => {
1530
1518
  if (entry === null) {
1531
1519
  return null;
1532
1520
  }
1533
- return deserializeAws_restJson1Endpoint(entry, context);
1521
+ return de_Endpoint(entry, context);
1534
1522
  });
1535
1523
  return retVal;
1536
1524
  };
1537
- const deserializeAws_restJson1EntryPointArguments = (output, context) => {
1525
+ const de_EntryPointArguments = (output, context) => {
1538
1526
  const retVal = (output || [])
1539
1527
  .filter((e) => e != null)
1540
1528
  .map((entry) => {
@@ -1545,22 +1533,18 @@ const deserializeAws_restJson1EntryPointArguments = (output, context) => {
1545
1533
  });
1546
1534
  return retVal;
1547
1535
  };
1548
- const deserializeAws_restJson1JobDriver = (output, context) => {
1536
+ const de_JobDriver = (output, context) => {
1549
1537
  return {
1550
- sparkSqlJobDriver: output.sparkSqlJobDriver != null
1551
- ? deserializeAws_restJson1SparkSqlJobDriver(output.sparkSqlJobDriver, context)
1552
- : undefined,
1553
- sparkSubmitJobDriver: output.sparkSubmitJobDriver != null
1554
- ? deserializeAws_restJson1SparkSubmitJobDriver(output.sparkSubmitJobDriver, context)
1555
- : undefined,
1538
+ sparkSqlJobDriver: output.sparkSqlJobDriver != null ? de_SparkSqlJobDriver(output.sparkSqlJobDriver, context) : undefined,
1539
+ sparkSubmitJobDriver: output.sparkSubmitJobDriver != null ? de_SparkSubmitJobDriver(output.sparkSubmitJobDriver, context) : undefined,
1556
1540
  };
1557
1541
  };
1558
- const deserializeAws_restJson1JobRun = (output, context) => {
1542
+ const de_JobRun = (output, context) => {
1559
1543
  return {
1560
1544
  arn: __expectString(output.arn),
1561
1545
  clientToken: __expectString(output.clientToken),
1562
1546
  configurationOverrides: output.configurationOverrides != null
1563
- ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1547
+ ? de_ConfigurationOverrides(output.configurationOverrides, context)
1564
1548
  : undefined,
1565
1549
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1566
1550
  createdBy: __expectString(output.createdBy),
@@ -1568,131 +1552,127 @@ const deserializeAws_restJson1JobRun = (output, context) => {
1568
1552
  failureReason: __expectString(output.failureReason),
1569
1553
  finishedAt: output.finishedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.finishedAt)) : undefined,
1570
1554
  id: __expectString(output.id),
1571
- jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1555
+ jobDriver: output.jobDriver != null ? de_JobDriver(output.jobDriver, context) : undefined,
1572
1556
  name: __expectString(output.name),
1573
1557
  releaseLabel: __expectString(output.releaseLabel),
1574
1558
  retryPolicyConfiguration: output.retryPolicyConfiguration != null
1575
- ? deserializeAws_restJson1RetryPolicyConfiguration(output.retryPolicyConfiguration, context)
1576
- : undefined,
1577
- retryPolicyExecution: output.retryPolicyExecution != null
1578
- ? deserializeAws_restJson1RetryPolicyExecution(output.retryPolicyExecution, context)
1559
+ ? de_RetryPolicyConfiguration(output.retryPolicyConfiguration, context)
1579
1560
  : undefined,
1561
+ retryPolicyExecution: output.retryPolicyExecution != null ? de_RetryPolicyExecution(output.retryPolicyExecution, context) : undefined,
1580
1562
  state: __expectString(output.state),
1581
1563
  stateDetails: __expectString(output.stateDetails),
1582
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1564
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1583
1565
  virtualClusterId: __expectString(output.virtualClusterId),
1584
1566
  };
1585
1567
  };
1586
- const deserializeAws_restJson1JobRuns = (output, context) => {
1568
+ const de_JobRuns = (output, context) => {
1587
1569
  const retVal = (output || [])
1588
1570
  .filter((e) => e != null)
1589
1571
  .map((entry) => {
1590
1572
  if (entry === null) {
1591
1573
  return null;
1592
1574
  }
1593
- return deserializeAws_restJson1JobRun(entry, context);
1575
+ return de_JobRun(entry, context);
1594
1576
  });
1595
1577
  return retVal;
1596
1578
  };
1597
- const deserializeAws_restJson1JobTemplate = (output, context) => {
1579
+ const de_JobTemplate = (output, context) => {
1598
1580
  return {
1599
1581
  arn: __expectString(output.arn),
1600
1582
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1601
1583
  createdBy: __expectString(output.createdBy),
1602
1584
  decryptionError: __expectString(output.decryptionError),
1603
1585
  id: __expectString(output.id),
1604
- jobTemplateData: output.jobTemplateData != null
1605
- ? deserializeAws_restJson1JobTemplateData(output.jobTemplateData, context)
1606
- : undefined,
1586
+ jobTemplateData: output.jobTemplateData != null ? de_JobTemplateData(output.jobTemplateData, context) : undefined,
1607
1587
  kmsKeyArn: __expectString(output.kmsKeyArn),
1608
1588
  name: __expectString(output.name),
1609
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1589
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1610
1590
  };
1611
1591
  };
1612
- const deserializeAws_restJson1JobTemplateData = (output, context) => {
1592
+ const de_JobTemplateData = (output, context) => {
1613
1593
  return {
1614
1594
  configurationOverrides: output.configurationOverrides != null
1615
- ? deserializeAws_restJson1ParametricConfigurationOverrides(output.configurationOverrides, context)
1595
+ ? de_ParametricConfigurationOverrides(output.configurationOverrides, context)
1616
1596
  : undefined,
1617
1597
  executionRoleArn: __expectString(output.executionRoleArn),
1618
- jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1619
- jobTags: output.jobTags != null ? deserializeAws_restJson1TagMap(output.jobTags, context) : undefined,
1598
+ jobDriver: output.jobDriver != null ? de_JobDriver(output.jobDriver, context) : undefined,
1599
+ jobTags: output.jobTags != null ? de_TagMap(output.jobTags, context) : undefined,
1620
1600
  parameterConfiguration: output.parameterConfiguration != null
1621
- ? deserializeAws_restJson1TemplateParameterConfigurationMap(output.parameterConfiguration, context)
1601
+ ? de_TemplateParameterConfigurationMap(output.parameterConfiguration, context)
1622
1602
  : undefined,
1623
1603
  releaseLabel: __expectString(output.releaseLabel),
1624
1604
  };
1625
1605
  };
1626
- const deserializeAws_restJson1JobTemplates = (output, context) => {
1606
+ const de_JobTemplates = (output, context) => {
1627
1607
  const retVal = (output || [])
1628
1608
  .filter((e) => e != null)
1629
1609
  .map((entry) => {
1630
1610
  if (entry === null) {
1631
1611
  return null;
1632
1612
  }
1633
- return deserializeAws_restJson1JobTemplate(entry, context);
1613
+ return de_JobTemplate(entry, context);
1634
1614
  });
1635
1615
  return retVal;
1636
1616
  };
1637
- const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
1617
+ const de_MonitoringConfiguration = (output, context) => {
1638
1618
  return {
1639
1619
  cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration != null
1640
- ? deserializeAws_restJson1CloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1620
+ ? de_CloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1641
1621
  : undefined,
1642
1622
  persistentAppUI: __expectString(output.persistentAppUI),
1643
1623
  s3MonitoringConfiguration: output.s3MonitoringConfiguration != null
1644
- ? deserializeAws_restJson1S3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1624
+ ? de_S3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1645
1625
  : undefined,
1646
1626
  };
1647
1627
  };
1648
- const deserializeAws_restJson1ParametricCloudWatchMonitoringConfiguration = (output, context) => {
1628
+ const de_ParametricCloudWatchMonitoringConfiguration = (output, context) => {
1649
1629
  return {
1650
1630
  logGroupName: __expectString(output.logGroupName),
1651
1631
  logStreamNamePrefix: __expectString(output.logStreamNamePrefix),
1652
1632
  };
1653
1633
  };
1654
- const deserializeAws_restJson1ParametricConfigurationOverrides = (output, context) => {
1634
+ const de_ParametricConfigurationOverrides = (output, context) => {
1655
1635
  return {
1656
1636
  applicationConfiguration: output.applicationConfiguration != null
1657
- ? deserializeAws_restJson1ConfigurationList(output.applicationConfiguration, context)
1637
+ ? de_ConfigurationList(output.applicationConfiguration, context)
1658
1638
  : undefined,
1659
1639
  monitoringConfiguration: output.monitoringConfiguration != null
1660
- ? deserializeAws_restJson1ParametricMonitoringConfiguration(output.monitoringConfiguration, context)
1640
+ ? de_ParametricMonitoringConfiguration(output.monitoringConfiguration, context)
1661
1641
  : undefined,
1662
1642
  };
1663
1643
  };
1664
- const deserializeAws_restJson1ParametricMonitoringConfiguration = (output, context) => {
1644
+ const de_ParametricMonitoringConfiguration = (output, context) => {
1665
1645
  return {
1666
1646
  cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration != null
1667
- ? deserializeAws_restJson1ParametricCloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1647
+ ? de_ParametricCloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1668
1648
  : undefined,
1669
1649
  persistentAppUI: __expectString(output.persistentAppUI),
1670
1650
  s3MonitoringConfiguration: output.s3MonitoringConfiguration != null
1671
- ? deserializeAws_restJson1ParametricS3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1651
+ ? de_ParametricS3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1672
1652
  : undefined,
1673
1653
  };
1674
1654
  };
1675
- const deserializeAws_restJson1ParametricS3MonitoringConfiguration = (output, context) => {
1655
+ const de_ParametricS3MonitoringConfiguration = (output, context) => {
1676
1656
  return {
1677
1657
  logUri: __expectString(output.logUri),
1678
1658
  };
1679
1659
  };
1680
- const deserializeAws_restJson1RetryPolicyConfiguration = (output, context) => {
1660
+ const de_RetryPolicyConfiguration = (output, context) => {
1681
1661
  return {
1682
1662
  maxAttempts: __expectInt32(output.maxAttempts),
1683
1663
  };
1684
1664
  };
1685
- const deserializeAws_restJson1RetryPolicyExecution = (output, context) => {
1665
+ const de_RetryPolicyExecution = (output, context) => {
1686
1666
  return {
1687
1667
  currentAttemptCount: __expectInt32(output.currentAttemptCount),
1688
1668
  };
1689
1669
  };
1690
- const deserializeAws_restJson1S3MonitoringConfiguration = (output, context) => {
1670
+ const de_S3MonitoringConfiguration = (output, context) => {
1691
1671
  return {
1692
1672
  logUri: __expectString(output.logUri),
1693
1673
  };
1694
1674
  };
1695
- const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
1675
+ const de_SensitivePropertiesMap = (output, context) => {
1696
1676
  return Object.entries(output).reduce((acc, [key, value]) => {
1697
1677
  if (value === null) {
1698
1678
  return acc;
@@ -1701,22 +1681,20 @@ const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
1701
1681
  return acc;
1702
1682
  }, {});
1703
1683
  };
1704
- const deserializeAws_restJson1SparkSqlJobDriver = (output, context) => {
1684
+ const de_SparkSqlJobDriver = (output, context) => {
1705
1685
  return {
1706
1686
  entryPoint: __expectString(output.entryPoint),
1707
1687
  sparkSqlParameters: __expectString(output.sparkSqlParameters),
1708
1688
  };
1709
1689
  };
1710
- const deserializeAws_restJson1SparkSubmitJobDriver = (output, context) => {
1690
+ const de_SparkSubmitJobDriver = (output, context) => {
1711
1691
  return {
1712
1692
  entryPoint: __expectString(output.entryPoint),
1713
- entryPointArguments: output.entryPointArguments != null
1714
- ? deserializeAws_restJson1EntryPointArguments(output.entryPointArguments, context)
1715
- : undefined,
1693
+ entryPointArguments: output.entryPointArguments != null ? de_EntryPointArguments(output.entryPointArguments, context) : undefined,
1716
1694
  sparkSubmitParameters: __expectString(output.sparkSubmitParameters),
1717
1695
  };
1718
1696
  };
1719
- const deserializeAws_restJson1SubnetIds = (output, context) => {
1697
+ const de_SubnetIds = (output, context) => {
1720
1698
  const retVal = (output || [])
1721
1699
  .filter((e) => e != null)
1722
1700
  .map((entry) => {
@@ -1727,7 +1705,7 @@ const deserializeAws_restJson1SubnetIds = (output, context) => {
1727
1705
  });
1728
1706
  return retVal;
1729
1707
  };
1730
- const deserializeAws_restJson1TagMap = (output, context) => {
1708
+ const de_TagMap = (output, context) => {
1731
1709
  return Object.entries(output).reduce((acc, [key, value]) => {
1732
1710
  if (value === null) {
1733
1711
  return acc;
@@ -1736,42 +1714,40 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1736
1714
  return acc;
1737
1715
  }, {});
1738
1716
  };
1739
- const deserializeAws_restJson1TemplateParameterConfiguration = (output, context) => {
1717
+ const de_TemplateParameterConfiguration = (output, context) => {
1740
1718
  return {
1741
1719
  defaultValue: __expectString(output.defaultValue),
1742
1720
  type: __expectString(output.type),
1743
1721
  };
1744
1722
  };
1745
- const deserializeAws_restJson1TemplateParameterConfigurationMap = (output, context) => {
1723
+ const de_TemplateParameterConfigurationMap = (output, context) => {
1746
1724
  return Object.entries(output).reduce((acc, [key, value]) => {
1747
1725
  if (value === null) {
1748
1726
  return acc;
1749
1727
  }
1750
- acc[key] = deserializeAws_restJson1TemplateParameterConfiguration(value, context);
1728
+ acc[key] = de_TemplateParameterConfiguration(value, context);
1751
1729
  return acc;
1752
1730
  }, {});
1753
1731
  };
1754
- const deserializeAws_restJson1VirtualCluster = (output, context) => {
1732
+ const de_VirtualCluster = (output, context) => {
1755
1733
  return {
1756
1734
  arn: __expectString(output.arn),
1757
- containerProvider: output.containerProvider != null
1758
- ? deserializeAws_restJson1ContainerProvider(output.containerProvider, context)
1759
- : undefined,
1735
+ containerProvider: output.containerProvider != null ? de_ContainerProvider(output.containerProvider, context) : undefined,
1760
1736
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
1761
1737
  id: __expectString(output.id),
1762
1738
  name: __expectString(output.name),
1763
1739
  state: __expectString(output.state),
1764
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1740
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1765
1741
  };
1766
1742
  };
1767
- const deserializeAws_restJson1VirtualClusters = (output, context) => {
1743
+ const de_VirtualClusters = (output, context) => {
1768
1744
  const retVal = (output || [])
1769
1745
  .filter((e) => e != null)
1770
1746
  .map((entry) => {
1771
1747
  if (entry === null) {
1772
1748
  return null;
1773
1749
  }
1774
- return deserializeAws_restJson1VirtualCluster(entry, context);
1750
+ return de_VirtualCluster(entry, context);
1775
1751
  });
1776
1752
  return retVal;
1777
1753
  };