@aws-sdk/client-route53-recovery-readiness 3.306.0 → 3.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist-cjs/commands/CreateCellCommand.js +2 -2
  2. package/dist-cjs/commands/CreateCrossAccountAuthorizationCommand.js +2 -2
  3. package/dist-cjs/commands/CreateReadinessCheckCommand.js +2 -2
  4. package/dist-cjs/commands/CreateRecoveryGroupCommand.js +2 -2
  5. package/dist-cjs/commands/CreateResourceSetCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteCellCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteCrossAccountAuthorizationCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteReadinessCheckCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteRecoveryGroupCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteResourceSetCommand.js +2 -2
  11. package/dist-cjs/commands/GetArchitectureRecommendationsCommand.js +2 -2
  12. package/dist-cjs/commands/GetCellCommand.js +2 -2
  13. package/dist-cjs/commands/GetCellReadinessSummaryCommand.js +2 -2
  14. package/dist-cjs/commands/GetReadinessCheckCommand.js +2 -2
  15. package/dist-cjs/commands/GetReadinessCheckResourceStatusCommand.js +2 -2
  16. package/dist-cjs/commands/GetReadinessCheckStatusCommand.js +2 -2
  17. package/dist-cjs/commands/GetRecoveryGroupCommand.js +2 -2
  18. package/dist-cjs/commands/GetRecoveryGroupReadinessSummaryCommand.js +2 -2
  19. package/dist-cjs/commands/GetResourceSetCommand.js +2 -2
  20. package/dist-cjs/commands/ListCellsCommand.js +2 -2
  21. package/dist-cjs/commands/ListCrossAccountAuthorizationsCommand.js +2 -2
  22. package/dist-cjs/commands/ListReadinessChecksCommand.js +2 -2
  23. package/dist-cjs/commands/ListRecoveryGroupsCommand.js +2 -2
  24. package/dist-cjs/commands/ListResourceSetsCommand.js +2 -2
  25. package/dist-cjs/commands/ListRulesCommand.js +2 -2
  26. package/dist-cjs/commands/ListTagsForResourcesCommand.js +2 -2
  27. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  28. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateCellCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateReadinessCheckCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateRecoveryGroupCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateResourceSetCommand.js +2 -2
  33. package/dist-cjs/protocols/Aws_restJson1.js +463 -477
  34. package/dist-es/commands/CreateCellCommand.js +3 -3
  35. package/dist-es/commands/CreateCrossAccountAuthorizationCommand.js +3 -3
  36. package/dist-es/commands/CreateReadinessCheckCommand.js +3 -3
  37. package/dist-es/commands/CreateRecoveryGroupCommand.js +3 -3
  38. package/dist-es/commands/CreateResourceSetCommand.js +3 -3
  39. package/dist-es/commands/DeleteCellCommand.js +3 -3
  40. package/dist-es/commands/DeleteCrossAccountAuthorizationCommand.js +3 -3
  41. package/dist-es/commands/DeleteReadinessCheckCommand.js +3 -3
  42. package/dist-es/commands/DeleteRecoveryGroupCommand.js +3 -3
  43. package/dist-es/commands/DeleteResourceSetCommand.js +3 -3
  44. package/dist-es/commands/GetArchitectureRecommendationsCommand.js +3 -3
  45. package/dist-es/commands/GetCellCommand.js +3 -3
  46. package/dist-es/commands/GetCellReadinessSummaryCommand.js +3 -3
  47. package/dist-es/commands/GetReadinessCheckCommand.js +3 -3
  48. package/dist-es/commands/GetReadinessCheckResourceStatusCommand.js +3 -3
  49. package/dist-es/commands/GetReadinessCheckStatusCommand.js +3 -3
  50. package/dist-es/commands/GetRecoveryGroupCommand.js +3 -3
  51. package/dist-es/commands/GetRecoveryGroupReadinessSummaryCommand.js +3 -3
  52. package/dist-es/commands/GetResourceSetCommand.js +3 -3
  53. package/dist-es/commands/ListCellsCommand.js +3 -3
  54. package/dist-es/commands/ListCrossAccountAuthorizationsCommand.js +3 -3
  55. package/dist-es/commands/ListReadinessChecksCommand.js +3 -3
  56. package/dist-es/commands/ListRecoveryGroupsCommand.js +3 -3
  57. package/dist-es/commands/ListResourceSetsCommand.js +3 -3
  58. package/dist-es/commands/ListRulesCommand.js +3 -3
  59. package/dist-es/commands/ListTagsForResourcesCommand.js +3 -3
  60. package/dist-es/commands/TagResourceCommand.js +3 -3
  61. package/dist-es/commands/UntagResourceCommand.js +3 -3
  62. package/dist-es/commands/UpdateCellCommand.js +3 -3
  63. package/dist-es/commands/UpdateReadinessCheckCommand.js +3 -3
  64. package/dist-es/commands/UpdateRecoveryGroupCommand.js +3 -3
  65. package/dist-es/commands/UpdateResourceSetCommand.js +3 -3
  66. package/dist-es/protocols/Aws_restJson1.js +397 -411
  67. package/dist-types/protocols/Aws_restJson1.d.ts +256 -64
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +64 -64
  69. package/package.json +35 -35
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
4
4
  import { Route53RecoveryReadinessServiceException as __BaseException } from "../models/Route53RecoveryReadinessServiceException";
5
- export const serializeAws_restJson1CreateCellCommand = async (input, context) => {
5
+ export const se_CreateCellCommand = 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",
@@ -11,8 +11,8 @@ export const serializeAws_restJson1CreateCellCommand = async (input, context) =>
11
11
  let body;
12
12
  body = JSON.stringify({
13
13
  ...(input.CellName != null && { cellName: input.CellName }),
14
- ...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
15
- ...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
14
+ ...(input.Cells != null && { cells: se___listOf__string(input.Cells, context) }),
15
+ ...(input.Tags != null && { tags: se_Tags(input.Tags, context) }),
16
16
  });
17
17
  return new __HttpRequest({
18
18
  protocol,
@@ -24,7 +24,7 @@ export const serializeAws_restJson1CreateCellCommand = async (input, context) =>
24
24
  body,
25
25
  });
26
26
  };
27
- export const serializeAws_restJson1CreateCrossAccountAuthorizationCommand = async (input, context) => {
27
+ export const se_CreateCrossAccountAuthorizationCommand = async (input, context) => {
28
28
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
29
29
  const headers = {
30
30
  "content-type": "application/json",
@@ -44,7 +44,7 @@ export const serializeAws_restJson1CreateCrossAccountAuthorizationCommand = asyn
44
44
  body,
45
45
  });
46
46
  };
