@aws-sdk/client-m2 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist-cjs/commands/CancelBatchJobExecutionCommand.js +2 -2
  2. package/dist-cjs/commands/CreateApplicationCommand.js +2 -2
  3. package/dist-cjs/commands/CreateDataSetImportTaskCommand.js +2 -2
  4. package/dist-cjs/commands/CreateDeploymentCommand.js +2 -2
  5. package/dist-cjs/commands/CreateEnvironmentCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteApplicationFromEnvironmentCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteEnvironmentCommand.js +2 -2
  9. package/dist-cjs/commands/GetApplicationCommand.js +2 -2
  10. package/dist-cjs/commands/GetApplicationVersionCommand.js +2 -2
  11. package/dist-cjs/commands/GetBatchJobExecutionCommand.js +2 -2
  12. package/dist-cjs/commands/GetDataSetDetailsCommand.js +2 -2
  13. package/dist-cjs/commands/GetDataSetImportTaskCommand.js +2 -2
  14. package/dist-cjs/commands/GetDeploymentCommand.js +2 -2
  15. package/dist-cjs/commands/GetEnvironmentCommand.js +2 -2
  16. package/dist-cjs/commands/ListApplicationVersionsCommand.js +2 -2
  17. package/dist-cjs/commands/ListApplicationsCommand.js +2 -2
  18. package/dist-cjs/commands/ListBatchJobDefinitionsCommand.js +2 -2
  19. package/dist-cjs/commands/ListBatchJobExecutionsCommand.js +2 -2
  20. package/dist-cjs/commands/ListDataSetImportHistoryCommand.js +2 -2
  21. package/dist-cjs/commands/ListDataSetsCommand.js +2 -2
  22. package/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
  23. package/dist-cjs/commands/ListEngineVersionsCommand.js +2 -2
  24. package/dist-cjs/commands/ListEnvironmentsCommand.js +2 -2
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  26. package/dist-cjs/commands/StartApplicationCommand.js +2 -2
  27. package/dist-cjs/commands/StartBatchJobCommand.js +2 -2
  28. package/dist-cjs/commands/StopApplicationCommand.js +2 -2
  29. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  30. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateEnvironmentCommand.js +2 -2
  33. package/dist-cjs/protocols/Aws_restJson1.js +524 -544
  34. package/dist-es/commands/CancelBatchJobExecutionCommand.js +3 -3
  35. package/dist-es/commands/CreateApplicationCommand.js +3 -3
  36. package/dist-es/commands/CreateDataSetImportTaskCommand.js +3 -3
  37. package/dist-es/commands/CreateDeploymentCommand.js +3 -3
  38. package/dist-es/commands/CreateEnvironmentCommand.js +3 -3
  39. package/dist-es/commands/DeleteApplicationCommand.js +3 -3
  40. package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +3 -3
  41. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -3
  42. package/dist-es/commands/GetApplicationCommand.js +3 -3
  43. package/dist-es/commands/GetApplicationVersionCommand.js +3 -3
  44. package/dist-es/commands/GetBatchJobExecutionCommand.js +3 -3
  45. package/dist-es/commands/GetDataSetDetailsCommand.js +3 -3
  46. package/dist-es/commands/GetDataSetImportTaskCommand.js +3 -3
  47. package/dist-es/commands/GetDeploymentCommand.js +3 -3
  48. package/dist-es/commands/GetEnvironmentCommand.js +3 -3
  49. package/dist-es/commands/ListApplicationVersionsCommand.js +3 -3
  50. package/dist-es/commands/ListApplicationsCommand.js +3 -3
  51. package/dist-es/commands/ListBatchJobDefinitionsCommand.js +3 -3
  52. package/dist-es/commands/ListBatchJobExecutionsCommand.js +3 -3
  53. package/dist-es/commands/ListDataSetImportHistoryCommand.js +3 -3
  54. package/dist-es/commands/ListDataSetsCommand.js +3 -3
  55. package/dist-es/commands/ListDeploymentsCommand.js +3 -3
  56. package/dist-es/commands/ListEngineVersionsCommand.js +3 -3
  57. package/dist-es/commands/ListEnvironmentsCommand.js +3 -3
  58. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  59. package/dist-es/commands/StartApplicationCommand.js +3 -3
  60. package/dist-es/commands/StartBatchJobCommand.js +3 -3
  61. package/dist-es/commands/StopApplicationCommand.js +3 -3
  62. package/dist-es/commands/TagResourceCommand.js +3 -3
  63. package/dist-es/commands/UntagResourceCommand.js +3 -3
  64. package/dist-es/commands/UpdateApplicationCommand.js +3 -3
  65. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -3
  66. package/dist-es/protocols/Aws_restJson1.js +458 -478
  67. package/dist-types/protocols/Aws_restJson1.d.ts +256 -64
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +64 -64
  69. package/package.json +29 -29
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { M2ServiceException as __BaseException } from "../models/M2ServiceException";
5
5
  import { AccessDeniedException, BatchJobIdentifier, ConflictException, DataSetImportConfig, DatasetOrgAttributes, Definition, ExternalLocation, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, StorageConfiguration, ThrottlingException, ValidationException, } from "../models/models_0";
6
- export const serializeAws_restJson1CancelBatchJobExecutionCommand = async (input, context) => {
6
+ export const se_CancelBatchJobExecutionCommand = 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_restJson1CancelBatchJobExecutionCommand = async (input
21
21
  body,
22
22
  });
23
23
  };
24
- export const serializeAws_restJson1CreateApplicationCommand = async (input, context) => {
24
+ export const se_CreateApplicationCommand = 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,12 @@ export const serializeAws_restJson1CreateApplicationCommand = async (input, cont
30
30
  let body;
31
31
  body = JSON.stringify({
32
32
  clientToken: input.clientToken ?? generateIdempotencyToken(),
33
- ...(input.definition != null && { definition: serializeAws_restJson1Definition(input.definition, context) }),
33
+ ...(input.definition != null && { definition: se_Definition(input.definition, context) }),
34
34
  ...(input.description != null && { description: input.description }),
35
35
  ...(input.engineType != null && { engineType: input.engineType }),
36
36
  ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
37
37
  ...(input.name != null && { name: input.name }),
38
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
38
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
39
39
  });
40
40
  return new __HttpRequest({
41
41
  protocol,
@@ -47,7 +47,7 @@ export const serializeAws_restJson1CreateApplicationCommand = async (input, cont
47
47
  body,
48
48
  });
49
49
  };
50
- export const serializeAws_restJson1CreateDataSetImportTaskCommand = async (input, context) => {
50
+ export const se_CreateDataSetImportTaskCommand = async (input, context) => {
51
51
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
52
52
  const headers = {
53
53
  "content-type": "application/json",
@@ -58,9 +58,7 @@ export const serializeAws_restJson1CreateDataSetImportTaskCommand = async (input
58
58
  let body;
59
59
  body = JSON.stringify({
60
60
  clientToken: input.clientToken ?? generateIdempotencyToken(),
61
- ...(input.importConfig != null && {
62
- importConfig: serializeAws_restJson1DataSetImportConfig(input.importConfig, context),
63
- }),
61
+ ...(input.importConfig != null && { importConfig: se_DataSetImportConfig(input.importConfig, context) }),
64
62
  });
65
63
  return new __HttpRequest({
66
64
  protocol,
@@ -72,7 +70,7 @@ export const serializeAws_restJson1CreateDataSetImportTaskCommand = async (input
72
70
  body,
73
71
  });
74
72
  };
75
- export const serializeAws_restJson1CreateDeploymentCommand = async (input, context) => {
73
+ export const se_CreateDeploymentCommand = async (input, context) => {
76
74
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
77
75
  const headers = {
78
76
  "content-type": "application/json",
@@ -95,7 +93,7 @@ export const serializeAws_restJson1CreateDeploymentCommand = async (input, conte
95
93
  body,
96
94
  });
97
95
  };
98
- export const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) => {
96
+ export const se_CreateEnvironmentCommand = async (input, context) => {
99
97
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
100
98
  const headers = {
101
99
  "content-type": "application/json",
@@ -108,21 +106,19 @@ export const serializeAws_restJson1CreateEnvironmentCommand = async (input, cont
108
106
  ...(input.engineType != null && { engineType: input.engineType }),
109
107
  ...(input.engineVersion != null && { engineVersion: input.engineVersion }),
110
108
  ...(input.highAvailabilityConfig != null && {
111
- highAvailabilityConfig: serializeAws_restJson1HighAvailabilityConfig(input.highAvailabilityConfig, context),
109
+ highAvailabilityConfig: se_HighAvailabilityConfig(input.highAvailabilityConfig, context),
112
110
  }),
113
111
  ...(input.instanceType != null && { instanceType: input.instanceType }),
114
112
  ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
115
113
  ...(input.name != null && { name: input.name }),
116
114
  ...(input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
117
115
  ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
118
- ...(input.securityGroupIds != null && {
119
- securityGroupIds: serializeAws_restJson1String50List(input.securityGroupIds, context),
120
- }),
116
+ ...(input.securityGroupIds != null && { securityGroupIds: se_String50List(input.securityGroupIds, context) }),
121
117
  ...(input.storageConfigurations != null && {
122
- storageConfigurations: serializeAws_restJson1StorageConfigurationList(input.storageConfigurations, context),
118
+ storageConfigurations: se_StorageConfigurationList(input.storageConfigurations, context),
123
119
  }),
124
- ...(input.subnetIds != null && { subnetIds: serializeAws_restJson1String50List(input.subnetIds, context) }),
125
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
120
+ ...(input.subnetIds != null && { subnetIds: se_String50List(input.subnetIds, context) }),
121
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
126
122
  });
127
123
  return new __HttpRequest({
128
124
  protocol,
@@ -134,7 +130,7 @@ export const serializeAws_restJson1CreateEnvironmentCommand = async (input, cont
134
130
  body,
135
131
  });
136
132
  };
137
- export const serializeAws_restJson1DeleteApplicationCommand = async (input, context) => {
133
+ export const se_DeleteApplicationCommand = async (input, context) => {
138
134
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
139
135
  const headers = {};
140
136
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}";
@@ -150,7 +146,7 @@ export const serializeAws_restJson1DeleteApplicationCommand = async (input, cont
150
146
  body,
151
147
  });
152
148
  };
153
- export const serializeAws_restJson1DeleteApplicationFromEnvironmentCommand = async (input, context) => {
149
+ export const se_DeleteApplicationFromEnvironmentCommand = async (input, context) => {
154
150
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
155
151
  const headers = {};
156
152
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -168,7 +164,7 @@ export const serializeAws_restJson1DeleteApplicationFromEnvironmentCommand = asy
168
164
  body,
169
165
  });
170
166
  };
171
- export const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) => {
167
+ export const se_DeleteEnvironmentCommand = async (input, context) => {
172
168
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
173
169
  const headers = {};
174
170
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments/{environmentId}";
@@ -184,7 +180,7 @@ export const serializeAws_restJson1DeleteEnvironmentCommand = async (input, cont
184
180
  body,
185
181
  });
186
182
  };
187
- export const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
183
+ export const se_GetApplicationCommand = async (input, context) => {
188
184
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
189
185
  const headers = {};
190
186
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}";
@@ -200,7 +196,7 @@ export const serializeAws_restJson1GetApplicationCommand = async (input, context
200
196
  body,
201
197
  });
202
198
  };
203
- export const serializeAws_restJson1GetApplicationVersionCommand = async (input, context) => {
199
+ export const se_GetApplicationVersionCommand = async (input, context) => {
204
200
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
205
201
  const headers = {};
206
202
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -218,7 +214,7 @@ export const serializeAws_restJson1GetApplicationVersionCommand = async (input,
218
214
  body,
219
215
  });
220
216
  };
221
- export const serializeAws_restJson1GetBatchJobExecutionCommand = async (input, context) => {
217
+ export const se_GetBatchJobExecutionCommand = async (input, context) => {
222
218
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
223
219
  const headers = {};
224
220
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -236,7 +232,7 @@ export const serializeAws_restJson1GetBatchJobExecutionCommand = async (input, c
236
232
  body,
237
233
  });
238
234
  };
239
- export const serializeAws_restJson1GetDataSetDetailsCommand = async (input, context) => {
235
+ export const se_GetDataSetDetailsCommand = async (input, context) => {
240
236
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
241
237
  const headers = {};
242
238
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -254,7 +250,7 @@ export const serializeAws_restJson1GetDataSetDetailsCommand = async (input, cont
254
250
  body,
255
251
  });
256
252
  };
257
- export const serializeAws_restJson1GetDataSetImportTaskCommand = async (input, context) => {
253
+ export const se_GetDataSetImportTaskCommand = async (input, context) => {
258
254
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
259
255
  const headers = {};
260
256
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -272,7 +268,7 @@ export const serializeAws_restJson1GetDataSetImportTaskCommand = async (input, c
272
268
  body,
273
269
  });
274
270
  };
275
- export const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
271
+ export const se_GetDeploymentCommand = async (input, context) => {
276
272
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
277
273
  const headers = {};
278
274
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -290,7 +286,7 @@ export const serializeAws_restJson1GetDeploymentCommand = async (input, context)
290
286
  body,
291
287
  });
292
288
  };
293
- export const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
289
+ export const se_GetEnvironmentCommand = async (input, context) => {
294
290
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
295
291
  const headers = {};
296
292
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments/{environmentId}";
@@ -306,7 +302,7 @@ export const serializeAws_restJson1GetEnvironmentCommand = async (input, context
306
302
  body,
307
303
  });
308
304
  };
309
- export const serializeAws_restJson1ListApplicationsCommand = async (input, context) => {
305
+ export const se_ListApplicationsCommand = async (input, context) => {
310
306
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
311
307
  const headers = {};
312
308
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
@@ -328,7 +324,7 @@ export const serializeAws_restJson1ListApplicationsCommand = async (input, conte
328
324
  body,
329
325
  });
330
326
  };
331
- export const serializeAws_restJson1ListApplicationVersionsCommand = async (input, context) => {
327
+ export const se_ListApplicationVersionsCommand = async (input, context) => {
332
328
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
333
329
  const headers = {};
334
330
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/versions";
@@ -349,7 +345,7 @@ export const serializeAws_restJson1ListApplicationVersionsCommand = async (input
349
345
  body,
350
346
  });
351
347
  };
352
- export const serializeAws_restJson1ListBatchJobDefinitionsCommand = async (input, context) => {
348
+ export const se_ListBatchJobDefinitionsCommand = async (input, context) => {
353
349
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
354
350
  const headers = {};
355
351
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -372,7 +368,7 @@ export const serializeAws_restJson1ListBatchJobDefinitionsCommand = async (input
372
368
  body,
373
369
  });
374
370
  };
375
- export const serializeAws_restJson1ListBatchJobExecutionsCommand = async (input, context) => {
371
+ export const se_ListBatchJobExecutionsCommand = async (input, context) => {
376
372
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
377
373
  const headers = {};
378
374
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -408,7 +404,7 @@ export const serializeAws_restJson1ListBatchJobExecutionsCommand = async (input,
408
404
  body,
409
405
  });
410
406
  };
411
- export const serializeAws_restJson1ListDataSetImportHistoryCommand = async (input, context) => {
407
+ export const se_ListDataSetImportHistoryCommand = async (input, context) => {
412
408
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
413
409
  const headers = {};
414
410
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -430,7 +426,7 @@ export const serializeAws_restJson1ListDataSetImportHistoryCommand = async (inpu
430
426
  body,
431
427
  });
432
428
  };
433
- export const serializeAws_restJson1ListDataSetsCommand = async (input, context) => {
429
+ export const se_ListDataSetsCommand = async (input, context) => {
434
430
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
435
431
  const headers = {};
436
432
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/datasets";
@@ -452,7 +448,7 @@ export const serializeAws_restJson1ListDataSetsCommand = async (input, context)
452
448
  body,
453
449
  });
454
450
  };
455
- export const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
451
+ export const se_ListDeploymentsCommand = async (input, context) => {
456
452
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
457
453
  const headers = {};
458
454
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/deployments";
@@ -473,7 +469,7 @@ export const serializeAws_restJson1ListDeploymentsCommand = async (input, contex
473
469
  body,
474
470
  });
475
471
  };
476
- export const serializeAws_restJson1ListEngineVersionsCommand = async (input, context) => {
472
+ export const se_ListEngineVersionsCommand = async (input, context) => {
477
473
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
478
474
  const headers = {};
479
475
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/engine-versions";
@@ -494,7 +490,7 @@ export const serializeAws_restJson1ListEngineVersionsCommand = async (input, con
494
490
  body,
495
491
  });
496
492
  };
497
- export const serializeAws_restJson1ListEnvironmentsCommand = async (input, context) => {
493
+ export const se_ListEnvironmentsCommand = async (input, context) => {
498
494
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
499
495
  const headers = {};
500
496
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/environments";
@@ -516,7 +512,7 @@ export const serializeAws_restJson1ListEnvironmentsCommand = async (input, conte
516
512
  body,
517
513
  });
518
514
  };
