@aws-sdk/client-migrationhuborchestrator 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 (61) hide show
  1. package/dist-cjs/commands/CreateWorkflowCommand.js +2 -2
  2. package/dist-cjs/commands/CreateWorkflowStepCommand.js +2 -2
  3. package/dist-cjs/commands/CreateWorkflowStepGroupCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteWorkflowCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteWorkflowStepCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteWorkflowStepGroupCommand.js +2 -2
  7. package/dist-cjs/commands/GetTemplateCommand.js +2 -2
  8. package/dist-cjs/commands/GetTemplateStepCommand.js +2 -2
  9. package/dist-cjs/commands/GetTemplateStepGroupCommand.js +2 -2
  10. package/dist-cjs/commands/GetWorkflowCommand.js +2 -2
  11. package/dist-cjs/commands/GetWorkflowStepCommand.js +2 -2
  12. package/dist-cjs/commands/GetWorkflowStepGroupCommand.js +2 -2
  13. package/dist-cjs/commands/ListPluginsCommand.js +2 -2
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  15. package/dist-cjs/commands/ListTemplateStepGroupsCommand.js +2 -2
  16. package/dist-cjs/commands/ListTemplateStepsCommand.js +2 -2
  17. package/dist-cjs/commands/ListTemplatesCommand.js +2 -2
  18. package/dist-cjs/commands/ListWorkflowStepGroupsCommand.js +2 -2
  19. package/dist-cjs/commands/ListWorkflowStepsCommand.js +2 -2
  20. package/dist-cjs/commands/ListWorkflowsCommand.js +2 -2
  21. package/dist-cjs/commands/RetryWorkflowStepCommand.js +2 -2
  22. package/dist-cjs/commands/StartWorkflowCommand.js +2 -2
  23. package/dist-cjs/commands/StopWorkflowCommand.js +2 -2
  24. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  25. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateWorkflowCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateWorkflowStepCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateWorkflowStepGroupCommand.js +2 -2
  29. package/dist-cjs/protocols/Aws_restJson1.js +432 -442
  30. package/dist-es/commands/CreateWorkflowCommand.js +3 -3
  31. package/dist-es/commands/CreateWorkflowStepCommand.js +3 -3
  32. package/dist-es/commands/CreateWorkflowStepGroupCommand.js +3 -3
  33. package/dist-es/commands/DeleteWorkflowCommand.js +3 -3
  34. package/dist-es/commands/DeleteWorkflowStepCommand.js +3 -3
  35. package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +3 -3
  36. package/dist-es/commands/GetTemplateCommand.js +3 -3
  37. package/dist-es/commands/GetTemplateStepCommand.js +3 -3
  38. package/dist-es/commands/GetTemplateStepGroupCommand.js +3 -3
  39. package/dist-es/commands/GetWorkflowCommand.js +3 -3
  40. package/dist-es/commands/GetWorkflowStepCommand.js +3 -3
  41. package/dist-es/commands/GetWorkflowStepGroupCommand.js +3 -3
  42. package/dist-es/commands/ListPluginsCommand.js +3 -3
  43. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  44. package/dist-es/commands/ListTemplateStepGroupsCommand.js +3 -3
  45. package/dist-es/commands/ListTemplateStepsCommand.js +3 -3
  46. package/dist-es/commands/ListTemplatesCommand.js +3 -3
  47. package/dist-es/commands/ListWorkflowStepGroupsCommand.js +3 -3
  48. package/dist-es/commands/ListWorkflowStepsCommand.js +3 -3
  49. package/dist-es/commands/ListWorkflowsCommand.js +3 -3
  50. package/dist-es/commands/RetryWorkflowStepCommand.js +3 -3
  51. package/dist-es/commands/StartWorkflowCommand.js +3 -3
  52. package/dist-es/commands/StopWorkflowCommand.js +3 -3
  53. package/dist-es/commands/TagResourceCommand.js +3 -3
  54. package/dist-es/commands/UntagResourceCommand.js +3 -3
  55. package/dist-es/commands/UpdateWorkflowCommand.js +3 -3
  56. package/dist-es/commands/UpdateWorkflowStepCommand.js +3 -3
  57. package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +3 -3
  58. package/dist-es/protocols/Aws_restJson1.js +374 -384
  59. package/dist-types/protocols/Aws_restJson1.d.ts +224 -56
  60. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +56 -56
  61. package/package.json +29 -29
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { MigrationHubOrchestratorServiceException as __BaseException } from "../models/MigrationHubOrchestratorServiceException";
4
4
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, StepInput, ThrottlingException, ValidationException, WorkflowStepOutputUnion, } from "../models/models_0";
5
- export const serializeAws_restJson1CreateWorkflowCommand = async (input, context) => {
5
+ export const se_CreateWorkflowCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = {
8
8
  "content-type": "application/json",
@@ -12,12 +12,10 @@ export const serializeAws_restJson1CreateWorkflowCommand = async (input, context
12
12
  body = JSON.stringify({
13
13
  ...(input.applicationConfigurationId != null && { applicationConfigurationId: input.applicationConfigurationId }),
14
14
  ...(input.description != null && { description: input.description }),
15
- ...(input.inputParameters != null && {
16
- inputParameters: serializeAws_restJson1StepInputParameters(input.inputParameters, context),
17
- }),
15
+ ...(input.inputParameters != null && { inputParameters: se_StepInputParameters(input.inputParameters, context) }),
18
16
  ...(input.name != null && { name: input.name }),
19
- ...(input.stepTargets != null && { stepTargets: serializeAws_restJson1StringList(input.stepTargets, context) }),
20
- ...(input.tags != null && { tags: serializeAws_restJson1StringMap(input.tags, context) }),
17
+ ...(input.stepTargets != null && { stepTargets: se_StringList(input.stepTargets, context) }),
18
+ ...(input.tags != null && { tags: se_StringMap(input.tags, context) }),
21
19
  ...(input.templateId != null && { templateId: input.templateId }),
22
20
  });
23
21
  return new __HttpRequest({
@@ -30,7 +28,7 @@ export const serializeAws_restJson1CreateWorkflowCommand = async (input, context
30
28
  body,
31
29
  });
32
30
  };
33
- export const serializeAws_restJson1CreateWorkflowStepCommand = async (input, context) => {
31
+ export const se_CreateWorkflowStepCommand = async (input, context) => {
34
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
33
  const headers = {
36
34
  "content-type": "application/json",
@@ -40,15 +38,15 @@ export const serializeAws_restJson1CreateWorkflowStepCommand = async (input, con
40
38
  body = JSON.stringify({
41
39
  ...(input.description != null && { description: input.description }),
42
40
  ...(input.name != null && { name: input.name }),
43
- ...(input.next != null && { next: serializeAws_restJson1StringList(input.next, context) }),
44
- ...(input.outputs != null && { outputs: serializeAws_restJson1WorkflowStepOutputList(input.outputs, context) }),
45
- ...(input.previous != null && { previous: serializeAws_restJson1StringList(input.previous, context) }),
41
+ ...(input.next != null && { next: se_StringList(input.next, context) }),
42
+ ...(input.outputs != null && { outputs: se_WorkflowStepOutputList(input.outputs, context) }),
43
+ ...(input.previous != null && { previous: se_StringList(input.previous, context) }),
46
44
  ...(input.stepActionType != null && { stepActionType: input.stepActionType }),
47
45
  ...(input.stepGroupId != null && { stepGroupId: input.stepGroupId }),
48
- ...(input.stepTarget != null && { stepTarget: serializeAws_restJson1StringList(input.stepTarget, context) }),
46
+ ...(input.stepTarget != null && { stepTarget: se_StringList(input.stepTarget, context) }),
49
47
  ...(input.workflowId != null && { workflowId: input.workflowId }),
50
48
  ...(input.workflowStepAutomationConfiguration != null && {
51
- workflowStepAutomationConfiguration: serializeAws_restJson1WorkflowStepAutomationConfiguration(input.workflowStepAutomationConfiguration, context),
49
+ workflowStepAutomationConfiguration: se_WorkflowStepAutomationConfiguration(input.workflowStepAutomationConfiguration, context),
52
50
  }),
53
51
  });
54
52
  return new __HttpRequest({
@@ -61,7 +59,7 @@ export const serializeAws_restJson1CreateWorkflowStepCommand = async (input, con
61
59
  body,
62
60
  });
63
61
  };
64
- export const serializeAws_restJson1CreateWorkflowStepGroupCommand = async (input, context) => {
62
+ export const se_CreateWorkflowStepGroupCommand = async (input, context) => {
65
63
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
66
64
  const headers = {
67
65
  "content-type": "application/json",
@@ -71,8 +69,8 @@ export const serializeAws_restJson1CreateWorkflowStepGroupCommand = async (input
71
69
  body = JSON.stringify({
72
70
  ...(input.description != null && { description: input.description }),
73
71
  ...(input.name != null && { name: input.name }),
74
- ...(input.next != null && { next: serializeAws_restJson1StringList(input.next, context) }),
75
- ...(input.previous != null && { previous: serializeAws_restJson1StringList(input.previous, context) }),
72
+ ...(input.next != null && { next: se_StringList(input.next, context) }),
73
+ ...(input.previous != null && { previous: se_StringList(input.previous, context) }),
76
74
  ...(input.workflowId != null && { workflowId: input.workflowId }),
77
75
  });
78
76
  return new __HttpRequest({
@@ -85,7 +83,7 @@ export const serializeAws_restJson1CreateWorkflowStepGroupCommand = async (input
85
83
  body,
86
84
  });
87
85
  };
88
- export const serializeAws_restJson1DeleteWorkflowCommand = async (input, context) => {
86
+ export const se_DeleteWorkflowCommand = async (input, context) => {
89
87
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
90
88
  const headers = {};
91
89
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/migrationworkflow/{id}";
@@ -101,7 +99,7 @@ export const serializeAws_restJson1DeleteWorkflowCommand = async (input, context
101
99
  body,
102
100
  });
103
101
  };
104
- export const serializeAws_restJson1DeleteWorkflowStepCommand = async (input, context) => {
102
+ export const se_DeleteWorkflowStepCommand = async (input, context) => {
105
103
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
106
104
  const headers = {};
107
105
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstep/{id}";
@@ -122,7 +120,7 @@ export const serializeAws_restJson1DeleteWorkflowStepCommand = async (input, con
122
120
  body,
123
121
  });
124
122
  };
125
- export const serializeAws_restJson1DeleteWorkflowStepGroupCommand = async (input, context) => {
123
+ export const se_DeleteWorkflowStepGroupCommand = async (input, context) => {
126
124
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
127
125
  const headers = {};
128
126
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
@@ -142,7 +140,7 @@ export const serializeAws_restJson1DeleteWorkflowStepGroupCommand = async (input
142
140
  body,
143
141
  });
144
142
  };
145
- export const serializeAws_restJson1GetTemplateCommand = async (input, context) => {
143
+ export const se_GetTemplateCommand = async (input, context) => {
146
144
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
147
145
  const headers = {};
148
146
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/migrationworkflowtemplate/{id}";
@@ -158,7 +156,7 @@ export const serializeAws_restJson1GetTemplateCommand = async (input, context) =
158
156
  body,
159
157
  });
160
158
  };
161
- export const serializeAws_restJson1GetTemplateStepCommand = async (input, context) => {
159
+ export const se_GetTemplateStepCommand = async (input, context) => {
162
160
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
163
161
  const headers = {};
164
162
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/templatestep/{id}";
@@ -179,7 +177,7 @@ export const serializeAws_restJson1GetTemplateStepCommand = async (input, contex
179
177
  body,
180
178
  });
181
179
  };
182
- export const serializeAws_restJson1GetTemplateStepGroupCommand = async (input, context) => {
180
+ export const se_GetTemplateStepGroupCommand = async (input, context) => {
183
181
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
184
182
  const headers = {};
185
183
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/templates/{templateId}/stepgroups/{id}";
@@ -196,7 +194,7 @@ export const serializeAws_restJson1GetTemplateStepGroupCommand = async (input, c
196
194
  body,
197
195
  });
198
196
  };
199
- export const serializeAws_restJson1GetWorkflowCommand = async (input, context) => {
197
+ export const se_GetWorkflowCommand = async (input, context) => {
200
198
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
201
199
  const headers = {};
202
200
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/migrationworkflow/{id}";
@@ -212,7 +210,7 @@ export const serializeAws_restJson1GetWorkflowCommand = async (input, context) =
212
210
  body,
213
211
  });
214
212
  };
215
- export const serializeAws_restJson1GetWorkflowStepCommand = async (input, context) => {
213
+ export const se_GetWorkflowStepCommand = async (input, context) => {
216
214
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
217
215
  const headers = {};
218
216
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstep/{id}";
@@ -233,7 +231,7 @@ export const serializeAws_restJson1GetWorkflowStepCommand = async (input, contex
233
231
  body,
234
232
  });
235
233
  };
236
- export const serializeAws_restJson1GetWorkflowStepGroupCommand = async (input, context) => {
234
+ export const se_GetWorkflowStepGroupCommand = async (input, context) => {
237
235
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
238
236
  const headers = {};
239
237
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroup/{id}";
@@ -253,7 +251,7 @@ export const serializeAws_restJson1GetWorkflowStepGroupCommand = async (input, c
253
251
  body,
254
252
  });
255
253
  };
256
- export const serializeAws_restJson1ListPluginsCommand = async (input, context) => {
254
+ export const se_ListPluginsCommand = async (input, context) => {
257
255
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
258
256
  const headers = {};
259
257
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/plugins";
@@ -273,7 +271,7 @@ export const serializeAws_restJson1ListPluginsCommand = async (input, context) =
273
271
  body,
274
272
  });
275
273
  };
276
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
274
+ export const se_ListTagsForResourceCommand = async (input, context) => {
277
275
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
278
276
  const headers = {};
279
277
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -289,7 +287,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
289
287
  body,
290
288
  });
291
289
  };
292
- export const serializeAws_restJson1ListTemplatesCommand = async (input, context) => {
290
+ export const se_ListTemplatesCommand = async (input, context) => {
293
291
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
294
292
  const headers = {};
295
293
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/migrationworkflowtemplates";
@@ -310,7 +308,7 @@ export const serializeAws_restJson1ListTemplatesCommand = async (input, context)
310
308
  body,
311
309
  });
312
310
  };
313
- export const serializeAws_restJson1ListTemplateStepGroupsCommand = async (input, context) => {
311
+ export const se_ListTemplateStepGroupsCommand = async (input, context) => {
314
312
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
315
313
  const headers = {};
316
314
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/templatestepgroups/{templateId}";
@@ -331,7 +329,7 @@ export const serializeAws_restJson1ListTemplateStepGroupsCommand = async (input,
331
329
  body,
332
330
  });
333
331
  };
334
- export const serializeAws_restJson1ListTemplateStepsCommand = async (input, context) => {
332
+ export const se_ListTemplateStepsCommand = async (input, context) => {
335
333
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
336
334
  const headers = {};
337
335
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/templatesteps";
@@ -353,7 +351,7 @@ export const serializeAws_restJson1ListTemplateStepsCommand = async (input, cont
353
351
  body,
354
352
  });
355
353
  };
356
- export const serializeAws_restJson1ListWorkflowsCommand = async (input, context) => {
354
+ export const se_ListWorkflowsCommand = async (input, context) => {
357
355
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
358
356
  const headers = {};
359
357
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/migrationworkflows";
@@ -377,7 +375,7 @@ export const serializeAws_restJson1ListWorkflowsCommand = async (input, context)
377
375
  body,
378
376
  });
379
377
  };
380
- export const serializeAws_restJson1ListWorkflowStepGroupsCommand = async (input, context) => {
378
+ export const se_ListWorkflowStepGroupsCommand = async (input, context) => {
381
379
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
382
380
  const headers = {};
383
381
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflowstepgroups";
@@ -398,7 +396,7 @@ export const serializeAws_restJson1ListWorkflowStepGroupsCommand = async (input,
398
396
  body,
399
397
  });
400
398
  };
401
- export const serializeAws_restJson1ListWorkflowStepsCommand = async (input, context) => {
399
+ export const se_ListWorkflowStepsCommand = async (input, context) => {
402
400
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
403
401
  const headers = {};
404
402
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -421,7 +419,7 @@ export const serializeAws_restJson1ListWorkflowStepsCommand = async (input, cont
421
419
  body,
422
420
  });
423
421
  };
424
- export const serializeAws_restJson1RetryWorkflowStepCommand = async (input, context) => {
422
+ export const se_RetryWorkflowStepCommand = async (input, context) => {
425
423
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
426
424
  const headers = {};
427
425
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/retryworkflowstep/{id}";
@@ -442,7 +440,7 @@ export const serializeAws_restJson1RetryWorkflowStepCommand = async (input, cont
442
440
  body,
443
441
  });
444
442
  };
445
- export const serializeAws_restJson1StartWorkflowCommand = async (input, context) => {
443
+ export const se_StartWorkflowCommand = async (input, context) => {
446
444
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
447
445
  const headers = {};
448
446
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/migrationworkflow/{id}/start";
@@ -458,7 +456,7 @@ export const serializeAws_restJson1StartWorkflowCommand = async (input, context)
458
456
  body,
459
457
  });
460
458
  };
461
- export const serializeAws_restJson1StopWorkflowCommand = async (input, context) => {
459
+ export const se_StopWorkflowCommand = async (input, context) => {
462
460
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
463
461
  const headers = {};
464
462
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/migrationworkflow/{id}/stop";
@@ -474,7 +472,7 @@ export const serializeAws_restJson1StopWorkflowCommand = async (input, context)
474
472
  body,
475
473
  });
476
474
  };
477
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
475
+ export const se_TagResourceCommand = async (input, context) => {
478
476
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
479
477
  const headers = {
480
478
  "content-type": "application/json",
@@ -483,7 +481,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
483
481
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
484
482
  let body;
485
483
  body = JSON.stringify({
486
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
484
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
487
485
  });
488
486
  return new __HttpRequest({
489
487
  protocol,
@@ -495,7 +493,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
495
493
  body,
496
494
  });
497
495
  };
498
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
496
+ export const se_UntagResourceCommand = async (input, context) => {
499
497
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
500
498
  const headers = {};
501
499
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -518,7 +516,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
518
516
  body,
519
517
  });
520
518
  };
521
- export const serializeAws_restJson1UpdateWorkflowCommand = async (input, context) => {
519
+ export const se_UpdateWorkflowCommand = async (input, context) => {
522
520
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
523
521
  const headers = {
524
522
  "content-type": "application/json",
@@ -528,11 +526,9 @@ export const serializeAws_restJson1UpdateWorkflowCommand = async (input, context
528
526
  let body;
529
527
  body = JSON.stringify({
530
528
  ...(input.description != null && { description: input.description }),
531
- ...(input.inputParameters != null && {
532
- inputParameters: serializeAws_restJson1StepInputParameters(input.inputParameters, context),
533
- }),
529
+ ...(input.inputParameters != null && { inputParameters: se_StepInputParameters(input.inputParameters, context) }),
534
530
  ...(input.name != null && { name: input.name }),
535
- ...(input.stepTargets != null && { stepTargets: serializeAws_restJson1StringList(input.stepTargets, context) }),
531
+ ...(input.stepTargets != null && { stepTargets: se_StringList(input.stepTargets, context) }),
536
532
  });
537
533
  return new __HttpRequest({
538
534
  protocol,
@@ -544,7 +540,7 @@ export const serializeAws_restJson1UpdateWorkflowCommand = async (input, context
544
540
  body,
545
541
  });
546
542
  };
547
- export const serializeAws_restJson1UpdateWorkflowStepCommand = async (input, context) => {
543
+ export const se_UpdateWorkflowStepCommand = async (input, context) => {
548
544
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
549
545
  const headers = {
550
546
  "content-type": "application/json",
@@ -555,16 +551,16 @@ export const serializeAws_restJson1UpdateWorkflowStepCommand = async (input, con
555
551
  body = JSON.stringify({
556
552
  ...(input.description != null && { description: input.description }),
557
553
  ...(input.name != null && { name: input.name }),
558
- ...(input.next != null && { next: serializeAws_restJson1StringList(input.next, context) }),
559
- ...(input.outputs != null && { outputs: serializeAws_restJson1WorkflowStepOutputList(input.outputs, context) }),
560
- ...(input.previous != null && { previous: serializeAws_restJson1StringList(input.previous, context) }),
554
+ ...(input.next != null && { next: se_StringList(input.next, context) }),
555
+ ...(input.outputs != null && { outputs: se_WorkflowStepOutputList(input.outputs, context) }),
556
+ ...(input.previous != null && { previous: se_StringList(input.previous, context) }),
561
557
  ...(input.status != null && { status: input.status }),
562
558
  ...(input.stepActionType != null && { stepActionType: input.stepActionType }),
563
559
  ...(input.stepGroupId != null && { stepGroupId: input.stepGroupId }),
564
- ...(input.stepTarget != null && { stepTarget: serializeAws_restJson1StringList(input.stepTarget, context) }),
560
+ ...(input.stepTarget != null && { stepTarget: se_StringList(input.stepTarget, context) }),
565
561
  ...(input.workflowId != null && { workflowId: input.workflowId }),
566
562
  ...(input.workflowStepAutomationConfiguration != null && {
567
- workflowStepAutomationConfiguration: serializeAws_restJson1WorkflowStepAutomationConfiguration(input.workflowStepAutomationConfiguration, context),
563
+ workflowStepAutomationConfiguration: se_WorkflowStepAutomationConfiguration(input.workflowStepAutomationConfiguration, context),
568
564
  }),
569
565
  });
570
566
  return new __HttpRequest({
@@ -577,7 +573,7 @@ export const serializeAws_restJson1UpdateWorkflowStepCommand = async (input, con
577
573
  body,
578
574
  });
579
575
  };
580
- export const serializeAws_restJson1UpdateWorkflowStepGroupCommand = async (input, context) => {
576
+ export const se_UpdateWorkflowStepGroupCommand = async (input, context) => {
581
577
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
582
578
  const headers = {
583
579
  "content-type": "application/json",
@@ -591,8 +587,8 @@ export const serializeAws_restJson1UpdateWorkflowStepGroupCommand = async (input
591
587
  body = JSON.stringify({
592
588
  ...(input.description != null && { description: input.description }),
593
589
  ...(input.name != null && { name: input.name }),
594
- ...(input.next != null && { next: serializeAws_restJson1StringList(input.next, context) }),
595
- ...(input.previous != null && { previous: serializeAws_restJson1StringList(input.previous, context) }),
590
+ ...(input.next != null && { next: se_StringList(input.next, context) }),
591
+ ...(input.previous != null && { previous: se_StringList(input.previous, context) }),
596
592
  });
597
593
  return new __HttpRequest({
598
594
  protocol,
@@ -605,9 +601,9 @@ export const serializeAws_restJson1UpdateWorkflowStepGroupCommand = async (input
605
601
  body,
606
602
  });
607
603
  };
608
- export const deserializeAws_restJson1CreateWorkflowCommand = async (output, context) => {
604
+ export const de_CreateWorkflowCommand = async (output, context) => {
609
605
  if (output.statusCode !== 200 && output.statusCode >= 300) {
610
- return deserializeAws_restJson1CreateWorkflowCommandError(output, context);
606
+ return de_CreateWorkflowCommandError(output, context);
611
607
  }
612
608
  const contents = map({
613
609
  $metadata: deserializeMetadata(output),
@@ -635,20 +631,20 @@ export const deserializeAws_restJson1CreateWorkflowCommand = async (output, cont
635
631
  contents.status = __expectString(data.status);
636
632
  }
637
633
  if (data.stepTargets != null) {
638
- contents.stepTargets = deserializeAws_restJson1StringList(data.stepTargets, context);
634
+ contents.stepTargets = de_StringList(data.stepTargets, context);
639
635
  }
640
636
  if (data.tags != null) {
641
- contents.tags = deserializeAws_restJson1StringMap(data.tags, context);
637
+ contents.tags = de_StringMap(data.tags, context);
642
638
  }
643
639
  if (data.templateId != null) {
644
640
  contents.templateId = __expectString(data.templateId);
645
641
  }
646
642
  if (data.workflowInputs != null) {
647
- contents.workflowInputs = deserializeAws_restJson1StepInputParameters(data.workflowInputs, context);
643
+ contents.workflowInputs = de_StepInputParameters(data.workflowInputs, context);
648
644
  }
649
645
  return contents;
650
646
  };
651
- const deserializeAws_restJson1CreateWorkflowCommandError = async (output, context) => {
647
+ const de_CreateWorkflowCommandError = async (output, context) => {
652
648
  const parsedOutput = {
653
649
  ...output,
654
650
  body: await parseErrorBody(output.body, context),
@@ -657,16 +653,16 @@ const deserializeAws_restJson1CreateWorkflowCommandError = async (output, contex
657
653
  switch (errorCode) {
658
654
  case "AccessDeniedException":
659
655
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
660
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
656
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
661
657
  case "InternalServerException":
662
658
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
663
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
659
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
664
660
  case "ThrottlingException":
665
661
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
666
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
662
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
667
663
  case "ValidationException":
668
664
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
669
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
665
+ throw await de_ValidationExceptionRes(parsedOutput, context);
670
666
  default:
671
667
  const parsedBody = parsedOutput.body;
672
668
  throwDefaultError({
@@ -677,9 +673,9 @@ const deserializeAws_restJson1CreateWorkflowCommandError = async (output, contex
677
673
  });
678
674
  }
679
675
  };
680
- export const deserializeAws_restJson1CreateWorkflowStepCommand = async (output, context) => {
676
+ export const de_CreateWorkflowStepCommand = async (output, context) => {
681
677
  if (output.statusCode !== 200 && output.statusCode >= 300) {
682
- return deserializeAws_restJson1CreateWorkflowStepCommandError(output, context);
678
+ return de_CreateWorkflowStepCommandError(output, context);
683
679
  }
684
680
  const contents = map({
685
681
  $metadata: deserializeMetadata(output),
@@ -699,7 +695,7 @@ export const deserializeAws_restJson1CreateWorkflowStepCommand = async (output,
699
695
  }
700
696
  return contents;
701
697
  };
702
- const deserializeAws_restJson1CreateWorkflowStepCommandError = async (output, context) => {
698
+ const de_CreateWorkflowStepCommandError = async (output, context) => {
703
699
  const parsedOutput = {
704
700
  ...output,
705
701
  body: await parseErrorBody(output.body, context),
@@ -708,16 +704,16 @@ const deserializeAws_restJson1CreateWorkflowStepCommandError = async (output, co
708
704
  switch (errorCode) {
709
705
  case "AccessDeniedException":
710
706
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
711
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
707
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
712
708
  case "InternalServerException":
713
709
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
714
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
710
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
715
711
  case "ThrottlingException":
716
712
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
717
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
713
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
718
714
  case "ValidationException":
719
715
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
720
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
716
+ throw await de_ValidationExceptionRes(parsedOutput, context);
721
717
  default:
722
718
  const parsedBody = parsedOutput.body;
723
719
  throwDefaultError({
@@ -728,9 +724,9 @@ const deserializeAws_restJson1CreateWorkflowStepCommandError = async (output, co
728
724
  });
729
725
  }
730
726
  };
731
- export const deserializeAws_restJson1CreateWorkflowStepGroupCommand = async (output, context) => {
727
+ export const de_CreateWorkflowStepGroupCommand = async (output, context) => {
732
728
  if (output.statusCode !== 200 && output.statusCode >= 300) {
733
- return deserializeAws_restJson1CreateWorkflowStepGroupCommandError(output, context);
729
+ return de_CreateWorkflowStepGroupCommandError(output, context);
734
730
  }
735
731
  const contents = map({
736
732
  $metadata: deserializeMetadata(output),
@@ -749,20 +745,20 @@ export const deserializeAws_restJson1CreateWorkflowStepGroupCommand = async (out
749
745
  contents.name = __expectString(data.name);
750
746
  }
751
747
  if (data.next != null) {
752
- contents.next = deserializeAws_restJson1StringList(data.next, context);
748
+ contents.next = de_StringList(data.next, context);
753
749
  }
754
750
  if (data.previous != null) {
755
- contents.previous = deserializeAws_restJson1StringList(data.previous, context);
751
+ contents.previous = de_StringList(data.previous, context);
756
752
  }
757
753
  if (data.tools != null) {
758
- contents.tools = deserializeAws_restJson1ToolsList(data.tools, context);
754
+ contents.tools = de_ToolsList(data.tools, context);
759
755
  }
760
756
  if (data.workflowId != null) {
761
757
  contents.workflowId = __expectString(data.workflowId);
762
758
  }
763
759
  return contents;
764
760
  };
765
- const deserializeAws_restJson1CreateWorkflowStepGroupCommandError = async (output, context) => {
761
+ const de_CreateWorkflowStepGroupCommandError = async (output, context) => {
766
762
  const parsedOutput = {
767
763
  ...output,
768
764
  body: await parseErrorBody(output.body, context),
@@ -771,16 +767,16 @@ const deserializeAws_restJson1CreateWorkflowStepGroupCommandError = async (outpu
771
767
  switch (errorCode) {
772
768
  case "AccessDeniedException":
773
769
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
774
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
770
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
775
771
  case "InternalServerException":
776
772
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
777
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
773
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
778
774
  case "ThrottlingException":
779
775
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
780
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
776
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
781
777
  case "ValidationException":
782
778
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
783
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
779
+ throw await de_ValidationExceptionRes(parsedOutput, context);
784
780
  default:
785
781
  const parsedBody = parsedOutput.body;
786
782
  throwDefaultError({
@@ -791,9 +787,9 @@ const deserializeAws_restJson1CreateWorkflowStepGroupCommandError = async (outpu
791
787
  });
792
788
  }
793
789
  };
794
- export const deserializeAws_restJson1DeleteWorkflowCommand = async (output, context) => {
790
+ export const de_DeleteWorkflowCommand = async (output, context) => {
795
791
  if (output.statusCode !== 202 && output.statusCode >= 300) {
796
- return deserializeAws_restJson1DeleteWorkflowCommandError(output, context);
792
+ return de_DeleteWorkflowCommandError(output, context);
797
793
  }
798
794
  const contents = map({
799
795
  $metadata: deserializeMetadata(output),
@@ -810,7 +806,7 @@ export const deserializeAws_restJson1DeleteWorkflowCommand = async (output, cont
810
806
  }
811
807
  return contents;
812
808
  };
813
- const deserializeAws_restJson1DeleteWorkflowCommandError = async (output, context) => {
809
+ const de_DeleteWorkflowCommandError = async (output, context) => {
814
810
  const parsedOutput = {
815
811
  ...output,
816
812
  body: await parseErrorBody(output.body, context),
@@ -819,19 +815,19 @@ const deserializeAws_restJson1DeleteWorkflowCommandError = async (output, contex
819
815
  switch (errorCode) {
820
816
  case "AccessDeniedException":
821
817
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
822
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
818
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
823
819
  case "InternalServerException":
824
820
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
825
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
821
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
826
822
  case "ResourceNotFoundException":
827
823
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
828
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
824
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
829
825
  case "ThrottlingException":
830
826
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
831
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
827
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
832
828
  case "ValidationException":
833
829
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
834
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
830
+ throw await de_ValidationExceptionRes(parsedOutput, context);
835
831
  default:
836
832
  const parsedBody = parsedOutput.body;
837
833
  throwDefaultError({
@@ -842,9 +838,9 @@ const deserializeAws_restJson1DeleteWorkflowCommandError = async (output, contex
842
838
  });
843
839
  }
844
840
  };
845
- export const deserializeAws_restJson1DeleteWorkflowStepCommand = async (output, context) => {
841
+ export const de_DeleteWorkflowStepCommand = async (output, context) => {
846
842
  if (output.statusCode !== 200 && output.statusCode >= 300) {
847
- return deserializeAws_restJson1DeleteWorkflowStepCommandError(output, context);
843
+ return de_DeleteWorkflowStepCommandError(output, context);
848
844
  }
849
845
  const contents = map({
850
846
  $metadata: deserializeMetadata(output),
@@ -852,7 +848,7 @@ export const deserializeAws_restJson1DeleteWorkflowStepCommand = async (output,
852
848
  await collectBody(output.body, context);
853
849
  return contents;
854
850
  };
855
- const deserializeAws_restJson1DeleteWorkflowStepCommandError = async (output, context) => {
851
+ const de_DeleteWorkflowStepCommandError = async (output, context) => {
856
852
  const parsedOutput = {
857
853
  ...output,
858
854
  body: await parseErrorBody(output.body, context),
@@ -861,19 +857,19 @@ const deserializeAws_restJson1DeleteWorkflowStepCommandError = async (output, co
861
857
  switch (errorCode) {
862
858
  case "AccessDeniedException":
863
859
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
864
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
860
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
865
861
  case "InternalServerException":
866
862
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
867
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
863
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
868
864
  case "ResourceNotFoundException":
869
865
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
870
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
866
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
871
867
  case "ThrottlingException":
872
868
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
873
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
869
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
874
870
  case "ValidationException":
875
871
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
876
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
872
+ throw await de_ValidationExceptionRes(parsedOutput, context);
877
873
  default:
878
874
  const parsedBody = parsedOutput.body;
879
875
  throwDefaultError({
@@ -884,9 +880,9 @@ const deserializeAws_restJson1DeleteWorkflowStepCommandError = async (output, co
884
880
  });
885
881
  }
886
882
  };
887
- export const deserializeAws_restJson1DeleteWorkflowStepGroupCommand = async (output, context) => {
883
+ export const de_DeleteWorkflowStepGroupCommand = async (output, context) => {
888
884
  if (output.statusCode !== 202 && output.statusCode >= 300) {
889
- return deserializeAws_restJson1DeleteWorkflowStepGroupCommandError(output, context);
885
+ return de_DeleteWorkflowStepGroupCommandError(output, context);
890
886
  }
891
887
  const contents = map({
892
888
  $metadata: deserializeMetadata(output),
@@ -894,7 +890,7 @@ export const deserializeAws_restJson1DeleteWorkflowStepGroupCommand = async (out
894
890
  await collectBody(output.body, context);
895
891
  return contents;
896
892
  };
897
- const deserializeAws_restJson1DeleteWorkflowStepGroupCommandError = async (output, context) => {
893
+ const de_DeleteWorkflowStepGroupCommandError = async (output, context) => {
898
894
  const parsedOutput = {
899
895
  ...output,
900
896
  body: await parseErrorBody(output.body, context),
@@ -903,19 +899,19 @@ const deserializeAws_restJson1DeleteWorkflowStepGroupCommandError = async (outpu
903
899
  switch (errorCode) {
904
900
  case "AccessDeniedException":
905
901
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
906
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
902
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
907
903
  case "InternalServerException":
908
904
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
909
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
905
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
910
906
  case "ResourceNotFoundException":
911
907
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
912
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
908
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
913
909
  case "ThrottlingException":
914
910
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
915
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
911
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
916
912
  case "ValidationException":
917
913
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
918
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
914
+ throw await de_ValidationExceptionRes(parsedOutput, context);
919
915
  default:
920
916
  const parsedBody = parsedOutput.body;
921
917
  throwDefaultError({
@@ -926,9 +922,9 @@ const deserializeAws_restJson1DeleteWorkflowStepGroupCommandError = async (outpu
926
922
  });
927
923
  }
928
924
  };
929
- export const deserializeAws_restJson1GetTemplateCommand = async (output, context) => {
925
+ export const de_GetTemplateCommand = async (output, context) => {
930
926
  if (output.statusCode !== 200 && output.statusCode >= 300) {
931
- return deserializeAws_restJson1GetTemplateCommandError(output, context);
927
+ return de_GetTemplateCommandError(output, context);
932
928
  }
933
929
  const contents = map({
934
930
  $metadata: deserializeMetadata(output),
@@ -944,7 +940,7 @@ export const deserializeAws_restJson1GetTemplateCommand = async (output, context
944
940
  contents.id = __expectString(data.id);
945
941
  }
946
942
  if (data.inputs != null) {
947
- contents.inputs = deserializeAws_restJson1TemplateInputList(data.inputs, context);
943
+ contents.inputs = de_TemplateInputList(data.inputs, context);
948
944
  }
949
945
  if (data.name != null) {
950
946
  contents.name = __expectString(data.name);
@@ -953,11 +949,11 @@ export const deserializeAws_restJson1GetTemplateCommand = async (output, context
953
949
  contents.status = __expectString(data.status);
954
950
  }
955
951
  if (data.tools != null) {
956
- contents.tools = deserializeAws_restJson1ToolsList(data.tools, context);
952
+ contents.tools = de_ToolsList(data.tools, context);
957
953
  }
958
954
  return contents;
959
955
  };
960
- const deserializeAws_restJson1GetTemplateCommandError = async (output, context) => {
956
+ const de_GetTemplateCommandError = async (output, context) => {
961
957
  const parsedOutput = {
962
958
  ...output,
963
959
  body: await parseErrorBody(output.body, context),
@@ -966,16 +962,16 @@ const deserializeAws_restJson1GetTemplateCommandError = async (output, context)
966
962
  switch (errorCode) {
967
963
  case "AccessDeniedException":
968
964
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
969
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
965
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
970
966
  case "InternalServerException":
971
967
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
972
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
968
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
973
969
  case "ResourceNotFoundException":
974
970
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
975
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
971
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
976
972
  case "ThrottlingException":
977
973
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
978
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
974
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
979
975
  default:
980
976
  const parsedBody = parsedOutput.body;
981
977
  throwDefaultError({
@@ -986,9 +982,9 @@ const deserializeAws_restJson1GetTemplateCommandError = async (output, context)
986
982
  });
987
983
  }
988
984
  };
989
- export const deserializeAws_restJson1GetTemplateStepCommand = async (output, context) => {
985
+ export const de_GetTemplateStepCommand = async (output, context) => {
990
986
  if (output.statusCode !== 200 && output.statusCode >= 300) {
991
- return deserializeAws_restJson1GetTemplateStepCommandError(output, context);
987
+ return de_GetTemplateStepCommandError(output, context);
992
988
  }
993
989
  const contents = map({
994
990
  $metadata: deserializeMetadata(output),
@@ -1007,19 +1003,19 @@ export const deserializeAws_restJson1GetTemplateStepCommand = async (output, con
1007
1003
  contents.name = __expectString(data.name);
1008
1004
  }
1009
1005
  if (data.next != null) {
1010
- contents.next = deserializeAws_restJson1StringList(data.next, context);
1006
+ contents.next = de_StringList(data.next, context);
1011
1007
  }
1012
1008
  if (data.outputs != null) {
1013
- contents.outputs = deserializeAws_restJson1StepOutputList(data.outputs, context);
1009
+ contents.outputs = de_StepOutputList(data.outputs, context);
1014
1010
  }
1015
1011
  if (data.previous != null) {
1016
- contents.previous = deserializeAws_restJson1StringList(data.previous, context);
1012
+ contents.previous = de_StringList(data.previous, context);
1017
1013
  }
1018
1014
  if (data.stepActionType != null) {
1019
1015
  contents.stepActionType = __expectString(data.stepActionType);
1020
1016
  }
1021
1017
  if (data.stepAutomationConfiguration != null) {
1022
- contents.stepAutomationConfiguration = deserializeAws_restJson1StepAutomationConfiguration(data.stepAutomationConfiguration, context);
1018
+ contents.stepAutomationConfiguration = de_StepAutomationConfiguration(data.stepAutomationConfiguration, context);
1023
1019
  }
1024
1020
  if (data.stepGroupId != null) {
1025
1021
  contents.stepGroupId = __expectString(data.stepGroupId);
@@ -1029,7 +1025,7 @@ export const deserializeAws_restJson1GetTemplateStepCommand = async (output, con
1029
1025
  }
1030
1026
  return contents;
1031
1027
  };
1032
- const deserializeAws_restJson1GetTemplateStepCommandError = async (output, context) => {
1028
+ const de_GetTemplateStepCommandError = async (output, context) => {
1033
1029
  const parsedOutput = {
1034
1030
  ...output,
1035
1031
  body: await parseErrorBody(output.body, context),
@@ -1038,19 +1034,19 @@ const deserializeAws_restJson1GetTemplateStepCommandError = async (output, conte
1038
1034
  switch (errorCode) {
1039
1035
  case "AccessDeniedException":
1040
1036
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1041
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1037
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1042
1038
  case "InternalServerException":
1043
1039
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1044
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1040
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1045
1041
  case "ResourceNotFoundException":
1046
1042
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1047
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1043
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1048
1044
  case "ThrottlingException":
1049
1045
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1050
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1046
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1051
1047
  case "ValidationException":
1052
1048
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1053
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1049
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1054
1050
  default:
1055
1051
  const parsedBody = parsedOutput.body;
1056
1052
  throwDefaultError({
@@ -1061,9 +1057,9 @@ const deserializeAws_restJson1GetTemplateStepCommandError = async (output, conte
1061
1057
  });
1062
1058
  }
1063
1059
  };
1064
- export const deserializeAws_restJson1GetTemplateStepGroupCommand = async (output, context) => {
1060
+ export const de_GetTemplateStepGroupCommand = async (output, context) => {
1065
1061
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1066
- return deserializeAws_restJson1GetTemplateStepGroupCommandError(output, context);
1062
+ return de_GetTemplateStepGroupCommandError(output, context);
1067
1063
  }
1068
1064
  const contents = map({
1069
1065
  $metadata: deserializeMetadata(output),
@@ -1085,10 +1081,10 @@ export const deserializeAws_restJson1GetTemplateStepGroupCommand = async (output
1085
1081
  contents.name = __expectString(data.name);
1086
1082
  }
1087
1083
  if (data.next != null) {
1088
- contents.next = deserializeAws_restJson1StringList(data.next, context);
1084
+ contents.next = de_StringList(data.next, context);
1089
1085
  }
1090
1086
  if (data.previous != null) {
1091
- contents.previous = deserializeAws_restJson1StringList(data.previous, context);
1087
+ contents.previous = de_StringList(data.previous, context);
1092
1088
  }
1093
1089
  if (data.status != null) {
1094
1090
  contents.status = __expectString(data.status);
@@ -1097,11 +1093,11 @@ export const deserializeAws_restJson1GetTemplateStepGroupCommand = async (output
1097
1093
  contents.templateId = __expectString(data.templateId);
1098
1094
  }
1099
1095
  if (data.tools != null) {
1100
- contents.tools = deserializeAws_restJson1ToolsList(data.tools, context);
1096
+ contents.tools = de_ToolsList(data.tools, context);
1101
1097
  }
1102
1098
  return contents;
1103
1099
  };
1104
- const deserializeAws_restJson1GetTemplateStepGroupCommandError = async (output, context) => {
1100
+ const de_GetTemplateStepGroupCommandError = async (output, context) => {
1105
1101
  const parsedOutput = {
1106
1102
  ...output,
1107
1103
  body: await parseErrorBody(output.body, context),
@@ -1110,19 +1106,19 @@ const deserializeAws_restJson1GetTemplateStepGroupCommandError = async (output,
1110
1106
  switch (errorCode) {
1111
1107
  case "AccessDeniedException":
1112
1108
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1113
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1109
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1114
1110
  case "InternalServerException":
1115
1111
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1116
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1112
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1117
1113
  case "ResourceNotFoundException":
1118
1114
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1119
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1115
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1120
1116
  case "ThrottlingException":
1121
1117
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1122
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1118
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1123
1119
  case "ValidationException":
1124
1120
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1125
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1121
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1126
1122
  default:
1127
1123
  const parsedBody = parsedOutput.body;
1128
1124
  throwDefaultError({
@@ -1133,9 +1129,9 @@ const deserializeAws_restJson1GetTemplateStepGroupCommandError = async (output,
1133
1129
  });
1134
1130
  }
1135
1131
  };
1136
- export const deserializeAws_restJson1GetWorkflowCommand = async (output, context) => {
1132
+ export const de_GetWorkflowCommand = async (output, context) => {
1137
1133
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1138
- return deserializeAws_restJson1GetWorkflowCommandError(output, context);
1134
+ return de_GetWorkflowCommandError(output, context);
1139
1135
  }
1140
1136
  const contents = map({
1141
1137
  $metadata: deserializeMetadata(output),
@@ -1184,13 +1180,13 @@ export const deserializeAws_restJson1GetWorkflowCommand = async (output, context
1184
1180
  contents.statusMessage = __expectString(data.statusMessage);
1185
1181
  }
1186
1182
  if (data.tags != null) {
1187
- contents.tags = deserializeAws_restJson1StringMap(data.tags, context);
1183
+ contents.tags = de_StringMap(data.tags, context);
1188
1184
  }
1189
1185
  if (data.templateId != null) {
1190
1186
  contents.templateId = __expectString(data.templateId);
1191
1187
  }
1192
1188
  if (data.tools != null) {
1193
- contents.tools = deserializeAws_restJson1ToolsList(data.tools, context);
1189
+ contents.tools = de_ToolsList(data.tools, context);
1194
1190
  }
1195
1191
  if (data.totalSteps != null) {
1196
1192
  contents.totalSteps = __expectInt32(data.totalSteps);
@@ -1199,11 +1195,11 @@ export const deserializeAws_restJson1GetWorkflowCommand = async (output, context
1199
1195
  contents.workflowBucket = __expectString(data.workflowBucket);
1200
1196
  }
1201
1197
  if (data.workflowInputs != null) {
1202
- contents.workflowInputs = deserializeAws_restJson1StepInputParameters(data.workflowInputs, context);
1198
+ contents.workflowInputs = de_StepInputParameters(data.workflowInputs, context);
1203
1199
  }
1204
1200
  return contents;
1205
1201
  };
1206
- const deserializeAws_restJson1GetWorkflowCommandError = async (output, context) => {
1202
+ const de_GetWorkflowCommandError = async (output, context) => {
1207
1203
  const parsedOutput = {
1208
1204
  ...output,
1209
1205
  body: await parseErrorBody(output.body, context),
@@ -1212,19 +1208,19 @@ const deserializeAws_restJson1GetWorkflowCommandError = async (output, context)
1212
1208
  switch (errorCode) {
1213
1209
  case "AccessDeniedException":
1214
1210
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1215
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1211
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1216
1212
  case "InternalServerException":
1217
1213
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1218
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1214
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1219
1215
  case "ResourceNotFoundException":
1220
1216
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1221
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1217
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1222
1218
  case "ThrottlingException":
1223
1219
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1224
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1220
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1225
1221
  case "ValidationException":
1226
1222
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1227
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1223
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1228
1224
  default:
1229
1225
  const parsedBody = parsedOutput.body;
1230
1226
  throwDefaultError({
@@ -1235,9 +1231,9 @@ const deserializeAws_restJson1GetWorkflowCommandError = async (output, context)
1235
1231
  });
1236
1232
  }
1237
1233
  };
1238
- export const deserializeAws_restJson1GetWorkflowStepCommand = async (output, context) => {
1234
+ export const de_GetWorkflowStepCommand = async (output, context) => {
1239
1235
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1240
- return deserializeAws_restJson1GetWorkflowStepCommandError(output, context);
1236
+ return de_GetWorkflowStepCommandError(output, context);
1241
1237
  }
1242
1238
  const contents = map({
1243
1239
  $metadata: deserializeMetadata(output),
@@ -1259,7 +1255,7 @@ export const deserializeAws_restJson1GetWorkflowStepCommand = async (output, con
1259
1255
  contents.name = __expectString(data.name);
1260
1256
  }
1261
1257
  if (data.next != null) {
1262
- contents.next = deserializeAws_restJson1StringList(data.next, context);
1258
+ contents.next = de_StringList(data.next, context);
1263
1259
  }
1264
1260
  if (data.noOfSrvCompleted != null) {
1265
1261
  contents.noOfSrvCompleted = __expectInt32(data.noOfSrvCompleted);
@@ -1268,13 +1264,13 @@ export const deserializeAws_restJson1GetWorkflowStepCommand = async (output, con
1268
1264
  contents.noOfSrvFailed = __expectInt32(data.noOfSrvFailed);
1269
1265
  }
1270
1266
  if (data.outputs != null) {
1271
- contents.outputs = deserializeAws_restJson1WorkflowStepOutputList(data.outputs, context);
1267
+ contents.outputs = de_WorkflowStepOutputList(data.outputs, context);
1272
1268
  }
1273
1269
  if (data.owner != null) {
1274
1270
  contents.owner = __expectString(data.owner);
1275
1271
  }
1276
1272
  if (data.previous != null) {
1277
- contents.previous = deserializeAws_restJson1StringList(data.previous, context);
1273
+ contents.previous = de_StringList(data.previous, context);
1278
1274
  }
1279
1275
  if (data.scriptOutputLocation != null) {
1280
1276
  contents.scriptOutputLocation = __expectString(data.scriptOutputLocation);
@@ -1295,7 +1291,7 @@ export const deserializeAws_restJson1GetWorkflowStepCommand = async (output, con
1295
1291
  contents.stepId = __expectString(data.stepId);
1296
1292
  }
1297
1293
  if (data.stepTarget != null) {
1298
- contents.stepTarget = deserializeAws_restJson1StringList(data.stepTarget, context);
1294
+ contents.stepTarget = de_StringList(data.stepTarget, context);
1299
1295
  }
1300
1296
  if (data.totalNoOfSrv != null) {
1301
1297
  contents.totalNoOfSrv = __expectInt32(data.totalNoOfSrv);
@@ -1304,11 +1300,11 @@ export const deserializeAws_restJson1GetWorkflowStepCommand = async (output, con
1304
1300
  contents.workflowId = __expectString(data.workflowId);
1305
1301
  }
1306
1302
  if (data.workflowStepAutomationConfiguration != null) {
1307
- contents.workflowStepAutomationConfiguration = deserializeAws_restJson1WorkflowStepAutomationConfiguration(data.workflowStepAutomationConfiguration, context);
1303
+ contents.workflowStepAutomationConfiguration = de_WorkflowStepAutomationConfiguration(data.workflowStepAutomationConfiguration, context);
1308
1304
  }
1309
1305
  return contents;
1310
1306
  };
1311
- const deserializeAws_restJson1GetWorkflowStepCommandError = async (output, context) => {
1307
+ const de_GetWorkflowStepCommandError = async (output, context) => {
1312
1308
  const parsedOutput = {
1313
1309
  ...output,
1314
1310
  body: await parseErrorBody(output.body, context),
@@ -1317,16 +1313,16 @@ const deserializeAws_restJson1GetWorkflowStepCommandError = async (output, conte
1317
1313
  switch (errorCode) {
1318
1314
  case "AccessDeniedException":
1319
1315
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1320
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1316
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1321
1317
  case "InternalServerException":
1322
1318
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1323
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1319
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1324
1320
  case "ResourceNotFoundException":
1325
1321
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1326
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1322
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1327
1323
  case "ThrottlingException":
1328
1324
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1329
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1325
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1330
1326
  default:
1331
1327
  const parsedBody = parsedOutput.body;
1332
1328
  throwDefaultError({
@@ -1337,9 +1333,9 @@ const deserializeAws_restJson1GetWorkflowStepCommandError = async (output, conte
1337
1333
  });
1338
1334
  }
1339
1335
  };
1340
- export const deserializeAws_restJson1GetWorkflowStepGroupCommand = async (output, context) => {
1336
+ export const de_GetWorkflowStepGroupCommand = async (output, context) => {
1341
1337
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1342
- return deserializeAws_restJson1GetWorkflowStepGroupCommandError(output, context);
1338
+ return de_GetWorkflowStepGroupCommandError(output, context);
1343
1339
  }
1344
1340
  const contents = map({
1345
1341
  $metadata: deserializeMetadata(output),
@@ -1364,26 +1360,26 @@ export const deserializeAws_restJson1GetWorkflowStepGroupCommand = async (output
1364
1360
  contents.name = __expectString(data.name);
1365
1361
  }
1366
1362
  if (data.next != null) {
1367
- contents.next = deserializeAws_restJson1StringList(data.next, context);
1363
+ contents.next = de_StringList(data.next, context);
1368
1364
  }
1369
1365
  if (data.owner != null) {
1370
1366
  contents.owner = __expectString(data.owner);
1371
1367
  }
1372
1368
  if (data.previous != null) {
1373
- contents.previous = deserializeAws_restJson1StringList(data.previous, context);
1369
+ contents.previous = de_StringList(data.previous, context);
1374
1370
  }
1375
1371
  if (data.status != null) {
1376
1372
  contents.status = __expectString(data.status);
1377
1373
  }
1378
1374
  if (data.tools != null) {
1379
- contents.tools = deserializeAws_restJson1ToolsList(data.tools, context);
1375
+ contents.tools = de_ToolsList(data.tools, context);
1380
1376
  }
1381
1377
  if (data.workflowId != null) {
1382
1378
  contents.workflowId = __expectString(data.workflowId);
1383
1379
  }
1384
1380
  return contents;
1385
1381
  };
1386
- const deserializeAws_restJson1GetWorkflowStepGroupCommandError = async (output, context) => {
1382
+ const de_GetWorkflowStepGroupCommandError = async (output, context) => {
1387
1383
  const parsedOutput = {
1388
1384
  ...output,
1389
1385
  body: await parseErrorBody(output.body, context),
@@ -1392,19 +1388,19 @@ const deserializeAws_restJson1GetWorkflowStepGroupCommandError = async (output,
1392
1388
  switch (errorCode) {
1393
1389
  case "AccessDeniedException":
1394
1390
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1395
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1391
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1396
1392
  case "InternalServerException":
1397
1393
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1398
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1394
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1399
1395
  case "ResourceNotFoundException":
1400
1396
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1401
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1397
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1402
1398
  case "ThrottlingException":
1403
1399
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1404
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1400
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1405
1401
  case "ValidationException":
1406
1402
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1407
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1403
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1408
1404
  default:
1409
1405
  const parsedBody = parsedOutput.body;
1410
1406
  throwDefaultError({
@@ -1415,9 +1411,9 @@ const deserializeAws_restJson1GetWorkflowStepGroupCommandError = async (output,
1415
1411
  });
1416
1412
  }
1417
1413
  };
1418
- export const deserializeAws_restJson1ListPluginsCommand = async (output, context) => {
1414
+ export const de_ListPluginsCommand = async (output, context) => {
1419
1415
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1420
- return deserializeAws_restJson1ListPluginsCommandError(output, context);
1416
+ return de_ListPluginsCommandError(output, context);
1421
1417
  }
1422
1418
  const contents = map({
1423
1419
  $metadata: deserializeMetadata(output),
@@ -1427,11 +1423,11 @@ export const deserializeAws_restJson1ListPluginsCommand = async (output, context
1427
1423
  contents.nextToken = __expectString(data.nextToken);
1428
1424
  }
1429
1425
  if (data.plugins != null) {
1430
- contents.plugins = deserializeAws_restJson1PluginSummaries(data.plugins, context);
1426
+ contents.plugins = de_PluginSummaries(data.plugins, context);
1431
1427
  }
1432
1428
  return contents;
1433
1429
  };
1434
- const deserializeAws_restJson1ListPluginsCommandError = async (output, context) => {
1430
+ const de_ListPluginsCommandError = async (output, context) => {
1435
1431
  const parsedOutput = {
1436
1432
  ...output,
1437
1433
  body: await parseErrorBody(output.body, context),
@@ -1440,13 +1436,13 @@ const deserializeAws_restJson1ListPluginsCommandError = async (output, context)
1440
1436
  switch (errorCode) {
1441
1437
  case "AccessDeniedException":
1442
1438
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1443
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1439
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1444
1440
  case "InternalServerException":
1445
1441
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1446
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1442
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1447
1443
  case "ValidationException":
1448
1444
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1449
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1445
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1450
1446
  default:
1451
1447
  const parsedBody = parsedOutput.body;
1452
1448
  throwDefaultError({
@@ -1457,20 +1453,20 @@ const deserializeAws_restJson1ListPluginsCommandError = async (output, context)
1457
1453
  });
1458
1454
  }
1459
1455
  };
1460
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1456
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1461
1457
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1462
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1458
+ return de_ListTagsForResourceCommandError(output, context);
1463
1459
  }
1464
1460
  const contents = map({
1465
1461
  $metadata: deserializeMetadata(output),
1466
1462
  });
1467
1463
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1468
1464
  if (data.tags != null) {
1469
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1465
+ contents.tags = de_TagMap(data.tags, context);
1470
1466
  }
1471
1467
  return contents;
1472
1468
  };
1473
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1469
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1474
1470
  const parsedOutput = {
1475
1471
  ...output,
1476
1472
  body: await parseErrorBody(output.body, context),
@@ -1479,10 +1475,10 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1479
1475
  switch (errorCode) {
1480
1476
  case "ResourceNotFoundException":
1481
1477
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1482
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1478
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1483
1479
  case "ValidationException":
1484
1480
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1485
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1481
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1486
1482
  default:
1487
1483
  const parsedBody = parsedOutput.body;
1488
1484
  throwDefaultError({
@@ -1493,9 +1489,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1493
1489
  });
1494
1490
  }
1495
1491
  };
1496
- export const deserializeAws_restJson1ListTemplatesCommand = async (output, context) => {
1492
+ export const de_ListTemplatesCommand = async (output, context) => {
1497
1493
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1498
- return deserializeAws_restJson1ListTemplatesCommandError(output, context);
1494
+ return de_ListTemplatesCommandError(output, context);
1499
1495
  }
1500
1496
  const contents = map({
1501
1497
  $metadata: deserializeMetadata(output),
@@ -1505,11 +1501,11 @@ export const deserializeAws_restJson1ListTemplatesCommand = async (output, conte
1505
1501
  contents.nextToken = __expectString(data.nextToken);
1506
1502
  }
1507
1503
  if (data.templateSummary != null) {
1508
- contents.templateSummary = deserializeAws_restJson1TemplateSummaryList(data.templateSummary, context);
1504
+ contents.templateSummary = de_TemplateSummaryList(data.templateSummary, context);
1509
1505
  }
1510
1506
  return contents;
1511
1507
  };
1512
- const deserializeAws_restJson1ListTemplatesCommandError = async (output, context) => {
1508
+ const de_ListTemplatesCommandError = async (output, context) => {
1513
1509
  const parsedOutput = {
1514
1510
  ...output,
1515
1511
  body: await parseErrorBody(output.body, context),
@@ -1518,13 +1514,13 @@ const deserializeAws_restJson1ListTemplatesCommandError = async (output, context
1518
1514
  switch (errorCode) {
1519
1515
  case "AccessDeniedException":
1520
1516
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1521
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1517
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1522
1518
  case "InternalServerException":
1523
1519
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1524
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1520
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1525
1521
  case "ThrottlingException":
1526
1522
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1527
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1523
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1528
1524
  default:
1529
1525
  const parsedBody = parsedOutput.body;
1530
1526
  throwDefaultError({
@@ -1535,9 +1531,9 @@ const deserializeAws_restJson1ListTemplatesCommandError = async (output, context
1535
1531
  });
1536
1532
  }
1537
1533
  };
1538
- export const deserializeAws_restJson1ListTemplateStepGroupsCommand = async (output, context) => {
1534
+ export const de_ListTemplateStepGroupsCommand = async (output, context) => {
1539
1535
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1540
- return deserializeAws_restJson1ListTemplateStepGroupsCommandError(output, context);
1536
+ return de_ListTemplateStepGroupsCommandError(output, context);
1541
1537
  }
1542
1538
  const contents = map({
1543
1539
  $metadata: deserializeMetadata(output),
@@ -1547,11 +1543,11 @@ export const deserializeAws_restJson1ListTemplateStepGroupsCommand = async (outp
1547
1543
  contents.nextToken = __expectString(data.nextToken);
1548
1544
  }
1549
1545
  if (data.templateStepGroupSummary != null) {
1550
- contents.templateStepGroupSummary = deserializeAws_restJson1TemplateStepGroupSummaryList(data.templateStepGroupSummary, context);
1546
+ contents.templateStepGroupSummary = de_TemplateStepGroupSummaryList(data.templateStepGroupSummary, context);
1551
1547
  }
1552
1548
  return contents;
1553
1549
  };
1554
- const deserializeAws_restJson1ListTemplateStepGroupsCommandError = async (output, context) => {
1550
+ const de_ListTemplateStepGroupsCommandError = async (output, context) => {
1555
1551
  const parsedOutput = {
1556
1552
  ...output,
1557
1553
  body: await parseErrorBody(output.body, context),
@@ -1560,16 +1556,16 @@ const deserializeAws_restJson1ListTemplateStepGroupsCommandError = async (output
1560
1556
  switch (errorCode) {
1561
1557
  case "AccessDeniedException":
1562
1558
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1563
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1559
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1564
1560
  case "InternalServerException":
1565
1561
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1566
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1562
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1567
1563
  case "ResourceNotFoundException":
1568
1564
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1569
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1565
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1570
1566
  case "ThrottlingException":
1571
1567
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1572
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1568
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1573
1569
  default:
1574
1570
  const parsedBody = parsedOutput.body;
1575
1571
  throwDefaultError({
@@ -1580,9 +1576,9 @@ const deserializeAws_restJson1ListTemplateStepGroupsCommandError = async (output
1580
1576
  });
1581
1577
  }
1582
1578
  };
1583
- export const deserializeAws_restJson1ListTemplateStepsCommand = async (output, context) => {
1579
+ export const de_ListTemplateStepsCommand = async (output, context) => {
1584
1580
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1585
- return deserializeAws_restJson1ListTemplateStepsCommandError(output, context);
1581
+ return de_ListTemplateStepsCommandError(output, context);
1586
1582
  }
1587
1583
  const contents = map({
1588
1584
  $metadata: deserializeMetadata(output),
@@ -1592,11 +1588,11 @@ export const deserializeAws_restJson1ListTemplateStepsCommand = async (output, c
1592
1588
  contents.nextToken = __expectString(data.nextToken);
1593
1589
  }
1594
1590
  if (data.templateStepSummaryList != null) {
1595
- contents.templateStepSummaryList = deserializeAws_restJson1TemplateStepSummaryList(data.templateStepSummaryList, context);
1591
+ contents.templateStepSummaryList = de_TemplateStepSummaryList(data.templateStepSummaryList, context);
1596
1592
  }
1597
1593
  return contents;
1598
1594
  };
1599
- const deserializeAws_restJson1ListTemplateStepsCommandError = async (output, context) => {
1595
+ const de_ListTemplateStepsCommandError = async (output, context) => {
1600
1596
  const parsedOutput = {
1601
1597
  ...output,
1602
1598
  body: await parseErrorBody(output.body, context),
@@ -1605,19 +1601,19 @@ const deserializeAws_restJson1ListTemplateStepsCommandError = async (output, con
1605
1601
  switch (errorCode) {
1606
1602
  case "AccessDeniedException":
1607
1603
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1608
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1604
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1609
1605
  case "InternalServerException":
1610
1606
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1611
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1607
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1612
1608
  case "ResourceNotFoundException":
1613
1609
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1614
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1610
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1615
1611
  case "ThrottlingException":
1616
1612
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1617
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1613
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1618
1614
  case "ValidationException":
1619
1615
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1620
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1616
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1621
1617
  default:
1622
1618
  const parsedBody = parsedOutput.body;
1623
1619
  throwDefaultError({
@@ -1628,23 +1624,23 @@ const deserializeAws_restJson1ListTemplateStepsCommandError = async (output, con
1628
1624
  });
1629
1625
  }
1630
1626
  };
1631
- export const deserializeAws_restJson1ListWorkflowsCommand = async (output, context) => {
1627
+ export const de_ListWorkflowsCommand = async (output, context) => {
1632
1628
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1633
- return deserializeAws_restJson1ListWorkflowsCommandError(output, context);
1629
+ return de_ListWorkflowsCommandError(output, context);
1634
1630
  }
1635
1631
  const contents = map({
1636
1632
  $metadata: deserializeMetadata(output),
1637
1633
  });
1638
1634
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1639
1635
  if (data.migrationWorkflowSummary != null) {
1640
- contents.migrationWorkflowSummary = deserializeAws_restJson1MigrationWorkflowSummaryList(data.migrationWorkflowSummary, context);
1636
+ contents.migrationWorkflowSummary = de_MigrationWorkflowSummaryList(data.migrationWorkflowSummary, context);
1641
1637
  }
1642
1638
  if (data.nextToken != null) {
1643
1639
  contents.nextToken = __expectString(data.nextToken);
1644
1640
  }
1645
1641
  return contents;
1646
1642
  };
1647
- const deserializeAws_restJson1ListWorkflowsCommandError = async (output, context) => {
1643
+ const de_ListWorkflowsCommandError = async (output, context) => {
1648
1644
  const parsedOutput = {
1649
1645
  ...output,
1650
1646
  body: await parseErrorBody(output.body, context),
@@ -1653,19 +1649,19 @@ const deserializeAws_restJson1ListWorkflowsCommandError = async (output, context
1653
1649
  switch (errorCode) {
1654
1650
  case "AccessDeniedException":
1655
1651
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1656
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1652
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1657
1653
  case "InternalServerException":
1658
1654
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1659
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1655
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1660
1656
  case "ResourceNotFoundException":
1661
1657
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1662
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1658
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1663
1659
  case "ThrottlingException":
1664
1660
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1665
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1661
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1666
1662
  case "ValidationException":
1667
1663
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1668
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1664
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1669
1665
  default:
1670
1666
  const parsedBody = parsedOutput.body;
1671
1667
  throwDefaultError({
@@ -1676,9 +1672,9 @@ const deserializeAws_restJson1ListWorkflowsCommandError = async (output, context
1676
1672
  });
1677
1673
  }
1678
1674
  };
1679
- export const deserializeAws_restJson1ListWorkflowStepGroupsCommand = async (output, context) => {
1675
+ export const de_ListWorkflowStepGroupsCommand = async (output, context) => {
1680
1676
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1681
- return deserializeAws_restJson1ListWorkflowStepGroupsCommandError(output, context);
1677
+ return de_ListWorkflowStepGroupsCommandError(output, context);
1682
1678
  }
1683
1679
  const contents = map({
1684
1680
  $metadata: deserializeMetadata(output),
@@ -1688,11 +1684,11 @@ export const deserializeAws_restJson1ListWorkflowStepGroupsCommand = async (outp
1688
1684
  contents.nextToken = __expectString(data.nextToken);
1689
1685
  }
1690
1686
  if (data.workflowStepGroupsSummary != null) {
1691
- contents.workflowStepGroupsSummary = deserializeAws_restJson1WorkflowStepGroupsSummaryList(data.workflowStepGroupsSummary, context);
1687
+ contents.workflowStepGroupsSummary = de_WorkflowStepGroupsSummaryList(data.workflowStepGroupsSummary, context);
1692
1688
  }
1693
1689
  return contents;
1694
1690
  };
1695
- const deserializeAws_restJson1ListWorkflowStepGroupsCommandError = async (output, context) => {
1691
+ const de_ListWorkflowStepGroupsCommandError = async (output, context) => {
1696
1692
  const parsedOutput = {
1697
1693
  ...output,
1698
1694
  body: await parseErrorBody(output.body, context),
@@ -1701,19 +1697,19 @@ const deserializeAws_restJson1ListWorkflowStepGroupsCommandError = async (output
1701
1697
  switch (errorCode) {
1702
1698
  case "AccessDeniedException":
1703
1699
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1704
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1700
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1705
1701
  case "InternalServerException":
1706
1702
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1707
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1703
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1708
1704
  case "ResourceNotFoundException":
1709
1705
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1710
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1706
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1711
1707
  case "ThrottlingException":
1712
1708
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1713
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1709
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1714
1710
  case "ValidationException":
1715
1711
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1716
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1712
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1717
1713
  default:
1718
1714
  const parsedBody = parsedOutput.body;
1719
1715
  throwDefaultError({
@@ -1724,9 +1720,9 @@ const deserializeAws_restJson1ListWorkflowStepGroupsCommandError = async (output
1724
1720
  });
1725
1721
  }
1726
1722
  };
1727
- export const deserializeAws_restJson1ListWorkflowStepsCommand = async (output, context) => {
1723
+ export const de_ListWorkflowStepsCommand = async (output, context) => {
1728
1724
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1729
- return deserializeAws_restJson1ListWorkflowStepsCommandError(output, context);
1725
+ return de_ListWorkflowStepsCommandError(output, context);
1730
1726
  }
1731
1727
  const contents = map({
1732
1728
  $metadata: deserializeMetadata(output),
@@ -1736,11 +1732,11 @@ export const deserializeAws_restJson1ListWorkflowStepsCommand = async (output, c
1736
1732
  contents.nextToken = __expectString(data.nextToken);
1737
1733
  }
1738
1734
  if (data.workflowStepsSummary != null) {
1739
- contents.workflowStepsSummary = deserializeAws_restJson1WorkflowStepsSummaryList(data.workflowStepsSummary, context);
1735
+ contents.workflowStepsSummary = de_WorkflowStepsSummaryList(data.workflowStepsSummary, context);
1740
1736
  }
1741
1737
  return contents;
1742
1738
  };
1743
- const deserializeAws_restJson1ListWorkflowStepsCommandError = async (output, context) => {
1739
+ const de_ListWorkflowStepsCommandError = async (output, context) => {
1744
1740
  const parsedOutput = {
1745
1741
  ...output,
1746
1742
  body: await parseErrorBody(output.body, context),
@@ -1749,16 +1745,16 @@ const deserializeAws_restJson1ListWorkflowStepsCommandError = async (output, con
1749
1745
  switch (errorCode) {
1750
1746
  case "AccessDeniedException":
1751
1747
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1752
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1748
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1753
1749
  case "InternalServerException":
1754
1750
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1755
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1751
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1756
1752
  case "ThrottlingException":
1757
1753
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1758
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1754
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1759
1755
  case "ValidationException":
1760
1756
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1761
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1757
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1762
1758
  default:
1763
1759
  const parsedBody = parsedOutput.body;
1764
1760
  throwDefaultError({
@@ -1769,9 +1765,9 @@ const deserializeAws_restJson1ListWorkflowStepsCommandError = async (output, con
1769
1765
  });
1770
1766
  }
1771
1767
  };
1772
- export const deserializeAws_restJson1RetryWorkflowStepCommand = async (output, context) => {
1768
+ export const de_RetryWorkflowStepCommand = async (output, context) => {
1773
1769
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1774
- return deserializeAws_restJson1RetryWorkflowStepCommandError(output, context);
1770
+ return de_RetryWorkflowStepCommandError(output, context);
1775
1771
  }
1776
1772
  const contents = map({
1777
1773
  $metadata: deserializeMetadata(output),
@@ -1791,7 +1787,7 @@ export const deserializeAws_restJson1RetryWorkflowStepCommand = async (output, c
1791
1787
  }
1792
1788
  return contents;
1793
1789
  };
1794
- const deserializeAws_restJson1RetryWorkflowStepCommandError = async (output, context) => {
1790
+ const de_RetryWorkflowStepCommandError = async (output, context) => {
1795
1791
  const parsedOutput = {
1796
1792
  ...output,
1797
1793
  body: await parseErrorBody(output.body, context),
@@ -1800,16 +1796,16 @@ const deserializeAws_restJson1RetryWorkflowStepCommandError = async (output, con
1800
1796
  switch (errorCode) {
1801
1797
  case "AccessDeniedException":
1802
1798
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1803
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1799
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1804
1800
  case "InternalServerException":
1805
1801
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1806
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1802
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1807
1803
  case "ResourceNotFoundException":
1808
1804
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1809
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1805
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1810
1806
  case "ThrottlingException":
1811
1807
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1812
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1808
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1813
1809
  default:
1814
1810
  const parsedBody = parsedOutput.body;
1815
1811
  throwDefaultError({
@@ -1820,9 +1816,9 @@ const deserializeAws_restJson1RetryWorkflowStepCommandError = async (output, con
1820
1816
  });
1821
1817
  }
1822
1818
  };
1823
- export const deserializeAws_restJson1StartWorkflowCommand = async (output, context) => {
1819
+ export const de_StartWorkflowCommand = async (output, context) => {
1824
1820
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1825
- return deserializeAws_restJson1StartWorkflowCommandError(output, context);
1821
+ return de_StartWorkflowCommandError(output, context);
1826
1822
  }
1827
1823
  const contents = map({
1828
1824
  $metadata: deserializeMetadata(output),
@@ -1845,7 +1841,7 @@ export const deserializeAws_restJson1StartWorkflowCommand = async (output, conte
1845
1841
  }
1846
1842
  return contents;
1847
1843
  };
1848
- const deserializeAws_restJson1StartWorkflowCommandError = async (output, context) => {
1844
+ const de_StartWorkflowCommandError = async (output, context) => {
1849
1845
  const parsedOutput = {
1850
1846
  ...output,
1851
1847
  body: await parseErrorBody(output.body, context),
@@ -1854,19 +1850,19 @@ const deserializeAws_restJson1StartWorkflowCommandError = async (output, context
1854
1850
  switch (errorCode) {
1855
1851
  case "AccessDeniedException":
1856
1852
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1857
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1853
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1858
1854
  case "InternalServerException":
1859
1855
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1860
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1856
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1861
1857
  case "ResourceNotFoundException":
1862
1858
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1863
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1859
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1864
1860
  case "ThrottlingException":
1865
1861
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1866
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1862
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1867
1863
  case "ValidationException":
1868
1864
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1869
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1865
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1870
1866
  default:
1871
1867
  const parsedBody = parsedOutput.body;
1872
1868
  throwDefaultError({
@@ -1877,9 +1873,9 @@ const deserializeAws_restJson1StartWorkflowCommandError = async (output, context
1877
1873
  });
1878
1874
  }
1879
1875
  };
1880
- export const deserializeAws_restJson1StopWorkflowCommand = async (output, context) => {
1876
+ export const de_StopWorkflowCommand = async (output, context) => {
1881
1877
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1882
- return deserializeAws_restJson1StopWorkflowCommandError(output, context);
1878
+ return de_StopWorkflowCommandError(output, context);
1883
1879
  }
1884
1880
  const contents = map({
1885
1881
  $metadata: deserializeMetadata(output),
@@ -1902,7 +1898,7 @@ export const deserializeAws_restJson1StopWorkflowCommand = async (output, contex
1902
1898
  }
1903
1899
  return contents;
1904
1900
  };
1905
- const deserializeAws_restJson1StopWorkflowCommandError = async (output, context) => {
1901
+ const de_StopWorkflowCommandError = async (output, context) => {
1906
1902
  const parsedOutput = {
1907
1903
  ...output,
1908
1904
  body: await parseErrorBody(output.body, context),
@@ -1911,19 +1907,19 @@ const deserializeAws_restJson1StopWorkflowCommandError = async (output, context)
1911
1907
  switch (errorCode) {
1912
1908
  case "AccessDeniedException":
1913
1909
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1914
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1910
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1915
1911
  case "InternalServerException":
1916
1912
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1917
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1913
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1918
1914
  case "ResourceNotFoundException":
1919
1915
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1920
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1916
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1921
1917
  case "ThrottlingException":
1922
1918
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1923
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1919
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1924
1920
  case "ValidationException":
1925
1921
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1926
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1922
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1927
1923
  default:
1928
1924
  const parsedBody = parsedOutput.body;
1929
1925
  throwDefaultError({
@@ -1934,9 +1930,9 @@ const deserializeAws_restJson1StopWorkflowCommandError = async (output, context)
1934
1930
  });
1935
1931
  }
1936
1932
  };
1937
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1933
+ export const de_TagResourceCommand = async (output, context) => {
1938
1934
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1939
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1935
+ return de_TagResourceCommandError(output, context);
1940
1936
  }
1941
1937
  const contents = map({
1942
1938
  $metadata: deserializeMetadata(output),
@@ -1944,7 +1940,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1944
1940
  await collectBody(output.body, context);
1945
1941
  return contents;
1946
1942
  };
1947
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1943
+ const de_TagResourceCommandError = async (output, context) => {
1948
1944
  const parsedOutput = {
1949
1945
  ...output,
1950
1946
  body: await parseErrorBody(output.body, context),
@@ -1953,10 +1949,10 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1953
1949
  switch (errorCode) {
1954
1950
  case "ResourceNotFoundException":
1955
1951
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1956
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1952
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1957
1953
  case "ValidationException":
1958
1954
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1959
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1955
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1960
1956
  default:
1961
1957
  const parsedBody = parsedOutput.body;
1962
1958
  throwDefaultError({
@@ -1967,9 +1963,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1967
1963
  });
1968
1964
  }
1969
1965
  };
1970
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1966
+ export const de_UntagResourceCommand = async (output, context) => {
1971
1967
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1972
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1968
+ return de_UntagResourceCommandError(output, context);
1973
1969
  }
1974
1970
  const contents = map({
1975
1971
  $metadata: deserializeMetadata(output),
@@ -1977,7 +1973,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1977
1973
  await collectBody(output.body, context);
1978
1974
  return contents;
1979
1975
  };
1980
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1976
+ const de_UntagResourceCommandError = async (output, context) => {
1981
1977
  const parsedOutput = {
1982
1978
  ...output,
1983
1979
  body: await parseErrorBody(output.body, context),
@@ -1986,10 +1982,10 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1986
1982
  switch (errorCode) {
1987
1983
  case "ResourceNotFoundException":
1988
1984
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1989
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1985
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1990
1986
  case "ValidationException":
1991
1987
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
1992
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1988
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1993
1989
  default:
1994
1990
  const parsedBody = parsedOutput.body;
1995
1991
  throwDefaultError({
@@ -2000,9 +1996,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2000
1996
  });
2001
1997
  }
2002
1998
  };
2003
- export const deserializeAws_restJson1UpdateWorkflowCommand = async (output, context) => {
1999
+ export const de_UpdateWorkflowCommand = async (output, context) => {
2004
2000
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2005
- return deserializeAws_restJson1UpdateWorkflowCommandError(output, context);
2001
+ return de_UpdateWorkflowCommandError(output, context);
2006
2002
  }
2007
2003
  const contents = map({
2008
2004
  $metadata: deserializeMetadata(output),
@@ -2033,20 +2029,20 @@ export const deserializeAws_restJson1UpdateWorkflowCommand = async (output, cont
2033
2029
  contents.status = __expectString(data.status);
2034
2030
  }
2035
2031
  if (data.stepTargets != null) {
2036
- contents.stepTargets = deserializeAws_restJson1StringList(data.stepTargets, context);
2032
+ contents.stepTargets = de_StringList(data.stepTargets, context);
2037
2033
  }
2038
2034
  if (data.tags != null) {
2039
- contents.tags = deserializeAws_restJson1StringMap(data.tags, context);
2035
+ contents.tags = de_StringMap(data.tags, context);
2040
2036
  }
2041
2037
  if (data.templateId != null) {
2042
2038
  contents.templateId = __expectString(data.templateId);
2043
2039
  }
2044
2040
  if (data.workflowInputs != null) {
2045
- contents.workflowInputs = deserializeAws_restJson1StepInputParameters(data.workflowInputs, context);
2041
+ contents.workflowInputs = de_StepInputParameters(data.workflowInputs, context);
2046
2042
  }
2047
2043
  return contents;
2048
2044
  };
2049
- const deserializeAws_restJson1UpdateWorkflowCommandError = async (output, context) => {
2045
+ const de_UpdateWorkflowCommandError = async (output, context) => {
2050
2046
  const parsedOutput = {
2051
2047
  ...output,
2052
2048
  body: await parseErrorBody(output.body, context),
@@ -2055,19 +2051,19 @@ const deserializeAws_restJson1UpdateWorkflowCommandError = async (output, contex
2055
2051
  switch (errorCode) {
2056
2052
  case "AccessDeniedException":
2057
2053
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
2058
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2054
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2059
2055
  case "InternalServerException":
2060
2056
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
2061
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2057
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2062
2058
  case "ResourceNotFoundException":
2063
2059
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
2064
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2060
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2065
2061
  case "ThrottlingException":
2066
2062
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
2067
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2063
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2068
2064
  case "ValidationException":
2069
2065
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
2070
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2066
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2071
2067
  default:
2072
2068
  const parsedBody = parsedOutput.body;
2073
2069
  throwDefaultError({
@@ -2078,9 +2074,9 @@ const deserializeAws_restJson1UpdateWorkflowCommandError = async (output, contex
2078
2074
  });
2079
2075
  }
2080
2076
  };
2081
- export const deserializeAws_restJson1UpdateWorkflowStepCommand = async (output, context) => {
2077
+ export const de_UpdateWorkflowStepCommand = async (output, context) => {
2082
2078
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2083
- return deserializeAws_restJson1UpdateWorkflowStepCommandError(output, context);
2079
+ return de_UpdateWorkflowStepCommandError(output, context);
2084
2080
  }
2085
2081
  const contents = map({
2086
2082
  $metadata: deserializeMetadata(output),
@@ -2100,7 +2096,7 @@ export const deserializeAws_restJson1UpdateWorkflowStepCommand = async (output,
2100
2096
  }
2101
2097
  return contents;
2102
2098
  };
2103
- const deserializeAws_restJson1UpdateWorkflowStepCommandError = async (output, context) => {
2099
+ const de_UpdateWorkflowStepCommandError = async (output, context) => {
2104
2100
  const parsedOutput = {
2105
2101
  ...output,
2106
2102
  body: await parseErrorBody(output.body, context),
@@ -2109,16 +2105,16 @@ const deserializeAws_restJson1UpdateWorkflowStepCommandError = async (output, co
2109
2105
  switch (errorCode) {
2110
2106
  case "AccessDeniedException":
2111
2107
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
2112
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2108
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2113
2109
  case "InternalServerException":
2114
2110
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
2115
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2111
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2116
2112
  case "ThrottlingException":
2117
2113
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
2118
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2114
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2119
2115
  case "ValidationException":
2120
2116
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
2121
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2117
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2122
2118
  default:
2123
2119
  const parsedBody = parsedOutput.body;
2124
2120
  throwDefaultError({
@@ -2129,9 +2125,9 @@ const deserializeAws_restJson1UpdateWorkflowStepCommandError = async (output, co
2129
2125
  });
2130
2126
  }
2131
2127
  };
2132
- export const deserializeAws_restJson1UpdateWorkflowStepGroupCommand = async (output, context) => {
2128
+ export const de_UpdateWorkflowStepGroupCommand = async (output, context) => {
2133
2129
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2134
- return deserializeAws_restJson1UpdateWorkflowStepGroupCommandError(output, context);
2130
+ return de_UpdateWorkflowStepGroupCommandError(output, context);
2135
2131
  }
2136
2132
  const contents = map({
2137
2133
  $metadata: deserializeMetadata(output),
@@ -2150,20 +2146,20 @@ export const deserializeAws_restJson1UpdateWorkflowStepGroupCommand = async (out
2150
2146
  contents.name = __expectString(data.name);
2151
2147
  }
2152
2148
  if (data.next != null) {
2153
- contents.next = deserializeAws_restJson1StringList(data.next, context);
2149
+ contents.next = de_StringList(data.next, context);
2154
2150
  }
2155
2151
  if (data.previous != null) {
2156
- contents.previous = deserializeAws_restJson1StringList(data.previous, context);
2152
+ contents.previous = de_StringList(data.previous, context);
2157
2153
  }
2158
2154
  if (data.tools != null) {
2159
- contents.tools = deserializeAws_restJson1ToolsList(data.tools, context);
2155
+ contents.tools = de_ToolsList(data.tools, context);
2160
2156
  }
2161
2157
  if (data.workflowId != null) {
2162
2158
  contents.workflowId = __expectString(data.workflowId);
2163
2159
  }
2164
2160
  return contents;
2165
2161
  };
2166
- const deserializeAws_restJson1UpdateWorkflowStepGroupCommandError = async (output, context) => {
2162
+ const de_UpdateWorkflowStepGroupCommandError = async (output, context) => {
2167
2163
  const parsedOutput = {
2168
2164
  ...output,
2169
2165
  body: await parseErrorBody(output.body, context),
@@ -2172,19 +2168,19 @@ const deserializeAws_restJson1UpdateWorkflowStepGroupCommandError = async (outpu
2172
2168
  switch (errorCode) {
2173
2169
  case "AccessDeniedException":
2174
2170
  case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
2175
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2171
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2176
2172
  case "InternalServerException":
2177
2173
  case "com.amazonaws.migrationhuborchestrator#InternalServerException":
2178
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2174
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2179
2175
  case "ResourceNotFoundException":
2180
2176
  case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
2181
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2177
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2182
2178
  case "ThrottlingException":
2183
2179
  case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
2184
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2180
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2185
2181
  case "ValidationException":
2186
2182
  case "com.amazonaws.migrationhuborchestrator#ValidationException":
2187
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2183
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2188
2184
  default:
2189
2185
  const parsedBody = parsedOutput.body;
2190
2186
  throwDefaultError({
@@ -2196,7 +2192,7 @@ const deserializeAws_restJson1UpdateWorkflowStepGroupCommandError = async (outpu
2196
2192
  }
2197
2193
  };
2198
2194
  const map = __map;
2199
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2195
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2200
2196
  const contents = map({});
2201
2197
  const data = parsedOutput.body;
2202
2198
  if (data.message != null) {
@@ -2208,7 +2204,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2208
2204
  });
2209
2205
  return __decorateServiceException(exception, parsedOutput.body);
2210
2206
  };
2211
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2207
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2212
2208
  const contents = map({});
2213
2209
  const data = parsedOutput.body;
2214
2210
  if (data.message != null) {
@@ -2220,7 +2216,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2220
2216
  });
2221
2217
  return __decorateServiceException(exception, parsedOutput.body);
2222
2218
  };
2223
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2219
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2224
2220
  const contents = map({});
2225
2221
  const data = parsedOutput.body;
2226
2222
  if (data.message != null) {
@@ -2232,7 +2228,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2232
2228
  });
2233
2229
  return __decorateServiceException(exception, parsedOutput.body);
2234
2230
  };
2235
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2231
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2236
2232
  const contents = map({});
2237
2233
  const data = parsedOutput.body;
2238
2234
  if (data.message != null) {
@@ -2244,7 +2240,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2244
2240
  });
2245
2241
  return __decorateServiceException(exception, parsedOutput.body);
2246
2242
  };
2247
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2243
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2248
2244
  const contents = map({});
2249
2245
  const data = parsedOutput.body;
2250
2246
  if (data.message != null) {
@@ -2256,44 +2252,44 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2256
2252
  });
2257
2253
  return __decorateServiceException(exception, parsedOutput.body);
2258
2254
  };
2259
- const serializeAws_restJson1PlatformCommand = (input, context) => {
2255
+ const se_PlatformCommand = (input, context) => {
2260
2256
  return {
2261
2257
  ...(input.linux != null && { linux: input.linux }),
2262
2258
  ...(input.windows != null && { windows: input.windows }),
2263
2259
  };
2264
2260
  };
2265
- const serializeAws_restJson1PlatformScriptKey = (input, context) => {
2261
+ const se_PlatformScriptKey = (input, context) => {
2266
2262
  return {
2267
2263
  ...(input.linux != null && { linux: input.linux }),
2268
2264
  ...(input.windows != null && { windows: input.windows }),
2269
2265
  };
2270
2266
  };
2271
- const serializeAws_restJson1StepInput = (input, context) => {
2267
+ const se_StepInput = (input, context) => {
2272
2268
  return StepInput.visit(input, {
2273
2269
  integerValue: (value) => ({ integerValue: value }),
2274
- listOfStringsValue: (value) => ({ listOfStringsValue: serializeAws_restJson1StringList(value, context) }),
2275
- mapOfStringValue: (value) => ({ mapOfStringValue: serializeAws_restJson1StringMap(value, context) }),
2270
+ listOfStringsValue: (value) => ({ listOfStringsValue: se_StringList(value, context) }),
2271
+ mapOfStringValue: (value) => ({ mapOfStringValue: se_StringMap(value, context) }),
2276
2272
  stringValue: (value) => ({ stringValue: value }),
2277
2273
  _: (name, value) => ({ name: value }),
2278
2274
  });
2279
2275
  };
2280
- const serializeAws_restJson1StepInputParameters = (input, context) => {
2276
+ const se_StepInputParameters = (input, context) => {
2281
2277
  return Object.entries(input).reduce((acc, [key, value]) => {
2282
2278
  if (value === null) {
2283
2279
  return acc;
2284
2280
  }
2285
- acc[key] = serializeAws_restJson1StepInput(value, context);
2281
+ acc[key] = se_StepInput(value, context);
2286
2282
  return acc;
2287
2283
  }, {});
2288
2284
  };
2289
- const serializeAws_restJson1StringList = (input, context) => {
2285
+ const se_StringList = (input, context) => {
2290
2286
  return input
2291
2287
  .filter((e) => e != null)
2292
2288
  .map((entry) => {
2293
2289
  return entry;
2294
2290
  });
2295
2291
  };
2296
- const serializeAws_restJson1StringMap = (input, context) => {
2292
+ const se_StringMap = (input, context) => {
2297
2293
  return Object.entries(input).reduce((acc, [key, value]) => {
2298
2294
  if (value === null) {
2299
2295
  return acc;
@@ -2302,7 +2298,7 @@ const serializeAws_restJson1StringMap = (input, context) => {
2302
2298
  return acc;
2303
2299
  }, {});
2304
2300
  };
2305
- const serializeAws_restJson1TagMap = (input, context) => {
2301
+ const se_TagMap = (input, context) => {
2306
2302
  return Object.entries(input).reduce((acc, [key, value]) => {
2307
2303
  if (value === null) {
2308
2304
  return acc;
@@ -2311,41 +2307,41 @@ const serializeAws_restJson1TagMap = (input, context) => {
2311
2307
  return acc;
2312
2308
  }, {});
2313
2309
  };
2314
- const serializeAws_restJson1WorkflowStepAutomationConfiguration = (input, context) => {
2310
+ const se_WorkflowStepAutomationConfiguration = (input, context) => {
2315
2311
  return {
2316
- ...(input.command != null && { command: serializeAws_restJson1PlatformCommand(input.command, context) }),
2312
+ ...(input.command != null && { command: se_PlatformCommand(input.command, context) }),
2317
2313
  ...(input.runEnvironment != null && { runEnvironment: input.runEnvironment }),
2318
2314
  ...(input.scriptLocationS3Bucket != null && { scriptLocationS3Bucket: input.scriptLocationS3Bucket }),
2319
2315
  ...(input.scriptLocationS3Key != null && {
2320
- scriptLocationS3Key: serializeAws_restJson1PlatformScriptKey(input.scriptLocationS3Key, context),
2316
+ scriptLocationS3Key: se_PlatformScriptKey(input.scriptLocationS3Key, context),
2321
2317
  }),
2322
2318
  ...(input.targetType != null && { targetType: input.targetType }),
2323
2319
  };
2324
2320
  };
2325
- const serializeAws_restJson1WorkflowStepOutput = (input, context) => {
2321
+ const se_WorkflowStepOutput = (input, context) => {
2326
2322
  return {
2327
2323
  ...(input.dataType != null && { dataType: input.dataType }),
2328
2324
  ...(input.name != null && { name: input.name }),
2329
2325
  ...(input.required != null && { required: input.required }),
2330
- ...(input.value != null && { value: serializeAws_restJson1WorkflowStepOutputUnion(input.value, context) }),
2326
+ ...(input.value != null && { value: se_WorkflowStepOutputUnion(input.value, context) }),
2331
2327
  };
2332
2328
  };
2333
- const serializeAws_restJson1WorkflowStepOutputList = (input, context) => {
2329
+ const se_WorkflowStepOutputList = (input, context) => {
2334
2330
  return input
2335
2331
  .filter((e) => e != null)
2336
2332
  .map((entry) => {
2337
- return serializeAws_restJson1WorkflowStepOutput(entry, context);
2333
+ return se_WorkflowStepOutput(entry, context);
2338
2334
  });
2339
2335
  };
2340
- const serializeAws_restJson1WorkflowStepOutputUnion = (input, context) => {
2336
+ const se_WorkflowStepOutputUnion = (input, context) => {
2341
2337
  return WorkflowStepOutputUnion.visit(input, {
2342
2338
  integerValue: (value) => ({ integerValue: value }),
2343
- listOfStringValue: (value) => ({ listOfStringValue: serializeAws_restJson1StringList(value, context) }),
2339
+ listOfStringValue: (value) => ({ listOfStringValue: se_StringList(value, context) }),
2344
2340
  stringValue: (value) => ({ stringValue: value }),
2345
2341
  _: (name, value) => ({ name: value }),
2346
2342
  });
2347
2343
  };
2348
- const deserializeAws_restJson1MigrationWorkflowSummary = (output, context) => {
2344
+ const de_MigrationWorkflowSummary = (output, context) => {
2349
2345
  return {
2350
2346
  adsApplicationConfigurationName: __expectString(output.adsApplicationConfigurationName),
2351
2347
  completedSteps: __expectInt32(output.completedSteps),
@@ -2361,41 +2357,41 @@ const deserializeAws_restJson1MigrationWorkflowSummary = (output, context) => {
2361
2357
  totalSteps: __expectInt32(output.totalSteps),
2362
2358
  };
2363
2359
  };
2364
- const deserializeAws_restJson1MigrationWorkflowSummaryList = (output, context) => {
2360
+ const de_MigrationWorkflowSummaryList = (output, context) => {
2365
2361
  const retVal = (output || [])
2366
2362
  .filter((e) => e != null)
2367
2363
  .map((entry) => {
2368
2364
  if (entry === null) {
2369
2365
  return null;
2370
2366
  }
2371
- return deserializeAws_restJson1MigrationWorkflowSummary(entry, context);
2367
+ return de_MigrationWorkflowSummary(entry, context);
2372
2368
  });
2373
2369
  return retVal;
2374
2370
  };
2375
- const deserializeAws_restJson1PlatformCommand = (output, context) => {
2371
+ const de_PlatformCommand = (output, context) => {
2376
2372
  return {
2377
2373
  linux: __expectString(output.linux),
2378
2374
  windows: __expectString(output.windows),
2379
2375
  };
2380
2376
  };
2381
- const deserializeAws_restJson1PlatformScriptKey = (output, context) => {
2377
+ const de_PlatformScriptKey = (output, context) => {
2382
2378
  return {
2383
2379
  linux: __expectString(output.linux),
2384
2380
  windows: __expectString(output.windows),
2385
2381
  };
2386
2382
  };
2387
- const deserializeAws_restJson1PluginSummaries = (output, context) => {
2383
+ const de_PluginSummaries = (output, context) => {
2388
2384
  const retVal = (output || [])
2389
2385
  .filter((e) => e != null)
2390
2386
  .map((entry) => {
2391
2387
  if (entry === null) {
2392
2388
  return null;
2393
2389
  }
2394
- return deserializeAws_restJson1PluginSummary(entry, context);
2390
+ return de_PluginSummary(entry, context);
2395
2391
  });
2396
2392
  return retVal;
2397
2393
  };
2398
- const deserializeAws_restJson1PluginSummary = (output, context) => {
2394
+ const de_PluginSummary = (output, context) => {
2399
2395
  return {
2400
2396
  hostname: __expectString(output.hostname),
2401
2397
  ipAddress: __expectString(output.ipAddress),
@@ -2405,29 +2401,27 @@ const deserializeAws_restJson1PluginSummary = (output, context) => {
2405
2401
  version: __expectString(output.version),
2406
2402
  };
2407
2403
  };
2408
- const deserializeAws_restJson1StepAutomationConfiguration = (output, context) => {
2404
+ const de_StepAutomationConfiguration = (output, context) => {
2409
2405
  return {
2410
- command: output.command != null ? deserializeAws_restJson1PlatformCommand(output.command, context) : undefined,
2406
+ command: output.command != null ? de_PlatformCommand(output.command, context) : undefined,
2411
2407
  runEnvironment: __expectString(output.runEnvironment),
2412
2408
  scriptLocationS3Bucket: __expectString(output.scriptLocationS3Bucket),
2413
- scriptLocationS3Key: output.scriptLocationS3Key != null
2414
- ? deserializeAws_restJson1PlatformScriptKey(output.scriptLocationS3Key, context)
2415
- : undefined,
2409
+ scriptLocationS3Key: output.scriptLocationS3Key != null ? de_PlatformScriptKey(output.scriptLocationS3Key, context) : undefined,
2416
2410
  targetType: __expectString(output.targetType),
2417
2411
  };
2418
2412
  };
2419
- const deserializeAws_restJson1StepInput = (output, context) => {
2413
+ const de_StepInput = (output, context) => {
2420
2414
  if (__expectInt32(output.integerValue) !== undefined) {
2421
2415
  return { integerValue: __expectInt32(output.integerValue) };
2422
2416
  }
2423
2417
  if (output.listOfStringsValue != null) {
2424
2418
  return {
2425
- listOfStringsValue: deserializeAws_restJson1StringList(output.listOfStringsValue, context),
2419
+ listOfStringsValue: de_StringList(output.listOfStringsValue, context),
2426
2420
  };
2427
2421
  }
2428
2422
  if (output.mapOfStringValue != null) {
2429
2423
  return {
2430
- mapOfStringValue: deserializeAws_restJson1StringMap(output.mapOfStringValue, context),
2424
+ mapOfStringValue: de_StringMap(output.mapOfStringValue, context),
2431
2425
  };
2432
2426
  }
2433
2427
  if (__expectString(output.stringValue) !== undefined) {
@@ -2435,34 +2429,34 @@ const deserializeAws_restJson1StepInput = (output, context) => {
2435
2429
  }
2436
2430
  return { $unknown: Object.entries(output)[0] };
2437
2431
  };
2438
- const deserializeAws_restJson1StepInputParameters = (output, context) => {
2432
+ const de_StepInputParameters = (output, context) => {
2439
2433
  return Object.entries(output).reduce((acc, [key, value]) => {
2440
2434
  if (value === null) {
2441
2435
  return acc;
2442
2436
  }
2443
- acc[key] = deserializeAws_restJson1StepInput(__expectUnion(value), context);
2437
+ acc[key] = de_StepInput(__expectUnion(value), context);
2444
2438
  return acc;
2445
2439
  }, {});
2446
2440
  };
2447
- const deserializeAws_restJson1StepOutput = (output, context) => {
2441
+ const de_StepOutput = (output, context) => {
2448
2442
  return {
2449
2443
  dataType: __expectString(output.dataType),
2450
2444
  name: __expectString(output.name),
2451
2445
  required: __expectBoolean(output.required),
2452
2446
  };
2453
2447
  };
2454
- const deserializeAws_restJson1StepOutputList = (output, context) => {
2448
+ const de_StepOutputList = (output, context) => {
2455
2449
  const retVal = (output || [])
2456
2450
  .filter((e) => e != null)
2457
2451
  .map((entry) => {
2458
2452
  if (entry === null) {
2459
2453
  return null;
2460
2454
  }
2461
- return deserializeAws_restJson1StepOutput(entry, context);
2455
+ return de_StepOutput(entry, context);
2462
2456
  });
2463
2457
  return retVal;
2464
2458
  };
2465
- const deserializeAws_restJson1StringList = (output, context) => {
2459
+ const de_StringList = (output, context) => {
2466
2460
  const retVal = (output || [])
2467
2461
  .filter((e) => e != null)
2468
2462
  .map((entry) => {
@@ -2473,7 +2467,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
2473
2467
  });
2474
2468
  return retVal;
2475
2469
  };
2476
- const deserializeAws_restJson1StringMap = (output, context) => {
2470
+ const de_StringMap = (output, context) => {
2477
2471
  return Object.entries(output).reduce((acc, [key, value]) => {
2478
2472
  if (value === null) {
2479
2473
  return acc;
@@ -2482,7 +2476,7 @@ const deserializeAws_restJson1StringMap = (output, context) => {
2482
2476
  return acc;
2483
2477
  }, {});
2484
2478
  };
2485
- const deserializeAws_restJson1TagMap = (output, context) => {
2479
+ const de_TagMap = (output, context) => {
2486
2480
  return Object.entries(output).reduce((acc, [key, value]) => {
2487
2481
  if (value === null) {
2488
2482
  return acc;
@@ -2491,68 +2485,68 @@ const deserializeAws_restJson1TagMap = (output, context) => {
2491
2485
  return acc;
2492
2486
  }, {});
2493
2487
  };
2494
- const deserializeAws_restJson1TemplateInput = (output, context) => {
2488
+ const de_TemplateInput = (output, context) => {
2495
2489
  return {
2496
2490
  dataType: __expectString(output.dataType),
2497
2491
  inputName: __expectString(output.inputName),
2498
2492
  required: __expectBoolean(output.required),
2499
2493
  };
2500
2494
  };
2501
- const deserializeAws_restJson1TemplateInputList = (output, context) => {
2495
+ const de_TemplateInputList = (output, context) => {
2502
2496
  const retVal = (output || [])
2503
2497
  .filter((e) => e != null)
2504
2498
  .map((entry) => {
2505
2499
  if (entry === null) {
2506
2500
  return null;
2507
2501
  }
2508
- return deserializeAws_restJson1TemplateInput(entry, context);
2502
+ return de_TemplateInput(entry, context);
2509
2503
  });
2510
2504
  return retVal;
2511
2505
  };
2512
- const deserializeAws_restJson1TemplateStepGroupSummary = (output, context) => {
2506
+ const de_TemplateStepGroupSummary = (output, context) => {
2513
2507
  return {
2514
2508
  id: __expectString(output.id),
2515
2509
  name: __expectString(output.name),
2516
- next: output.next != null ? deserializeAws_restJson1StringList(output.next, context) : undefined,
2517
- previous: output.previous != null ? deserializeAws_restJson1StringList(output.previous, context) : undefined,
2510
+ next: output.next != null ? de_StringList(output.next, context) : undefined,
2511
+ previous: output.previous != null ? de_StringList(output.previous, context) : undefined,
2518
2512
  };
2519
2513
  };
2520
- const deserializeAws_restJson1TemplateStepGroupSummaryList = (output, context) => {
2514
+ const de_TemplateStepGroupSummaryList = (output, context) => {
2521
2515
  const retVal = (output || [])
2522
2516
  .filter((e) => e != null)
2523
2517
  .map((entry) => {
2524
2518
  if (entry === null) {
2525
2519
  return null;
2526
2520
  }
2527
- return deserializeAws_restJson1TemplateStepGroupSummary(entry, context);
2521
+ return de_TemplateStepGroupSummary(entry, context);
2528
2522
  });
2529
2523
  return retVal;
2530
2524
  };
2531
- const deserializeAws_restJson1TemplateStepSummary = (output, context) => {
2525
+ const de_TemplateStepSummary = (output, context) => {
2532
2526
  return {
2533
2527
  id: __expectString(output.id),
2534
2528
  name: __expectString(output.name),
2535
- next: output.next != null ? deserializeAws_restJson1StringList(output.next, context) : undefined,
2529
+ next: output.next != null ? de_StringList(output.next, context) : undefined,
2536
2530
  owner: __expectString(output.owner),
2537
- previous: output.previous != null ? deserializeAws_restJson1StringList(output.previous, context) : undefined,
2531
+ previous: output.previous != null ? de_StringList(output.previous, context) : undefined,
2538
2532
  stepActionType: __expectString(output.stepActionType),
2539
2533
  stepGroupId: __expectString(output.stepGroupId),
2540
2534
  targetType: __expectString(output.targetType),
2541
2535
  templateId: __expectString(output.templateId),
2542
2536
  };
2543
2537
  };
2544
- const deserializeAws_restJson1TemplateStepSummaryList = (output, context) => {
2538
+ const de_TemplateStepSummaryList = (output, context) => {
2545
2539
  const retVal = (output || [])
2546
2540
  .filter((e) => e != null)
2547
2541
  .map((entry) => {
2548
2542
  if (entry === null) {
2549
2543
  return null;
2550
2544
  }
2551
- return deserializeAws_restJson1TemplateStepSummary(entry, context);
2545
+ return de_TemplateStepSummary(entry, context);
2552
2546
  });
2553
2547
  return retVal;
2554
2548
  };
2555
- const deserializeAws_restJson1TemplateSummary = (output, context) => {
2549
+ const de_TemplateSummary = (output, context) => {
2556
2550
  return {
2557
2551
  arn: __expectString(output.arn),
2558
2552
  description: __expectString(output.description),
@@ -2560,94 +2554,90 @@ const deserializeAws_restJson1TemplateSummary = (output, context) => {
2560
2554
  name: __expectString(output.name),
2561
2555
  };
2562
2556
  };
2563
- const deserializeAws_restJson1TemplateSummaryList = (output, context) => {
2557
+ const de_TemplateSummaryList = (output, context) => {
2564
2558
  const retVal = (output || [])
2565
2559
  .filter((e) => e != null)
2566
2560
  .map((entry) => {
2567
2561
  if (entry === null) {
2568
2562
  return null;
2569
2563
  }
2570
- return deserializeAws_restJson1TemplateSummary(entry, context);
2564
+ return de_TemplateSummary(entry, context);
2571
2565
  });
2572
2566
  return retVal;
2573
2567
  };
2574
- const deserializeAws_restJson1Tool = (output, context) => {
2568
+ const de_Tool = (output, context) => {
2575
2569
  return {
2576
2570
  name: __expectString(output.name),
2577
2571
  url: __expectString(output.url),
2578
2572
  };
2579
2573
  };
2580
- const deserializeAws_restJson1ToolsList = (output, context) => {
2574
+ const de_ToolsList = (output, context) => {
2581
2575
  const retVal = (output || [])
2582
2576
  .filter((e) => e != null)
2583
2577
  .map((entry) => {
2584
2578
  if (entry === null) {
2585
2579
  return null;
2586
2580
  }
2587
- return deserializeAws_restJson1Tool(entry, context);
2581
+ return de_Tool(entry, context);
2588
2582
  });
2589
2583
  return retVal;
2590
2584
  };
2591
- const deserializeAws_restJson1WorkflowStepAutomationConfiguration = (output, context) => {
2585
+ const de_WorkflowStepAutomationConfiguration = (output, context) => {
2592
2586
  return {
2593
- command: output.command != null ? deserializeAws_restJson1PlatformCommand(output.command, context) : undefined,
2587
+ command: output.command != null ? de_PlatformCommand(output.command, context) : undefined,
2594
2588
  runEnvironment: __expectString(output.runEnvironment),
2595
2589
  scriptLocationS3Bucket: __expectString(output.scriptLocationS3Bucket),
2596
- scriptLocationS3Key: output.scriptLocationS3Key != null
2597
- ? deserializeAws_restJson1PlatformScriptKey(output.scriptLocationS3Key, context)
2598
- : undefined,
2590
+ scriptLocationS3Key: output.scriptLocationS3Key != null ? de_PlatformScriptKey(output.scriptLocationS3Key, context) : undefined,
2599
2591
  targetType: __expectString(output.targetType),
2600
2592
  };
2601
2593
  };
2602
- const deserializeAws_restJson1WorkflowStepGroupsSummaryList = (output, context) => {
2594
+ const de_WorkflowStepGroupsSummaryList = (output, context) => {
2603
2595
  const retVal = (output || [])
2604
2596
  .filter((e) => e != null)
2605
2597
  .map((entry) => {
2606
2598
  if (entry === null) {
2607
2599
  return null;
2608
2600
  }
2609
- return deserializeAws_restJson1WorkflowStepGroupSummary(entry, context);
2601
+ return de_WorkflowStepGroupSummary(entry, context);
2610
2602
  });
2611
2603
  return retVal;
2612
2604
  };
2613
- const deserializeAws_restJson1WorkflowStepGroupSummary = (output, context) => {
2605
+ const de_WorkflowStepGroupSummary = (output, context) => {
2614
2606
  return {
2615
2607
  id: __expectString(output.id),
2616
2608
  name: __expectString(output.name),
2617
- next: output.next != null ? deserializeAws_restJson1StringList(output.next, context) : undefined,
2609
+ next: output.next != null ? de_StringList(output.next, context) : undefined,
2618
2610
  owner: __expectString(output.owner),
2619
- previous: output.previous != null ? deserializeAws_restJson1StringList(output.previous, context) : undefined,
2611
+ previous: output.previous != null ? de_StringList(output.previous, context) : undefined,
2620
2612
  status: __expectString(output.status),
2621
2613
  };
2622
2614
  };
2623
- const deserializeAws_restJson1WorkflowStepOutput = (output, context) => {
2615
+ const de_WorkflowStepOutput = (output, context) => {
2624
2616
  return {
2625
2617
  dataType: __expectString(output.dataType),
2626
2618
  name: __expectString(output.name),
2627
2619
  required: __expectBoolean(output.required),
2628
- value: output.value != null
2629
- ? deserializeAws_restJson1WorkflowStepOutputUnion(__expectUnion(output.value), context)
2630
- : undefined,
2620
+ value: output.value != null ? de_WorkflowStepOutputUnion(__expectUnion(output.value), context) : undefined,
2631
2621
  };
2632
2622
  };
2633
- const deserializeAws_restJson1WorkflowStepOutputList = (output, context) => {
2623
+ const de_WorkflowStepOutputList = (output, context) => {
2634
2624
  const retVal = (output || [])
2635
2625
  .filter((e) => e != null)
2636
2626
  .map((entry) => {
2637
2627
  if (entry === null) {
2638
2628
  return null;
2639
2629
  }
2640
- return deserializeAws_restJson1WorkflowStepOutput(entry, context);
2630
+ return de_WorkflowStepOutput(entry, context);
2641
2631
  });
2642
2632
  return retVal;
2643
2633
  };
2644
- const deserializeAws_restJson1WorkflowStepOutputUnion = (output, context) => {
2634
+ const de_WorkflowStepOutputUnion = (output, context) => {
2645
2635
  if (__expectInt32(output.integerValue) !== undefined) {
2646
2636
  return { integerValue: __expectInt32(output.integerValue) };
2647
2637
  }
2648
2638
  if (output.listOfStringValue != null) {
2649
2639
  return {
2650
- listOfStringValue: deserializeAws_restJson1StringList(output.listOfStringValue, context),
2640
+ listOfStringValue: de_StringList(output.listOfStringValue, context),
2651
2641
  };
2652
2642
  }
2653
2643
  if (__expectString(output.stringValue) !== undefined) {
@@ -2655,26 +2645,26 @@ const deserializeAws_restJson1WorkflowStepOutputUnion = (output, context) => {
2655
2645
  }
2656
2646
  return { $unknown: Object.entries(output)[0] };
2657
2647
  };
2658
- const deserializeAws_restJson1WorkflowStepsSummaryList = (output, context) => {
2648
+ const de_WorkflowStepsSummaryList = (output, context) => {
2659
2649
  const retVal = (output || [])
2660
2650
  .filter((e) => e != null)
2661
2651
  .map((entry) => {
2662
2652
  if (entry === null) {
2663
2653
  return null;
2664
2654
  }
2665
- return deserializeAws_restJson1WorkflowStepSummary(entry, context);
2655
+ return de_WorkflowStepSummary(entry, context);
2666
2656
  });
2667
2657
  return retVal;
2668
2658
  };
2669
- const deserializeAws_restJson1WorkflowStepSummary = (output, context) => {
2659
+ const de_WorkflowStepSummary = (output, context) => {
2670
2660
  return {
2671
2661
  description: __expectString(output.description),
2672
2662
  name: __expectString(output.name),
2673
- next: output.next != null ? deserializeAws_restJson1StringList(output.next, context) : undefined,
2663
+ next: output.next != null ? de_StringList(output.next, context) : undefined,
2674
2664
  noOfSrvCompleted: __expectInt32(output.noOfSrvCompleted),
2675
2665
  noOfSrvFailed: __expectInt32(output.noOfSrvFailed),
2676
2666
  owner: __expectString(output.owner),
2677
- previous: output.previous != null ? deserializeAws_restJson1StringList(output.previous, context) : undefined,
2667
+ previous: output.previous != null ? de_StringList(output.previous, context) : undefined,
2678
2668
  scriptLocation: __expectString(output.scriptLocation),
2679
2669
  status: __expectString(output.status),
2680
2670
  statusMessage: __expectString(output.statusMessage),