47
- export const serializeAws_restJson1CreateReadinessCheckCommand = async (input, context) => {
47
+ export const se_CreateReadinessCheckCommand = async (input, context) => {
48
48
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
49
49
  const headers = {
50
50
  "content-type": "application/json",
@@ -54,7 +54,7 @@ export const serializeAws_restJson1CreateReadinessCheckCommand = async (input, c
54
54
  body = JSON.stringify({
55
55
  ...(input.ReadinessCheckName != null && { readinessCheckName: input.ReadinessCheckName }),
56
56
  ...(input.ResourceSetName != null && { resourceSetName: input.ResourceSetName }),
57
- ...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
57
+ ...(input.Tags != null && { tags: se_Tags(input.Tags, context) }),
58
58
  });
59
59
  return new __HttpRequest({
60
60
  protocol,
@@ -66,7 +66,7 @@ export const serializeAws_restJson1CreateReadinessCheckCommand = async (input, c
66
66
  body,
67
67
  });
68
68
  };
69
- export const serializeAws_restJson1CreateRecoveryGroupCommand = async (input, context) => {
69
+ export const se_CreateRecoveryGroupCommand = async (input, context) => {
70
70
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
71
71
  const headers = {
72
72
  "content-type": "application/json",
@@ -74,9 +74,9 @@ export const serializeAws_restJson1CreateRecoveryGroupCommand = async (input, co
74
74
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recoverygroups";
75
75
  let body;
76
76
  body = JSON.stringify({
77
- ...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
77
+ ...(input.Cells != null && { cells: se___listOf__string(input.Cells, context) }),
78
78
  ...(input.RecoveryGroupName != null && { recoveryGroupName: input.RecoveryGroupName }),
79
- ...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
79
+ ...(input.Tags != null && { tags: se_Tags(input.Tags, context) }),
80
80
  });
81
81
  return new __HttpRequest({
82
82
  protocol,
@@ -88,7 +88,7 @@ export const serializeAws_restJson1CreateRecoveryGroupCommand = async (input, co
88
88
  body,
89
89
  });
90
90
  };
91
- export const serializeAws_restJson1CreateResourceSetCommand = async (input, context) => {
91
+ export const se_CreateResourceSetCommand = async (input, context) => {
92
92
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
93
93
  const headers = {
94
94
  "content-type": "application/json",
@@ -98,8 +98,8 @@ export const serializeAws_restJson1CreateResourceSetCommand = async (input, cont
98
98
  body = JSON.stringify({
99
99
  ...(input.ResourceSetName != null && { resourceSetName: input.ResourceSetName }),
100
100
  ...(input.ResourceSetType != null && { resourceSetType: input.ResourceSetType }),
101
- ...(input.Resources != null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) }),
102
- ...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
101
+ ...(input.Resources != null && { resources: se___listOfResource(input.Resources, context) }),
102
+ ...(input.Tags != null && { tags: se_Tags(input.Tags, context) }),
103
103
  });
104
104
  return new __HttpRequest({
105
105
  protocol,
@@ -111,7 +111,7 @@ export const serializeAws_restJson1CreateResourceSetCommand = async (input, cont
111
111
  body,
112
112
  });
113
113
  };
114
- export const serializeAws_restJson1DeleteCellCommand = async (input, context) => {
114
+ export const se_DeleteCellCommand = async (input, context) => {
115
115
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
116
116
  const headers = {};
117
117
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/cells/{CellName}";
@@ -127,7 +127,7 @@ export const serializeAws_restJson1DeleteCellCommand = async (input, context) =>
127
127
  body,
128
128
  });
129
129
  };
130
- export const serializeAws_restJson1DeleteCrossAccountAuthorizationCommand = async (input, context) => {
130
+ export const se_DeleteCrossAccountAuthorizationCommand = async (input, context) => {
131
131
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
132
132
  const headers = {};
133
133
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -144,7 +144,7 @@ export const serializeAws_restJson1DeleteCrossAccountAuthorizationCommand = asyn
144
144
  body,
145
145
  });
146
146
  };
147
- export const serializeAws_restJson1DeleteReadinessCheckCommand = async (input, context) => {
147
+ export const se_DeleteReadinessCheckCommand = async (input, context) => {
148
148
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
149
  const headers = {};
150
150
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/readinesschecks/{ReadinessCheckName}";
@@ -160,7 +160,7 @@ export const serializeAws_restJson1DeleteReadinessCheckCommand = async (input, c
160
160
  body,
161
161
  });
162
162
  };
163
- export const serializeAws_restJson1DeleteRecoveryGroupCommand = async (input, context) => {
163
+ export const se_DeleteRecoveryGroupCommand = async (input, context) => {
164
164
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
165
165
  const headers = {};
166
166
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recoverygroups/{RecoveryGroupName}";
@@ -176,7 +176,7 @@ export const serializeAws_restJson1DeleteRecoveryGroupCommand = async (input, co
176
176
  body,
177
177
  });
178
178
  };
179
- export const serializeAws_restJson1DeleteResourceSetCommand = async (input, context) => {
179
+ export const se_DeleteResourceSetCommand = async (input, context) => {
180
180
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
181
181
  const headers = {};
182
182
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resourcesets/{ResourceSetName}";
@@ -192,7 +192,7 @@ export const serializeAws_restJson1DeleteResourceSetCommand = async (input, cont
192
192
  body,
193
193
  });
194
194
  };
195
- export const serializeAws_restJson1GetArchitectureRecommendationsCommand = async (input, context) => {
195
+ export const se_GetArchitectureRecommendationsCommand = async (input, context) => {
196
196
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
197
197
  const headers = {};
198
198
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -214,7 +214,7 @@ export const serializeAws_restJson1GetArchitectureRecommendationsCommand = async
214
214
  body,
215
215
  });
216
216
  };
217
- export const serializeAws_restJson1GetCellCommand = async (input, context) => {
217
+ export const se_GetCellCommand = async (input, context) => {
218
218
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
219
219
  const headers = {};
220
220
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/cells/{CellName}";
@@ -230,7 +230,7 @@ export const serializeAws_restJson1GetCellCommand = async (input, context) => {
230
230
  body,
231
231
  });
232
232
  };
233
- export const serializeAws_restJson1GetCellReadinessSummaryCommand = async (input, context) => {
233
+ export const se_GetCellReadinessSummaryCommand = async (input, context) => {
234
234
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
235
235
  const headers = {};
236
236
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/cellreadiness/{CellName}";
@@ -251,7 +251,7 @@ export const serializeAws_restJson1GetCellReadinessSummaryCommand = async (input
251
251
  body,
252
252
  });
253
253
  };
254
- export const serializeAws_restJson1GetReadinessCheckCommand = async (input, context) => {
254
+ export const se_GetReadinessCheckCommand = async (input, context) => {
255
255
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
256
256
  const headers = {};
257
257
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/readinesschecks/{ReadinessCheckName}";
@@ -267,7 +267,7 @@ export const serializeAws_restJson1GetReadinessCheckCommand = async (input, cont
267
267
  body,
268
268
  });
269
269
  };
270
- export const serializeAws_restJson1GetReadinessCheckResourceStatusCommand = async (input, context) => {
270
+ export const se_GetReadinessCheckResourceStatusCommand = async (input, context) => {
271
271
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
272
272
  const headers = {};
273
273
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -290,7 +290,7 @@ export const serializeAws_restJson1GetReadinessCheckResourceStatusCommand = asyn
290
290
  body,
291
291
  });
292
292
  };
293
- export const serializeAws_restJson1GetReadinessCheckStatusCommand = async (input, context) => {
293
+ export const se_GetReadinessCheckStatusCommand = async (input, context) => {
294
294
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
295
295
  const headers = {};
296
296
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -312,7 +312,7 @@ export const serializeAws_restJson1GetReadinessCheckStatusCommand = async (input
312
312
  body,
313
313
  });
314
314
  };
315
- export const serializeAws_restJson1GetRecoveryGroupCommand = async (input, context) => {
315
+ export const se_GetRecoveryGroupCommand = async (input, context) => {
316
316
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
317
  const headers = {};
318
318
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recoverygroups/{RecoveryGroupName}";
@@ -328,7 +328,7 @@ export const serializeAws_restJson1GetRecoveryGroupCommand = async (input, conte
328
328
  body,
329
329
  });
330
330
  };
331
- export const serializeAws_restJson1GetRecoveryGroupReadinessSummaryCommand = async (input, context) => {
331
+ export const se_GetRecoveryGroupReadinessSummaryCommand = async (input, context) => {
332
332
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
333
333
  const headers = {};
334
334
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -350,7 +350,7 @@ export const serializeAws_restJson1GetRecoveryGroupReadinessSummaryCommand = asy
350
350
  body,
351
351
  });
352
352
  };
353
- export const serializeAws_restJson1GetResourceSetCommand = async (input, context) => {
353
+ export const se_GetResourceSetCommand = async (input, context) => {
354
354
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
355
355
  const headers = {};
356
356
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resourcesets/{ResourceSetName}";
@@ -366,7 +366,7 @@ export const serializeAws_restJson1GetResourceSetCommand = async (input, context
366
366
  body,
367
367
  });
368
368
  };
369
- export const serializeAws_restJson1ListCellsCommand = async (input, context) => {
369
+ export const se_ListCellsCommand = async (input, context) => {
370
370
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
371
371
  const headers = {};
372
372
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/cells";
@@ -386,7 +386,7 @@ export const serializeAws_restJson1ListCellsCommand = async (input, context) =>
386
386
  body,
387
387
  });
388
388
  };
389
- export const serializeAws_restJson1ListCrossAccountAuthorizationsCommand = async (input, context) => {
389
+ export const se_ListCrossAccountAuthorizationsCommand = async (input, context) => {
390
390
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
391
391
  const headers = {};
392
392
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/crossaccountauthorizations";
@@ -406,7 +406,7 @@ export const serializeAws_restJson1ListCrossAccountAuthorizationsCommand = async
406
406
  body,
407
407
  });
408
408
  };
409
- export const serializeAws_restJson1ListReadinessChecksCommand = async (input, context) => {
409
+ export const se_ListReadinessChecksCommand = async (input, context) => {
410
410
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
411
411
  const headers = {};
412
412
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/readinesschecks";
@@ -426,7 +426,7 @@ export const serializeAws_restJson1ListReadinessChecksCommand = async (input, co
426
426
  body,
427
427
  });
428
428
  };
429
- export const serializeAws_restJson1ListRecoveryGroupsCommand = async (input, context) => {
429
+ export const se_ListRecoveryGroupsCommand = async (input, context) => {
430
430
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
431
431
  const headers = {};
432
432
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recoverygroups";
@@ -446,7 +446,7 @@ export const serializeAws_restJson1ListRecoveryGroupsCommand = async (input, con
446
446
  body,
447
447
  });
448
448
  };
449
- export const serializeAws_restJson1ListResourceSetsCommand = async (input, context) => {
449
+ export const se_ListResourceSetsCommand = async (input, context) => {
450
450
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
451
451
  const headers = {};
452
452
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resourcesets";
@@ -466,7 +466,7 @@ export const serializeAws_restJson1ListResourceSetsCommand = async (input, conte
466
466
  body,
467
467
  });
468
468
  };
469
- export const serializeAws_restJson1ListRulesCommand = async (input, context) => {
469
+ export const se_ListRulesCommand = async (input, context) => {
470
470
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
471
471
  const headers = {};
472
472
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rules";
@@ -487,7 +487,7 @@ export const serializeAws_restJson1ListRulesCommand = async (input, context) =>
487
487
  body,
488
488
  });
489
489
  };
490
- export const serializeAws_restJson1ListTagsForResourcesCommand = async (input, context) => {
490
+ export const se_ListTagsForResourcesCommand = async (input, context) => {
491
491
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
492
492
  const headers = {};
493
493
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -503,7 +503,7 @@ export const serializeAws_restJson1ListTagsForResourcesCommand = async (input, c
503
503
  body,
504
504
  });
505
505
  };
506
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
506
+ export const se_TagResourceCommand = async (input, context) => {
507
507
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
508
508
  const headers = {
509
509
  "content-type": "application/json",
@@ -512,7 +512,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
512
512
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
513
513
  let body;
514
514
  body = JSON.stringify({
515
- ...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
515
+ ...(input.Tags != null && { tags: se_Tags(input.Tags, context) }),
516
516
  });
517
517
  return new __HttpRequest({
518
518
  protocol,
@@ -524,7 +524,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
524
524
  body,
525
525
  });
526
526
  };
527
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
527
+ export const se_UntagResourceCommand = async (input, context) => {
528
528
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
529
529
  const headers = {};
530
530
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -547,7 +547,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
547
547
  body,
548
548
  });
549
549
  };
550
- export const serializeAws_restJson1UpdateCellCommand = async (input, context) => {
550
+ export const se_UpdateCellCommand = async (input, context) => {
551
551
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
552
552
  const headers = {
553
553
  "content-type": "application/json",
@@ -556,7 +556,7 @@ export const serializeAws_restJson1UpdateCellCommand = async (input, context) =>
556
556
  resolvedPath = __resolvedPath(resolvedPath, input, "CellName", () => input.CellName, "{CellName}", false);
557
557
  let body;
558
558
  body = JSON.stringify({
559
- ...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
559
+ ...(input.Cells != null && { cells: se___listOf__string(input.Cells, context) }),
560
560
  });
561
561
  return new __HttpRequest({
562
562
  protocol,
@@ -568,7 +568,7 @@ export const serializeAws_restJson1UpdateCellCommand = async (input, context) =>
568
568
  body,
569
569
  });
570
570
  };
571
- export const serializeAws_restJson1UpdateReadinessCheckCommand = async (input, context) => {
571
+ export const se_UpdateReadinessCheckCommand = async (input, context) => {
572
572
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
573
573
  const headers = {
574
574
  "content-type": "application/json",
@@ -589,7 +589,7 @@ export const serializeAws_restJson1UpdateReadinessCheckCommand = async (input, c
589
589
  body,
590
590
  });
591
591
  };
592
- export const serializeAws_restJson1UpdateRecoveryGroupCommand = async (input, context) => {
592
+ export const se_UpdateRecoveryGroupCommand = async (input, context) => {
593
593
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
594
594
  const headers = {
595
595
  "content-type": "application/json",
@@ -598,7 +598,7 @@ export const serializeAws_restJson1UpdateRecoveryGroupCommand = async (input, co
598
598
  resolvedPath = __resolvedPath(resolvedPath, input, "RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
599
599
  let body;
600
600
  body = JSON.stringify({
601
- ...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
601
+ ...(input.Cells != null && { cells: se___listOf__string(input.Cells, context) }),
602
602
  });
603
603
  return new __HttpRequest({
604
604
  protocol,
@@ -610,7 +610,7 @@ export const serializeAws_restJson1UpdateRecoveryGroupCommand = async (input, co
610
610
  body,
611
611
  });
612
612
  };
613
- export const serializeAws_restJson1UpdateResourceSetCommand = async (input, context) => {
613
+ export const se_UpdateResourceSetCommand = async (input, context) => {
614
614
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
615
615
  const headers = {
616
616
  "content-type": "application/json",
@@ -620,7 +620,7 @@ export const serializeAws_restJson1UpdateResourceSetCommand = async (input, cont
620
620
  let body;
621
621
  body = JSON.stringify({
622
622
  ...(input.ResourceSetType != null && { resourceSetType: input.ResourceSetType }),
623
- ...(input.Resources != null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) }),
623
+ ...(input.Resources != null && { resources: se___listOfResource(input.Resources, context) }),
624
624
  });
625
625
  return new __HttpRequest({
626
626
  protocol,
@@ -632,9 +632,9 @@ export const serializeAws_restJson1UpdateResourceSetCommand = async (input, cont
632
632
  body,
633
633
  });
634
634
  };
635
- export const deserializeAws_restJson1CreateCellCommand = async (output, context) => {
635
+ export const de_CreateCellCommand = async (output, context) => {
636
636
  if (output.statusCode !== 200 && output.statusCode >= 300) {
637
- return deserializeAws_restJson1CreateCellCommandError(output, context);
637
+ return de_CreateCellCommandError(output, context);
638
638
  }
639
639
  const contents = map({
640
640
  $metadata: deserializeMetadata(output),
@@ -647,17 +647,17 @@ export const deserializeAws_restJson1CreateCellCommand = async (output, context)
647
647
  contents.CellName = __expectString(data.cellName);
648
648
  }
649
649
  if (data.cells != null) {
650
- contents.Cells = deserializeAws_restJson1__listOf__string(data.cells, context);
650
+ contents.Cells = de___listOf__string(data.cells, context);
651
651
  }
652
652
  if (data.parentReadinessScopes != null) {
653
- contents.ParentReadinessScopes = deserializeAws_restJson1__listOf__string(data.parentReadinessScopes, context);
653
+ contents.ParentReadinessScopes = de___listOf__string(data.parentReadinessScopes, context);
654
654
  }
655
655
  if (data.tags != null) {
656
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
656
+ contents.Tags = de_Tags(data.tags, context);
657
657
  }
658
658
  return contents;
659
659
  };
660
- const deserializeAws_restJson1CreateCellCommandError = async (output, context) => {
660
+ const de_CreateCellCommandError = async (output, context) => {
661
661
  const parsedOutput = {
662
662
  ...output,
663
663
  body: await parseErrorBody(output.body, context),
@@ -666,19 +666,19 @@ const deserializeAws_restJson1CreateCellCommandError = async (output, context) =
666
666
  switch (errorCode) {
667
667
  case "AccessDeniedException":
668
668
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
669
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
669
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
670
670
  case "ConflictException":
671
671
  case "com.amazonaws.route53recoveryreadiness#ConflictException":
672
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
672
+ throw await de_ConflictExceptionRes(parsedOutput, context);
673
673
  case "InternalServerException":
674
674
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
675
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
675
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
676
676
  case "ThrottlingException":
677
677
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
678
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
678
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
679
679
  case "ValidationException":
680
680
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
681
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
681
+ throw await de_ValidationExceptionRes(parsedOutput, context);
682
682
  default:
683
683
  const parsedBody = parsedOutput.body;
684
684
  throwDefaultError({
@@ -689,9 +689,9 @@ const deserializeAws_restJson1CreateCellCommandError = async (output, context) =
689
689
  });
690
690
  }
691
691
  };
692
- export const deserializeAws_restJson1CreateCrossAccountAuthorizationCommand = async (output, context) => {
692
+ export const de_CreateCrossAccountAuthorizationCommand = async (output, context) => {
693
693
  if (output.statusCode !== 200 && output.statusCode >= 300) {
694
- return deserializeAws_restJson1CreateCrossAccountAuthorizationCommandError(output, context);
694
+ return de_CreateCrossAccountAuthorizationCommandError(output, context);
695
695
  }
696
696
  const contents = map({
697
697
  $metadata: deserializeMetadata(output),
@@ -702,7 +702,7 @@ export const deserializeAws_restJson1CreateCrossAccountAuthorizationCommand = as
702
702
  }
703
703
  return contents;
704
704
  };
705
- const deserializeAws_restJson1CreateCrossAccountAuthorizationCommandError = async (output, context) => {
705
+ const de_CreateCrossAccountAuthorizationCommandError = async (output, context) => {
706
706
  const parsedOutput = {
707
707
  ...output,
708
708
  body: await parseErrorBody(output.body, context),
@@ -711,19 +711,19 @@ const deserializeAws_restJson1CreateCrossAccountAuthorizationCommandError = asyn
711
711
  switch (errorCode) {
712
712
  case "AccessDeniedException":
713
713
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
714
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
714
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
715
715
  case "ConflictException":
716
716
  case "com.amazonaws.route53recoveryreadiness#ConflictException":
717
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
717
+ throw await de_ConflictExceptionRes(parsedOutput, context);
718
718
  case "InternalServerException":
719
719
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
720
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
720
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
721
721
  case "ThrottlingException":
722
722
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
723
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
723
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
724
724
  case "ValidationException":
725
725
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
726
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
726
+ throw await de_ValidationExceptionRes(parsedOutput, context);
727
727
  default:
728
728
  const parsedBody = parsedOutput.body;
729
729
  throwDefaultError({
@@ -734,9 +734,9 @@ const deserializeAws_restJson1CreateCrossAccountAuthorizationCommandError = asyn
734
734
  });
735
735
  }
736
736
  };
737
- export const deserializeAws_restJson1CreateReadinessCheckCommand = async (output, context) => {
737
+ export const de_CreateReadinessCheckCommand = async (output, context) => {
738
738
  if (output.statusCode !== 200 && output.statusCode >= 300) {
739
- return deserializeAws_restJson1CreateReadinessCheckCommandError(output, context);
739
+ return de_CreateReadinessCheckCommandError(output, context);
740
740
  }
741
741
  const contents = map({
742
742
  $metadata: deserializeMetadata(output),
@@ -752,11 +752,11 @@ export const deserializeAws_restJson1CreateReadinessCheckCommand = async (output
752
752
  contents.ResourceSet = __expectString(data.resourceSet);
753
753
  }
754
754
  if (data.tags != null) {
755
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
755
+ contents.Tags = de_Tags(data.tags, context);
756
756
  }
757
757
  return contents;
758
758
  };
759
- const deserializeAws_restJson1CreateReadinessCheckCommandError = async (output, context) => {
759
+ const de_CreateReadinessCheckCommandError = async (output, context) => {
760
760
  const parsedOutput = {
761
761
  ...output,
762
762
  body: await parseErrorBody(output.body, context),
@@ -765,19 +765,19 @@ const deserializeAws_restJson1CreateReadinessCheckCommandError = async (output,
765
765
  switch (errorCode) {
766
766
  case "AccessDeniedException":
767
767
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
768
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
768
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
769
769
  case "ConflictException":
770
770
  case "com.amazonaws.route53recoveryreadiness#ConflictException":
771
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
771
+ throw await de_ConflictExceptionRes(parsedOutput, context);
772
772
  case "InternalServerException":
773
773
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
774
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
774
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
775
775
  case "ThrottlingException":
776
776
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
777
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
777
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
778
778
  case "ValidationException":
779
779
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
780
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
780
+ throw await de_ValidationExceptionRes(parsedOutput, context);
781
781
  default:
782
782
  const parsedBody = parsedOutput.body;
783
783
  throwDefaultError({
@@ -788,16 +788,16 @@ const deserializeAws_restJson1CreateReadinessCheckCommandError = async (output,
788
788
  });
789
789
  }
790
790
  };
791
- export const deserializeAws_restJson1CreateRecoveryGroupCommand = async (output, context) => {
791
+ export const de_CreateRecoveryGroupCommand = async (output, context) => {
792
792
  if (output.statusCode !== 200 && output.statusCode >= 300) {
793
- return deserializeAws_restJson1CreateRecoveryGroupCommandError(output, context);
793
+ return de_CreateRecoveryGroupCommandError(output, context);
794
794
  }
795
795
  const contents = map({
796
796
  $metadata: deserializeMetadata(output),
797
797
  });
798
798
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
799
799
  if (data.cells != null) {
800
- contents.Cells = deserializeAws_restJson1__listOf__string(data.cells, context);
800
+ contents.Cells = de___listOf__string(data.cells, context);
801
801
  }
802
802
  if (data.recoveryGroupArn != null) {
803
803
  contents.RecoveryGroupArn = __expectString(data.recoveryGroupArn);
@@ -806,11 +806,11 @@ export const deserializeAws_restJson1CreateRecoveryGroupCommand = async (output,
806
806
  contents.RecoveryGroupName = __expectString(data.recoveryGroupName);
807
807
  }
808
808
  if (data.tags != null) {
809
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
809
+ contents.Tags = de_Tags(data.tags, context);
810
810
  }
811
811
  return contents;
812
812
  };
813
- const deserializeAws_restJson1CreateRecoveryGroupCommandError = async (output, context) => {
813
+ const de_CreateRecoveryGroupCommandError = async (output, context) => {
814
814
  const parsedOutput = {
815
815
  ...output,
816
816
  body: await parseErrorBody(output.body, context),
@@ -819,19 +819,19 @@ const deserializeAws_restJson1CreateRecoveryGroupCommandError = async (output, c
819
819
  switch (errorCode) {
820
820
  case "AccessDeniedException":
821
821
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
822
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
822
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
823
823
  case "ConflictException":
824
824
  case "com.amazonaws.route53recoveryreadiness#ConflictException":
825
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
825
+ throw await de_ConflictExceptionRes(parsedOutput, context);
826
826
  case "InternalServerException":
827
827
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
828
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
828
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
829
829
  case "ThrottlingException":
830
830
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
831
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
831
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
832
832
  case "ValidationException":
833
833
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
834
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
834
+ throw await de_ValidationExceptionRes(parsedOutput, context);
835
835
  default:
836
836
  const parsedBody = parsedOutput.body;
837
837
  throwDefaultError({
@@ -842,9 +842,9 @@ const deserializeAws_restJson1CreateRecoveryGroupCommandError = async (output, c
842
842
  });
843
843
  }
844
844
  };
845
- export const deserializeAws_restJson1CreateResourceSetCommand = async (output, context) => {
845
+ export const de_CreateResourceSetCommand = async (output, context) => {
846
846
  if (output.statusCode !== 200 && output.statusCode >= 300) {
847
- return deserializeAws_restJson1CreateResourceSetCommandError(output, context);
847
+ return de_CreateResourceSetCommandError(output, context);
848
848
  }
849
849
  const contents = map({
850
850
  $metadata: deserializeMetadata(output),
@@ -860,14 +860,14 @@ export const deserializeAws_restJson1CreateResourceSetCommand = async (output, c
860
860
  contents.ResourceSetType = __expectString(data.resourceSetType);
861
861
  }
862
862
  if (data.resources != null) {
863
- contents.Resources = deserializeAws_restJson1__listOfResource(data.resources, context);
863
+ contents.Resources = de___listOfResource(data.resources, context);
864
864
  }
865
865
  if (data.tags != null) {
866
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
866
+ contents.Tags = de_Tags(data.tags, context);
867
867
  }
868
868
  return contents;
869
869
  };
870
- const deserializeAws_restJson1CreateResourceSetCommandError = async (output, context) => {
870
+ const de_CreateResourceSetCommandError = async (output, context) => {
871
871
  const parsedOutput = {
872
872
  ...output,
873
873
  body: await parseErrorBody(output.body, context),
@@ -876,19 +876,19 @@ const deserializeAws_restJson1CreateResourceSetCommandError = async (output, con
876
876
  switch (errorCode) {
877
877
  case "AccessDeniedException":
878
878
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
879
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
879
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
880
880
  case "ConflictException":
881
881
  case "com.amazonaws.route53recoveryreadiness#ConflictException":
882
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
882
+ throw await de_ConflictExceptionRes(parsedOutput, context);
883
883
  case "InternalServerException":
884
884
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
885
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
885
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
886
886
  case "ThrottlingException":
887
887
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
888
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
888
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
889
889
  case "ValidationException":
890
890
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
891
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
891
+ throw await de_ValidationExceptionRes(parsedOutput, context);
892
892
  default:
893
893
  const parsedBody = parsedOutput.body;
894
894
  throwDefaultError({
@@ -899,9 +899,9 @@ const deserializeAws_restJson1CreateResourceSetCommandError = async (output, con
899
899
  });
900
900
  }
901
901
  };
902
- export const deserializeAws_restJson1DeleteCellCommand = async (output, context) => {
902
+ export const de_DeleteCellCommand = async (output, context) => {
903
903
  if (output.statusCode !== 204 && output.statusCode >= 300) {
904
- return deserializeAws_restJson1DeleteCellCommandError(output, context);
904
+ return de_DeleteCellCommandError(output, context);
905
905
  }
906
906
  const contents = map({
907
907
  $metadata: deserializeMetadata(output),
@@ -909,7 +909,7 @@ export const deserializeAws_restJson1DeleteCellCommand = async (output, context)
909
909
  await collectBody(output.body, context);
910
910
  return contents;
911
911
  };
912
- const deserializeAws_restJson1DeleteCellCommandError = async (output, context) => {
912
+ const de_DeleteCellCommandError = async (output, context) => {
913
913
  const parsedOutput = {
914
914
  ...output,
915
915
  body: await parseErrorBody(output.body, context),
@@ -918,19 +918,19 @@ const deserializeAws_restJson1DeleteCellCommandError = async (output, context) =
918
918
  switch (errorCode) {
919
919
  case "AccessDeniedException":
920
920
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
921
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
921
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
922
922
  case "InternalServerException":
923
923
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
924
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
924
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
925
925
  case "ResourceNotFoundException":
926
926
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
927
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
927
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
928
928
  case "ThrottlingException":
929
929
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
930
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
930
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
931
931
  case "ValidationException":
932
932
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
933
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
933
+ throw await de_ValidationExceptionRes(parsedOutput, context);
934
934
  default:
935
935
  const parsedBody = parsedOutput.body;
936
936
  throwDefaultError({
@@ -941,9 +941,9 @@ const deserializeAws_restJson1DeleteCellCommandError = async (output, context) =
941
941
  });
942
942
  }
943
943
  };
944
- export const deserializeAws_restJson1DeleteCrossAccountAuthorizationCommand = async (output, context) => {
944
+ export const de_DeleteCrossAccountAuthorizationCommand = async (output, context) => {
945
945
  if (output.statusCode !== 200 && output.statusCode >= 300) {
946
- return deserializeAws_restJson1DeleteCrossAccountAuthorizationCommandError(output, context);
946
+ return de_DeleteCrossAccountAuthorizationCommandError(output, context);
947
947
  }
948
948
  const contents = map({
949
949
  $metadata: deserializeMetadata(output),
@@ -951,7 +951,7 @@ export const deserializeAws_restJson1DeleteCrossAccountAuthorizationCommand = as
951
951
  await collectBody(output.body, context);
952
952
  return contents;
953
953
  };
954
- const deserializeAws_restJson1DeleteCrossAccountAuthorizationCommandError = async (output, context) => {
954
+ const de_DeleteCrossAccountAuthorizationCommandError = async (output, context) => {
955
955
  const parsedOutput = {
956
956
  ...output,
957
957
  body: await parseErrorBody(output.body, context),
@@ -960,16 +960,16 @@ const deserializeAws_restJson1DeleteCrossAccountAuthorizationCommandError = asyn
960
960
  switch (errorCode) {
961
961
  case "AccessDeniedException":
962
962
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
963
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
963
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
964
964
  case "InternalServerException":
965
965
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
966
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
966
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
967
967
  case "ThrottlingException":
968
968
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
969
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
969
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
970
970
  case "ValidationException":
971
971
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
972
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
972
+ throw await de_ValidationExceptionRes(parsedOutput, context);
973
973
  default:
974
974
  const parsedBody = parsedOutput.body;
975
975
  throwDefaultError({
@@ -980,9 +980,9 @@ const deserializeAws_restJson1DeleteCrossAccountAuthorizationCommandError = asyn
980
980
  });
981
981
  }
982
982
  };
983
- export const deserializeAws_restJson1DeleteReadinessCheckCommand = async (output, context) => {
983
+ export const de_DeleteReadinessCheckCommand = async (output, context) => {
984
984
  if (output.statusCode !== 204 && output.statusCode >= 300) {
985
- return deserializeAws_restJson1DeleteReadinessCheckCommandError(output, context);
985
+ return de_DeleteReadinessCheckCommandError(output, context);
986
986
  }
987
987
  const contents = map({
988
988
  $metadata: deserializeMetadata(output),
@@ -990,7 +990,7 @@ export const deserializeAws_restJson1DeleteReadinessCheckCommand = async (output
990
990
  await collectBody(output.body, context);
991
991
  return contents;
992
992
  };
993
- const deserializeAws_restJson1DeleteReadinessCheckCommandError = async (output, context) => {
993
+ const de_DeleteReadinessCheckCommandError = async (output, context) => {
994
994
  const parsedOutput = {
995
995
  ...output,
996
996
  body: await parseErrorBody(output.body, context),
@@ -999,19 +999,19 @@ const deserializeAws_restJson1DeleteReadinessCheckCommandError = async (output,
999
999
  switch (errorCode) {
1000
1000
  case "AccessDeniedException":
1001
1001
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1002
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1002
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1003
1003
  case "InternalServerException":
1004
1004
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1005
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1005
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1006
1006
  case "ResourceNotFoundException":
1007
1007
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1008
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1008
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1009
1009
  case "ThrottlingException":
1010
1010
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1011
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1011
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1012
1012
  case "ValidationException":
1013
1013
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1014
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1014
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1015
1015
  default:
1016
1016
  const parsedBody = parsedOutput.body;
1017
1017
  throwDefaultError({
@@ -1022,9 +1022,9 @@ const deserializeAws_restJson1DeleteReadinessCheckCommandError = async (output,
1022
1022
  });
1023
1023
  }
1024
1024
  };
1025
- export const deserializeAws_restJson1DeleteRecoveryGroupCommand = async (output, context) => {
1025
+ export const de_DeleteRecoveryGroupCommand = async (output, context) => {
1026
1026
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1027
- return deserializeAws_restJson1DeleteRecoveryGroupCommandError(output, context);
1027
+ return de_DeleteRecoveryGroupCommandError(output, context);
1028
1028
  }
1029
1029
  const contents = map({
1030
1030
  $metadata: deserializeMetadata(output),
@@ -1032,7 +1032,7 @@ export const deserializeAws_restJson1DeleteRecoveryGroupCommand = async (output,
1032
1032
  await collectBody(output.body, context);
1033
1033
  return contents;
1034
1034
  };
1035
- const deserializeAws_restJson1DeleteRecoveryGroupCommandError = async (output, context) => {
1035
+ const de_DeleteRecoveryGroupCommandError = async (output, context) => {
1036
1036
  const parsedOutput = {
1037
1037
  ...output,
1038
1038
  body: await parseErrorBody(output.body, context),
@@ -1041,19 +1041,19 @@ const deserializeAws_restJson1DeleteRecoveryGroupCommandError = async (output, c
1041
1041
  switch (errorCode) {
1042
1042
  case "AccessDeniedException":
1043
1043
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1044
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1044
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1045
1045
  case "InternalServerException":
1046
1046
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1047
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1047
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1048
1048
  case "ResourceNotFoundException":
1049
1049
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1050
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1050
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1051
1051
  case "ThrottlingException":
1052
1052
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1053
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1053
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1054
1054
  case "ValidationException":
1055
1055
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1056
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1056
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1057
1057
  default:
1058
1058
  const parsedBody = parsedOutput.body;
1059
1059
  throwDefaultError({
@@ -1064,9 +1064,9 @@ const deserializeAws_restJson1DeleteRecoveryGroupCommandError = async (output, c
1064
1064
  });
1065
1065
  }
1066
1066
  };
1067
- export const deserializeAws_restJson1DeleteResourceSetCommand = async (output, context) => {
1067
+ export const de_DeleteResourceSetCommand = async (output, context) => {
1068
1068
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1069
- return deserializeAws_restJson1DeleteResourceSetCommandError(output, context);
1069
+ return de_DeleteResourceSetCommandError(output, context);
1070
1070
  }
1071
1071
  const contents = map({
1072
1072
  $metadata: deserializeMetadata(output),
@@ -1074,7 +1074,7 @@ export const deserializeAws_restJson1DeleteResourceSetCommand = async (output, c
1074
1074
  await collectBody(output.body, context);
1075
1075
  return contents;
1076
1076
  };
1077
- const deserializeAws_restJson1DeleteResourceSetCommandError = async (output, context) => {
1077
+ const de_DeleteResourceSetCommandError = async (output, context) => {
1078
1078
  const parsedOutput = {
1079
1079
  ...output,
1080
1080
  body: await parseErrorBody(output.body, context),
@@ -1083,19 +1083,19 @@ const deserializeAws_restJson1DeleteResourceSetCommandError = async (output, con
1083
1083
  switch (errorCode) {
1084
1084
  case "AccessDeniedException":
1085
1085
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1086
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1086
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1087
1087
  case "InternalServerException":
1088
1088
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1089
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1089
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1090
1090
  case "ResourceNotFoundException":
1091
1091
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1092
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1092
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1093
1093
  case "ThrottlingException":
1094
1094
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1095
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1095
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1096
1096
  case "ValidationException":
1097
1097
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1098
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1098
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1099
1099
  default:
1100
1100
  const parsedBody = parsedOutput.body;
1101
1101
  throwDefaultError({
@@ -1106,9 +1106,9 @@ const deserializeAws_restJson1DeleteResourceSetCommandError = async (output, con
1106
1106
  });
1107
1107
  }
1108
1108
  };
1109
- export const deserializeAws_restJson1GetArchitectureRecommendationsCommand = async (output, context) => {
1109
+ export const de_GetArchitectureRecommendationsCommand = async (output, context) => {
1110
1110
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1111
- return deserializeAws_restJson1GetArchitectureRecommendationsCommandError(output, context);
1111
+ return de_GetArchitectureRecommendationsCommandError(output, context);
1112
1112
  }
1113
1113
  const contents = map({
1114
1114
  $metadata: deserializeMetadata(output),
@@ -1121,11 +1121,11 @@ export const deserializeAws_restJson1GetArchitectureRecommendationsCommand = asy
1121
1121
  contents.NextToken = __expectString(data.nextToken);
1122
1122
  }
1123
1123
  if (data.recommendations != null) {
1124
- contents.Recommendations = deserializeAws_restJson1__listOfRecommendation(data.recommendations, context);
1124
+ contents.Recommendations = de___listOfRecommendation(data.recommendations, context);
1125
1125
  }
1126
1126
  return contents;
1127
1127
  };
1128
- const deserializeAws_restJson1GetArchitectureRecommendationsCommandError = async (output, context) => {
1128
+ const de_GetArchitectureRecommendationsCommandError = async (output, context) => {
1129
1129
  const parsedOutput = {
1130
1130
  ...output,
1131
1131
  body: await parseErrorBody(output.body, context),
@@ -1134,19 +1134,19 @@ const deserializeAws_restJson1GetArchitectureRecommendationsCommandError = async
1134
1134
  switch (errorCode) {
1135
1135
  case "AccessDeniedException":
1136
1136
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1137
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1137
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1138
1138
  case "InternalServerException":
1139
1139
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1140
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1140
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1141
1141
  case "ResourceNotFoundException":
1142
1142
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1143
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1143
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1144
1144
  case "ThrottlingException":
1145
1145
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1146
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1146
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1147
1147
  case "ValidationException":
1148
1148
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1149
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1149
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1150
1150
  default:
1151
1151
  const parsedBody = parsedOutput.body;
1152
1152
  throwDefaultError({
@@ -1157,9 +1157,9 @@ const deserializeAws_restJson1GetArchitectureRecommendationsCommandError = async
1157
1157
  });
1158
1158
  }
1159
1159
  };
1160
- export const deserializeAws_restJson1GetCellCommand = async (output, context) => {
1160
+ export const de_GetCellCommand = async (output, context) => {
1161
1161
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1162
- return deserializeAws_restJson1GetCellCommandError(output, context);
1162
+ return de_GetCellCommandError(output, context);
1163
1163
  }
1164
1164
  const contents = map({
1165
1165
  $metadata: deserializeMetadata(output),
@@ -1172,17 +1172,17 @@ export const deserializeAws_restJson1GetCellCommand = async (output, context) =>
1172
1172
  contents.CellName = __expectString(data.cellName);
1173
1173
  }
1174
1174
  if (data.cells != null) {
1175
- contents.Cells = deserializeAws_restJson1__listOf__string(data.cells, context);
1175
+ contents.Cells = de___listOf__string(data.cells, context);
1176
1176
  }
1177
1177
  if (data.parentReadinessScopes != null) {
1178
- contents.ParentReadinessScopes = deserializeAws_restJson1__listOf__string(data.parentReadinessScopes, context);
1178
+ contents.ParentReadinessScopes = de___listOf__string(data.parentReadinessScopes, context);
1179
1179
  }
1180
1180
  if (data.tags != null) {
1181
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1181
+ contents.Tags = de_Tags(data.tags, context);
1182
1182
  }
1183
1183
  return contents;
1184
1184
  };
1185
- const deserializeAws_restJson1GetCellCommandError = async (output, context) => {
1185
+ const de_GetCellCommandError = async (output, context) => {
1186
1186
  const parsedOutput = {
1187
1187
  ...output,
1188
1188
  body: await parseErrorBody(output.body, context),
@@ -1191,19 +1191,19 @@ const deserializeAws_restJson1GetCellCommandError = async (output, context) => {
1191
1191
  switch (errorCode) {
1192
1192
  case "AccessDeniedException":
1193
1193
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1194
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1194
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1195
1195
  case "InternalServerException":
1196
1196
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1197
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1197
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1198
1198
  case "ResourceNotFoundException":
1199
1199
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1200
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1200
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1201
1201
  case "ThrottlingException":
1202
1202
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1203
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1203
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1204
1204
  case "ValidationException":
1205
1205
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1206
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1206
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1207
1207
  default:
1208
1208
  const parsedBody = parsedOutput.body;
1209
1209
  throwDefaultError({
@@ -1214,9 +1214,9 @@ const deserializeAws_restJson1GetCellCommandError = async (output, context) => {
1214
1214
  });
1215
1215
  }
1216
1216
  };
1217
- export const deserializeAws_restJson1GetCellReadinessSummaryCommand = async (output, context) => {
1217
+ export const de_GetCellReadinessSummaryCommand = async (output, context) => {
1218
1218
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1219
- return deserializeAws_restJson1GetCellReadinessSummaryCommandError(output, context);
1219
+ return de_GetCellReadinessSummaryCommandError(output, context);
1220
1220
  }
1221
1221
  const contents = map({
1222
1222
  $metadata: deserializeMetadata(output),
@@ -1229,11 +1229,11 @@ export const deserializeAws_restJson1GetCellReadinessSummaryCommand = async (out
1229
1229
  contents.Readiness = __expectString(data.readiness);
1230
1230
  }
1231
1231
  if (data.readinessChecks != null) {
1232
- contents.ReadinessChecks = deserializeAws_restJson1__listOfReadinessCheckSummary(data.readinessChecks, context);
1232
+ contents.ReadinessChecks = de___listOfReadinessCheckSummary(data.readinessChecks, context);
1233
1233
  }
1234
1234
  return contents;
1235
1235
  };
1236
- const deserializeAws_restJson1GetCellReadinessSummaryCommandError = async (output, context) => {
1236
+ const de_GetCellReadinessSummaryCommandError = async (output, context) => {
1237
1237
  const parsedOutput = {
1238
1238
  ...output,
1239
1239
  body: await parseErrorBody(output.body, context),
@@ -1242,19 +1242,19 @@ const deserializeAws_restJson1GetCellReadinessSummaryCommandError = async (outpu
1242
1242
  switch (errorCode) {
1243
1243
  case "AccessDeniedException":
1244
1244
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1245
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1245
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1246
1246
  case "InternalServerException":
1247
1247
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1248
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1248
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1249
1249
  case "ResourceNotFoundException":
1250
1250
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1251
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1251
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1252
1252
  case "ThrottlingException":
1253
1253
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1254
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1254
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1255
1255
  case "ValidationException":
1256
1256
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1257
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1257
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1258
1258
  default:
1259
1259
  const parsedBody = parsedOutput.body;
1260
1260
  throwDefaultError({
@@ -1265,9 +1265,9 @@ const deserializeAws_restJson1GetCellReadinessSummaryCommandError = async (outpu
1265
1265
  });
1266
1266
  }
1267
1267
  };
1268
- export const deserializeAws_restJson1GetReadinessCheckCommand = async (output, context) => {
1268
+ export const de_GetReadinessCheckCommand = async (output, context) => {
1269
1269
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1270
- return deserializeAws_restJson1GetReadinessCheckCommandError(output, context);
1270
+ return de_GetReadinessCheckCommandError(output, context);
1271
1271
  }
1272
1272
  const contents = map({
1273
1273
  $metadata: deserializeMetadata(output),
@@ -1283,11 +1283,11 @@ export const deserializeAws_restJson1GetReadinessCheckCommand = async (output, c
1283
1283
  contents.ResourceSet = __expectString(data.resourceSet);
1284
1284
  }
1285
1285
  if (data.tags != null) {
1286
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1286
+ contents.Tags = de_Tags(data.tags, context);
1287
1287
  }
1288
1288
  return contents;
1289
1289
  };
1290
- const deserializeAws_restJson1GetReadinessCheckCommandError = async (output, context) => {
1290
+ const de_GetReadinessCheckCommandError = async (output, context) => {
1291
1291
  const parsedOutput = {
1292
1292
  ...output,
1293
1293
  body: await parseErrorBody(output.body, context),
@@ -1296,19 +1296,19 @@ const deserializeAws_restJson1GetReadinessCheckCommandError = async (output, con
1296
1296
  switch (errorCode) {
1297
1297
  case "AccessDeniedException":
1298
1298
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1299
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1299
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1300
1300
  case "InternalServerException":
1301
1301
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1302
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1302
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1303
1303
  case "ResourceNotFoundException":
1304
1304
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1305
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1305
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1306
1306
  case "ThrottlingException":
1307
1307
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1308
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1308
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1309
1309
  case "ValidationException":
1310
1310
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1311
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1311
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1312
1312
  default:
1313
1313
  const parsedBody = parsedOutput.body;
1314
1314
  throwDefaultError({
@@ -1319,9 +1319,9 @@ const deserializeAws_restJson1GetReadinessCheckCommandError = async (output, con
1319
1319
  });
1320
1320
  }
1321
1321
  };
1322
- export const deserializeAws_restJson1GetReadinessCheckResourceStatusCommand = async (output, context) => {
1322
+ export const de_GetReadinessCheckResourceStatusCommand = async (output, context) => {
1323
1323
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1324
- return deserializeAws_restJson1GetReadinessCheckResourceStatusCommandError(output, context);
1324
+ return de_GetReadinessCheckResourceStatusCommandError(output, context);
1325
1325
  }
1326
1326
  const contents = map({
1327
1327
  $metadata: deserializeMetadata(output),
@@ -1334,11 +1334,11 @@ export const deserializeAws_restJson1GetReadinessCheckResourceStatusCommand = as
1334
1334
  contents.Readiness = __expectString(data.readiness);
1335
1335
  }
1336
1336
  if (data.rules != null) {
1337
- contents.Rules = deserializeAws_restJson1__listOfRuleResult(data.rules, context);
1337
+ contents.Rules = de___listOfRuleResult(data.rules, context);
1338
1338
  }
1339
1339
  return contents;
1340
1340
  };
1341
- const deserializeAws_restJson1GetReadinessCheckResourceStatusCommandError = async (output, context) => {
1341
+ const de_GetReadinessCheckResourceStatusCommandError = async (output, context) => {
1342
1342
  const parsedOutput = {
1343
1343
  ...output,
1344
1344
  body: await parseErrorBody(output.body, context),
@@ -1347,19 +1347,19 @@ const deserializeAws_restJson1GetReadinessCheckResourceStatusCommandError = asyn
1347
1347
  switch (errorCode) {
1348
1348
  case "AccessDeniedException":
1349
1349
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1350
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1350
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1351
1351
  case "InternalServerException":
1352
1352
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1353
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1353
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1354
1354
  case "ResourceNotFoundException":
1355
1355
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1356
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1356
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1357
1357
  case "ThrottlingException":
1358
1358
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1359
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1359
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1360
1360
  case "ValidationException":
1361
1361
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1362
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1362
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1363
1363
  default:
1364
1364
  const parsedBody = parsedOutput.body;
1365
1365
  throwDefaultError({
@@ -1370,16 +1370,16 @@ const deserializeAws_restJson1GetReadinessCheckResourceStatusCommandError = asyn
1370
1370
  });
1371
1371
  }
1372
1372
  };
1373
- export const deserializeAws_restJson1GetReadinessCheckStatusCommand = async (output, context) => {
1373
+ export const de_GetReadinessCheckStatusCommand = async (output, context) => {
1374
1374
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1375
- return deserializeAws_restJson1GetReadinessCheckStatusCommandError(output, context);
1375
+ return de_GetReadinessCheckStatusCommandError(output, context);
1376
1376
  }
1377
1377
  const contents = map({
1378
1378
  $metadata: deserializeMetadata(output),
1379
1379
  });
1380
1380
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1381
1381
  if (data.messages != null) {
1382
- contents.Messages = deserializeAws_restJson1__listOfMessage(data.messages, context);
1382
+ contents.Messages = de___listOfMessage(data.messages, context);
1383
1383
  }
1384
1384
  if (data.nextToken != null) {
1385
1385
  contents.NextToken = __expectString(data.nextToken);
@@ -1388,11 +1388,11 @@ export const deserializeAws_restJson1GetReadinessCheckStatusCommand = async (out
1388
1388
  contents.Readiness = __expectString(data.readiness);
1389
1389
  }
1390
1390
  if (data.resources != null) {
1391
- contents.Resources = deserializeAws_restJson1__listOfResourceResult(data.resources, context);
1391
+ contents.Resources = de___listOfResourceResult(data.resources, context);
1392
1392
  }
1393
1393
  return contents;
1394
1394
  };
1395
- const deserializeAws_restJson1GetReadinessCheckStatusCommandError = async (output, context) => {
1395
+ const de_GetReadinessCheckStatusCommandError = async (output, context) => {
1396
1396
  const parsedOutput = {
1397
1397
  ...output,
1398
1398
  body: await parseErrorBody(output.body, context),
@@ -1401,19 +1401,19 @@ const deserializeAws_restJson1GetReadinessCheckStatusCommandError = async (outpu
1401
1401
  switch (errorCode) {
1402
1402
  case "AccessDeniedException":
1403
1403
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1404
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1404
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1405
1405
  case "InternalServerException":
1406
1406
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1407
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1407
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1408
1408
  case "ResourceNotFoundException":
1409
1409
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1410
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1410
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1411
1411
  case "ThrottlingException":
1412
1412
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1413
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1413
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1414
1414
  case "ValidationException":
1415
1415
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1416
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1416
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1417
1417
  default:
1418
1418
  const parsedBody = parsedOutput.body;
1419
1419
  throwDefaultError({
@@ -1424,16 +1424,16 @@ const deserializeAws_restJson1GetReadinessCheckStatusCommandError = async (outpu
1424
1424
  });
1425
1425
  }
1426
1426
  };
1427
- export const deserializeAws_restJson1GetRecoveryGroupCommand = async (output, context) => {
1427
+ export const de_GetRecoveryGroupCommand = async (output, context) => {
1428
1428
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1429
- return deserializeAws_restJson1GetRecoveryGroupCommandError(output, context);
1429
+ return de_GetRecoveryGroupCommandError(output, context);
1430
1430
  }
1431
1431
  const contents = map({
1432
1432
  $metadata: deserializeMetadata(output),
1433
1433
  });
1434
1434
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1435
1435
  if (data.cells != null) {
1436
- contents.Cells = deserializeAws_restJson1__listOf__string(data.cells, context);
1436
+ contents.Cells = de___listOf__string(data.cells, context);
1437
1437
  }
1438
1438
  if (data.recoveryGroupArn != null) {
1439
1439
  contents.RecoveryGroupArn = __expectString(data.recoveryGroupArn);
@@ -1442,11 +1442,11 @@ export const deserializeAws_restJson1GetRecoveryGroupCommand = async (output, co
1442
1442
  contents.RecoveryGroupName = __expectString(data.recoveryGroupName);
1443
1443
  }
1444
1444
  if (data.tags != null) {
1445
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1445
+ contents.Tags = de_Tags(data.tags, context);
1446
1446
  }
1447
1447
  return contents;
1448
1448
  };
1449
- const deserializeAws_restJson1GetRecoveryGroupCommandError = async (output, context) => {
1449
+ const de_GetRecoveryGroupCommandError = async (output, context) => {
1450
1450
  const parsedOutput = {
1451
1451
  ...output,
1452
1452
  body: await parseErrorBody(output.body, context),
@@ -1455,19 +1455,19 @@ const deserializeAws_restJson1GetRecoveryGroupCommandError = async (output, cont
1455
1455
  switch (errorCode) {
1456
1456
  case "AccessDeniedException":
1457
1457
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1458
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1458
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1459
1459
  case "InternalServerException":
1460
1460
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1461
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1461
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1462
1462
  case "ResourceNotFoundException":
1463
1463
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1464
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1464
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1465
1465
  case "ThrottlingException":
1466
1466
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1467
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1467
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1468
1468
  case "ValidationException":
1469
1469
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1470
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1470
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1471
1471
  default:
1472
1472
  const parsedBody = parsedOutput.body;
1473
1473
  throwDefaultError({
@@ -1478,9 +1478,9 @@ const deserializeAws_restJson1GetRecoveryGroupCommandError = async (output, cont
1478
1478
  });
1479
1479
  }
1480
1480
  };
1481
- export const deserializeAws_restJson1GetRecoveryGroupReadinessSummaryCommand = async (output, context) => {
1481
+ export const de_GetRecoveryGroupReadinessSummaryCommand = async (output, context) => {
1482
1482
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1483
- return deserializeAws_restJson1GetRecoveryGroupReadinessSummaryCommandError(output, context);
1483
+ return de_GetRecoveryGroupReadinessSummaryCommandError(output, context);
1484
1484
  }
1485
1485
  const contents = map({
1486
1486
  $metadata: deserializeMetadata(output),
@@ -1493,11 +1493,11 @@ export const deserializeAws_restJson1GetRecoveryGroupReadinessSummaryCommand = a
1493
1493
  contents.Readiness = __expectString(data.readiness);
1494
1494
  }
1495
1495
  if (data.readinessChecks != null) {
1496
- contents.ReadinessChecks = deserializeAws_restJson1__listOfReadinessCheckSummary(data.readinessChecks, context);
1496
+ contents.ReadinessChecks = de___listOfReadinessCheckSummary(data.readinessChecks, context);
1497
1497
  }
1498
1498
  return contents;
1499
1499
  };
1500
- const deserializeAws_restJson1GetRecoveryGroupReadinessSummaryCommandError = async (output, context) => {
1500
+ const de_GetRecoveryGroupReadinessSummaryCommandError = async (output, context) => {
1501
1501
  const parsedOutput = {
1502
1502
  ...output,
1503
1503
  body: await parseErrorBody(output.body, context),
@@ -1506,19 +1506,19 @@ const deserializeAws_restJson1GetRecoveryGroupReadinessSummaryCommandError = asy
1506
1506
  switch (errorCode) {
1507
1507
  case "AccessDeniedException":
1508
1508
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1509
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1509
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1510
1510
  case "InternalServerException":
1511
1511
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1512
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1512
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1513
1513
  case "ResourceNotFoundException":
1514
1514
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1515
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1515
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1516
1516
  case "ThrottlingException":
1517
1517
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1518
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1518
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1519
1519
  case "ValidationException":
1520
1520
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1521
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1521
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1522
1522
  default:
1523
1523
  const parsedBody = parsedOutput.body;
1524
1524
  throwDefaultError({
@@ -1529,9 +1529,9 @@ const deserializeAws_restJson1GetRecoveryGroupReadinessSummaryCommandError = asy
1529
1529
  });
1530
1530
  }
1531
1531
  };
1532
- export const deserializeAws_restJson1GetResourceSetCommand = async (output, context) => {
1532
+ export const de_GetResourceSetCommand = async (output, context) => {
1533
1533
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1534
- return deserializeAws_restJson1GetResourceSetCommandError(output, context);
1534
+ return de_GetResourceSetCommandError(output, context);
1535
1535
  }
1536
1536
  const contents = map({
1537
1537
  $metadata: deserializeMetadata(output),
@@ -1547,14 +1547,14 @@ export const deserializeAws_restJson1GetResourceSetCommand = async (output, cont
1547
1547
  contents.ResourceSetType = __expectString(data.resourceSetType);
1548
1548
  }
1549
1549
  if (data.resources != null) {
1550
- contents.Resources = deserializeAws_restJson1__listOfResource(data.resources, context);
1550
+ contents.Resources = de___listOfResource(data.resources, context);
1551
1551
  }
1552
1552
  if (data.tags != null) {
1553
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1553
+ contents.Tags = de_Tags(data.tags, context);
1554
1554
  }
1555
1555
  return contents;
1556
1556
  };
1557
- const deserializeAws_restJson1GetResourceSetCommandError = async (output, context) => {
1557
+ const de_GetResourceSetCommandError = async (output, context) => {
1558
1558
  const parsedOutput = {
1559
1559
  ...output,
1560
1560
  body: await parseErrorBody(output.body, context),
@@ -1563,19 +1563,19 @@ const deserializeAws_restJson1GetResourceSetCommandError = async (output, contex
1563
1563
  switch (errorCode) {
1564
1564
  case "AccessDeniedException":
1565
1565
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1566
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1566
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1567
1567
  case "InternalServerException":
1568
1568
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1569
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1569
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1570
1570
  case "ResourceNotFoundException":
1571
1571
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1572
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1572
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1573
1573
  case "ThrottlingException":
1574
1574
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1575
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1575
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1576
1576
  case "ValidationException":
1577
1577
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1578
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1578
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1579
1579
  default:
1580
1580
  const parsedBody = parsedOutput.body;
1581
1581
  throwDefaultError({
@@ -1586,23 +1586,23 @@ const deserializeAws_restJson1GetResourceSetCommandError = async (output, contex
1586
1586
  });
1587
1587
  }
1588
1588
  };
1589
- export const deserializeAws_restJson1ListCellsCommand = async (output, context) => {
1589
+ export const de_ListCellsCommand = async (output, context) => {
1590
1590
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1591
- return deserializeAws_restJson1ListCellsCommandError(output, context);
1591
+ return de_ListCellsCommandError(output, context);
1592
1592
  }
1593
1593
  const contents = map({
1594
1594
  $metadata: deserializeMetadata(output),
1595
1595
  });
1596
1596
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1597
1597
  if (data.cells != null) {
1598
- contents.Cells = deserializeAws_restJson1__listOfCellOutput(data.cells, context);
1598
+ contents.Cells = de___listOfCellOutput(data.cells, context);
1599
1599
  }
1600
1600
  if (data.nextToken != null) {
1601
1601
  contents.NextToken = __expectString(data.nextToken);
1602
1602
  }
1603
1603
  return contents;
1604
1604
  };
1605
- const deserializeAws_restJson1ListCellsCommandError = async (output, context) => {
1605
+ const de_ListCellsCommandError = async (output, context) => {
1606
1606
  const parsedOutput = {
1607
1607
  ...output,
1608
1608
  body: await parseErrorBody(output.body, context),
@@ -1611,16 +1611,16 @@ const deserializeAws_restJson1ListCellsCommandError = async (output, context) =>
1611
1611
  switch (errorCode) {
1612
1612
  case "AccessDeniedException":
1613
1613
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1614
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1614
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1615
1615
  case "InternalServerException":
1616
1616
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1617
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1617
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1618
1618
  case "ThrottlingException":
1619
1619
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1620
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1620
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1621
1621
  case "ValidationException":
1622
1622
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1623
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1623
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1624
1624
  default:
1625
1625
  const parsedBody = parsedOutput.body;
1626
1626
  throwDefaultError({
@@ -1631,23 +1631,23 @@ const deserializeAws_restJson1ListCellsCommandError = async (output, context) =>
1631
1631
  });
1632
1632
  }
1633
1633
  };
1634
- export const deserializeAws_restJson1ListCrossAccountAuthorizationsCommand = async (output, context) => {
1634
+ export const de_ListCrossAccountAuthorizationsCommand = async (output, context) => {
1635
1635
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1636
- return deserializeAws_restJson1ListCrossAccountAuthorizationsCommandError(output, context);
1636
+ return de_ListCrossAccountAuthorizationsCommandError(output, context);
1637
1637
  }
1638
1638
  const contents = map({
1639
1639
  $metadata: deserializeMetadata(output),
1640
1640
  });
1641
1641
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1642
1642
  if (data.crossAccountAuthorizations != null) {
1643
- contents.CrossAccountAuthorizations = deserializeAws_restJson1__listOfCrossAccountAuthorization(data.crossAccountAuthorizations, context);
1643
+ contents.CrossAccountAuthorizations = de___listOfCrossAccountAuthorization(data.crossAccountAuthorizations, context);
1644
1644
  }
1645
1645
  if (data.nextToken != null) {
1646
1646
  contents.NextToken = __expectString(data.nextToken);
1647
1647
  }
1648
1648
  return contents;
1649
1649
  };
1650
- const deserializeAws_restJson1ListCrossAccountAuthorizationsCommandError = async (output, context) => {
1650
+ const de_ListCrossAccountAuthorizationsCommandError = async (output, context) => {
1651
1651
  const parsedOutput = {
1652
1652
  ...output,
1653
1653
  body: await parseErrorBody(output.body, context),
@@ -1656,16 +1656,16 @@ const deserializeAws_restJson1ListCrossAccountAuthorizationsCommandError = async
1656
1656
  switch (errorCode) {
1657
1657
  case "AccessDeniedException":
1658
1658
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1659
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1659
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1660
1660
  case "InternalServerException":
1661
1661
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1662
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1662
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1663
1663
  case "ThrottlingException":
1664
1664
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1665
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1665
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1666
1666
  case "ValidationException":
1667
1667
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1668
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1668
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1669
1669
  default:
1670
1670
  const parsedBody = parsedOutput.body;
1671
1671
  throwDefaultError({
@@ -1676,9 +1676,9 @@ const deserializeAws_restJson1ListCrossAccountAuthorizationsCommandError = async
1676
1676
  });
1677
1677
  }
1678
1678
  };
1679
- export const deserializeAws_restJson1ListReadinessChecksCommand = async (output, context) => {
1679
+ export const de_ListReadinessChecksCommand = async (output, context) => {
1680
1680
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1681
- return deserializeAws_restJson1ListReadinessChecksCommandError(output, context);
1681
+ return de_ListReadinessChecksCommandError(output, context);
1682
1682
  }
1683
1683
  const contents = map({
1684
1684
  $metadata: deserializeMetadata(output),
@@ -1688,11 +1688,11 @@ export const deserializeAws_restJson1ListReadinessChecksCommand = async (output,
1688
1688
  contents.NextToken = __expectString(data.nextToken);
1689
1689
  }
1690
1690
  if (data.readinessChecks != null) {
1691
- contents.ReadinessChecks = deserializeAws_restJson1__listOfReadinessCheckOutput(data.readinessChecks, context);
1691
+ contents.ReadinessChecks = de___listOfReadinessCheckOutput(data.readinessChecks, context);
1692
1692
  }
1693
1693
  return contents;
1694
1694
  };
1695
- const deserializeAws_restJson1ListReadinessChecksCommandError = async (output, context) => {
1695
+ const de_ListReadinessChecksCommandError = async (output, context) => {
1696
1696
  const parsedOutput = {
1697
1697
  ...output,
1698
1698
  body: await parseErrorBody(output.body, context),
@@ -1701,16 +1701,16 @@ const deserializeAws_restJson1ListReadinessChecksCommandError = async (output, c
1701
1701
  switch (errorCode) {
1702
1702
  case "AccessDeniedException":
1703
1703
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1704
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1704
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1705
1705
  case "InternalServerException":
1706
1706
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1707
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1707
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1708
1708
  case "ThrottlingException":
1709
1709
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1710
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1710
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1711
1711
  case "ValidationException":
1712
1712
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1713
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1713
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1714
1714
  default:
1715
1715
  const parsedBody = parsedOutput.body;
1716
1716
  throwDefaultError({
@@ -1721,9 +1721,9 @@ const deserializeAws_restJson1ListReadinessChecksCommandError = async (output, c
1721
1721
  });
1722
1722
  }
1723
1723
  };
1724
- export const deserializeAws_restJson1ListRecoveryGroupsCommand = async (output, context) => {
1724
+ export const de_ListRecoveryGroupsCommand = async (output, context) => {
1725
1725
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1726
- return deserializeAws_restJson1ListRecoveryGroupsCommandError(output, context);
1726
+ return de_ListRecoveryGroupsCommandError(output, context);
1727
1727
  }
1728
1728
  const contents = map({
1729
1729
  $metadata: deserializeMetadata(output),
@@ -1733,11 +1733,11 @@ export const deserializeAws_restJson1ListRecoveryGroupsCommand = async (output,
1733
1733
  contents.NextToken = __expectString(data.nextToken);
1734
1734
  }
1735
1735
  if (data.recoveryGroups != null) {
1736
- contents.RecoveryGroups = deserializeAws_restJson1__listOfRecoveryGroupOutput(data.recoveryGroups, context);
1736
+ contents.RecoveryGroups = de___listOfRecoveryGroupOutput(data.recoveryGroups, context);
1737
1737
  }
1738
1738
  return contents;
1739
1739
  };
1740
- const deserializeAws_restJson1ListRecoveryGroupsCommandError = async (output, context) => {
1740
+ const de_ListRecoveryGroupsCommandError = async (output, context) => {
1741
1741
  const parsedOutput = {
1742
1742
  ...output,
1743
1743
  body: await parseErrorBody(output.body, context),
@@ -1746,16 +1746,16 @@ const deserializeAws_restJson1ListRecoveryGroupsCommandError = async (output, co
1746
1746
  switch (errorCode) {
1747
1747
  case "AccessDeniedException":
1748
1748
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1749
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1749
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1750
1750
  case "InternalServerException":
1751
1751
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1752
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1752
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1753
1753
  case "ThrottlingException":
1754
1754
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1755
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1755
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1756
1756
  case "ValidationException":
1757
1757
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1758
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1758
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1759
1759
  default:
1760
1760
  const parsedBody = parsedOutput.body;
1761
1761
  throwDefaultError({
@@ -1766,9 +1766,9 @@ const deserializeAws_restJson1ListRecoveryGroupsCommandError = async (output, co
1766
1766
  });
1767
1767
  }
1768
1768
  };
1769
- export const deserializeAws_restJson1ListResourceSetsCommand = async (output, context) => {
1769
+ export const de_ListResourceSetsCommand = async (output, context) => {
1770
1770
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1771
- return deserializeAws_restJson1ListResourceSetsCommandError(output, context);
1771
+ return de_ListResourceSetsCommandError(output, context);
1772
1772
  }
1773
1773
  const contents = map({
1774
1774
  $metadata: deserializeMetadata(output),
@@ -1778,11 +1778,11 @@ export const deserializeAws_restJson1ListResourceSetsCommand = async (output, co
1778
1778
  contents.NextToken = __expectString(data.nextToken);
1779
1779
  }
1780
1780
  if (data.resourceSets != null) {
1781
- contents.ResourceSets = deserializeAws_restJson1__listOfResourceSetOutput(data.resourceSets, context);
1781
+ contents.ResourceSets = de___listOfResourceSetOutput(data.resourceSets, context);
1782
1782
  }
1783
1783
  return contents;
1784
1784
  };
1785
- const deserializeAws_restJson1ListResourceSetsCommandError = async (output, context) => {
1785
+ const de_ListResourceSetsCommandError = async (output, context) => {
1786
1786
  const parsedOutput = {
1787
1787
  ...output,
1788
1788
  body: await parseErrorBody(output.body, context),
@@ -1791,16 +1791,16 @@ const deserializeAws_restJson1ListResourceSetsCommandError = async (output, cont
1791
1791
  switch (errorCode) {
1792
1792
  case "AccessDeniedException":
1793
1793
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1794
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1794
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1795
1795
  case "InternalServerException":
1796
1796
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1797
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1797
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1798
1798
  case "ThrottlingException":
1799
1799
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1800
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1800
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1801
1801
  case "ValidationException":
1802
1802
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1803
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1803
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1804
1804
  default:
1805
1805
  const parsedBody = parsedOutput.body;
1806
1806
  throwDefaultError({
@@ -1811,9 +1811,9 @@ const deserializeAws_restJson1ListResourceSetsCommandError = async (output, cont
1811
1811
  });
1812
1812
  }
1813
1813
  };
1814
- export const deserializeAws_restJson1ListRulesCommand = async (output, context) => {
1814
+ export const de_ListRulesCommand = async (output, context) => {
1815
1815
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1816
- return deserializeAws_restJson1ListRulesCommandError(output, context);
1816
+ return de_ListRulesCommandError(output, context);
1817
1817
  }
1818
1818
  const contents = map({
1819
1819
  $metadata: deserializeMetadata(output),
@@ -1823,11 +1823,11 @@ export const deserializeAws_restJson1ListRulesCommand = async (output, context)
1823
1823
  contents.NextToken = __expectString(data.nextToken);
1824
1824
  }
1825
1825
  if (data.rules != null) {
1826
- contents.Rules = deserializeAws_restJson1__listOfListRulesOutput(data.rules, context);
1826
+ contents.Rules = de___listOfListRulesOutput(data.rules, context);
1827
1827
  }
1828
1828
  return contents;
1829
1829
  };
1830
- const deserializeAws_restJson1ListRulesCommandError = async (output, context) => {
1830
+ const de_ListRulesCommandError = async (output, context) => {
1831
1831
  const parsedOutput = {
1832
1832
  ...output,
1833
1833
  body: await parseErrorBody(output.body, context),
@@ -1836,16 +1836,16 @@ const deserializeAws_restJson1ListRulesCommandError = async (output, context) =>
1836
1836
  switch (errorCode) {
1837
1837
  case "AccessDeniedException":
1838
1838
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1839
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1839
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1840
1840
  case "InternalServerException":
1841
1841
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1842
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1842
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1843
1843
  case "ThrottlingException":
1844
1844
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1845
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1845
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1846
1846
  case "ValidationException":
1847
1847
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1848
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1848
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1849
1849
  default:
1850
1850
  const parsedBody = parsedOutput.body;
1851
1851
  throwDefaultError({
@@ -1856,20 +1856,20 @@ const deserializeAws_restJson1ListRulesCommandError = async (output, context) =>
1856
1856
  });
1857
1857
  }
1858
1858
  };
1859
- export const deserializeAws_restJson1ListTagsForResourcesCommand = async (output, context) => {
1859
+ export const de_ListTagsForResourcesCommand = async (output, context) => {
1860
1860
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1861
- return deserializeAws_restJson1ListTagsForResourcesCommandError(output, context);
1861
+ return de_ListTagsForResourcesCommandError(output, context);
1862
1862
  }
1863
1863
  const contents = map({
1864
1864
  $metadata: deserializeMetadata(output),
1865
1865
  });
1866
1866
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1867
1867
  if (data.tags != null) {
1868
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1868
+ contents.Tags = de_Tags(data.tags, context);
1869
1869
  }
1870
1870
  return contents;
1871
1871
  };
1872
- const deserializeAws_restJson1ListTagsForResourcesCommandError = async (output, context) => {
1872
+ const de_ListTagsForResourcesCommandError = async (output, context) => {
1873
1873
  const parsedOutput = {
1874
1874
  ...output,
1875
1875
  body: await parseErrorBody(output.body, context),
@@ -1878,13 +1878,13 @@ const deserializeAws_restJson1ListTagsForResourcesCommandError = async (output,
1878
1878
  switch (errorCode) {
1879
1879
  case "InternalServerException":
1880
1880
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1881
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1881
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1882
1882
  case "ResourceNotFoundException":
1883
1883
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1884
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1884
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1885
1885
  case "ValidationException":
1886
1886
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1887
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1887
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1888
1888
  default:
1889
1889
  const parsedBody = parsedOutput.body;
1890
1890
  throwDefaultError({
@@ -1895,9 +1895,9 @@ const deserializeAws_restJson1ListTagsForResourcesCommandError = async (output,
1895
1895
  });
1896
1896
  }
1897
1897
  };
1898
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1898
+ export const de_TagResourceCommand = async (output, context) => {
1899
1899
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1900
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1900
+ return de_TagResourceCommandError(output, context);
1901
1901
  }
1902
1902
  const contents = map({
1903
1903
  $metadata: deserializeMetadata(output),
@@ -1905,7 +1905,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1905
1905
  await collectBody(output.body, context);
1906
1906
  return contents;
1907
1907
  };
1908
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1908
+ const de_TagResourceCommandError = async (output, context) => {
1909
1909
  const parsedOutput = {
1910
1910
  ...output,
1911
1911
  body: await parseErrorBody(output.body, context),
@@ -1914,13 +1914,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1914
1914
  switch (errorCode) {
1915
1915
  case "InternalServerException":
1916
1916
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1917
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1917
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1918
1918
  case "ResourceNotFoundException":
1919
1919
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1920
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1920
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1921
1921
  case "ValidationException":
1922
1922
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1923
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1923
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1924
1924
  default:
1925
1925
  const parsedBody = parsedOutput.body;
1926
1926
  throwDefaultError({
@@ -1931,9 +1931,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1931
1931
  });
1932
1932
  }
1933
1933
  };
1934
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1934
+ export const de_UntagResourceCommand = async (output, context) => {
1935
1935
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1936
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1936
+ return de_UntagResourceCommandError(output, context);
1937
1937
  }
1938
1938
  const contents = map({
1939
1939
  $metadata: deserializeMetadata(output),
@@ -1941,7 +1941,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1941
1941
  await collectBody(output.body, context);
1942
1942
  return contents;
1943
1943
  };
1944
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1944
+ const de_UntagResourceCommandError = async (output, context) => {
1945
1945
  const parsedOutput = {
1946
1946
  ...output,
1947
1947
  body: await parseErrorBody(output.body, context),
@@ -1950,13 +1950,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1950
1950
  switch (errorCode) {
1951
1951
  case "InternalServerException":
1952
1952
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1953
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1953
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1954
1954
  case "ResourceNotFoundException":
1955
1955
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1956
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1956
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1957
1957
  case "ValidationException":
1958
1958
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
1959
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1959
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1960
1960
  default:
1961
1961
  const parsedBody = parsedOutput.body;
1962
1962
  throwDefaultError({
@@ -1967,9 +1967,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1967
1967
  });
1968
1968
  }
1969
1969
  };
1970
- export const deserializeAws_restJson1UpdateCellCommand = async (output, context) => {
1970
+ export const de_UpdateCellCommand = async (output, context) => {
1971
1971
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1972
- return deserializeAws_restJson1UpdateCellCommandError(output, context);
1972
+ return de_UpdateCellCommandError(output, context);
1973
1973
  }
1974
1974
  const contents = map({
1975
1975
  $metadata: deserializeMetadata(output),
@@ -1982,17 +1982,17 @@ export const deserializeAws_restJson1UpdateCellCommand = async (output, context)
1982
1982
  contents.CellName = __expectString(data.cellName);
1983
1983
  }
1984
1984
  if (data.cells != null) {
1985
- contents.Cells = deserializeAws_restJson1__listOf__string(data.cells, context);
1985
+ contents.Cells = de___listOf__string(data.cells, context);
1986
1986
  }
1987
1987
  if (data.parentReadinessScopes != null) {
1988
- contents.ParentReadinessScopes = deserializeAws_restJson1__listOf__string(data.parentReadinessScopes, context);
1988
+ contents.ParentReadinessScopes = de___listOf__string(data.parentReadinessScopes, context);
1989
1989
  }
1990
1990
  if (data.tags != null) {
1991
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
1991
+ contents.Tags = de_Tags(data.tags, context);
1992
1992
  }
1993
1993
  return contents;
1994
1994
  };
1995
- const deserializeAws_restJson1UpdateCellCommandError = async (output, context) => {
1995
+ const de_UpdateCellCommandError = async (output, context) => {
1996
1996
  const parsedOutput = {
1997
1997
  ...output,
1998
1998
  body: await parseErrorBody(output.body, context),
@@ -2001,19 +2001,19 @@ const deserializeAws_restJson1UpdateCellCommandError = async (output, context) =
2001
2001
  switch (errorCode) {
2002
2002
  case "AccessDeniedException":
2003
2003
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
2004
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2004
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2005
2005
  case "InternalServerException":
2006
2006
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
2007
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2007
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2008
2008
  case "ResourceNotFoundException":
2009
2009
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
2010
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2010
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2011
2011
  case "ThrottlingException":
2012
2012
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
2013
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2013
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2014
2014
  case "ValidationException":
2015
2015
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
2016
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2016
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2017
2017
  default:
2018
2018
  const parsedBody = parsedOutput.body;
2019
2019
  throwDefaultError({
@@ -2024,9 +2024,9 @@ const deserializeAws_restJson1UpdateCellCommandError = async (output, context) =
2024
2024
  });
2025
2025
  }
2026
2026
  };
2027
- export const deserializeAws_restJson1UpdateReadinessCheckCommand = async (output, context) => {
2027
+ export const de_UpdateReadinessCheckCommand = async (output, context) => {
2028
2028
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2029
- return deserializeAws_restJson1UpdateReadinessCheckCommandError(output, context);
2029
+ return de_UpdateReadinessCheckCommandError(output, context);
2030
2030
  }
2031
2031
  const contents = map({
2032
2032
  $metadata: deserializeMetadata(output),
@@ -2042,11 +2042,11 @@ export const deserializeAws_restJson1UpdateReadinessCheckCommand = async (output
2042
2042
  contents.ResourceSet = __expectString(data.resourceSet);
2043
2043
  }
2044
2044
  if (data.tags != null) {
2045
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2045
+ contents.Tags = de_Tags(data.tags, context);
2046
2046
  }
2047
2047
  return contents;
2048
2048
  };
2049
- const deserializeAws_restJson1UpdateReadinessCheckCommandError = async (output, context) => {
2049
+ const de_UpdateReadinessCheckCommandError = async (output, context) => {
2050
2050
  const parsedOutput = {
2051
2051
  ...output,
2052
2052
  body: await parseErrorBody(output.body, context),
@@ -2055,19 +2055,19 @@ const deserializeAws_restJson1UpdateReadinessCheckCommandError = async (output,
2055
2055
  switch (errorCode) {
2056
2056
  case "AccessDeniedException":
2057
2057
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
2058
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2058
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2059
2059
  case "InternalServerException":
2060
2060
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
2061
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2061
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2062
2062
  case "ResourceNotFoundException":
2063
2063
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
2064
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2064
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2065
2065
  case "ThrottlingException":
2066
2066
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
2067
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2067
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2068
2068
  case "ValidationException":
2069
2069
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
2070
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2070
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2071
2071
  default:
2072
2072
  const parsedBody = parsedOutput.body;
2073
2073
  throwDefaultError({
@@ -2078,16 +2078,16 @@ const deserializeAws_restJson1UpdateReadinessCheckCommandError = async (output,
2078
2078
  });
2079
2079
  }
2080
2080
  };
2081
- export const deserializeAws_restJson1UpdateRecoveryGroupCommand = async (output, context) => {
2081
+ export const de_UpdateRecoveryGroupCommand = async (output, context) => {
2082
2082
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2083
- return deserializeAws_restJson1UpdateRecoveryGroupCommandError(output, context);
2083
+ return de_UpdateRecoveryGroupCommandError(output, context);
2084
2084
  }
2085
2085
  const contents = map({
2086
2086
  $metadata: deserializeMetadata(output),
2087
2087
  });
2088
2088
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2089
2089
  if (data.cells != null) {
2090
- contents.Cells = deserializeAws_restJson1__listOf__string(data.cells, context);
2090
+ contents.Cells = de___listOf__string(data.cells, context);
2091
2091
  }
2092
2092
  if (data.recoveryGroupArn != null) {
2093
2093
  contents.RecoveryGroupArn = __expectString(data.recoveryGroupArn);
@@ -2096,11 +2096,11 @@ export const deserializeAws_restJson1UpdateRecoveryGroupCommand = async (output,
2096
2096
  contents.RecoveryGroupName = __expectString(data.recoveryGroupName);
2097
2097
  }
2098
2098
  if (data.tags != null) {
2099
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2099
+ contents.Tags = de_Tags(data.tags, context);
2100
2100
  }
2101
2101
  return contents;
2102
2102
  };
2103
- const deserializeAws_restJson1UpdateRecoveryGroupCommandError = async (output, context) => {
2103
+ const de_UpdateRecoveryGroupCommandError = async (output, context) => {
2104
2104
  const parsedOutput = {
2105
2105
  ...output,
2106
2106
  body: await parseErrorBody(output.body, context),
@@ -2109,19 +2109,19 @@ const deserializeAws_restJson1UpdateRecoveryGroupCommandError = async (output, c
2109
2109
  switch (errorCode) {
2110
2110
  case "AccessDeniedException":
2111
2111
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
2112
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2112
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2113
2113
  case "InternalServerException":
2114
2114
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
2115
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2115
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2116
2116
  case "ResourceNotFoundException":
2117
2117
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
2118
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2118
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2119
2119
  case "ThrottlingException":
2120
2120
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
2121
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2121
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2122
2122
  case "ValidationException":
2123
2123
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
2124
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2124
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2125
2125
  default:
2126
2126
  const parsedBody = parsedOutput.body;
2127
2127
  throwDefaultError({
@@ -2132,9 +2132,9 @@ const deserializeAws_restJson1UpdateRecoveryGroupCommandError = async (output, c
2132
2132
  });
2133
2133
  }
2134
2134
  };
2135
- export const deserializeAws_restJson1UpdateResourceSetCommand = async (output, context) => {
2135
+ export const de_UpdateResourceSetCommand = async (output, context) => {
2136
2136
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2137
- return deserializeAws_restJson1UpdateResourceSetCommandError(output, context);
2137
+ return de_UpdateResourceSetCommandError(output, context);
2138
2138
  }
2139
2139
  const contents = map({
2140
2140
  $metadata: deserializeMetadata(output),
@@ -2150,14 +2150,14 @@ export const deserializeAws_restJson1UpdateResourceSetCommand = async (output, c
2150
2150
  contents.ResourceSetType = __expectString(data.resourceSetType);
2151
2151
  }
2152
2152
  if (data.resources != null) {
2153
- contents.Resources = deserializeAws_restJson1__listOfResource(data.resources, context);
2153
+ contents.Resources = de___listOfResource(data.resources, context);
2154
2154
  }
2155
2155
  if (data.tags != null) {
2156
- contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
2156
+ contents.Tags = de_Tags(data.tags, context);
2157
2157
  }
2158
2158
  return contents;
2159
2159
  };
2160
- const deserializeAws_restJson1UpdateResourceSetCommandError = async (output, context) => {
2160
+ const de_UpdateResourceSetCommandError = async (output, context) => {
2161
2161
  const parsedOutput = {
2162
2162
  ...output,
2163
2163
  body: await parseErrorBody(output.body, context),
@@ -2166,19 +2166,19 @@ const deserializeAws_restJson1UpdateResourceSetCommandError = async (output, con
2166
2166
  switch (errorCode) {
2167
2167
  case "AccessDeniedException":
2168
2168
  case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
2169
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2169
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2170
2170
  case "InternalServerException":
2171
2171
  case "com.amazonaws.route53recoveryreadiness#InternalServerException":
2172
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2172
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2173
2173
  case "ResourceNotFoundException":
2174
2174
  case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
2175
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2175
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2176
2176
  case "ThrottlingException":
2177
2177
  case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
2178
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2178
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2179
2179
  case "ValidationException":
2180
2180
  case "com.amazonaws.route53recoveryreadiness#ValidationException":
2181
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2181
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2182
2182
  default:
2183
2183
  const parsedBody = parsedOutput.body;
2184
2184
  throwDefaultError({
@@ -2190,7 +2190,7 @@ const deserializeAws_restJson1UpdateResourceSetCommandError = async (output, con
2190
2190
  }
2191
2191
  };
2192
2192
  const map = __map;
2193
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2193
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2194
2194
  const contents = map({});
2195
2195
  const data = parsedOutput.body;
2196
2196
  if (data.message != null) {
@@ -2202,7 +2202,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2202
2202
  });
2203
2203
  return __decorateServiceException(exception, parsedOutput.body);
2204
2204
  };
2205
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2205
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2206
2206
  const contents = map({});
2207
2207
  const data = parsedOutput.body;
2208
2208
  if (data.message != null) {
@@ -2214,7 +2214,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2214
2214
  });
2215
2215
  return __decorateServiceException(exception, parsedOutput.body);
2216
2216
  };
2217
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2217
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2218
2218
  const contents = map({});
2219
2219
  const data = parsedOutput.body;
2220
2220
  if (data.message != null) {
@@ -2226,7 +2226,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2226
2226
  });
2227
2227
  return __decorateServiceException(exception, parsedOutput.body);
2228
2228
  };
2229
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2229
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2230
2230
  const contents = map({});
2231
2231
  const data = parsedOutput.body;
2232
2232
  if (data.message != null) {
@@ -2238,7 +2238,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2238
2238
  });
2239
2239
  return __decorateServiceException(exception, parsedOutput.body);
2240
2240
  };
2241
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2241
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2242
2242
  const contents = map({});
2243
2243
  const data = parsedOutput.body;
2244
2244
  if (data.message != null) {
@@ -2250,7 +2250,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2250
2250
  });
2251
2251
  return __decorateServiceException(exception, parsedOutput.body);
2252
2252
  };
2253
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2253
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2254
2254
  const contents = map({});
2255
2255
  const data = parsedOutput.body;
2256
2256
  if (data.message != null) {
@@ -2262,55 +2262,51 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2262
2262
  });
2263
2263
  return __decorateServiceException(exception, parsedOutput.body);
2264
2264
  };
2265
- const serializeAws_restJson1__listOf__string = (input, context) => {
2265
+ const se___listOf__string = (input, context) => {
2266
2266
  return input
2267
2267
  .filter((e) => e != null)
2268
2268
  .map((entry) => {
2269
2269
  return entry;
2270
2270
  });
2271
2271
  };
2272
- const serializeAws_restJson1__listOfResource = (input, context) => {
2272
+ const se___listOfResource = (input, context) => {
2273
2273
  return input
2274
2274
  .filter((e) => e != null)
2275
2275
  .map((entry) => {
2276
- return serializeAws_restJson1Resource(entry, context);
2276
+ return se_Resource(entry, context);
2277
2277
  });
2278
2278
  };
2279
- const serializeAws_restJson1DNSTargetResource = (input, context) => {
2279
+ const se_DNSTargetResource = (input, context) => {
2280
2280
  return {
2281
2281
  ...(input.DomainName != null && { domainName: input.DomainName }),
2282
2282
  ...(input.HostedZoneArn != null && { hostedZoneArn: input.HostedZoneArn }),
2283
2283
  ...(input.RecordSetId != null && { recordSetId: input.RecordSetId }),
2284
2284
  ...(input.RecordType != null && { recordType: input.RecordType }),
2285
- ...(input.TargetResource != null && {
2286
- targetResource: serializeAws_restJson1TargetResource(input.TargetResource, context),
2287
- }),
2285
+ ...(input.TargetResource != null && { targetResource: se_TargetResource(input.TargetResource, context) }),
2288
2286
  };
2289
2287
  };
2290
- const serializeAws_restJson1NLBResource = (input, context) => {
2288
+ const se_NLBResource = (input, context) => {
2291
2289
  return {
2292
2290
  ...(input.Arn != null && { arn: input.Arn }),
2293
2291
  };
2294
2292
  };
2295
- const serializeAws_restJson1R53ResourceRecord = (input, context) => {
2293
+ const se_R53ResourceRecord = (input, context) => {
2296
2294
  return {
2297
2295
  ...(input.DomainName != null && { domainName: input.DomainName }),
2298
2296
  ...(input.RecordSetId != null && { recordSetId: input.RecordSetId }),
2299
2297
  };
2300
2298
  };
2301
- const serializeAws_restJson1Resource = (input, context) => {
2299
+ const se_Resource = (input, context) => {
2302
2300
  return {
2303
2301
  ...(input.ComponentId != null && { componentId: input.ComponentId }),
2304
2302
  ...(input.DnsTargetResource != null && {
2305
- dnsTargetResource: serializeAws_restJson1DNSTargetResource(input.DnsTargetResource, context),
2306
- }),
2307
- ...(input.ReadinessScopes != null && {
2308
- readinessScopes: serializeAws_restJson1__listOf__string(input.ReadinessScopes, context),
2303
+ dnsTargetResource: se_DNSTargetResource(input.DnsTargetResource, context),
2309
2304
  }),
2305
+ ...(input.ReadinessScopes != null && { readinessScopes: se___listOf__string(input.ReadinessScopes, context) }),
2310
2306
  ...(input.ResourceArn != null && { resourceArn: input.ResourceArn }),
2311
2307
  };
2312
2308
  };
2313
- const serializeAws_restJson1Tags = (input, context) => {
2309
+ const se_Tags = (input, context) => {
2314
2310
  return Object.entries(input).reduce((acc, [key, value]) => {
2315
2311
  if (value === null) {
2316
2312
  return acc;
@@ -2319,15 +2315,13 @@ const serializeAws_restJson1Tags = (input, context) => {
2319
2315
  return acc;
2320
2316
  }, {});
2321
2317
  };
2322
- const serializeAws_restJson1TargetResource = (input, context) => {
2318
+ const se_TargetResource = (input, context) => {
2323
2319
  return {
2324
- ...(input.NLBResource != null && { nLBResource: serializeAws_restJson1NLBResource(input.NLBResource, context) }),
2325
- ...(input.R53Resource != null && {
2326
- r53Resource: serializeAws_restJson1R53ResourceRecord(input.R53Resource, context),
2327
- }),
2320
+ ...(input.NLBResource != null && { nLBResource: se_NLBResource(input.NLBResource, context) }),
2321
+ ...(input.R53Resource != null && { r53Resource: se_R53ResourceRecord(input.R53Resource, context) }),
2328
2322
  };
2329
2323
  };
2330
- const deserializeAws_restJson1__listOf__string = (output, context) => {
2324
+ const de___listOf__string = (output, context) => {
2331
2325
  const retVal = (output || [])
2332
2326
  .filter((e) => e != null)
2333
2327
  .map((entry) => {
@@ -2338,18 +2332,18 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2338
2332
  });
2339
2333
  return retVal;
2340
2334
  };
2341
- const deserializeAws_restJson1__listOfCellOutput = (output, context) => {
2335
+ const de___listOfCellOutput = (output, context) => {
2342
2336
  const retVal = (output || [])
2343
2337
  .filter((e) => e != null)
2344
2338
  .map((entry) => {
2345
2339
  if (entry === null) {
2346
2340
  return null;
2347
2341
  }
2348
- return deserializeAws_restJson1CellOutput(entry, context);
2342
+ return de_CellOutput(entry, context);
2349
2343
  });
2350
2344
  return retVal;
2351
2345
  };
2352
- const deserializeAws_restJson1__listOfCrossAccountAuthorization = (output, context) => {
2346
+ const de___listOfCrossAccountAuthorization = (output, context) => {
2353
2347
  const retVal = (output || [])
2354
2348
  .filter((e) => e != null)
2355
2349
  .map((entry) => {
@@ -2360,201 +2354,193 @@ const deserializeAws_restJson1__listOfCrossAccountAuthorization = (output, conte
2360
2354
  });
2361
2355
  return retVal;
2362
2356
  };
2363
- const deserializeAws_restJson1__listOfListRulesOutput = (output, context) => {
2357
+ const de___listOfListRulesOutput = (output, context) => {
2364
2358
  const retVal = (output || [])
2365
2359
  .filter((e) => e != null)
2366
2360
  .map((entry) => {
2367
2361
  if (entry === null) {
2368
2362
  return null;
2369
2363
  }
2370
- return deserializeAws_restJson1ListRulesOutput(entry, context);
2364
+ return de_ListRulesOutput(entry, context);
2371
2365
  });
2372
2366
  return retVal;
2373
2367
  };
2374
- const deserializeAws_restJson1__listOfMessage = (output, context) => {
2368
+ const de___listOfMessage = (output, context) => {
2375
2369
  const retVal = (output || [])
2376
2370
  .filter((e) => e != null)
2377
2371
  .map((entry) => {
2378
2372
  if (entry === null) {
2379
2373
  return null;
2380
2374
  }
2381
- return deserializeAws_restJson1Message(entry, context);
2375
+ return de_Message(entry, context);
2382
2376
  });
2383
2377
  return retVal;
2384
2378
  };
2385
- const deserializeAws_restJson1__listOfReadinessCheckOutput = (output, context) => {
2379
+ const de___listOfReadinessCheckOutput = (output, context) => {
2386
2380
  const retVal = (output || [])
2387
2381
  .filter((e) => e != null)
2388
2382
  .map((entry) => {
2389
2383
  if (entry === null) {
2390
2384
  return null;
2391
2385
  }
2392
- return deserializeAws_restJson1ReadinessCheckOutput(entry, context);
2386
+ return de_ReadinessCheckOutput(entry, context);
2393
2387
  });
2394
2388
  return retVal;
2395
2389
  };
2396
- const deserializeAws_restJson1__listOfReadinessCheckSummary = (output, context) => {
2390
+ const de___listOfReadinessCheckSummary = (output, context) => {
2397
2391
  const retVal = (output || [])
2398
2392
  .filter((e) => e != null)
2399
2393
  .map((entry) => {
2400
2394
  if (entry === null) {
2401
2395
  return null;
2402
2396
  }
2403
- return deserializeAws_restJson1ReadinessCheckSummary(entry, context);
2397
+ return de_ReadinessCheckSummary(entry, context);
2404
2398
  });
2405
2399
  return retVal;
2406
2400
  };
2407
- const deserializeAws_restJson1__listOfRecommendation = (output, context) => {
2401
+ const de___listOfRecommendation = (output, context) => {
2408
2402
  const retVal = (output || [])
2409
2403
  .filter((e) => e != null)
2410
2404
  .map((entry) => {
2411
2405
  if (entry === null) {
2412
2406
  return null;
2413
2407
  }
2414
- return deserializeAws_restJson1Recommendation(entry, context);
2408
+ return de_Recommendation(entry, context);
2415
2409
  });
2416
2410
  return retVal;
2417
2411
  };
2418
- const deserializeAws_restJson1__listOfRecoveryGroupOutput = (output, context) => {
2412
+ const de___listOfRecoveryGroupOutput = (output, context) => {
2419
2413
  const retVal = (output || [])
2420
2414
  .filter((e) => e != null)
2421
2415
  .map((entry) => {
2422
2416
  if (entry === null) {
2423
2417
  return null;
2424
2418
  }
2425
- return deserializeAws_restJson1RecoveryGroupOutput(entry, context);
2419
+ return de_RecoveryGroupOutput(entry, context);
2426
2420
  });
2427
2421
  return retVal;
2428
2422
  };
2429
- const deserializeAws_restJson1__listOfResource = (output, context) => {
2423
+ const de___listOfResource = (output, context) => {
2430
2424
  const retVal = (output || [])
2431
2425
  .filter((e) => e != null)
2432
2426
  .map((entry) => {
2433
2427
  if (entry === null) {
2434
2428
  return null;
2435
2429
  }
2436
- return deserializeAws_restJson1Resource(entry, context);
2430
+ return de_Resource(entry, context);
2437
2431
  });
2438
2432
  return retVal;
2439
2433
  };
2440
- const deserializeAws_restJson1__listOfResourceResult = (output, context) => {
2434
+ const de___listOfResourceResult = (output, context) => {
2441
2435
  const retVal = (output || [])
2442
2436
  .filter((e) => e != null)
2443
2437
  .map((entry) => {
2444
2438
  if (entry === null) {
2445
2439
  return null;
2446
2440
  }
2447
- return deserializeAws_restJson1ResourceResult(entry, context);
2441
+ return de_ResourceResult(entry, context);
2448
2442
  });
2449
2443
  return retVal;
2450
2444
  };
2451
- const deserializeAws_restJson1__listOfResourceSetOutput = (output, context) => {
2445
+ const de___listOfResourceSetOutput = (output, context) => {
2452
2446
  const retVal = (output || [])
2453
2447
  .filter((e) => e != null)
2454
2448
  .map((entry) => {
2455
2449
  if (entry === null) {
2456
2450
  return null;
2457
2451
  }
2458
- return deserializeAws_restJson1ResourceSetOutput(entry, context);
2452
+ return de_ResourceSetOutput(entry, context);
2459
2453
  });
2460
2454
  return retVal;
2461
2455
  };
2462
- const deserializeAws_restJson1__listOfRuleResult = (output, context) => {
2456
+ const de___listOfRuleResult = (output, context) => {
2463
2457
  const retVal = (output || [])
2464
2458
  .filter((e) => e != null)
2465
2459
  .map((entry) => {
2466
2460
  if (entry === null) {
2467
2461
  return null;
2468
2462
  }
2469
- return deserializeAws_restJson1RuleResult(entry, context);
2463
+ return de_RuleResult(entry, context);
2470
2464
  });
2471
2465
  return retVal;
2472
2466
  };
2473
- const deserializeAws_restJson1CellOutput = (output, context) => {
2467
+ const de_CellOutput = (output, context) => {
2474
2468
  return {
2475
2469
  CellArn: __expectString(output.cellArn),
2476
2470
  CellName: __expectString(output.cellName),
2477
- Cells: output.cells != null ? deserializeAws_restJson1__listOf__string(output.cells, context) : undefined,
2478
- ParentReadinessScopes: output.parentReadinessScopes != null
2479
- ? deserializeAws_restJson1__listOf__string(output.parentReadinessScopes, context)
2480
- : undefined,
2481
- Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2471
+ Cells: output.cells != null ? de___listOf__string(output.cells, context) : undefined,
2472
+ ParentReadinessScopes: output.parentReadinessScopes != null ? de___listOf__string(output.parentReadinessScopes, context) : undefined,
2473
+ Tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
2482
2474
  };
2483
2475
  };
2484
- const deserializeAws_restJson1DNSTargetResource = (output, context) => {
2476
+ const de_DNSTargetResource = (output, context) => {
2485
2477
  return {
2486
2478
  DomainName: __expectString(output.domainName),
2487
2479
  HostedZoneArn: __expectString(output.hostedZoneArn),
2488
2480
  RecordSetId: __expectString(output.recordSetId),
2489
2481
  RecordType: __expectString(output.recordType),
2490
- TargetResource: output.targetResource != null
2491
- ? deserializeAws_restJson1TargetResource(output.targetResource, context)
2492
- : undefined,
2482
+ TargetResource: output.targetResource != null ? de_TargetResource(output.targetResource, context) : undefined,
2493
2483
  };
2494
2484
  };
2495
- const deserializeAws_restJson1ListRulesOutput = (output, context) => {
2485
+ const de_ListRulesOutput = (output, context) => {
2496
2486
  return {
2497
2487
  ResourceType: __expectString(output.resourceType),
2498
2488
  RuleDescription: __expectString(output.ruleDescription),
2499
2489
  RuleId: __expectString(output.ruleId),
2500
2490
  };
2501
2491
  };
2502
- const deserializeAws_restJson1Message = (output, context) => {
2492
+ const de_Message = (output, context) => {
2503
2493
  return {
2504
2494
  MessageText: __expectString(output.messageText),
2505
2495
  };
2506
2496
  };
2507
- const deserializeAws_restJson1NLBResource = (output, context) => {
2497
+ const de_NLBResource = (output, context) => {
2508
2498
  return {
2509
2499
  Arn: __expectString(output.arn),
2510
2500
  };
2511
2501
  };
2512
- const deserializeAws_restJson1R53ResourceRecord = (output, context) => {
2502
+ const de_R53ResourceRecord = (output, context) => {
2513
2503
  return {
2514
2504
  DomainName: __expectString(output.domainName),
2515
2505
  RecordSetId: __expectString(output.recordSetId),
2516
2506
  };
2517
2507
  };
2518
- const deserializeAws_restJson1ReadinessCheckOutput = (output, context) => {
2508
+ const de_ReadinessCheckOutput = (output, context) => {
2519
2509
  return {
2520
2510
  ReadinessCheckArn: __expectString(output.readinessCheckArn),
2521
2511
  ReadinessCheckName: __expectString(output.readinessCheckName),
2522
2512
  ResourceSet: __expectString(output.resourceSet),
2523
- Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2513
+ Tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
2524
2514
  };
2525
2515
  };
2526
- const deserializeAws_restJson1ReadinessCheckSummary = (output, context) => {
2516
+ const de_ReadinessCheckSummary = (output, context) => {
2527
2517
  return {
2528
2518
  Readiness: __expectString(output.readiness),
2529
2519
  ReadinessCheckName: __expectString(output.readinessCheckName),
2530
2520
  };
2531
2521
  };
2532
- const deserializeAws_restJson1Recommendation = (output, context) => {
2522
+ const de_Recommendation = (output, context) => {
2533
2523
  return {
2534
2524
  RecommendationText: __expectString(output.recommendationText),
2535
2525
  };
2536
2526
  };
2537
- const deserializeAws_restJson1RecoveryGroupOutput = (output, context) => {
2527
+ const de_RecoveryGroupOutput = (output, context) => {
2538
2528
  return {
2539
- Cells: output.cells != null ? deserializeAws_restJson1__listOf__string(output.cells, context) : undefined,
2529
+ Cells: output.cells != null ? de___listOf__string(output.cells, context) : undefined,
2540
2530
  RecoveryGroupArn: __expectString(output.recoveryGroupArn),
2541
2531
  RecoveryGroupName: __expectString(output.recoveryGroupName),
2542
- Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2532
+ Tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
2543
2533
  };
2544
2534
  };
2545
- const deserializeAws_restJson1Resource = (output, context) => {
2535
+ const de_Resource = (output, context) => {
2546
2536
  return {
2547
2537
  ComponentId: __expectString(output.componentId),
2548
- DnsTargetResource: output.dnsTargetResource != null
2549
- ? deserializeAws_restJson1DNSTargetResource(output.dnsTargetResource, context)
2550
- : undefined,
2551
- ReadinessScopes: output.readinessScopes != null
2552
- ? deserializeAws_restJson1__listOf__string(output.readinessScopes, context)
2553
- : undefined,
2538
+ DnsTargetResource: output.dnsTargetResource != null ? de_DNSTargetResource(output.dnsTargetResource, context) : undefined,
2539
+ ReadinessScopes: output.readinessScopes != null ? de___listOf__string(output.readinessScopes, context) : undefined,
2554
2540
  ResourceArn: __expectString(output.resourceArn),
2555
2541
  };
2556
2542
  };
2557
- const deserializeAws_restJson1ResourceResult = (output, context) => {
2543
+ const de_ResourceResult = (output, context) => {
2558
2544
  return {
2559
2545
  ComponentId: __expectString(output.componentId),
2560
2546
  LastCheckedTimestamp: output.lastCheckedTimestamp != null
@@ -2564,26 +2550,26 @@ const deserializeAws_restJson1ResourceResult = (output, context) => {
2564
2550
  ResourceArn: __expectString(output.resourceArn),
2565
2551
  };
2566
2552
  };
2567
- const deserializeAws_restJson1ResourceSetOutput = (output, context) => {
2553
+ const de_ResourceSetOutput = (output, context) => {
2568
2554
  return {
2569
2555
  ResourceSetArn: __expectString(output.resourceSetArn),
2570
2556
  ResourceSetName: __expectString(output.resourceSetName),
2571
2557
  ResourceSetType: __expectString(output.resourceSetType),
2572
- Resources: output.resources != null ? deserializeAws_restJson1__listOfResource(output.resources, context) : undefined,
2573
- Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2558
+ Resources: output.resources != null ? de___listOfResource(output.resources, context) : undefined,
2559
+ Tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
2574
2560
  };
2575
2561
  };
2576
- const deserializeAws_restJson1RuleResult = (output, context) => {
2562
+ const de_RuleResult = (output, context) => {
2577
2563
  return {
2578
2564
  LastCheckedTimestamp: output.lastCheckedTimestamp != null
2579
2565
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastCheckedTimestamp))
2580
2566
  : undefined,
2581
- Messages: output.messages != null ? deserializeAws_restJson1__listOfMessage(output.messages, context) : undefined,
2567
+ Messages: output.messages != null ? de___listOfMessage(output.messages, context) : undefined,
2582
2568
  Readiness: __expectString(output.readiness),
2583
2569
  RuleId: __expectString(output.ruleId),
2584
2570
  };
2585
2571
  };
2586
- const deserializeAws_restJson1Tags = (output, context) => {
2572
+ const de_Tags = (output, context) => {
2587
2573
  return Object.entries(output).reduce((acc, [key, value]) => {
2588
2574
  if (value === null) {
2589
2575
  return acc;
@@ -2592,10 +2578,10 @@ const deserializeAws_restJson1Tags = (output, context) => {
2592
2578
  return acc;
2593
2579
  }, {});
2594
2580
  };
2595
- const deserializeAws_restJson1TargetResource = (output, context) => {
2581
+ const de_TargetResource = (output, context) => {
2596
2582
  return {
2597
- NLBResource: output.nLBResource != null ? deserializeAws_restJson1NLBResource(output.nLBResource, context) : undefined,
2598
- R53Resource: output.r53Resource != null ? deserializeAws_restJson1R53ResourceRecord(output.r53Resource, context) : undefined,
2583
+ NLBResource: output.nLBResource != null ? de_NLBResource(output.nLBResource, context) : undefined,
2584
+ R53Resource: output.r53Resource != null ? de_R53ResourceRecord(output.r53Resource, context) : undefined,
2599
2585
  };
2600
2586
  };
2601
2587
  const deserializeMetadata = (output) => ({