519
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
515
+ export const se_ListTagsForResourceCommand = async (input, context) => {
520
516
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
521
517
  const headers = {};
522
518
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -532,7 +528,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
532
528
  body,
533
529
  });
534
530
  };
535
- export const serializeAws_restJson1StartApplicationCommand = async (input, context) => {
531
+ export const se_StartApplicationCommand = async (input, context) => {
536
532
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
537
533
  const headers = {};
538
534
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{applicationId}/start";
@@ -548,7 +544,7 @@ export const serializeAws_restJson1StartApplicationCommand = async (input, conte
548
544
  body,
549
545
  });
550
546
  };
551
- export const serializeAws_restJson1StartBatchJobCommand = async (input, context) => {
547
+ export const se_StartBatchJobCommand = async (input, context) => {
552
548
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
553
549
  const headers = {
554
550
  "content-type": "application/json",
@@ -558,11 +554,9 @@ export const serializeAws_restJson1StartBatchJobCommand = async (input, context)
558
554
  let body;
559
555
  body = JSON.stringify({
560
556
  ...(input.batchJobIdentifier != null && {
561
- batchJobIdentifier: serializeAws_restJson1BatchJobIdentifier(input.batchJobIdentifier, context),
562
- }),
563
- ...(input.jobParams != null && {
564
- jobParams: serializeAws_restJson1BatchJobParametersMap(input.jobParams, context),
557
+ batchJobIdentifier: se_BatchJobIdentifier(input.batchJobIdentifier, context),
565
558
  }),
559
+ ...(input.jobParams != null && { jobParams: se_BatchJobParametersMap(input.jobParams, context) }),
566
560
  });
567
561
  return new __HttpRequest({
568
562
  protocol,
@@ -574,7 +568,7 @@ export const serializeAws_restJson1StartBatchJobCommand = async (input, context)
574
568
  body,
575
569
  });
576
570
  };
577
- export const serializeAws_restJson1StopApplicationCommand = async (input, context) => {
571
+ export const se_StopApplicationCommand = async (input, context) => {
578
572
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
579
573
  const headers = {
580
574
  "content-type": "application/json",
@@ -595,7 +589,7 @@ export const serializeAws_restJson1StopApplicationCommand = async (input, contex
595
589
  body,
596
590
  });
597
591
  };
598
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
592
+ export const se_TagResourceCommand = async (input, context) => {
599
593
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
600
594
  const headers = {
601
595
  "content-type": "application/json",
@@ -604,7 +598,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
604
598
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
605
599
  let body;
606
600
  body = JSON.stringify({
607
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
601
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
608
602
  });
609
603
  return new __HttpRequest({
610
604
  protocol,
@@ -616,7 +610,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
616
610
  body,
617
611
  });
618
612
  };
619
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
613
+ export const se_UntagResourceCommand = async (input, context) => {
620
614
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
621
615
  const headers = {};
622
616
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -639,7 +633,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
639
633
  body,
640
634
  });
641
635
  };
642
- export const serializeAws_restJson1UpdateApplicationCommand = async (input, context) => {
636
+ export const se_UpdateApplicationCommand = async (input, context) => {
643
637
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
644
638
  const headers = {
645
639
  "content-type": "application/json",
@@ -649,7 +643,7 @@ export const serializeAws_restJson1UpdateApplicationCommand = async (input, cont
649
643
  let body;
650
644
  body = JSON.stringify({
651
645
  ...(input.currentApplicationVersion != null && { currentApplicationVersion: input.currentApplicationVersion }),
652
- ...(input.definition != null && { definition: serializeAws_restJson1Definition(input.definition, context) }),
646
+ ...(input.definition != null && { definition: se_Definition(input.definition, context) }),
653
647
  ...(input.description != null && { description: input.description }),
654
648
  });
655
649
  return new __HttpRequest({
@@ -662,7 +656,7 @@ export const serializeAws_restJson1UpdateApplicationCommand = async (input, cont
662
656
  body,
663
657
  });
664
658
  };
665
- export const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) => {
659
+ export const se_UpdateEnvironmentCommand = async (input, context) => {
666
660
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
667
661
  const headers = {
668
662
  "content-type": "application/json",
@@ -689,9 +683,9 @@ export const serializeAws_restJson1UpdateEnvironmentCommand = async (input, cont
689
683
  body,
690
684
  });
691
685
  };
692
- export const deserializeAws_restJson1CancelBatchJobExecutionCommand = async (output, context) => {
686
+ export const de_CancelBatchJobExecutionCommand = async (output, context) => {
693
687
  if (output.statusCode !== 200 && output.statusCode >= 300) {
694
- return deserializeAws_restJson1CancelBatchJobExecutionCommandError(output, context);
688
+ return de_CancelBatchJobExecutionCommandError(output, context);
695
689
  }
696
690
  const contents = map({
697
691
  $metadata: deserializeMetadata(output),
@@ -699,7 +693,7 @@ export const deserializeAws_restJson1CancelBatchJobExecutionCommand = async (out
699
693
  await collectBody(output.body, context);
700
694
  return contents;
701
695
  };
702
- const deserializeAws_restJson1CancelBatchJobExecutionCommandError = async (output, context) => {
696
+ const de_CancelBatchJobExecutionCommandError = async (output, context) => {
703
697
  const parsedOutput = {
704
698
  ...output,
705
699
  body: await parseErrorBody(output.body, context),
@@ -708,22 +702,22 @@ const deserializeAws_restJson1CancelBatchJobExecutionCommandError = async (outpu
708
702
  switch (errorCode) {
709
703
  case "AccessDeniedException":
710
704
  case "com.amazonaws.m2#AccessDeniedException":
711
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
705
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
712
706
  case "ConflictException":
713
707
  case "com.amazonaws.m2#ConflictException":
714
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
708
+ throw await de_ConflictExceptionRes(parsedOutput, context);
715
709
  case "InternalServerException":
716
710
  case "com.amazonaws.m2#InternalServerException":
717
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
711
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
718
712
  case "ResourceNotFoundException":
719
713
  case "com.amazonaws.m2#ResourceNotFoundException":
720
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
714
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
721
715
  case "ThrottlingException":
722
716
  case "com.amazonaws.m2#ThrottlingException":
723
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
717
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
724
718
  case "ValidationException":
725
719
  case "com.amazonaws.m2#ValidationException":
726
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
720
+ throw await de_ValidationExceptionRes(parsedOutput, context);
727
721
  default:
728
722
  const parsedBody = parsedOutput.body;
729
723
  throwDefaultError({
@@ -734,9 +728,9 @@ const deserializeAws_restJson1CancelBatchJobExecutionCommandError = async (outpu
734
728
  });
735
729
  }
736
730
  };
737
- export const deserializeAws_restJson1CreateApplicationCommand = async (output, context) => {
731
+ export const de_CreateApplicationCommand = async (output, context) => {
738
732
  if (output.statusCode !== 200 && output.statusCode >= 300) {
739
- return deserializeAws_restJson1CreateApplicationCommandError(output, context);
733
+ return de_CreateApplicationCommandError(output, context);
740
734
  }
741
735
  const contents = map({
742
736
  $metadata: deserializeMetadata(output),
@@ -753,7 +747,7 @@ export const deserializeAws_restJson1CreateApplicationCommand = async (output, c
753
747
  }
754
748
  return contents;
755
749
  };
756
- const deserializeAws_restJson1CreateApplicationCommandError = async (output, context) => {
750
+ const de_CreateApplicationCommandError = async (output, context) => {
757
751
  const parsedOutput = {
758
752
  ...output,
759
753
  body: await parseErrorBody(output.body, context),
@@ -762,22 +756,22 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
762
756
  switch (errorCode) {
763
757
  case "AccessDeniedException":
764
758
  case "com.amazonaws.m2#AccessDeniedException":
765
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
759
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
766
760
  case "ConflictException":
767
761
  case "com.amazonaws.m2#ConflictException":
768
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
762
+ throw await de_ConflictExceptionRes(parsedOutput, context);
769
763
  case "InternalServerException":
770
764
  case "com.amazonaws.m2#InternalServerException":
771
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
765
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
772
766
  case "ServiceQuotaExceededException":
773
767
  case "com.amazonaws.m2#ServiceQuotaExceededException":
774
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
768
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
775
769
  case "ThrottlingException":
776
770
  case "com.amazonaws.m2#ThrottlingException":
777
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
771
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
778
772
  case "ValidationException":
779
773
  case "com.amazonaws.m2#ValidationException":
780
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
774
+ throw await de_ValidationExceptionRes(parsedOutput, context);
781
775
  default:
782
776
  const parsedBody = parsedOutput.body;
783
777
  throwDefaultError({
@@ -788,9 +782,9 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
788
782
  });
789
783
  }
790
784
  };
791
- export const deserializeAws_restJson1CreateDataSetImportTaskCommand = async (output, context) => {
785
+ export const de_CreateDataSetImportTaskCommand = async (output, context) => {
792
786
  if (output.statusCode !== 200 && output.statusCode >= 300) {
793
- return deserializeAws_restJson1CreateDataSetImportTaskCommandError(output, context);
787
+ return de_CreateDataSetImportTaskCommandError(output, context);
794
788
  }
795
789
  const contents = map({
796
790
  $metadata: deserializeMetadata(output),
@@ -801,7 +795,7 @@ export const deserializeAws_restJson1CreateDataSetImportTaskCommand = async (out
801
795
  }
802
796
  return contents;
803
797
  };
804
- const deserializeAws_restJson1CreateDataSetImportTaskCommandError = async (output, context) => {
798
+ const de_CreateDataSetImportTaskCommandError = async (output, context) => {
805
799
  const parsedOutput = {
806
800
  ...output,
807
801
  body: await parseErrorBody(output.body, context),
@@ -810,25 +804,25 @@ const deserializeAws_restJson1CreateDataSetImportTaskCommandError = async (outpu
810
804
  switch (errorCode) {
811
805
  case "AccessDeniedException":
812
806
  case "com.amazonaws.m2#AccessDeniedException":
813
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
807
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
814
808
  case "ConflictException":
815
809
  case "com.amazonaws.m2#ConflictException":
816
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
810
+ throw await de_ConflictExceptionRes(parsedOutput, context);
817
811
  case "InternalServerException":
818
812
  case "com.amazonaws.m2#InternalServerException":
819
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
813
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
820
814
  case "ResourceNotFoundException":
821
815
  case "com.amazonaws.m2#ResourceNotFoundException":
822
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
816
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
823
817
  case "ServiceQuotaExceededException":
824
818
  case "com.amazonaws.m2#ServiceQuotaExceededException":
825
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
819
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
826
820
  case "ThrottlingException":
827
821
  case "com.amazonaws.m2#ThrottlingException":
828
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
822
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
829
823
  case "ValidationException":
830
824
  case "com.amazonaws.m2#ValidationException":
831
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
825
+ throw await de_ValidationExceptionRes(parsedOutput, context);
832
826
  default:
833
827
  const parsedBody = parsedOutput.body;
834
828
  throwDefaultError({
@@ -839,9 +833,9 @@ const deserializeAws_restJson1CreateDataSetImportTaskCommandError = async (outpu
839
833
  });
840
834
  }
841
835
  };
842
- export const deserializeAws_restJson1CreateDeploymentCommand = async (output, context) => {
836
+ export const de_CreateDeploymentCommand = async (output, context) => {
843
837
  if (output.statusCode !== 200 && output.statusCode >= 300) {
844
- return deserializeAws_restJson1CreateDeploymentCommandError(output, context);
838
+ return de_CreateDeploymentCommandError(output, context);
845
839
  }
846
840
  const contents = map({
847
841
  $metadata: deserializeMetadata(output),
@@ -852,7 +846,7 @@ export const deserializeAws_restJson1CreateDeploymentCommand = async (output, co
852
846
  }
853
847
  return contents;
854
848
  };
855
- const deserializeAws_restJson1CreateDeploymentCommandError = async (output, context) => {
849
+ const de_CreateDeploymentCommandError = async (output, context) => {
856
850
  const parsedOutput = {
857
851
  ...output,
858
852
  body: await parseErrorBody(output.body, context),
@@ -861,25 +855,25 @@ const deserializeAws_restJson1CreateDeploymentCommandError = async (output, cont
861
855
  switch (errorCode) {
862
856
  case "AccessDeniedException":
863
857
  case "com.amazonaws.m2#AccessDeniedException":
864
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
858
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
865
859
  case "ConflictException":
866
860
  case "com.amazonaws.m2#ConflictException":
867
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
861
+ throw await de_ConflictExceptionRes(parsedOutput, context);
868
862
  case "InternalServerException":
869
863
  case "com.amazonaws.m2#InternalServerException":
870
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
864
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
871
865
  case "ResourceNotFoundException":
872
866
  case "com.amazonaws.m2#ResourceNotFoundException":
873
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
867
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
874
868
  case "ServiceQuotaExceededException":
875
869
  case "com.amazonaws.m2#ServiceQuotaExceededException":
876
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
870
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
877
871
  case "ThrottlingException":
878
872
  case "com.amazonaws.m2#ThrottlingException":
879
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
873
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
880
874
  case "ValidationException":
881
875
  case "com.amazonaws.m2#ValidationException":
882
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
876
+ throw await de_ValidationExceptionRes(parsedOutput, context);
883
877
  default:
884
878
  const parsedBody = parsedOutput.body;
885
879
  throwDefaultError({
@@ -890,9 +884,9 @@ const deserializeAws_restJson1CreateDeploymentCommandError = async (output, cont
890
884
  });
891
885
  }
892
886
  };
893
- export const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context) => {
887
+ export const de_CreateEnvironmentCommand = async (output, context) => {
894
888
  if (output.statusCode !== 200 && output.statusCode >= 300) {
895
- return deserializeAws_restJson1CreateEnvironmentCommandError(output, context);
889
+ return de_CreateEnvironmentCommandError(output, context);
896
890
  }
897
891
  const contents = map({
898
892
  $metadata: deserializeMetadata(output),
@@ -903,7 +897,7 @@ export const deserializeAws_restJson1CreateEnvironmentCommand = async (output, c
903
897
  }
904
898
  return contents;
905
899
  };
906
- const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, context) => {
900
+ const de_CreateEnvironmentCommandError = async (output, context) => {
907
901
  const parsedOutput = {
908
902
  ...output,
909
903
  body: await parseErrorBody(output.body, context),
@@ -912,22 +906,22 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
912
906
  switch (errorCode) {
913
907
  case "AccessDeniedException":
914
908
  case "com.amazonaws.m2#AccessDeniedException":
915
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
909
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
916
910
  case "ConflictException":
917
911
  case "com.amazonaws.m2#ConflictException":
918
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
912
+ throw await de_ConflictExceptionRes(parsedOutput, context);
919
913
  case "InternalServerException":
920
914
  case "com.amazonaws.m2#InternalServerException":
921
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
915
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
922
916
  case "ServiceQuotaExceededException":
923
917
  case "com.amazonaws.m2#ServiceQuotaExceededException":
924
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
918
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
925
919
  case "ThrottlingException":
926
920
  case "com.amazonaws.m2#ThrottlingException":
927
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
921
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
928
922
  case "ValidationException":
929
923
  case "com.amazonaws.m2#ValidationException":
930
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
924
+ throw await de_ValidationExceptionRes(parsedOutput, context);
931
925
  default:
932
926
  const parsedBody = parsedOutput.body;
933
927
  throwDefaultError({
@@ -938,9 +932,9 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
938
932
  });
939
933
  }
940
934
  };
941
- export const deserializeAws_restJson1DeleteApplicationCommand = async (output, context) => {
935
+ export const de_DeleteApplicationCommand = async (output, context) => {
942
936
  if (output.statusCode !== 200 && output.statusCode >= 300) {
943
- return deserializeAws_restJson1DeleteApplicationCommandError(output, context);
937
+ return de_DeleteApplicationCommandError(output, context);
944
938
  }
945
939
  const contents = map({
946
940
  $metadata: deserializeMetadata(output),
@@ -948,7 +942,7 @@ export const deserializeAws_restJson1DeleteApplicationCommand = async (output, c
948
942
  await collectBody(output.body, context);
949
943
  return contents;
950
944
  };
951
- const deserializeAws_restJson1DeleteApplicationCommandError = async (output, context) => {
945
+ const de_DeleteApplicationCommandError = async (output, context) => {
952
946
  const parsedOutput = {
953
947
  ...output,
954
948
  body: await parseErrorBody(output.body, context),
@@ -957,19 +951,19 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
957
951
  switch (errorCode) {
958
952
  case "AccessDeniedException":
959
953
  case "com.amazonaws.m2#AccessDeniedException":
960
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
954
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
961
955
  case "ConflictException":
962
956
  case "com.amazonaws.m2#ConflictException":
963
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
957
+ throw await de_ConflictExceptionRes(parsedOutput, context);
964
958
  case "InternalServerException":
965
959
  case "com.amazonaws.m2#InternalServerException":
966
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
960
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
967
961
  case "ThrottlingException":
968
962
  case "com.amazonaws.m2#ThrottlingException":
969
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
963
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
970
964
  case "ValidationException":
971
965
  case "com.amazonaws.m2#ValidationException":
972
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
966
+ throw await de_ValidationExceptionRes(parsedOutput, context);
973
967
  default:
974
968
  const parsedBody = parsedOutput.body;
975
969
  throwDefaultError({
@@ -980,9 +974,9 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
980
974
  });
981
975
  }
982
976
  };
983
- export const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommand = async (output, context) => {
977
+ export const de_DeleteApplicationFromEnvironmentCommand = async (output, context) => {
984
978
  if (output.statusCode !== 200 && output.statusCode >= 300) {
985
- return deserializeAws_restJson1DeleteApplicationFromEnvironmentCommandError(output, context);
979
+ return de_DeleteApplicationFromEnvironmentCommandError(output, context);
986
980
  }
987
981
  const contents = map({
988
982
  $metadata: deserializeMetadata(output),
@@ -990,7 +984,7 @@ export const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommand = a
990
984
  await collectBody(output.body, context);
991
985
  return contents;
992
986
  };
993
- const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommandError = async (output, context) => {
987
+ const de_DeleteApplicationFromEnvironmentCommandError = async (output, context) => {
994
988
  const parsedOutput = {
995
989
  ...output,
996
990
  body: await parseErrorBody(output.body, context),
@@ -999,22 +993,22 @@ const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommandError = asy
999
993
  switch (errorCode) {
1000
994
  case "AccessDeniedException":
1001
995
  case "com.amazonaws.m2#AccessDeniedException":
1002
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
996
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1003
997
  case "ConflictException":
1004
998
  case "com.amazonaws.m2#ConflictException":
1005
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
999
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1006
1000
  case "InternalServerException":
1007
1001
  case "com.amazonaws.m2#InternalServerException":
1008
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1002
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1009
1003
  case "ResourceNotFoundException":
1010
1004
  case "com.amazonaws.m2#ResourceNotFoundException":
1011
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1005
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1012
1006
  case "ThrottlingException":
1013
1007
  case "com.amazonaws.m2#ThrottlingException":
1014
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1008
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1015
1009
  case "ValidationException":
1016
1010
  case "com.amazonaws.m2#ValidationException":
1017
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1011
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1018
1012
  default:
1019
1013
  const parsedBody = parsedOutput.body;
1020
1014
  throwDefaultError({
@@ -1025,9 +1019,9 @@ const deserializeAws_restJson1DeleteApplicationFromEnvironmentCommandError = asy
1025
1019
  });
1026
1020
  }
1027
1021
  };
1028
- export const deserializeAws_restJson1DeleteEnvironmentCommand = async (output, context) => {
1022
+ export const de_DeleteEnvironmentCommand = async (output, context) => {
1029
1023
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1030
- return deserializeAws_restJson1DeleteEnvironmentCommandError(output, context);
1024
+ return de_DeleteEnvironmentCommandError(output, context);
1031
1025
  }
1032
1026
  const contents = map({
1033
1027
  $metadata: deserializeMetadata(output),
@@ -1035,7 +1029,7 @@ export const deserializeAws_restJson1DeleteEnvironmentCommand = async (output, c
1035
1029
  await collectBody(output.body, context);
1036
1030
  return contents;
1037
1031
  };
1038
- const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, context) => {
1032
+ const de_DeleteEnvironmentCommandError = async (output, context) => {
1039
1033
  const parsedOutput = {
1040
1034
  ...output,
1041
1035
  body: await parseErrorBody(output.body, context),
@@ -1044,19 +1038,19 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
1044
1038
  switch (errorCode) {
1045
1039
  case "AccessDeniedException":
1046
1040
  case "com.amazonaws.m2#AccessDeniedException":
1047
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1041
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1048
1042
  case "ConflictException":
1049
1043
  case "com.amazonaws.m2#ConflictException":
1050
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1044
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1051
1045
  case "InternalServerException":
1052
1046
  case "com.amazonaws.m2#InternalServerException":
1053
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1047
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1054
1048
  case "ThrottlingException":
1055
1049
  case "com.amazonaws.m2#ThrottlingException":
1056
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1050
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1057
1051
  case "ValidationException":
1058
1052
  case "com.amazonaws.m2#ValidationException":
1059
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1053
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1060
1054
  default:
1061
1055
  const parsedBody = parsedOutput.body;
1062
1056
  throwDefaultError({
@@ -1067,9 +1061,9 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
1067
1061
  });
1068
1062
  }
1069
1063
  };
1070
- export const deserializeAws_restJson1GetApplicationCommand = async (output, context) => {
1064
+ export const de_GetApplicationCommand = async (output, context) => {
1071
1065
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1072
- return deserializeAws_restJson1GetApplicationCommandError(output, context);
1066
+ return de_GetApplicationCommandError(output, context);
1073
1067
  }
1074
1068
  const contents = map({
1075
1069
  $metadata: deserializeMetadata(output),
@@ -1085,7 +1079,7 @@ export const deserializeAws_restJson1GetApplicationCommand = async (output, cont
1085
1079
  contents.creationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.creationTime)));
1086
1080
  }
1087
1081
  if (data.deployedVersion != null) {
1088
- contents.deployedVersion = deserializeAws_restJson1DeployedVersionSummary(data.deployedVersion, context);
1082
+ contents.deployedVersion = de_DeployedVersionSummary(data.deployedVersion, context);
1089
1083
  }
1090
1084
  if (data.description != null) {
1091
1085
  contents.description = __expectString(data.description);
@@ -1103,19 +1097,19 @@ export const deserializeAws_restJson1GetApplicationCommand = async (output, cont
1103
1097
  contents.lastStartTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastStartTime)));
1104
1098
  }
1105
1099
  if (data.latestVersion != null) {
1106
- contents.latestVersion = deserializeAws_restJson1ApplicationVersionSummary(data.latestVersion, context);
1100
+ contents.latestVersion = de_ApplicationVersionSummary(data.latestVersion, context);
1107
1101
  }
1108
1102
  if (data.listenerArns != null) {
1109
- contents.listenerArns = deserializeAws_restJson1ArnList(data.listenerArns, context);
1103
+ contents.listenerArns = de_ArnList(data.listenerArns, context);
1110
1104
  }
1111
1105
  if (data.listenerPorts != null) {
1112
- contents.listenerPorts = deserializeAws_restJson1PortList(data.listenerPorts, context);
1106
+ contents.listenerPorts = de_PortList(data.listenerPorts, context);
1113
1107
  }
1114
1108
  if (data.loadBalancerDnsName != null) {
1115
1109
  contents.loadBalancerDnsName = __expectString(data.loadBalancerDnsName);
1116
1110
  }
1117
1111
  if (data.logGroups != null) {
1118
- contents.logGroups = deserializeAws_restJson1LogGroupSummaries(data.logGroups, context);
1112
+ contents.logGroups = de_LogGroupSummaries(data.logGroups, context);
1119
1113
  }
1120
1114
  if (data.name != null) {
1121
1115
  contents.name = __expectString(data.name);
@@ -1127,14 +1121,14 @@ export const deserializeAws_restJson1GetApplicationCommand = async (output, cont
1127
1121
  contents.statusReason = __expectString(data.statusReason);
1128
1122
  }
1129
1123
  if (data.tags != null) {
1130
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1124
+ contents.tags = de_TagMap(data.tags, context);
1131
1125
  }
1132
1126
  if (data.targetGroupArns != null) {
1133
- contents.targetGroupArns = deserializeAws_restJson1ArnList(data.targetGroupArns, context);
1127
+ contents.targetGroupArns = de_ArnList(data.targetGroupArns, context);
1134
1128
  }
1135
1129
  return contents;
1136
1130
  };
1137
- const deserializeAws_restJson1GetApplicationCommandError = async (output, context) => {
1131
+ const de_GetApplicationCommandError = async (output, context) => {
1138
1132
  const parsedOutput = {
1139
1133
  ...output,
1140
1134
  body: await parseErrorBody(output.body, context),
@@ -1143,19 +1137,19 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
1143
1137
  switch (errorCode) {
1144
1138
  case "AccessDeniedException":
1145
1139
  case "com.amazonaws.m2#AccessDeniedException":
1146
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1140
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1147
1141
  case "InternalServerException":
1148
1142
  case "com.amazonaws.m2#InternalServerException":
1149
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1143
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1150
1144
  case "ResourceNotFoundException":
1151
1145
  case "com.amazonaws.m2#ResourceNotFoundException":
1152
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1146
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1153
1147
  case "ThrottlingException":
1154
1148
  case "com.amazonaws.m2#ThrottlingException":
1155
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1149
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1156
1150
  case "ValidationException":
1157
1151
  case "com.amazonaws.m2#ValidationException":
1158
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1152
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1159
1153
  default:
1160
1154
  const parsedBody = parsedOutput.body;
1161
1155
  throwDefaultError({
@@ -1166,9 +1160,9 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
1166
1160
  });
1167
1161
  }
1168
1162
  };
1169
- export const deserializeAws_restJson1GetApplicationVersionCommand = async (output, context) => {
1163
+ export const de_GetApplicationVersionCommand = async (output, context) => {
1170
1164
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1171
- return deserializeAws_restJson1GetApplicationVersionCommandError(output, context);
1165
+ return de_GetApplicationVersionCommandError(output, context);
1172
1166
  }
1173
1167
  const contents = map({
1174
1168
  $metadata: deserializeMetadata(output),
@@ -1197,7 +1191,7 @@ export const deserializeAws_restJson1GetApplicationVersionCommand = async (outpu
1197
1191
  }
1198
1192
  return contents;
1199
1193
  };
1200
- const deserializeAws_restJson1GetApplicationVersionCommandError = async (output, context) => {
1194
+ const de_GetApplicationVersionCommandError = async (output, context) => {
1201
1195
  const parsedOutput = {
1202
1196
  ...output,
1203
1197
  body: await parseErrorBody(output.body, context),
@@ -1206,19 +1200,19 @@ const deserializeAws_restJson1GetApplicationVersionCommandError = async (output,
1206
1200
  switch (errorCode) {
1207
1201
  case "AccessDeniedException":
1208
1202
  case "com.amazonaws.m2#AccessDeniedException":
1209
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1203
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1210
1204
  case "InternalServerException":
1211
1205
  case "com.amazonaws.m2#InternalServerException":
1212
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1206
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1213
1207
  case "ResourceNotFoundException":
1214
1208
  case "com.amazonaws.m2#ResourceNotFoundException":
1215
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1209
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1216
1210
  case "ThrottlingException":
1217
1211
  case "com.amazonaws.m2#ThrottlingException":
1218
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1212
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1219
1213
  case "ValidationException":
1220
1214
  case "com.amazonaws.m2#ValidationException":
1221
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1215
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1222
1216
  default:
1223
1217
  const parsedBody = parsedOutput.body;
1224
1218
  throwDefaultError({
@@ -1229,9 +1223,9 @@ const deserializeAws_restJson1GetApplicationVersionCommandError = async (output,
1229
1223
  });
1230
1224
  }
1231
1225
  };
1232
- export const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output, context) => {
1226
+ export const de_GetBatchJobExecutionCommand = async (output, context) => {
1233
1227
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1234
- return deserializeAws_restJson1GetBatchJobExecutionCommandError(output, context);
1228
+ return de_GetBatchJobExecutionCommandError(output, context);
1235
1229
  }
1236
1230
  const contents = map({
1237
1231
  $metadata: deserializeMetadata(output),
@@ -1241,7 +1235,7 @@ export const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output
1241
1235
  contents.applicationId = __expectString(data.applicationId);
1242
1236
  }
1243
1237
  if (data.batchJobIdentifier != null) {
1244
- contents.batchJobIdentifier = deserializeAws_restJson1BatchJobIdentifier(__expectUnion(data.batchJobIdentifier), context);
1238
+ contents.batchJobIdentifier = de_BatchJobIdentifier(__expectUnion(data.batchJobIdentifier), context);
1245
1239
  }
1246
1240
  if (data.endTime != null) {
1247
1241
  contents.endTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.endTime)));
@@ -1275,7 +1269,7 @@ export const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output
1275
1269
  }
1276
1270
  return contents;
1277
1271
  };
1278
- const deserializeAws_restJson1GetBatchJobExecutionCommandError = async (output, context) => {
1272
+ const de_GetBatchJobExecutionCommandError = async (output, context) => {
1279
1273
  const parsedOutput = {
1280
1274
  ...output,
1281
1275
  body: await parseErrorBody(output.body, context),
@@ -1284,19 +1278,19 @@ const deserializeAws_restJson1GetBatchJobExecutionCommandError = async (output,
1284
1278
  switch (errorCode) {
1285
1279
  case "AccessDeniedException":
1286
1280
  case "com.amazonaws.m2#AccessDeniedException":
1287
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1281
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1288
1282
  case "InternalServerException":
1289
1283
  case "com.amazonaws.m2#InternalServerException":
1290
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1284
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1291
1285
  case "ResourceNotFoundException":
1292
1286
  case "com.amazonaws.m2#ResourceNotFoundException":
1293
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1287
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1294
1288
  case "ThrottlingException":
1295
1289
  case "com.amazonaws.m2#ThrottlingException":
1296
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1290
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1297
1291
  case "ValidationException":
1298
1292
  case "com.amazonaws.m2#ValidationException":
1299
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1293
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1300
1294
  default:
1301
1295
  const parsedBody = parsedOutput.body;
1302
1296
  throwDefaultError({
@@ -1307,9 +1301,9 @@ const deserializeAws_restJson1GetBatchJobExecutionCommandError = async (output,
1307
1301
  });
1308
1302
  }
1309
1303
  };
1310
- export const deserializeAws_restJson1GetDataSetDetailsCommand = async (output, context) => {
1304
+ export const de_GetDataSetDetailsCommand = async (output, context) => {
1311
1305
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1312
- return deserializeAws_restJson1GetDataSetDetailsCommandError(output, context);
1306
+ return de_GetDataSetDetailsCommandError(output, context);
1313
1307
  }
1314
1308
  const contents = map({
1315
1309
  $metadata: deserializeMetadata(output),
@@ -1325,7 +1319,7 @@ export const deserializeAws_restJson1GetDataSetDetailsCommand = async (output, c
1325
1319
  contents.dataSetName = __expectString(data.dataSetName);
1326
1320
  }
1327
1321
  if (data.dataSetOrg != null) {
1328
- contents.dataSetOrg = deserializeAws_restJson1DatasetDetailOrgAttributes(__expectUnion(data.dataSetOrg), context);
1322
+ contents.dataSetOrg = de_DatasetDetailOrgAttributes(__expectUnion(data.dataSetOrg), context);
1329
1323
  }
1330
1324
  if (data.lastReferencedTime != null) {
1331
1325
  contents.lastReferencedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastReferencedTime)));
@@ -1341,7 +1335,7 @@ export const deserializeAws_restJson1GetDataSetDetailsCommand = async (output, c
1341
1335
  }
1342
1336
  return contents;
1343
1337
  };
1344
- const deserializeAws_restJson1GetDataSetDetailsCommandError = async (output, context) => {
1338
+ const de_GetDataSetDetailsCommandError = async (output, context) => {
1345
1339
  const parsedOutput = {
1346
1340
  ...output,
1347
1341
  body: await parseErrorBody(output.body, context),
@@ -1350,19 +1344,19 @@ const deserializeAws_restJson1GetDataSetDetailsCommandError = async (output, con
1350
1344
  switch (errorCode) {
1351
1345
  case "AccessDeniedException":
1352
1346
  case "com.amazonaws.m2#AccessDeniedException":
1353
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1347
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1354
1348
  case "InternalServerException":
1355
1349
  case "com.amazonaws.m2#InternalServerException":
1356
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1350
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1357
1351
  case "ResourceNotFoundException":
1358
1352
  case "com.amazonaws.m2#ResourceNotFoundException":
1359
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1353
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1360
1354
  case "ThrottlingException":
1361
1355
  case "com.amazonaws.m2#ThrottlingException":
1362
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1356
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1363
1357
  case "ValidationException":
1364
1358
  case "com.amazonaws.m2#ValidationException":
1365
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1359
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1366
1360
  default:
1367
1361
  const parsedBody = parsedOutput.body;
1368
1362
  throwDefaultError({
@@ -1373,9 +1367,9 @@ const deserializeAws_restJson1GetDataSetDetailsCommandError = async (output, con
1373
1367
  });
1374
1368
  }
1375
1369
  };
1376
- export const deserializeAws_restJson1GetDataSetImportTaskCommand = async (output, context) => {
1370
+ export const de_GetDataSetImportTaskCommand = async (output, context) => {
1377
1371
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1378
- return deserializeAws_restJson1GetDataSetImportTaskCommandError(output, context);
1372
+ return de_GetDataSetImportTaskCommandError(output, context);
1379
1373
  }
1380
1374
  const contents = map({
1381
1375
  $metadata: deserializeMetadata(output),
@@ -1385,14 +1379,14 @@ export const deserializeAws_restJson1GetDataSetImportTaskCommand = async (output
1385
1379
  contents.status = __expectString(data.status);
1386
1380
  }
1387
1381
  if (data.summary != null) {
1388
- contents.summary = deserializeAws_restJson1DataSetImportSummary(data.summary, context);
1382
+ contents.summary = de_DataSetImportSummary(data.summary, context);
1389
1383
  }
1390
1384
  if (data.taskId != null) {
1391
1385
  contents.taskId = __expectString(data.taskId);
1392
1386
  }
1393
1387
  return contents;
1394
1388
  };
1395
- const deserializeAws_restJson1GetDataSetImportTaskCommandError = async (output, context) => {
1389
+ const de_GetDataSetImportTaskCommandError = async (output, context) => {
1396
1390
  const parsedOutput = {
1397
1391
  ...output,
1398
1392
  body: await parseErrorBody(output.body, context),
@@ -1401,19 +1395,19 @@ const deserializeAws_restJson1GetDataSetImportTaskCommandError = async (output,
1401
1395
  switch (errorCode) {
1402
1396
  case "AccessDeniedException":
1403
1397
  case "com.amazonaws.m2#AccessDeniedException":
1404
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1398
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1405
1399
  case "InternalServerException":
1406
1400
  case "com.amazonaws.m2#InternalServerException":
1407
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1401
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1408
1402
  case "ResourceNotFoundException":
1409
1403
  case "com.amazonaws.m2#ResourceNotFoundException":
1410
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1404
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1411
1405
  case "ThrottlingException":
1412
1406
  case "com.amazonaws.m2#ThrottlingException":
1413
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1407
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1414
1408
  case "ValidationException":
1415
1409
  case "com.amazonaws.m2#ValidationException":
1416
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1410
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1417
1411
  default:
1418
1412
  const parsedBody = parsedOutput.body;
1419
1413
  throwDefaultError({
@@ -1424,9 +1418,9 @@ const deserializeAws_restJson1GetDataSetImportTaskCommandError = async (output,
1424
1418
  });
1425
1419
  }
1426
1420
  };
1427
- export const deserializeAws_restJson1GetDeploymentCommand = async (output, context) => {
1421
+ export const de_GetDeploymentCommand = async (output, context) => {
1428
1422
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1429
- return deserializeAws_restJson1GetDeploymentCommandError(output, context);
1423
+ return de_GetDeploymentCommandError(output, context);
1430
1424
  }
1431
1425
  const contents = map({
1432
1426
  $metadata: deserializeMetadata(output),
@@ -1455,7 +1449,7 @@ export const deserializeAws_restJson1GetDeploymentCommand = async (output, conte
1455
1449
  }
1456
1450
  return contents;
1457
1451
  };
1458
- const deserializeAws_restJson1GetDeploymentCommandError = async (output, context) => {
1452
+ const de_GetDeploymentCommandError = async (output, context) => {
1459
1453
  const parsedOutput = {
1460
1454
  ...output,
1461
1455
  body: await parseErrorBody(output.body, context),
@@ -1464,19 +1458,19 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
1464
1458
  switch (errorCode) {
1465
1459
  case "AccessDeniedException":
1466
1460
  case "com.amazonaws.m2#AccessDeniedException":
1467
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1461
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1468
1462
  case "InternalServerException":
1469
1463
  case "com.amazonaws.m2#InternalServerException":
1470
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1464
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1471
1465
  case "ResourceNotFoundException":
1472
1466
  case "com.amazonaws.m2#ResourceNotFoundException":
1473
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1467
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1474
1468
  case "ThrottlingException":
1475
1469
  case "com.amazonaws.m2#ThrottlingException":
1476
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1470
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1477
1471
  case "ValidationException":
1478
1472
  case "com.amazonaws.m2#ValidationException":
1479
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1473
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1480
1474
  default:
1481
1475
  const parsedBody = parsedOutput.body;
1482
1476
  throwDefaultError({
@@ -1487,9 +1481,9 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
1487
1481
  });
1488
1482
  }
1489
1483
  };
1490
- export const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) => {
1484
+ export const de_GetEnvironmentCommand = async (output, context) => {
1491
1485
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1492
- return deserializeAws_restJson1GetEnvironmentCommandError(output, context);
1486
+ return de_GetEnvironmentCommandError(output, context);
1493
1487
  }
1494
1488
  const contents = map({
1495
1489
  $metadata: deserializeMetadata(output),
@@ -1517,7 +1511,7 @@ export const deserializeAws_restJson1GetEnvironmentCommand = async (output, cont
1517
1511
  contents.environmentId = __expectString(data.environmentId);
1518
1512
  }
1519
1513
  if (data.highAvailabilityConfig != null) {
1520
- contents.highAvailabilityConfig = deserializeAws_restJson1HighAvailabilityConfig(data.highAvailabilityConfig, context);
1514
+ contents.highAvailabilityConfig = de_HighAvailabilityConfig(data.highAvailabilityConfig, context);
1521
1515
  }
1522
1516
  if (data.instanceType != null) {
1523
1517
  contents.instanceType = __expectString(data.instanceType);
@@ -1532,7 +1526,7 @@ export const deserializeAws_restJson1GetEnvironmentCommand = async (output, cont
1532
1526
  contents.name = __expectString(data.name);
1533
1527
  }
1534
1528
  if (data.pendingMaintenance != null) {
1535
- contents.pendingMaintenance = deserializeAws_restJson1PendingMaintenance(data.pendingMaintenance, context);
1529
+ contents.pendingMaintenance = de_PendingMaintenance(data.pendingMaintenance, context);
1536
1530
  }
1537
1531
  if (data.preferredMaintenanceWindow != null) {
1538
1532
  contents.preferredMaintenanceWindow = __expectString(data.preferredMaintenanceWindow);
@@ -1541,7 +1535,7 @@ export const deserializeAws_restJson1GetEnvironmentCommand = async (output, cont
1541
1535
  contents.publiclyAccessible = __expectBoolean(data.publiclyAccessible);
1542
1536
  }
1543
1537
  if (data.securityGroupIds != null) {
1544
- contents.securityGroupIds = deserializeAws_restJson1String50List(data.securityGroupIds, context);
1538
+ contents.securityGroupIds = de_String50List(data.securityGroupIds, context);
1545
1539
  }
1546
1540
  if (data.status != null) {
1547
1541
  contents.status = __expectString(data.status);
@@ -1550,20 +1544,20 @@ export const deserializeAws_restJson1GetEnvironmentCommand = async (output, cont
1550
1544
  contents.statusReason = __expectString(data.statusReason);
1551
1545
  }
1552
1546
  if (data.storageConfigurations != null) {
1553
- contents.storageConfigurations = deserializeAws_restJson1StorageConfigurationList(data.storageConfigurations, context);
1547
+ contents.storageConfigurations = de_StorageConfigurationList(data.storageConfigurations, context);
1554
1548
  }
1555
1549
  if (data.subnetIds != null) {
1556
- contents.subnetIds = deserializeAws_restJson1String50List(data.subnetIds, context);
1550
+ contents.subnetIds = de_String50List(data.subnetIds, context);
1557
1551
  }
1558
1552
  if (data.tags != null) {
1559
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1553
+ contents.tags = de_TagMap(data.tags, context);
1560
1554
  }
1561
1555
  if (data.vpcId != null) {
1562
1556
  contents.vpcId = __expectString(data.vpcId);
1563
1557
  }
1564
1558
  return contents;
1565
1559
  };
1566
- const deserializeAws_restJson1GetEnvironmentCommandError = async (output, context) => {
1560
+ const de_GetEnvironmentCommandError = async (output, context) => {
1567
1561
  const parsedOutput = {
1568
1562
  ...output,
1569
1563
  body: await parseErrorBody(output.body, context),
@@ -1572,19 +1566,19 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
1572
1566
  switch (errorCode) {
1573
1567
  case "AccessDeniedException":
1574
1568
  case "com.amazonaws.m2#AccessDeniedException":
1575
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1569
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1576
1570
  case "InternalServerException":
1577
1571
  case "com.amazonaws.m2#InternalServerException":
1578
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1572
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1579
1573
  case "ResourceNotFoundException":
1580
1574
  case "com.amazonaws.m2#ResourceNotFoundException":
1581
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1575
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1582
1576
  case "ThrottlingException":
1583
1577
  case "com.amazonaws.m2#ThrottlingException":
1584
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1578
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1585
1579
  case "ValidationException":
1586
1580
  case "com.amazonaws.m2#ValidationException":
1587
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1581
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1588
1582
  default:
1589
1583
  const parsedBody = parsedOutput.body;
1590
1584
  throwDefaultError({
@@ -1595,23 +1589,23 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
1595
1589
  });
1596
1590
  }
1597
1591
  };
1598
- export const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
1592
+ export const de_ListApplicationsCommand = async (output, context) => {
1599
1593
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1600
- return deserializeAws_restJson1ListApplicationsCommandError(output, context);
1594
+ return de_ListApplicationsCommandError(output, context);
1601
1595
  }
1602
1596
  const contents = map({
1603
1597
  $metadata: deserializeMetadata(output),
1604
1598
  });
1605
1599
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1606
1600
  if (data.applications != null) {
1607
- contents.applications = deserializeAws_restJson1ApplicationSummaryList(data.applications, context);
1601
+ contents.applications = de_ApplicationSummaryList(data.applications, context);
1608
1602
  }
1609
1603
  if (data.nextToken != null) {
1610
1604
  contents.nextToken = __expectString(data.nextToken);
1611
1605
  }
1612
1606
  return contents;
1613
1607
  };
1614
- const deserializeAws_restJson1ListApplicationsCommandError = async (output, context) => {
1608
+ const de_ListApplicationsCommandError = async (output, context) => {
1615
1609
  const parsedOutput = {
1616
1610
  ...output,
1617
1611
  body: await parseErrorBody(output.body, context),
@@ -1620,16 +1614,16 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
1620
1614
  switch (errorCode) {
1621
1615
  case "AccessDeniedException":
1622
1616
  case "com.amazonaws.m2#AccessDeniedException":
1623
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1617
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1624
1618
  case "InternalServerException":
1625
1619
  case "com.amazonaws.m2#InternalServerException":
1626
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1620
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1627
1621
  case "ThrottlingException":
1628
1622
  case "com.amazonaws.m2#ThrottlingException":
1629
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1623
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1630
1624
  case "ValidationException":
1631
1625
  case "com.amazonaws.m2#ValidationException":
1632
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1626
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1633
1627
  default:
1634
1628
  const parsedBody = parsedOutput.body;
1635
1629
  throwDefaultError({
@@ -1640,23 +1634,23 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
1640
1634
  });
1641
1635
  }
1642
1636
  };
1643
- export const deserializeAws_restJson1ListApplicationVersionsCommand = async (output, context) => {
1637
+ export const de_ListApplicationVersionsCommand = async (output, context) => {
1644
1638
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1645
- return deserializeAws_restJson1ListApplicationVersionsCommandError(output, context);
1639
+ return de_ListApplicationVersionsCommandError(output, context);
1646
1640
  }
1647
1641
  const contents = map({
1648
1642
  $metadata: deserializeMetadata(output),
1649
1643
  });
1650
1644
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1651
1645
  if (data.applicationVersions != null) {
1652
- contents.applicationVersions = deserializeAws_restJson1ApplicationVersionSummaryList(data.applicationVersions, context);
1646
+ contents.applicationVersions = de_ApplicationVersionSummaryList(data.applicationVersions, context);
1653
1647
  }
1654
1648
  if (data.nextToken != null) {
1655
1649
  contents.nextToken = __expectString(data.nextToken);
1656
1650
  }
1657
1651
  return contents;
1658
1652
  };
1659
- const deserializeAws_restJson1ListApplicationVersionsCommandError = async (output, context) => {
1653
+ const de_ListApplicationVersionsCommandError = async (output, context) => {
1660
1654
  const parsedOutput = {
1661
1655
  ...output,
1662
1656
  body: await parseErrorBody(output.body, context),
@@ -1665,19 +1659,19 @@ const deserializeAws_restJson1ListApplicationVersionsCommandError = async (outpu
1665
1659
  switch (errorCode) {
1666
1660
  case "AccessDeniedException":
1667
1661
  case "com.amazonaws.m2#AccessDeniedException":
1668
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1662
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1669
1663
  case "InternalServerException":
1670
1664
  case "com.amazonaws.m2#InternalServerException":
1671
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1665
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1672
1666
  case "ResourceNotFoundException":
1673
1667
  case "com.amazonaws.m2#ResourceNotFoundException":
1674
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1668
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1675
1669
  case "ThrottlingException":
1676
1670
  case "com.amazonaws.m2#ThrottlingException":
1677
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1671
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1678
1672
  case "ValidationException":
1679
1673
  case "com.amazonaws.m2#ValidationException":
1680
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1674
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1681
1675
  default:
1682
1676
  const parsedBody = parsedOutput.body;
1683
1677
  throwDefaultError({
@@ -1688,23 +1682,23 @@ const deserializeAws_restJson1ListApplicationVersionsCommandError = async (outpu
1688
1682
  });
1689
1683
  }
1690
1684
  };
1691
- export const deserializeAws_restJson1ListBatchJobDefinitionsCommand = async (output, context) => {
1685
+ export const de_ListBatchJobDefinitionsCommand = async (output, context) => {
1692
1686
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1693
- return deserializeAws_restJson1ListBatchJobDefinitionsCommandError(output, context);
1687
+ return de_ListBatchJobDefinitionsCommandError(output, context);
1694
1688
  }
1695
1689
  const contents = map({
1696
1690
  $metadata: deserializeMetadata(output),
1697
1691
  });
1698
1692
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1699
1693
  if (data.batchJobDefinitions != null) {
1700
- contents.batchJobDefinitions = deserializeAws_restJson1BatchJobDefinitions(data.batchJobDefinitions, context);
1694
+ contents.batchJobDefinitions = de_BatchJobDefinitions(data.batchJobDefinitions, context);
1701
1695
  }
1702
1696
  if (data.nextToken != null) {
1703
1697
  contents.nextToken = __expectString(data.nextToken);
1704
1698
  }
1705
1699
  return contents;
1706
1700
  };
1707
- const deserializeAws_restJson1ListBatchJobDefinitionsCommandError = async (output, context) => {
1701
+ const de_ListBatchJobDefinitionsCommandError = async (output, context) => {
1708
1702
  const parsedOutput = {
1709
1703
  ...output,
1710
1704
  body: await parseErrorBody(output.body, context),
@@ -1713,19 +1707,19 @@ const deserializeAws_restJson1ListBatchJobDefinitionsCommandError = async (outpu
1713
1707
  switch (errorCode) {
1714
1708
  case "AccessDeniedException":
1715
1709
  case "com.amazonaws.m2#AccessDeniedException":
1716
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1710
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1717
1711
  case "InternalServerException":
1718
1712
  case "com.amazonaws.m2#InternalServerException":
1719
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1713
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1720
1714
  case "ResourceNotFoundException":
1721
1715
  case "com.amazonaws.m2#ResourceNotFoundException":
1722
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1716
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1723
1717
  case "ThrottlingException":
1724
1718
  case "com.amazonaws.m2#ThrottlingException":
1725
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1719
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1726
1720
  case "ValidationException":
1727
1721
  case "com.amazonaws.m2#ValidationException":
1728
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1722
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1729
1723
  default:
1730
1724
  const parsedBody = parsedOutput.body;
1731
1725
  throwDefaultError({
@@ -1736,23 +1730,23 @@ const deserializeAws_restJson1ListBatchJobDefinitionsCommandError = async (outpu
1736
1730
  });
1737
1731
  }
1738
1732
  };
1739
- export const deserializeAws_restJson1ListBatchJobExecutionsCommand = async (output, context) => {
1733
+ export const de_ListBatchJobExecutionsCommand = async (output, context) => {
1740
1734
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1741
- return deserializeAws_restJson1ListBatchJobExecutionsCommandError(output, context);
1735
+ return de_ListBatchJobExecutionsCommandError(output, context);
1742
1736
  }
1743
1737
  const contents = map({
1744
1738
  $metadata: deserializeMetadata(output),
1745
1739
  });
1746
1740
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1747
1741
  if (data.batchJobExecutions != null) {
1748
- contents.batchJobExecutions = deserializeAws_restJson1BatchJobExecutionSummaryList(data.batchJobExecutions, context);
1742
+ contents.batchJobExecutions = de_BatchJobExecutionSummaryList(data.batchJobExecutions, context);
1749
1743
  }
1750
1744
  if (data.nextToken != null) {
1751
1745
  contents.nextToken = __expectString(data.nextToken);
1752
1746
  }
1753
1747
  return contents;
1754
1748
  };
1755
- const deserializeAws_restJson1ListBatchJobExecutionsCommandError = async (output, context) => {
1749
+ const de_ListBatchJobExecutionsCommandError = async (output, context) => {
1756
1750
  const parsedOutput = {
1757
1751
  ...output,
1758
1752
  body: await parseErrorBody(output.body, context),
@@ -1761,19 +1755,19 @@ const deserializeAws_restJson1ListBatchJobExecutionsCommandError = async (output
1761
1755
  switch (errorCode) {
1762
1756
  case "AccessDeniedException":
1763
1757
  case "com.amazonaws.m2#AccessDeniedException":
1764
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1758
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1765
1759
  case "InternalServerException":
1766
1760
  case "com.amazonaws.m2#InternalServerException":
1767
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1761
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1768
1762
  case "ResourceNotFoundException":
1769
1763
  case "com.amazonaws.m2#ResourceNotFoundException":
1770
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1764
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1771
1765
  case "ThrottlingException":
1772
1766
  case "com.amazonaws.m2#ThrottlingException":
1773
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1767
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1774
1768
  case "ValidationException":
1775
1769
  case "com.amazonaws.m2#ValidationException":
1776
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1770
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1777
1771
  default:
1778
1772
  const parsedBody = parsedOutput.body;
1779
1773
  throwDefaultError({
@@ -1784,23 +1778,23 @@ const deserializeAws_restJson1ListBatchJobExecutionsCommandError = async (output
1784
1778
  });
1785
1779
  }
1786
1780
  };
1787
- export const deserializeAws_restJson1ListDataSetImportHistoryCommand = async (output, context) => {
1781
+ export const de_ListDataSetImportHistoryCommand = async (output, context) => {
1788
1782
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1789
- return deserializeAws_restJson1ListDataSetImportHistoryCommandError(output, context);
1783
+ return de_ListDataSetImportHistoryCommandError(output, context);
1790
1784
  }
1791
1785
  const contents = map({
1792
1786
  $metadata: deserializeMetadata(output),
1793
1787
  });
1794
1788
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1795
1789
  if (data.dataSetImportTasks != null) {
1796
- contents.dataSetImportTasks = deserializeAws_restJson1DataSetImportTaskList(data.dataSetImportTasks, context);
1790
+ contents.dataSetImportTasks = de_DataSetImportTaskList(data.dataSetImportTasks, context);
1797
1791
  }
1798
1792
  if (data.nextToken != null) {
1799
1793
  contents.nextToken = __expectString(data.nextToken);
1800
1794
  }
1801
1795
  return contents;
1802
1796
  };
1803
- const deserializeAws_restJson1ListDataSetImportHistoryCommandError = async (output, context) => {
1797
+ const de_ListDataSetImportHistoryCommandError = async (output, context) => {
1804
1798
  const parsedOutput = {
1805
1799
  ...output,
1806
1800
  body: await parseErrorBody(output.body, context),
@@ -1809,19 +1803,19 @@ const deserializeAws_restJson1ListDataSetImportHistoryCommandError = async (outp
1809
1803
  switch (errorCode) {
1810
1804
  case "AccessDeniedException":
1811
1805
  case "com.amazonaws.m2#AccessDeniedException":
1812
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1806
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1813
1807
  case "InternalServerException":
1814
1808
  case "com.amazonaws.m2#InternalServerException":
1815
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1809
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1816
1810
  case "ResourceNotFoundException":
1817
1811
  case "com.amazonaws.m2#ResourceNotFoundException":
1818
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1812
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1819
1813
  case "ThrottlingException":
1820
1814
  case "com.amazonaws.m2#ThrottlingException":
1821
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1815
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1822
1816
  case "ValidationException":
1823
1817
  case "com.amazonaws.m2#ValidationException":
1824
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1818
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1825
1819
  default:
1826
1820
  const parsedBody = parsedOutput.body;
1827
1821
  throwDefaultError({
@@ -1832,23 +1826,23 @@ const deserializeAws_restJson1ListDataSetImportHistoryCommandError = async (outp
1832
1826
  });
1833
1827
  }
1834
1828
  };
1835
- export const deserializeAws_restJson1ListDataSetsCommand = async (output, context) => {
1829
+ export const de_ListDataSetsCommand = async (output, context) => {
1836
1830
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1837
- return deserializeAws_restJson1ListDataSetsCommandError(output, context);
1831
+ return de_ListDataSetsCommandError(output, context);
1838
1832
  }
1839
1833
  const contents = map({
1840
1834
  $metadata: deserializeMetadata(output),
1841
1835
  });
1842
1836
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1843
1837
  if (data.dataSets != null) {
1844
- contents.dataSets = deserializeAws_restJson1DataSetsSummaryList(data.dataSets, context);
1838
+ contents.dataSets = de_DataSetsSummaryList(data.dataSets, context);
1845
1839
  }
1846
1840
  if (data.nextToken != null) {
1847
1841
  contents.nextToken = __expectString(data.nextToken);
1848
1842
  }
1849
1843
  return contents;
1850
1844
  };
1851
- const deserializeAws_restJson1ListDataSetsCommandError = async (output, context) => {
1845
+ const de_ListDataSetsCommandError = async (output, context) => {
1852
1846
  const parsedOutput = {
1853
1847
  ...output,
1854
1848
  body: await parseErrorBody(output.body, context),
@@ -1857,19 +1851,19 @@ const deserializeAws_restJson1ListDataSetsCommandError = async (output, context)
1857
1851
  switch (errorCode) {
1858
1852
  case "AccessDeniedException":
1859
1853
  case "com.amazonaws.m2#AccessDeniedException":
1860
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1854
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1861
1855
  case "InternalServerException":
1862
1856
  case "com.amazonaws.m2#InternalServerException":
1863
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1857
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1864
1858
  case "ResourceNotFoundException":
1865
1859
  case "com.amazonaws.m2#ResourceNotFoundException":
1866
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1860
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1867
1861
  case "ThrottlingException":
1868
1862
  case "com.amazonaws.m2#ThrottlingException":
1869
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1863
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1870
1864
  case "ValidationException":
1871
1865
  case "com.amazonaws.m2#ValidationException":
1872
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1866
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1873
1867
  default:
1874
1868
  const parsedBody = parsedOutput.body;
1875
1869
  throwDefaultError({
@@ -1880,23 +1874,23 @@ const deserializeAws_restJson1ListDataSetsCommandError = async (output, context)
1880
1874
  });
1881
1875
  }
1882
1876
  };
1883
- export const deserializeAws_restJson1ListDeploymentsCommand = async (output, context) => {
1877
+ export const de_ListDeploymentsCommand = async (output, context) => {
1884
1878
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1885
- return deserializeAws_restJson1ListDeploymentsCommandError(output, context);
1879
+ return de_ListDeploymentsCommandError(output, context);
1886
1880
  }
1887
1881
  const contents = map({
1888
1882
  $metadata: deserializeMetadata(output),
1889
1883
  });
1890
1884
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1891
1885
  if (data.deployments != null) {
1892
- contents.deployments = deserializeAws_restJson1DeploymentList(data.deployments, context);
1886
+ contents.deployments = de_DeploymentList(data.deployments, context);
1893
1887
  }
1894
1888
  if (data.nextToken != null) {
1895
1889
  contents.nextToken = __expectString(data.nextToken);
1896
1890
  }
1897
1891
  return contents;
1898
1892
  };
1899
- const deserializeAws_restJson1ListDeploymentsCommandError = async (output, context) => {
1893
+ const de_ListDeploymentsCommandError = async (output, context) => {
1900
1894
  const parsedOutput = {
1901
1895
  ...output,
1902
1896
  body: await parseErrorBody(output.body, context),
@@ -1905,19 +1899,19 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (output, conte
1905
1899
  switch (errorCode) {
1906
1900
  case "AccessDeniedException":
1907
1901
  case "com.amazonaws.m2#AccessDeniedException":
1908
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1902
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1909
1903
  case "InternalServerException":
1910
1904
  case "com.amazonaws.m2#InternalServerException":
1911
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1905
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1912
1906
  case "ResourceNotFoundException":
1913
1907
  case "com.amazonaws.m2#ResourceNotFoundException":
1914
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1908
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1915
1909
  case "ThrottlingException":
1916
1910
  case "com.amazonaws.m2#ThrottlingException":
1917
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1911
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1918
1912
  case "ValidationException":
1919
1913
  case "com.amazonaws.m2#ValidationException":
1920
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1914
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1921
1915
  default:
1922
1916
  const parsedBody = parsedOutput.body;
1923
1917
  throwDefaultError({
@@ -1928,23 +1922,23 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (output, conte
1928
1922
  });
1929
1923
  }
1930
1924
  };
1931
- export const deserializeAws_restJson1ListEngineVersionsCommand = async (output, context) => {
1925
+ export const de_ListEngineVersionsCommand = async (output, context) => {
1932
1926
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1933
- return deserializeAws_restJson1ListEngineVersionsCommandError(output, context);
1927
+ return de_ListEngineVersionsCommandError(output, context);
1934
1928
  }
1935
1929
  const contents = map({
1936
1930
  $metadata: deserializeMetadata(output),
1937
1931
  });
1938
1932
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1939
1933
  if (data.engineVersions != null) {
1940
- contents.engineVersions = deserializeAws_restJson1EngineVersionsSummaryList(data.engineVersions, context);
1934
+ contents.engineVersions = de_EngineVersionsSummaryList(data.engineVersions, context);
1941
1935
  }
1942
1936
  if (data.nextToken != null) {
1943
1937
  contents.nextToken = __expectString(data.nextToken);
1944
1938
  }
1945
1939
  return contents;
1946
1940
  };
1947
- const deserializeAws_restJson1ListEngineVersionsCommandError = async (output, context) => {
1941
+ const de_ListEngineVersionsCommandError = async (output, context) => {
1948
1942
  const parsedOutput = {
1949
1943
  ...output,
1950
1944
  body: await parseErrorBody(output.body, context),
@@ -1953,16 +1947,16 @@ const deserializeAws_restJson1ListEngineVersionsCommandError = async (output, co
1953
1947
  switch (errorCode) {
1954
1948
  case "AccessDeniedException":
1955
1949
  case "com.amazonaws.m2#AccessDeniedException":
1956
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1950
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1957
1951
  case "InternalServerException":
1958
1952
  case "com.amazonaws.m2#InternalServerException":
1959
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1953
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1960
1954
  case "ThrottlingException":
1961
1955
  case "com.amazonaws.m2#ThrottlingException":
1962
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1956
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1963
1957
  case "ValidationException":
1964
1958
  case "com.amazonaws.m2#ValidationException":
1965
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1959
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1966
1960
  default:
1967
1961
  const parsedBody = parsedOutput.body;
1968
1962
  throwDefaultError({
@@ -1973,23 +1967,23 @@ const deserializeAws_restJson1ListEngineVersionsCommandError = async (output, co
1973
1967
  });
1974
1968
  }
1975
1969
  };
1976
- export const deserializeAws_restJson1ListEnvironmentsCommand = async (output, context) => {
1970
+ export const de_ListEnvironmentsCommand = async (output, context) => {
1977
1971
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1978
- return deserializeAws_restJson1ListEnvironmentsCommandError(output, context);
1972
+ return de_ListEnvironmentsCommandError(output, context);
1979
1973
  }
1980
1974
  const contents = map({
1981
1975
  $metadata: deserializeMetadata(output),
1982
1976
  });
1983
1977
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1984
1978
  if (data.environments != null) {
1985
- contents.environments = deserializeAws_restJson1EnvironmentSummaryList(data.environments, context);
1979
+ contents.environments = de_EnvironmentSummaryList(data.environments, context);
1986
1980
  }
1987
1981
  if (data.nextToken != null) {
1988
1982
  contents.nextToken = __expectString(data.nextToken);
1989
1983
  }
1990
1984
  return contents;
1991
1985
  };
1992
- const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, context) => {
1986
+ const de_ListEnvironmentsCommandError = async (output, context) => {
1993
1987
  const parsedOutput = {
1994
1988
  ...output,
1995
1989
  body: await parseErrorBody(output.body, context),
@@ -1998,16 +1992,16 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
1998
1992
  switch (errorCode) {
1999
1993
  case "AccessDeniedException":
2000
1994
  case "com.amazonaws.m2#AccessDeniedException":
2001
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1995
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2002
1996
  case "InternalServerException":
2003
1997
  case "com.amazonaws.m2#InternalServerException":
2004
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1998
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2005
1999
  case "ThrottlingException":
2006
2000
  case "com.amazonaws.m2#ThrottlingException":
2007
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2001
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2008
2002
  case "ValidationException":
2009
2003
  case "com.amazonaws.m2#ValidationException":
2010
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2004
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2011
2005
  default:
2012
2006
  const parsedBody = parsedOutput.body;
2013
2007
  throwDefaultError({
@@ -2018,20 +2012,20 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
2018
2012
  });
2019
2013
  }
2020
2014
  };
2021
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2015
+ export const de_ListTagsForResourceCommand = async (output, context) => {
2022
2016
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2023
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2017
+ return de_ListTagsForResourceCommandError(output, context);
2024
2018
  }
2025
2019
  const contents = map({
2026
2020
  $metadata: deserializeMetadata(output),
2027
2021
  });
2028
2022
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2029
2023
  if (data.tags != null) {
2030
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
2024
+ contents.tags = de_TagMap(data.tags, context);
2031
2025
  }
2032
2026
  return contents;
2033
2027
  };
2034
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2028
+ const de_ListTagsForResourceCommandError = async (output, context) => {
2035
2029
  const parsedOutput = {
2036
2030
  ...output,
2037
2031
  body: await parseErrorBody(output.body, context),
@@ -2040,19 +2034,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2040
2034
  switch (errorCode) {
2041
2035
  case "AccessDeniedException":
2042
2036
  case "com.amazonaws.m2#AccessDeniedException":
2043
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2037
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2044
2038
  case "InternalServerException":
2045
2039
  case "com.amazonaws.m2#InternalServerException":
2046
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2040
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2047
2041
  case "ResourceNotFoundException":
2048
2042
  case "com.amazonaws.m2#ResourceNotFoundException":
2049
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2043
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2050
2044
  case "ThrottlingException":
2051
2045
  case "com.amazonaws.m2#ThrottlingException":
2052
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2046
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2053
2047
  case "ValidationException":
2054
2048
  case "com.amazonaws.m2#ValidationException":
2055
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2049
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2056
2050
  default:
2057
2051
  const parsedBody = parsedOutput.body;
2058
2052
  throwDefaultError({
@@ -2063,9 +2057,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2063
2057
  });
2064
2058
  }
2065
2059
  };
2066
- export const deserializeAws_restJson1StartApplicationCommand = async (output, context) => {
2060
+ export const de_StartApplicationCommand = async (output, context) => {
2067
2061
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2068
- return deserializeAws_restJson1StartApplicationCommandError(output, context);
2062
+ return de_StartApplicationCommandError(output, context);
2069
2063
  }
2070
2064
  const contents = map({
2071
2065
  $metadata: deserializeMetadata(output),
@@ -2073,7 +2067,7 @@ export const deserializeAws_restJson1StartApplicationCommand = async (output, co
2073
2067
  await collectBody(output.body, context);
2074
2068
  return contents;
2075
2069
  };
2076
- const deserializeAws_restJson1StartApplicationCommandError = async (output, context) => {
2070
+ const de_StartApplicationCommandError = async (output, context) => {
2077
2071
  const parsedOutput = {
2078
2072
  ...output,
2079
2073
  body: await parseErrorBody(output.body, context),
@@ -2082,22 +2076,22 @@ const deserializeAws_restJson1StartApplicationCommandError = async (output, cont
2082
2076
  switch (errorCode) {
2083
2077
  case "AccessDeniedException":
2084
2078
  case "com.amazonaws.m2#AccessDeniedException":
2085
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2079
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2086
2080
  case "ConflictException":
2087
2081
  case "com.amazonaws.m2#ConflictException":
2088
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2082
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2089
2083
  case "InternalServerException":
2090
2084
  case "com.amazonaws.m2#InternalServerException":
2091
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2085
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2092
2086
  case "ResourceNotFoundException":
2093
2087
  case "com.amazonaws.m2#ResourceNotFoundException":
2094
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2088
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2095
2089
  case "ThrottlingException":
2096
2090
  case "com.amazonaws.m2#ThrottlingException":
2097
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2091
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2098
2092
  case "ValidationException":
2099
2093
  case "com.amazonaws.m2#ValidationException":
2100
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2094
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2101
2095
  default:
2102
2096
  const parsedBody = parsedOutput.body;
2103
2097
  throwDefaultError({
@@ -2108,9 +2102,9 @@ const deserializeAws_restJson1StartApplicationCommandError = async (output, cont
2108
2102
  });
2109
2103
  }
2110
2104
  };
2111
- export const deserializeAws_restJson1StartBatchJobCommand = async (output, context) => {
2105
+ export const de_StartBatchJobCommand = async (output, context) => {
2112
2106
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2113
- return deserializeAws_restJson1StartBatchJobCommandError(output, context);
2107
+ return de_StartBatchJobCommandError(output, context);
2114
2108
  }
2115
2109
  const contents = map({
2116
2110
  $metadata: deserializeMetadata(output),
@@ -2121,7 +2115,7 @@ export const deserializeAws_restJson1StartBatchJobCommand = async (output, conte
2121
2115
  }
2122
2116
  return contents;
2123
2117
  };
2124
- const deserializeAws_restJson1StartBatchJobCommandError = async (output, context) => {
2118
+ const de_StartBatchJobCommandError = async (output, context) => {
2125
2119
  const parsedOutput = {
2126
2120
  ...output,
2127
2121
  body: await parseErrorBody(output.body, context),
@@ -2130,22 +2124,22 @@ const deserializeAws_restJson1StartBatchJobCommandError = async (output, context
2130
2124
  switch (errorCode) {
2131
2125
  case "AccessDeniedException":
2132
2126
  case "com.amazonaws.m2#AccessDeniedException":
2133
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2127
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2134
2128
  case "ConflictException":
2135
2129
  case "com.amazonaws.m2#ConflictException":
2136
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2130
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2137
2131
  case "InternalServerException":
2138
2132
  case "com.amazonaws.m2#InternalServerException":
2139
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2133
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2140
2134
  case "ResourceNotFoundException":
2141
2135
  case "com.amazonaws.m2#ResourceNotFoundException":
2142
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2136
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2143
2137
  case "ThrottlingException":
2144
2138
  case "com.amazonaws.m2#ThrottlingException":
2145
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2139
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2146
2140
  case "ValidationException":
2147
2141
  case "com.amazonaws.m2#ValidationException":
2148
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2142
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2149
2143
  default:
2150
2144
  const parsedBody = parsedOutput.body;
2151
2145
  throwDefaultError({
@@ -2156,9 +2150,9 @@ const deserializeAws_restJson1StartBatchJobCommandError = async (output, context
2156
2150
  });
2157
2151
  }
2158
2152
  };
2159
- export const deserializeAws_restJson1StopApplicationCommand = async (output, context) => {
2153
+ export const de_StopApplicationCommand = async (output, context) => {
2160
2154
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2161
- return deserializeAws_restJson1StopApplicationCommandError(output, context);
2155
+ return de_StopApplicationCommandError(output, context);
2162
2156
  }
2163
2157
  const contents = map({
2164
2158
  $metadata: deserializeMetadata(output),
@@ -2166,7 +2160,7 @@ export const deserializeAws_restJson1StopApplicationCommand = async (output, con
2166
2160
  await collectBody(output.body, context);
2167
2161
  return contents;
2168
2162
  };
2169
- const deserializeAws_restJson1StopApplicationCommandError = async (output, context) => {
2163
+ const de_StopApplicationCommandError = async (output, context) => {
2170
2164
  const parsedOutput = {
2171
2165
  ...output,
2172
2166
  body: await parseErrorBody(output.body, context),
@@ -2175,22 +2169,22 @@ const deserializeAws_restJson1StopApplicationCommandError = async (output, conte
2175
2169
  switch (errorCode) {
2176
2170
  case "AccessDeniedException":
2177
2171
  case "com.amazonaws.m2#AccessDeniedException":
2178
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2172
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2179
2173
  case "ConflictException":
2180
2174
  case "com.amazonaws.m2#ConflictException":
2181
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2175
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2182
2176
  case "InternalServerException":
2183
2177
  case "com.amazonaws.m2#InternalServerException":
2184
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2178
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2185
2179
  case "ResourceNotFoundException":
2186
2180
  case "com.amazonaws.m2#ResourceNotFoundException":
2187
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2181
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2188
2182
  case "ThrottlingException":
2189
2183
  case "com.amazonaws.m2#ThrottlingException":
2190
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2184
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2191
2185
  case "ValidationException":
2192
2186
  case "com.amazonaws.m2#ValidationException":
2193
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2187
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2194
2188
  default:
2195
2189
  const parsedBody = parsedOutput.body;
2196
2190
  throwDefaultError({
@@ -2201,9 +2195,9 @@ const deserializeAws_restJson1StopApplicationCommandError = async (output, conte
2201
2195
  });
2202
2196
  }
2203
2197
  };
2204
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2198
+ export const de_TagResourceCommand = async (output, context) => {
2205
2199
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2206
- return deserializeAws_restJson1TagResourceCommandError(output, context);
2200
+ return de_TagResourceCommandError(output, context);
2207
2201
  }
2208
2202
  const contents = map({
2209
2203
  $metadata: deserializeMetadata(output),
@@ -2211,7 +2205,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
2211
2205
  await collectBody(output.body, context);
2212
2206
  return contents;
2213
2207
  };
2214
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2208
+ const de_TagResourceCommandError = async (output, context) => {
2215
2209
  const parsedOutput = {
2216
2210
  ...output,
2217
2211
  body: await parseErrorBody(output.body, context),
@@ -2220,22 +2214,22 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2220
2214
  switch (errorCode) {
2221
2215
  case "AccessDeniedException":
2222
2216
  case "com.amazonaws.m2#AccessDeniedException":
2223
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2217
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2224
2218
  case "InternalServerException":
2225
2219
  case "com.amazonaws.m2#InternalServerException":
2226
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2220
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2227
2221
  case "ResourceNotFoundException":
2228
2222
  case "com.amazonaws.m2#ResourceNotFoundException":
2229
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2223
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2230
2224
  case "ServiceQuotaExceededException":
2231
2225
  case "com.amazonaws.m2#ServiceQuotaExceededException":
2232
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2226
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2233
2227
  case "ThrottlingException":
2234
2228
  case "com.amazonaws.m2#ThrottlingException":
2235
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2229
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2236
2230
  case "ValidationException":
2237
2231
  case "com.amazonaws.m2#ValidationException":
2238
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2232
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2239
2233
  default:
2240
2234
  const parsedBody = parsedOutput.body;
2241
2235
  throwDefaultError({
@@ -2246,9 +2240,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2246
2240
  });
2247
2241
  }
2248
2242
  };
2249
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2243
+ export const de_UntagResourceCommand = async (output, context) => {
2250
2244
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2251
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2245
+ return de_UntagResourceCommandError(output, context);
2252
2246
  }
2253
2247
  const contents = map({
2254
2248
  $metadata: deserializeMetadata(output),
@@ -2256,7 +2250,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
2256
2250
  await collectBody(output.body, context);
2257
2251
  return contents;
2258
2252
  };
2259
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2253
+ const de_UntagResourceCommandError = async (output, context) => {
2260
2254
  const parsedOutput = {
2261
2255
  ...output,
2262
2256
  body: await parseErrorBody(output.body, context),
@@ -2265,19 +2259,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2265
2259
  switch (errorCode) {
2266
2260
  case "AccessDeniedException":
2267
2261
  case "com.amazonaws.m2#AccessDeniedException":
2268
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2262
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2269
2263
  case "InternalServerException":
2270
2264
  case "com.amazonaws.m2#InternalServerException":
2271
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2265
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2272
2266
  case "ResourceNotFoundException":
2273
2267
  case "com.amazonaws.m2#ResourceNotFoundException":
2274
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2268
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2275
2269
  case "ThrottlingException":
2276
2270
  case "com.amazonaws.m2#ThrottlingException":
2277
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2271
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2278
2272
  case "ValidationException":
2279
2273
  case "com.amazonaws.m2#ValidationException":
2280
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2274
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2281
2275
  default:
2282
2276
  const parsedBody = parsedOutput.body;
2283
2277
  throwDefaultError({
@@ -2288,9 +2282,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2288
2282
  });
2289
2283
  }
2290
2284
  };
2291
- export const deserializeAws_restJson1UpdateApplicationCommand = async (output, context) => {
2285
+ export const de_UpdateApplicationCommand = async (output, context) => {
2292
2286
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2293
- return deserializeAws_restJson1UpdateApplicationCommandError(output, context);
2287
+ return de_UpdateApplicationCommandError(output, context);
2294
2288
  }
2295
2289
  const contents = map({
2296
2290
  $metadata: deserializeMetadata(output),
@@ -2301,7 +2295,7 @@ export const deserializeAws_restJson1UpdateApplicationCommand = async (output, c
2301
2295
  }
2302
2296
  return contents;
2303
2297
  };
2304
- const deserializeAws_restJson1UpdateApplicationCommandError = async (output, context) => {
2298
+ const de_UpdateApplicationCommandError = async (output, context) => {
2305
2299
  const parsedOutput = {
2306
2300
  ...output,
2307
2301
  body: await parseErrorBody(output.body, context),
@@ -2310,22 +2304,22 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
2310
2304
  switch (errorCode) {
2311
2305
  case "AccessDeniedException":
2312
2306
  case "com.amazonaws.m2#AccessDeniedException":
2313
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2307
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2314
2308
  case "ConflictException":
2315
2309
  case "com.amazonaws.m2#ConflictException":
2316
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2310
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2317
2311
  case "InternalServerException":
2318
2312
  case "com.amazonaws.m2#InternalServerException":
2319
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2313
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2320
2314
  case "ResourceNotFoundException":
2321
2315
  case "com.amazonaws.m2#ResourceNotFoundException":
2322
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2316
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2323
2317
  case "ThrottlingException":
2324
2318
  case "com.amazonaws.m2#ThrottlingException":
2325
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2319
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2326
2320
  case "ValidationException":
2327
2321
  case "com.amazonaws.m2#ValidationException":
2328
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2322
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2329
2323
  default:
2330
2324
  const parsedBody = parsedOutput.body;
2331
2325
  throwDefaultError({
@@ -2336,9 +2330,9 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
2336
2330
  });
2337
2331
  }
2338
2332
  };
2339
- export const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, context) => {
2333
+ export const de_UpdateEnvironmentCommand = async (output, context) => {
2340
2334
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2341
- return deserializeAws_restJson1UpdateEnvironmentCommandError(output, context);
2335
+ return de_UpdateEnvironmentCommandError(output, context);
2342
2336
  }
2343
2337
  const contents = map({
2344
2338
  $metadata: deserializeMetadata(output),
@@ -2349,7 +2343,7 @@ export const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, c
2349
2343
  }
2350
2344
  return contents;
2351
2345
  };
2352
- const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, context) => {
2346
+ const de_UpdateEnvironmentCommandError = async (output, context) => {
2353
2347
  const parsedOutput = {
2354
2348
  ...output,
2355
2349
  body: await parseErrorBody(output.body, context),
@@ -2358,25 +2352,25 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, con
2358
2352
  switch (errorCode) {
2359
2353
  case "AccessDeniedException":
2360
2354
  case "com.amazonaws.m2#AccessDeniedException":
2361
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2355
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2362
2356
  case "ConflictException":
2363
2357
  case "com.amazonaws.m2#ConflictException":
2364
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2358
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2365
2359
  case "InternalServerException":
2366
2360
  case "com.amazonaws.m2#InternalServerException":
2367
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2361
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2368
2362
  case "ResourceNotFoundException":
2369
2363
  case "com.amazonaws.m2#ResourceNotFoundException":
2370
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2364
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2371
2365
  case "ServiceQuotaExceededException":
2372
2366
  case "com.amazonaws.m2#ServiceQuotaExceededException":
2373
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2367
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2374
2368
  case "ThrottlingException":
2375
2369
  case "com.amazonaws.m2#ThrottlingException":
2376
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2370
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2377
2371
  case "ValidationException":
2378
2372
  case "com.amazonaws.m2#ValidationException":
2379
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2373
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2380
2374
  default:
2381
2375
  const parsedBody = parsedOutput.body;
2382
2376
  throwDefaultError({
@@ -2388,7 +2382,7 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, con
2388
2382
  }
2389
2383
  };
2390
2384
  const map = __map;
2391
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2385
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2392
2386
  const contents = map({});
2393
2387
  const data = parsedOutput.body;
2394
2388
  if (data.message != null) {
@@ -2400,7 +2394,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2400
2394
  });
2401
2395
  return __decorateServiceException(exception, parsedOutput.body);
2402
2396
  };
2403
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2397
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2404
2398
  const contents = map({});
2405
2399
  const data = parsedOutput.body;
2406
2400
  if (data.message != null) {
@@ -2418,7 +2412,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2418
2412
  });
2419
2413
  return __decorateServiceException(exception, parsedOutput.body);
2420
2414
  };
2421
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2415
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2422
2416
  const contents = map({
2423
2417
  retryAfterSeconds: [
2424
2418
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2435,7 +2429,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2435
2429
  });
2436
2430
  return __decorateServiceException(exception, parsedOutput.body);
2437
2431
  };
2438
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2432
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2439
2433
  const contents = map({});
2440
2434
  const data = parsedOutput.body;
2441
2435
  if (data.message != null) {
@@ -2453,7 +2447,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2453
2447
  });
2454
2448
  return __decorateServiceException(exception, parsedOutput.body);
2455
2449
  };
2456
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2450
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2457
2451
  const contents = map({});
2458
2452
  const data = parsedOutput.body;
2459
2453
  if (data.message != null) {
@@ -2477,7 +2471,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2477
2471
  });
2478
2472
  return __decorateServiceException(exception, parsedOutput.body);
2479
2473
  };
2480
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2474
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2481
2475
  const contents = map({
2482
2476
  retryAfterSeconds: [
2483
2477
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2500,11 +2494,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2500
2494
  });
2501
2495
  return __decorateServiceException(exception, parsedOutput.body);
2502
2496
  };
2503
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2497
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2504
2498
  const contents = map({});
2505
2499
  const data = parsedOutput.body;
2506
2500
  if (data.fieldList != null) {
2507
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
2501
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
2508
2502
  }
2509
2503
  if (data.message != null) {
2510
2504
  contents.message = __expectString(data.message);
@@ -2518,7 +2512,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2518
2512
  });
2519
2513
  return __decorateServiceException(exception, parsedOutput.body);
2520
2514
  };
2521
- const serializeAws_restJson1AlternateKey = (input, context) => {
2515
+ const se_AlternateKey = (input, context) => {
2522
2516
  return {
2523
2517
  ...(input.allowDuplicates != null && { allowDuplicates: input.allowDuplicates }),
2524
2518
  ...(input.length != null && { length: input.length }),
@@ -2526,25 +2520,21 @@ const serializeAws_restJson1AlternateKey = (input, context) => {
2526
2520
  ...(input.offset != null && { offset: input.offset }),
2527
2521
  };
2528
2522
  };
2529
- const serializeAws_restJson1AlternateKeyList = (input, context) => {
2523
+ const se_AlternateKeyList = (input, context) => {
2530
2524
  return input
2531
2525
  .filter((e) => e != null)
2532
2526
  .map((entry) => {
2533
- return serializeAws_restJson1AlternateKey(entry, context);
2527
+ return se_AlternateKey(entry, context);
2534
2528
  });
2535
2529
  };
2536
- const serializeAws_restJson1BatchJobIdentifier = (input, context) => {
2530
+ const se_BatchJobIdentifier = (input, context) => {
2537
2531
  return BatchJobIdentifier.visit(input, {
2538
- fileBatchJobIdentifier: (value) => ({
2539
- fileBatchJobIdentifier: serializeAws_restJson1FileBatchJobIdentifier(value, context),
2540
- }),
2541
- scriptBatchJobIdentifier: (value) => ({
2542
- scriptBatchJobIdentifier: serializeAws_restJson1ScriptBatchJobIdentifier(value, context),
2543
- }),
2532
+ fileBatchJobIdentifier: (value) => ({ fileBatchJobIdentifier: se_FileBatchJobIdentifier(value, context) }),
2533
+ scriptBatchJobIdentifier: (value) => ({ scriptBatchJobIdentifier: se_ScriptBatchJobIdentifier(value, context) }),
2544
2534
  _: (name, value) => ({ name: value }),
2545
2535
  });
2546
2536
  };
2547
- const serializeAws_restJson1BatchJobParametersMap = (input, context) => {
2537
+ const se_BatchJobParametersMap = (input, context) => {
2548
2538
  return Object.entries(input).reduce((acc, [key, value]) => {
2549
2539
  if (value === null) {
2550
2540
  return acc;
@@ -2553,130 +2543,124 @@ const serializeAws_restJson1BatchJobParametersMap = (input, context) => {
2553
2543
  return acc;
2554
2544
  }, {});
2555
2545
  };
2556
- const serializeAws_restJson1DataSet = (input, context) => {
2546
+ const se_DataSet = (input, context) => {
2557
2547
  return {
2558
2548
  ...(input.datasetName != null && { datasetName: input.datasetName }),
2559
- ...(input.datasetOrg != null && {
2560
- datasetOrg: serializeAws_restJson1DatasetOrgAttributes(input.datasetOrg, context),
2561
- }),
2562
- ...(input.recordLength != null && {
2563
- recordLength: serializeAws_restJson1RecordLength(input.recordLength, context),
2564
- }),
2549
+ ...(input.datasetOrg != null && { datasetOrg: se_DatasetOrgAttributes(input.datasetOrg, context) }),
2550
+ ...(input.recordLength != null && { recordLength: se_RecordLength(input.recordLength, context) }),
2565
2551
  ...(input.relativePath != null && { relativePath: input.relativePath }),
2566
2552
  ...(input.storageType != null && { storageType: input.storageType }),
2567
2553
  };
2568
2554
  };
2569
- const serializeAws_restJson1DataSetImportConfig = (input, context) => {
2555
+ const se_DataSetImportConfig = (input, context) => {
2570
2556
  return DataSetImportConfig.visit(input, {
2571
- dataSets: (value) => ({ dataSets: serializeAws_restJson1DataSetImportList(value, context) }),
2557
+ dataSets: (value) => ({ dataSets: se_DataSetImportList(value, context) }),
2572
2558
  s3Location: (value) => ({ s3Location: value }),
2573
2559
  _: (name, value) => ({ name: value }),
2574
2560
  });
2575
2561
  };
2576
- const serializeAws_restJson1DataSetImportItem = (input, context) => {
2562
+ const se_DataSetImportItem = (input, context) => {
2577
2563
  return {
2578
- ...(input.dataSet != null && { dataSet: serializeAws_restJson1DataSet(input.dataSet, context) }),
2579
- ...(input.externalLocation != null && {
2580
- externalLocation: serializeAws_restJson1ExternalLocation(input.externalLocation, context),
2581
- }),
2564
+ ...(input.dataSet != null && { dataSet: se_DataSet(input.dataSet, context) }),
2565
+ ...(input.externalLocation != null && { externalLocation: se_ExternalLocation(input.externalLocation, context) }),
2582
2566
  };
2583
2567
  };
2584
- const serializeAws_restJson1DataSetImportList = (input, context) => {
2568
+ const se_DataSetImportList = (input, context) => {
2585
2569
  return input
2586
2570
  .filter((e) => e != null)
2587
2571
  .map((entry) => {
2588
- return serializeAws_restJson1DataSetImportItem(entry, context);
2572
+ return se_DataSetImportItem(entry, context);
2589
2573
  });
2590
2574
  };
2591
- const serializeAws_restJson1DatasetOrgAttributes = (input, context) => {
2575
+ const se_DatasetOrgAttributes = (input, context) => {
2592
2576
  return DatasetOrgAttributes.visit(input, {
2593
- gdg: (value) => ({ gdg: serializeAws_restJson1GdgAttributes(value, context) }),
2594
- vsam: (value) => ({ vsam: serializeAws_restJson1VsamAttributes(value, context) }),
2577
+ gdg: (value) => ({ gdg: se_GdgAttributes(value, context) }),
2578
+ vsam: (value) => ({ vsam: se_VsamAttributes(value, context) }),
2595
2579
  _: (name, value) => ({ name: value }),
2596
2580
  });
2597
2581
  };
2598
- const serializeAws_restJson1Definition = (input, context) => {
2582
+ const se_Definition = (input, context) => {
2599
2583
  return Definition.visit(input, {
2600
2584
  content: (value) => ({ content: value }),
2601
2585
  s3Location: (value) => ({ s3Location: value }),
2602
2586
  _: (name, value) => ({ name: value }),
2603
2587
  });
2604
2588
  };
2605
- const serializeAws_restJson1EfsStorageConfiguration = (input, context) => {
2589
+ const se_EfsStorageConfiguration = (input, context) => {
2606
2590
  return {
2607
2591
  ...(input.fileSystemId != null && { "file-system-id": input.fileSystemId }),
2608
2592
  ...(input.mountPoint != null && { "mount-point": input.mountPoint }),
2609
2593
  };
2610
2594
  };
2611
- const serializeAws_restJson1ExternalLocation = (input, context) => {
2595
+ const se_ExternalLocation = (input, context) => {
2612
2596
  return ExternalLocation.visit(input, {
2613
2597
  s3Location: (value) => ({ s3Location: value }),
2614
2598
  _: (name, value) => ({ name: value }),
2615
2599
  });
2616
2600
  };
2617
- const serializeAws_restJson1FileBatchJobIdentifier = (input, context) => {
2601
+ const se_FileBatchJobIdentifier = (input, context) => {
2618
2602
  return {
2619
2603
  ...(input.fileName != null && { fileName: input.fileName }),
2620
2604
  ...(input.folderPath != null && { folderPath: input.folderPath }),
2621
2605
  };
2622
2606
  };
2623
- const serializeAws_restJson1FsxStorageConfiguration = (input, context) => {
2607
+ const se_FsxStorageConfiguration = (input, context) => {
2624
2608
  return {
2625
2609
  ...(input.fileSystemId != null && { "file-system-id": input.fileSystemId }),
2626
2610
  ...(input.mountPoint != null && { "mount-point": input.mountPoint }),
2627
2611
  };
2628
2612
  };
2629
- const serializeAws_restJson1GdgAttributes = (input, context) => {
2613
+ const se_GdgAttributes = (input, context) => {
2630
2614
  return {
2631
2615
  ...(input.limit != null && { limit: input.limit }),
2632
2616
  ...(input.rollDisposition != null && { rollDisposition: input.rollDisposition }),
2633
2617
  };
2634
2618
  };
2635
- const serializeAws_restJson1HighAvailabilityConfig = (input, context) => {
2619
+ const se_HighAvailabilityConfig = (input, context) => {
2636
2620
  return {
2637
2621
  ...(input.desiredCapacity != null && { desiredCapacity: input.desiredCapacity }),
2638
2622
  };
2639
2623
  };
2640
- const serializeAws_restJson1PrimaryKey = (input, context) => {
2624
+ const se_PrimaryKey = (input, context) => {
2641
2625
  return {
2642
2626
  ...(input.length != null && { length: input.length }),
2643
2627
  ...(input.name != null && { name: input.name }),
2644
2628
  ...(input.offset != null && { offset: input.offset }),
2645
2629
  };
2646
2630
  };
2647
- const serializeAws_restJson1RecordLength = (input, context) => {
2631
+ const se_RecordLength = (input, context) => {
2648
2632
  return {
2649
2633
  ...(input.max != null && { max: input.max }),
2650
2634
  ...(input.min != null && { min: input.min }),
2651
2635
  };
2652
2636
  };
2653
- const serializeAws_restJson1ScriptBatchJobIdentifier = (input, context) => {
2637
+ const se_ScriptBatchJobIdentifier = (input, context) => {
2654
2638
  return {
2655
2639
  ...(input.scriptName != null && { scriptName: input.scriptName }),
2656
2640
  };
2657
2641
  };
2658
- const serializeAws_restJson1StorageConfiguration = (input, context) => {
2642
+ const se_StorageConfiguration = (input, context) => {
2659
2643
  return StorageConfiguration.visit(input, {
2660
- efs: (value) => ({ efs: serializeAws_restJson1EfsStorageConfiguration(value, context) }),
2661
- fsx: (value) => ({ fsx: serializeAws_restJson1FsxStorageConfiguration(value, context) }),
2644
+ efs: (value) => ({ efs: se_EfsStorageConfiguration(value, context) }),
2645
+ fsx: (value) => ({ fsx: se_FsxStorageConfiguration(value, context) }),
2662
2646
  _: (name, value) => ({ name: value }),
2663
2647
  });
2664
2648
  };
2665
- const serializeAws_restJson1StorageConfigurationList = (input, context) => {
2649
+ const se_StorageConfigurationList = (input, context) => {
2666
2650
  return input
2667
2651
  .filter((e) => e != null)
2668
2652
  .map((entry) => {
2669
- return serializeAws_restJson1StorageConfiguration(entry, context);
2653
+ return se_StorageConfiguration(entry, context);
2670
2654
  });
2671
2655
  };
2672
- const serializeAws_restJson1String50List = (input, context) => {
2656
+ const se_String50List = (input, context) => {
2673
2657
  return input
2674
2658
  .filter((e) => e != null)
2675
2659
  .map((entry) => {
2676
2660
  return entry;
2677
2661
  });
2678
2662
  };
2679
- const serializeAws_restJson1TagMap = (input, context) => {
2663
+ const se_TagMap = (input, context) => {
2680
2664
  return Object.entries(input).reduce((acc, [key, value]) => {
2681
2665
  if (value === null) {
2682
2666
  return acc;
@@ -2685,18 +2669,16 @@ const serializeAws_restJson1TagMap = (input, context) => {
2685
2669
  return acc;
2686
2670
  }, {});
2687
2671
  };
2688
- const serializeAws_restJson1VsamAttributes = (input, context) => {
2672
+ const se_VsamAttributes = (input, context) => {
2689
2673
  return {
2690
- ...(input.alternateKeys != null && {
2691
- alternateKeys: serializeAws_restJson1AlternateKeyList(input.alternateKeys, context),
2692
- }),
2674
+ ...(input.alternateKeys != null && { alternateKeys: se_AlternateKeyList(input.alternateKeys, context) }),
2693
2675
  ...(input.compressed != null && { compressed: input.compressed }),
2694
2676
  ...(input.encoding != null && { encoding: input.encoding }),
2695
2677
  ...(input.format != null && { format: input.format }),
2696
- ...(input.primaryKey != null && { primaryKey: serializeAws_restJson1PrimaryKey(input.primaryKey, context) }),
2678
+ ...(input.primaryKey != null && { primaryKey: se_PrimaryKey(input.primaryKey, context) }),
2697
2679
  };
2698
2680
  };
2699
- const deserializeAws_restJson1AlternateKey = (output, context) => {
2681
+ const de_AlternateKey = (output, context) => {
2700
2682
  return {
2701
2683
  allowDuplicates: __expectBoolean(output.allowDuplicates),
2702
2684
  length: __expectInt32(output.length),
@@ -2704,18 +2686,18 @@ const deserializeAws_restJson1AlternateKey = (output, context) => {
2704
2686
  offset: __expectInt32(output.offset),
2705
2687
  };
2706
2688
  };
2707
- const deserializeAws_restJson1AlternateKeyList = (output, context) => {
2689
+ const de_AlternateKeyList = (output, context) => {
2708
2690
  const retVal = (output || [])
2709
2691
  .filter((e) => e != null)
2710
2692
  .map((entry) => {
2711
2693
  if (entry === null) {
2712
2694
  return null;
2713
2695
  }
2714
- return deserializeAws_restJson1AlternateKey(entry, context);
2696
+ return de_AlternateKey(entry, context);
2715
2697
  });
2716
2698
  return retVal;
2717
2699
  };
2718
- const deserializeAws_restJson1ApplicationSummary = (output, context) => {
2700
+ const de_ApplicationSummary = (output, context) => {
2719
2701
  return {
2720
2702
  applicationArn: __expectString(output.applicationArn),
2721
2703
  applicationId: __expectString(output.applicationId),
@@ -2735,18 +2717,18 @@ const deserializeAws_restJson1ApplicationSummary = (output, context) => {
2735
2717
  versionStatus: __expectString(output.versionStatus),
2736
2718
  };
2737
2719
  };
2738
- const deserializeAws_restJson1ApplicationSummaryList = (output, context) => {
2720
+ const de_ApplicationSummaryList = (output, context) => {
2739
2721
  const retVal = (output || [])
2740
2722
  .filter((e) => e != null)
2741
2723
  .map((entry) => {
2742
2724
  if (entry === null) {
2743
2725
  return null;
2744
2726
  }
2745
- return deserializeAws_restJson1ApplicationSummary(entry, context);
2727
+ return de_ApplicationSummary(entry, context);
2746
2728
  });
2747
2729
  return retVal;
2748
2730
  };
2749
- const deserializeAws_restJson1ApplicationVersionSummary = (output, context) => {
2731
+ const de_ApplicationVersionSummary = (output, context) => {
2750
2732
  return {
2751
2733
  applicationVersion: __expectInt32(output.applicationVersion),
2752
2734
  creationTime: output.creationTime != null
@@ -2756,18 +2738,18 @@ const deserializeAws_restJson1ApplicationVersionSummary = (output, context) => {
2756
2738
  statusReason: __expectString(output.statusReason),
2757
2739
  };
2758
2740
  };
2759
- const deserializeAws_restJson1ApplicationVersionSummaryList = (output, context) => {
2741
+ const de_ApplicationVersionSummaryList = (output, context) => {
2760
2742
  const retVal = (output || [])
2761
2743
  .filter((e) => e != null)
2762
2744
  .map((entry) => {
2763
2745
  if (entry === null) {
2764
2746
  return null;
2765
2747
  }
2766
- return deserializeAws_restJson1ApplicationVersionSummary(entry, context);
2748
+ return de_ApplicationVersionSummary(entry, context);
2767
2749
  });
2768
2750
  return retVal;
2769
2751
  };
2770
- const deserializeAws_restJson1ArnList = (output, context) => {
2752
+ const de_ArnList = (output, context) => {
2771
2753
  const retVal = (output || [])
2772
2754
  .filter((e) => e != null)
2773
2755
  .map((entry) => {
@@ -2778,35 +2760,35 @@ const deserializeAws_restJson1ArnList = (output, context) => {
2778
2760
  });
2779
2761
  return retVal;
2780
2762
  };
2781
- const deserializeAws_restJson1BatchJobDefinition = (output, context) => {
2763
+ const de_BatchJobDefinition = (output, context) => {
2782
2764
  if (output.fileBatchJobDefinition != null) {
2783
2765
  return {
2784
- fileBatchJobDefinition: deserializeAws_restJson1FileBatchJobDefinition(output.fileBatchJobDefinition, context),
2766
+ fileBatchJobDefinition: de_FileBatchJobDefinition(output.fileBatchJobDefinition, context),
2785
2767
  };
2786
2768
  }
2787
2769
  if (output.scriptBatchJobDefinition != null) {
2788
2770
  return {
2789
- scriptBatchJobDefinition: deserializeAws_restJson1ScriptBatchJobDefinition(output.scriptBatchJobDefinition, context),
2771
+ scriptBatchJobDefinition: de_ScriptBatchJobDefinition(output.scriptBatchJobDefinition, context),
2790
2772
  };
2791
2773
  }
2792
2774
  return { $unknown: Object.entries(output)[0] };
2793
2775
  };
2794
- const deserializeAws_restJson1BatchJobDefinitions = (output, context) => {
2776
+ const de_BatchJobDefinitions = (output, context) => {
2795
2777
  const retVal = (output || [])
2796
2778
  .filter((e) => e != null)
2797
2779
  .map((entry) => {
2798
2780
  if (entry === null) {
2799
2781
  return null;
2800
2782
  }
2801
- return deserializeAws_restJson1BatchJobDefinition(__expectUnion(entry), context);
2783
+ return de_BatchJobDefinition(__expectUnion(entry), context);
2802
2784
  });
2803
2785
  return retVal;
2804
2786
  };
2805
- const deserializeAws_restJson1BatchJobExecutionSummary = (output, context) => {
2787
+ const de_BatchJobExecutionSummary = (output, context) => {
2806
2788
  return {
2807
2789
  applicationId: __expectString(output.applicationId),
2808
2790
  batchJobIdentifier: output.batchJobIdentifier != null
2809
- ? deserializeAws_restJson1BatchJobIdentifier(__expectUnion(output.batchJobIdentifier), context)
2791
+ ? de_BatchJobIdentifier(__expectUnion(output.batchJobIdentifier), context)
2810
2792
  : undefined,
2811
2793
  endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
2812
2794
  executionId: __expectString(output.executionId),
@@ -2818,44 +2800,44 @@ const deserializeAws_restJson1BatchJobExecutionSummary = (output, context) => {
2818
2800
  status: __expectString(output.status),
2819
2801
  };
2820
2802
  };
2821
- const deserializeAws_restJson1BatchJobExecutionSummaryList = (output, context) => {
2803
+ const de_BatchJobExecutionSummaryList = (output, context) => {
2822
2804
  const retVal = (output || [])
2823
2805
  .filter((e) => e != null)
2824
2806
  .map((entry) => {
2825
2807
  if (entry === null) {
2826
2808
  return null;
2827
2809
  }
2828
- return deserializeAws_restJson1BatchJobExecutionSummary(entry, context);
2810
+ return de_BatchJobExecutionSummary(entry, context);
2829
2811
  });
2830
2812
  return retVal;
2831
2813
  };
2832
- const deserializeAws_restJson1BatchJobIdentifier = (output, context) => {
2814
+ const de_BatchJobIdentifier = (output, context) => {
2833
2815
  if (output.fileBatchJobIdentifier != null) {
2834
2816
  return {
2835
- fileBatchJobIdentifier: deserializeAws_restJson1FileBatchJobIdentifier(output.fileBatchJobIdentifier, context),
2817
+ fileBatchJobIdentifier: de_FileBatchJobIdentifier(output.fileBatchJobIdentifier, context),
2836
2818
  };
2837
2819
  }
2838
2820
  if (output.scriptBatchJobIdentifier != null) {
2839
2821
  return {
2840
- scriptBatchJobIdentifier: deserializeAws_restJson1ScriptBatchJobIdentifier(output.scriptBatchJobIdentifier, context),
2822
+ scriptBatchJobIdentifier: de_ScriptBatchJobIdentifier(output.scriptBatchJobIdentifier, context),
2841
2823
  };
2842
2824
  }
2843
2825
  return { $unknown: Object.entries(output)[0] };
2844
2826
  };
2845
- const deserializeAws_restJson1DatasetDetailOrgAttributes = (output, context) => {
2827
+ const de_DatasetDetailOrgAttributes = (output, context) => {
2846
2828
  if (output.gdg != null) {
2847
2829
  return {
2848
- gdg: deserializeAws_restJson1GdgDetailAttributes(output.gdg, context),
2830
+ gdg: de_GdgDetailAttributes(output.gdg, context),
2849
2831
  };
2850
2832
  }
2851
2833
  if (output.vsam != null) {
2852
2834
  return {
2853
- vsam: deserializeAws_restJson1VsamDetailAttributes(output.vsam, context),
2835
+ vsam: de_VsamDetailAttributes(output.vsam, context),
2854
2836
  };
2855
2837
  }
2856
2838
  return { $unknown: Object.entries(output)[0] };
2857
2839
  };
2858
- const deserializeAws_restJson1DataSetImportSummary = (output, context) => {
2840
+ const de_DataSetImportSummary = (output, context) => {
2859
2841
  return {
2860
2842
  failed: __expectInt32(output.failed),
2861
2843
  inProgress: __expectInt32(output.inProgress),
@@ -2864,36 +2846,36 @@ const deserializeAws_restJson1DataSetImportSummary = (output, context) => {
2864
2846
  total: __expectInt32(output.total),
2865
2847
  };
2866
2848
  };
2867
- const deserializeAws_restJson1DataSetImportTask = (output, context) => {
2849
+ const de_DataSetImportTask = (output, context) => {
2868
2850
  return {
2869
2851
  status: __expectString(output.status),
2870
- summary: output.summary != null ? deserializeAws_restJson1DataSetImportSummary(output.summary, context) : undefined,
2852
+ summary: output.summary != null ? de_DataSetImportSummary(output.summary, context) : undefined,
2871
2853
  taskId: __expectString(output.taskId),
2872
2854
  };
2873
2855
  };
2874
- const deserializeAws_restJson1DataSetImportTaskList = (output, context) => {
2856
+ const de_DataSetImportTaskList = (output, context) => {
2875
2857
  const retVal = (output || [])
2876
2858
  .filter((e) => e != null)
2877
2859
  .map((entry) => {
2878
2860
  if (entry === null) {
2879
2861
  return null;
2880
2862
  }
2881
- return deserializeAws_restJson1DataSetImportTask(entry, context);
2863
+ return de_DataSetImportTask(entry, context);
2882
2864
  });
2883
2865
  return retVal;
2884
2866
  };
2885
- const deserializeAws_restJson1DataSetsSummaryList = (output, context) => {
2867
+ const de_DataSetsSummaryList = (output, context) => {
2886
2868
  const retVal = (output || [])
2887
2869
  .filter((e) => e != null)
2888
2870
  .map((entry) => {
2889
2871
  if (entry === null) {
2890
2872
  return null;
2891
2873
  }
2892
- return deserializeAws_restJson1DataSetSummary(entry, context);
2874
+ return de_DataSetSummary(entry, context);
2893
2875
  });
2894
2876
  return retVal;
2895
2877
  };
2896
- const deserializeAws_restJson1DataSetSummary = (output, context) => {
2878
+ const de_DataSetSummary = (output, context) => {
2897
2879
  return {
2898
2880
  creationTime: output.creationTime != null
2899
2881
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
@@ -2909,25 +2891,25 @@ const deserializeAws_restJson1DataSetSummary = (output, context) => {
2909
2891
  : undefined,
2910
2892
  };
2911
2893
  };
2912
- const deserializeAws_restJson1DeployedVersionSummary = (output, context) => {
2894
+ const de_DeployedVersionSummary = (output, context) => {
2913
2895
  return {
2914
2896
  applicationVersion: __expectInt32(output.applicationVersion),
2915
2897
  status: __expectString(output.status),
2916
2898
  statusReason: __expectString(output.statusReason),
2917
2899
  };
2918
2900
  };
2919
- const deserializeAws_restJson1DeploymentList = (output, context) => {
2901
+ const de_DeploymentList = (output, context) => {
2920
2902
  const retVal = (output || [])
2921
2903
  .filter((e) => e != null)
2922
2904
  .map((entry) => {
2923
2905
  if (entry === null) {
2924
2906
  return null;
2925
2907
  }
2926
- return deserializeAws_restJson1DeploymentSummary(entry, context);
2908
+ return de_DeploymentSummary(entry, context);
2927
2909
  });
2928
2910
  return retVal;
2929
2911
  };
2930
- const deserializeAws_restJson1DeploymentSummary = (output, context) => {
2912
+ const de_DeploymentSummary = (output, context) => {
2931
2913
  return {
2932
2914
  applicationId: __expectString(output.applicationId),
2933
2915
  applicationVersion: __expectInt32(output.applicationVersion),
@@ -2940,30 +2922,30 @@ const deserializeAws_restJson1DeploymentSummary = (output, context) => {
2940
2922
  statusReason: __expectString(output.statusReason),
2941
2923
  };
2942
2924
  };
2943
- const deserializeAws_restJson1EfsStorageConfiguration = (output, context) => {
2925
+ const de_EfsStorageConfiguration = (output, context) => {
2944
2926
  return {
2945
2927
  fileSystemId: __expectString(output["file-system-id"]),
2946
2928
  mountPoint: __expectString(output["mount-point"]),
2947
2929
  };
2948
2930
  };
2949
- const deserializeAws_restJson1EngineVersionsSummary = (output, context) => {
2931
+ const de_EngineVersionsSummary = (output, context) => {
2950
2932
  return {
2951
2933
  engineType: __expectString(output.engineType),
2952
2934
  engineVersion: __expectString(output.engineVersion),
2953
2935
  };
2954
2936
  };
2955
- const deserializeAws_restJson1EngineVersionsSummaryList = (output, context) => {
2937
+ const de_EngineVersionsSummaryList = (output, context) => {
2956
2938
  const retVal = (output || [])
2957
2939
  .filter((e) => e != null)
2958
2940
  .map((entry) => {
2959
2941
  if (entry === null) {
2960
2942
  return null;
2961
2943
  }
2962
- return deserializeAws_restJson1EngineVersionsSummary(entry, context);
2944
+ return de_EngineVersionsSummary(entry, context);
2963
2945
  });
2964
2946
  return retVal;
2965
2947
  };
2966
- const deserializeAws_restJson1EnvironmentSummary = (output, context) => {
2948
+ const de_EnvironmentSummary = (output, context) => {
2967
2949
  return {
2968
2950
  creationTime: output.creationTime != null
2969
2951
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
@@ -2977,76 +2959,76 @@ const deserializeAws_restJson1EnvironmentSummary = (output, context) => {
2977
2959
  status: __expectString(output.status),
2978
2960
  };
2979
2961
  };
2980
- const deserializeAws_restJson1EnvironmentSummaryList = (output, context) => {
2962
+ const de_EnvironmentSummaryList = (output, context) => {
2981
2963
  const retVal = (output || [])
2982
2964
  .filter((e) => e != null)
2983
2965
  .map((entry) => {
2984
2966
  if (entry === null) {
2985
2967
  return null;
2986
2968
  }
2987
- return deserializeAws_restJson1EnvironmentSummary(entry, context);
2969
+ return de_EnvironmentSummary(entry, context);
2988
2970
  });
2989
2971
  return retVal;
2990
2972
  };
2991
- const deserializeAws_restJson1FileBatchJobDefinition = (output, context) => {
2973
+ const de_FileBatchJobDefinition = (output, context) => {
2992
2974
  return {
2993
2975
  fileName: __expectString(output.fileName),
2994
2976
  folderPath: __expectString(output.folderPath),
2995
2977
  };
2996
2978
  };
2997
- const deserializeAws_restJson1FileBatchJobIdentifier = (output, context) => {
2979
+ const de_FileBatchJobIdentifier = (output, context) => {
2998
2980
  return {
2999
2981
  fileName: __expectString(output.fileName),
3000
2982
  folderPath: __expectString(output.folderPath),
3001
2983
  };
3002
2984
  };
3003
- const deserializeAws_restJson1FsxStorageConfiguration = (output, context) => {
2985
+ const de_FsxStorageConfiguration = (output, context) => {
3004
2986
  return {
3005
2987
  fileSystemId: __expectString(output["file-system-id"]),
3006
2988
  mountPoint: __expectString(output["mount-point"]),
3007
2989
  };
3008
2990
  };
3009
- const deserializeAws_restJson1GdgDetailAttributes = (output, context) => {
2991
+ const de_GdgDetailAttributes = (output, context) => {
3010
2992
  return {
3011
2993
  limit: __expectInt32(output.limit),
3012
2994
  rollDisposition: __expectString(output.rollDisposition),
3013
2995
  };
3014
2996
  };
3015
- const deserializeAws_restJson1HighAvailabilityConfig = (output, context) => {
2997
+ const de_HighAvailabilityConfig = (output, context) => {
3016
2998
  return {
3017
2999
  desiredCapacity: __expectInt32(output.desiredCapacity),
3018
3000
  };
3019
3001
  };
3020
- const deserializeAws_restJson1LogGroupSummaries = (output, context) => {
3002
+ const de_LogGroupSummaries = (output, context) => {
3021
3003
  const retVal = (output || [])
3022
3004
  .filter((e) => e != null)
3023
3005
  .map((entry) => {
3024
3006
  if (entry === null) {
3025
3007
  return null;
3026
3008
  }
3027
- return deserializeAws_restJson1LogGroupSummary(entry, context);
3009
+ return de_LogGroupSummary(entry, context);
3028
3010
  });
3029
3011
  return retVal;
3030
3012
  };
3031
- const deserializeAws_restJson1LogGroupSummary = (output, context) => {
3013
+ const de_LogGroupSummary = (output, context) => {
3032
3014
  return {
3033
3015
  logGroupName: __expectString(output.logGroupName),
3034
3016
  logType: __expectString(output.logType),
3035
3017
  };
3036
3018
  };
3037
- const deserializeAws_restJson1MaintenanceSchedule = (output, context) => {
3019
+ const de_MaintenanceSchedule = (output, context) => {
3038
3020
  return {
3039
3021
  endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
3040
3022
  startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
3041
3023
  };
3042
3024
  };
3043
- const deserializeAws_restJson1PendingMaintenance = (output, context) => {
3025
+ const de_PendingMaintenance = (output, context) => {
3044
3026
  return {
3045
3027
  engineVersion: __expectString(output.engineVersion),
3046
- schedule: output.schedule != null ? deserializeAws_restJson1MaintenanceSchedule(output.schedule, context) : undefined,
3028
+ schedule: output.schedule != null ? de_MaintenanceSchedule(output.schedule, context) : undefined,
3047
3029
  };
3048
3030
  };
3049
- const deserializeAws_restJson1PortList = (output, context) => {
3031
+ const de_PortList = (output, context) => {
3050
3032
  const retVal = (output || [])
3051
3033
  .filter((e) => e != null)
3052
3034
  .map((entry) => {
@@ -3057,48 +3039,48 @@ const deserializeAws_restJson1PortList = (output, context) => {
3057
3039
  });
3058
3040
  return retVal;
3059
3041
  };
3060
- const deserializeAws_restJson1PrimaryKey = (output, context) => {
3042
+ const de_PrimaryKey = (output, context) => {
3061
3043
  return {
3062
3044
  length: __expectInt32(output.length),
3063
3045
  name: __expectString(output.name),
3064
3046
  offset: __expectInt32(output.offset),
3065
3047
  };
3066
3048
  };
3067
- const deserializeAws_restJson1ScriptBatchJobDefinition = (output, context) => {
3049
+ const de_ScriptBatchJobDefinition = (output, context) => {
3068
3050
  return {
3069
3051
  scriptName: __expectString(output.scriptName),
3070
3052
  };
3071
3053
  };
3072
- const deserializeAws_restJson1ScriptBatchJobIdentifier = (output, context) => {
3054
+ const de_ScriptBatchJobIdentifier = (output, context) => {
3073
3055
  return {
3074
3056
  scriptName: __expectString(output.scriptName),
3075
3057
  };
3076
3058
  };
3077
- const deserializeAws_restJson1StorageConfiguration = (output, context) => {
3059
+ const de_StorageConfiguration = (output, context) => {
3078
3060
  if (output.efs != null) {
3079
3061
  return {
3080
- efs: deserializeAws_restJson1EfsStorageConfiguration(output.efs, context),
3062
+ efs: de_EfsStorageConfiguration(output.efs, context),
3081
3063
  };
3082
3064
  }
3083
3065
  if (output.fsx != null) {
3084
3066
  return {
3085
- fsx: deserializeAws_restJson1FsxStorageConfiguration(output.fsx, context),
3067
+ fsx: de_FsxStorageConfiguration(output.fsx, context),
3086
3068
  };
3087
3069
  }
3088
3070
  return { $unknown: Object.entries(output)[0] };
3089
3071
  };
3090
- const deserializeAws_restJson1StorageConfigurationList = (output, context) => {
3072
+ const de_StorageConfigurationList = (output, context) => {
3091
3073
  const retVal = (output || [])
3092
3074
  .filter((e) => e != null)
3093
3075
  .map((entry) => {
3094
3076
  if (entry === null) {
3095
3077
  return null;
3096
3078
  }
3097
- return deserializeAws_restJson1StorageConfiguration(__expectUnion(entry), context);
3079
+ return de_StorageConfiguration(__expectUnion(entry), context);
3098
3080
  });
3099
3081
  return retVal;
3100
3082
  };
3101
- const deserializeAws_restJson1String50List = (output, context) => {
3083
+ const de_String50List = (output, context) => {
3102
3084
  const retVal = (output || [])
3103
3085
  .filter((e) => e != null)
3104
3086
  .map((entry) => {
@@ -3109,7 +3091,7 @@ const deserializeAws_restJson1String50List = (output, context) => {
3109
3091
  });
3110
3092
  return retVal;
3111
3093
  };
3112
- const deserializeAws_restJson1TagMap = (output, context) => {
3094
+ const de_TagMap = (output, context) => {
3113
3095
  return Object.entries(output).reduce((acc, [key, value]) => {
3114
3096
  if (value === null) {
3115
3097
  return acc;
@@ -3118,32 +3100,30 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3118
3100
  return acc;
3119
3101
  }, {});
3120
3102
  };
3121
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3103
+ const de_ValidationExceptionField = (output, context) => {
3122
3104
  return {
3123
3105
  message: __expectString(output.message),
3124
3106
  name: __expectString(output.name),
3125
3107
  };
3126
3108
  };
3127
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
3109
+ const de_ValidationExceptionFieldList = (output, context) => {
3128
3110
  const retVal = (output || [])
3129
3111
  .filter((e) => e != null)
3130
3112
  .map((entry) => {
3131
3113
  if (entry === null) {
3132
3114
  return null;
3133
3115
  }
3134
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
3116
+ return de_ValidationExceptionField(entry, context);
3135
3117
  });
3136
3118
  return retVal;
3137
3119
  };
3138
- const deserializeAws_restJson1VsamDetailAttributes = (output, context) => {
3120
+ const de_VsamDetailAttributes = (output, context) => {
3139
3121
  return {
3140
- alternateKeys: output.alternateKeys != null
3141
- ? deserializeAws_restJson1AlternateKeyList(output.alternateKeys, context)
3142
- : undefined,
3122
+ alternateKeys: output.alternateKeys != null ? de_AlternateKeyList(output.alternateKeys, context) : undefined,
3143
3123
  cacheAtStartup: __expectBoolean(output.cacheAtStartup),
3144
3124
  compressed: __expectBoolean(output.compressed),
3145
3125
  encoding: __expectString(output.encoding),
3146
- primaryKey: output.primaryKey != null ? deserializeAws_restJson1PrimaryKey(output.primaryKey, context) : undefined,
3126
+ primaryKey: output.primaryKey != null ? de_PrimaryKey(output.primaryKey, context) : undefined,
3147
3127
  recordFormat: __expectString(output.recordFormat),
3148
3128
  };
3149
3129
  };