@aws-sdk/client-devops-guru 3.306.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist-cjs/commands/AddNotificationChannelCommand.js +2 -2
  2. package/dist-cjs/commands/DeleteInsightCommand.js +2 -2
  3. package/dist-cjs/commands/DescribeAccountHealthCommand.js +2 -2
  4. package/dist-cjs/commands/DescribeAccountOverviewCommand.js +2 -2
  5. package/dist-cjs/commands/DescribeAnomalyCommand.js +2 -2
  6. package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeFeedbackCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeInsightCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +2 -2
  14. package/dist-cjs/commands/GetCostEstimationCommand.js +2 -2
  15. package/dist-cjs/commands/GetResourceCollectionCommand.js +2 -2
  16. package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +2 -2
  17. package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +2 -2
  18. package/dist-cjs/commands/ListEventsCommand.js +2 -2
  19. package/dist-cjs/commands/ListInsightsCommand.js +2 -2
  20. package/dist-cjs/commands/ListMonitoredResourcesCommand.js +2 -2
  21. package/dist-cjs/commands/ListNotificationChannelsCommand.js +2 -2
  22. package/dist-cjs/commands/ListOrganizationInsightsCommand.js +2 -2
  23. package/dist-cjs/commands/ListRecommendationsCommand.js +2 -2
  24. package/dist-cjs/commands/PutFeedbackCommand.js +2 -2
  25. package/dist-cjs/commands/RemoveNotificationChannelCommand.js +2 -2
  26. package/dist-cjs/commands/SearchInsightsCommand.js +2 -2
  27. package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +2 -2
  28. package/dist-cjs/commands/StartCostEstimationCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateResourceCollectionCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +2 -2
  32. package/dist-cjs/protocols/Aws_restJson1.js +742 -918
  33. package/dist-es/commands/AddNotificationChannelCommand.js +3 -3
  34. package/dist-es/commands/DeleteInsightCommand.js +3 -3
  35. package/dist-es/commands/DescribeAccountHealthCommand.js +3 -3
  36. package/dist-es/commands/DescribeAccountOverviewCommand.js +3 -3
  37. package/dist-es/commands/DescribeAnomalyCommand.js +3 -3
  38. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +3 -3
  39. package/dist-es/commands/DescribeFeedbackCommand.js +3 -3
  40. package/dist-es/commands/DescribeInsightCommand.js +3 -3
  41. package/dist-es/commands/DescribeOrganizationHealthCommand.js +3 -3
  42. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +3 -3
  43. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -3
  44. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +3 -3
  45. package/dist-es/commands/DescribeServiceIntegrationCommand.js +3 -3
  46. package/dist-es/commands/GetCostEstimationCommand.js +3 -3
  47. package/dist-es/commands/GetResourceCollectionCommand.js +3 -3
  48. package/dist-es/commands/ListAnomaliesForInsightCommand.js +3 -3
  49. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +3 -3
  50. package/dist-es/commands/ListEventsCommand.js +3 -3
  51. package/dist-es/commands/ListInsightsCommand.js +3 -3
  52. package/dist-es/commands/ListMonitoredResourcesCommand.js +3 -3
  53. package/dist-es/commands/ListNotificationChannelsCommand.js +3 -3
  54. package/dist-es/commands/ListOrganizationInsightsCommand.js +3 -3
  55. package/dist-es/commands/ListRecommendationsCommand.js +3 -3
  56. package/dist-es/commands/PutFeedbackCommand.js +3 -3
  57. package/dist-es/commands/RemoveNotificationChannelCommand.js +3 -3
  58. package/dist-es/commands/SearchInsightsCommand.js +3 -3
  59. package/dist-es/commands/SearchOrganizationInsightsCommand.js +3 -3
  60. package/dist-es/commands/StartCostEstimationCommand.js +3 -3
  61. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +3 -3
  62. package/dist-es/commands/UpdateResourceCollectionCommand.js +3 -3
  63. package/dist-es/commands/UpdateServiceIntegrationCommand.js +3 -3
  64. package/dist-es/protocols/Aws_restJson1.js +678 -854
  65. package/dist-types/protocols/Aws_restJson1.d.ts +248 -62
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -62
  67. package/package.json +6 -6
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectInt32 as
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { DevOpsGuruServiceException as __BaseException } from "../models/DevOpsGuruServiceException";
5
5
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
6
- export const serializeAws_restJson1AddNotificationChannelCommand = async (input, context) => {
6
+ export const se_AddNotificationChannelCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
8
  const headers = {
9
9
  "content-type": "application/json",
@@ -11,7 +11,7 @@ export const serializeAws_restJson1AddNotificationChannelCommand = async (input,
11
11
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
12
12
  let body;
13
13
  body = JSON.stringify({
14
- ...(input.Config != null && { Config: serializeAws_restJson1NotificationChannelConfig(input.Config, context) }),
14
+ ...(input.Config != null && { Config: se_NotificationChannelConfig(input.Config, context) }),
15
15
  });
16
16
  return new __HttpRequest({
17
17
  protocol,
@@ -23,7 +23,7 @@ export const serializeAws_restJson1AddNotificationChannelCommand = async (input,
23
23
  body,
24
24
  });
25
25
  };
26
- export const serializeAws_restJson1DeleteInsightCommand = async (input, context) => {
26
+ export const se_DeleteInsightCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {};
29
29
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/insights/{Id}";
@@ -39,7 +39,7 @@ export const serializeAws_restJson1DeleteInsightCommand = async (input, context)
39
39
  body,
40
40
  });
41
41
  };
42
- export const serializeAws_restJson1DescribeAccountHealthCommand = async (input, context) => {
42
+ export const se_DescribeAccountHealthCommand = async (input, context) => {
43
43
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
44
44
  const headers = {
45
45
  "content-type": "application/json",
@@ -57,7 +57,7 @@ export const serializeAws_restJson1DescribeAccountHealthCommand = async (input,
57
57
  body,
58
58
  });
59
59
  };
60
- export const serializeAws_restJson1DescribeAccountOverviewCommand = async (input, context) => {
60
+ export const se_DescribeAccountOverviewCommand = async (input, context) => {
61
61
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
62
62
  const headers = {
63
63
  "content-type": "application/json",
@@ -78,7 +78,7 @@ export const serializeAws_restJson1DescribeAccountOverviewCommand = async (input
78
78
  body,
79
79
  });
80
80
  };
81
- export const serializeAws_restJson1DescribeAnomalyCommand = async (input, context) => {
81
+ export const se_DescribeAnomalyCommand = async (input, context) => {
82
82
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
83
83
  const headers = {};
84
84
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/anomalies/{Id}";
@@ -98,7 +98,7 @@ export const serializeAws_restJson1DescribeAnomalyCommand = async (input, contex
98
98
  body,
99
99
  });
100
100
  };
101
- export const serializeAws_restJson1DescribeEventSourcesConfigCommand = async (input, context) => {
101
+ export const se_DescribeEventSourcesConfigCommand = async (input, context) => {
102
102
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
103
103
  const headers = {
104
104
  "content-type": "application/json",
@@ -116,7 +116,7 @@ export const serializeAws_restJson1DescribeEventSourcesConfigCommand = async (in
116
116
  body,
117
117
  });
118
118
  };
119
- export const serializeAws_restJson1DescribeFeedbackCommand = async (input, context) => {
119
+ export const se_DescribeFeedbackCommand = async (input, context) => {
120
120
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
121
121
  const headers = {
122
122
  "content-type": "application/json",
@@ -136,7 +136,7 @@ export const serializeAws_restJson1DescribeFeedbackCommand = async (input, conte
136
136
  body,
137
137
  });
138
138
  };
139
- export const serializeAws_restJson1DescribeInsightCommand = async (input, context) => {
139
+ export const se_DescribeInsightCommand = async (input, context) => {
140
140
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
141
141
  const headers = {};
142
142
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/insights/{Id}";
@@ -156,7 +156,7 @@ export const serializeAws_restJson1DescribeInsightCommand = async (input, contex
156
156
  body,
157
157
  });
158
158
  };
159
- export const serializeAws_restJson1DescribeOrganizationHealthCommand = async (input, context) => {
159
+ export const se_DescribeOrganizationHealthCommand = async (input, context) => {
160
160
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
161
161
  const headers = {
162
162
  "content-type": "application/json",
@@ -164,9 +164,9 @@ export const serializeAws_restJson1DescribeOrganizationHealthCommand = async (in
164
164
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/organization/health";
165
165
  let body;
166
166
  body = JSON.stringify({
167
- ...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
167
+ ...(input.AccountIds != null && { AccountIds: se_AccountIdList(input.AccountIds, context) }),
168
168
  ...(input.OrganizationalUnitIds != null && {
169
- OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
169
+ OrganizationalUnitIds: se_OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
170
170
  }),
171
171
  });
172
172
  return new __HttpRequest({
@@ -179,7 +179,7 @@ export const serializeAws_restJson1DescribeOrganizationHealthCommand = async (in
179
179
  body,
180
180
  });
181
181
  };
182
- export const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (input, context) => {
182
+ export const se_DescribeOrganizationOverviewCommand = async (input, context) => {
183
183
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
184
184
  const headers = {
185
185
  "content-type": "application/json",
@@ -187,10 +187,10 @@ export const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (
187
187
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/organization/overview";
188
188
  let body;
189
189
  body = JSON.stringify({
190
- ...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
190
+ ...(input.AccountIds != null && { AccountIds: se_AccountIdList(input.AccountIds, context) }),
191
191
  ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
192
192
  ...(input.OrganizationalUnitIds != null && {
193
- OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
193
+ OrganizationalUnitIds: se_OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
194
194
  }),
195
195
  ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
196
196
  });
@@ -204,7 +204,7 @@ export const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (
204
204
  body,
205
205
  });
206
206
  };
207
- export const serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand = async (input, context) => {
207
+ export const se_DescribeOrganizationResourceCollectionHealthCommand = async (input, context) => {
208
208
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
209
209
  const headers = {
210
210
  "content-type": "application/json",
@@ -212,14 +212,14 @@ export const serializeAws_restJson1DescribeOrganizationResourceCollectionHealthC
212
212
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/organization/health/resource-collection";
213
213
  let body;
214
214
  body = JSON.stringify({
215
- ...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
215
+ ...(input.AccountIds != null && { AccountIds: se_AccountIdList(input.AccountIds, context) }),
216
216
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
217
217
  ...(input.NextToken != null && { NextToken: input.NextToken }),
218
218
  ...(input.OrganizationResourceCollectionType != null && {
219
219
  OrganizationResourceCollectionType: input.OrganizationResourceCollectionType,
220
220
  }),
221
221
  ...(input.OrganizationalUnitIds != null && {
222
- OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
222
+ OrganizationalUnitIds: se_OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
223
223
  }),
224
224
  });
225
225
  return new __HttpRequest({
@@ -232,7 +232,7 @@ export const serializeAws_restJson1DescribeOrganizationResourceCollectionHealthC
232
232
  body,
233
233
  });
234
234
  };
235
- export const serializeAws_restJson1DescribeResourceCollectionHealthCommand = async (input, context) => {
235
+ export const se_DescribeResourceCollectionHealthCommand = async (input, context) => {
236
236
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
237
237
  const headers = {};
238
238
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -253,7 +253,7 @@ export const serializeAws_restJson1DescribeResourceCollectionHealthCommand = asy
253
253
  body,
254
254
  });
255
255
  };
256
- export const serializeAws_restJson1DescribeServiceIntegrationCommand = async (input, context) => {
256
+ export const se_DescribeServiceIntegrationCommand = async (input, context) => {
257
257
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
258
258
  const headers = {
259
259
  "content-type": "application/json",
@@ -271,7 +271,7 @@ export const serializeAws_restJson1DescribeServiceIntegrationCommand = async (in
271
271
  body,
272
272
  });
273
273
  };
274
- export const serializeAws_restJson1GetCostEstimationCommand = async (input, context) => {
274
+ export const se_GetCostEstimationCommand = async (input, context) => {
275
275
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
276
276
  const headers = {};
277
277
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/cost-estimation";
@@ -290,7 +290,7 @@ export const serializeAws_restJson1GetCostEstimationCommand = async (input, cont
290
290
  body,
291
291
  });
292
292
  };
293
- export const serializeAws_restJson1GetResourceCollectionCommand = async (input, context) => {
293
+ export const se_GetResourceCollectionCommand = 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 || ""}` +
@@ -311,7 +311,7 @@ export const serializeAws_restJson1GetResourceCollectionCommand = async (input,
311
311
  body,
312
312
  });
313
313
  };
314
- export const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input, context) => {
314
+ export const se_ListAnomaliesForInsightCommand = async (input, context) => {
315
315
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
316
316
  const headers = {
317
317
  "content-type": "application/json",
@@ -321,14 +321,10 @@ export const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input
321
321
  let body;
322
322
  body = JSON.stringify({
323
323
  ...(input.AccountId != null && { AccountId: input.AccountId }),
324
- ...(input.Filters != null && {
325
- Filters: serializeAws_restJson1ListAnomaliesForInsightFilters(input.Filters, context),
326
- }),
324
+ ...(input.Filters != null && { Filters: se_ListAnomaliesForInsightFilters(input.Filters, context) }),
327
325
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
328
326
  ...(input.NextToken != null && { NextToken: input.NextToken }),
329
- ...(input.StartTimeRange != null && {
330
- StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
331
- }),
327
+ ...(input.StartTimeRange != null && { StartTimeRange: se_StartTimeRange(input.StartTimeRange, context) }),
332
328
  });
333
329
  return new __HttpRequest({
334
330
  protocol,
@@ -340,7 +336,7 @@ export const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input
340
336
  body,
341
337
  });
342
338
  };
343
- export const serializeAws_restJson1ListAnomalousLogGroupsCommand = async (input, context) => {
339
+ export const se_ListAnomalousLogGroupsCommand = async (input, context) => {
344
340
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
345
341
  const headers = {
346
342
  "content-type": "application/json",
@@ -362,7 +358,7 @@ export const serializeAws_restJson1ListAnomalousLogGroupsCommand = async (input,
362
358
  body,
363
359
  });
364
360
  };
365
- export const serializeAws_restJson1ListEventsCommand = async (input, context) => {
361
+ export const se_ListEventsCommand = async (input, context) => {
366
362
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
367
363
  const headers = {
368
364
  "content-type": "application/json",
@@ -371,7 +367,7 @@ export const serializeAws_restJson1ListEventsCommand = async (input, context) =>
371
367
  let body;
372
368
  body = JSON.stringify({
373
369
  ...(input.AccountId != null && { AccountId: input.AccountId }),
374
- ...(input.Filters != null && { Filters: serializeAws_restJson1ListEventsFilters(input.Filters, context) }),
370
+ ...(input.Filters != null && { Filters: se_ListEventsFilters(input.Filters, context) }),
375
371
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
376
372
  ...(input.NextToken != null && { NextToken: input.NextToken }),
377
373
  });
@@ -385,7 +381,7 @@ export const serializeAws_restJson1ListEventsCommand = async (input, context) =>
385
381
  body,
386
382
  });
387
383
  };
388
- export const serializeAws_restJson1ListInsightsCommand = async (input, context) => {
384
+ export const se_ListInsightsCommand = async (input, context) => {
389
385
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
390
386
  const headers = {
391
387
  "content-type": "application/json",
@@ -395,9 +391,7 @@ export const serializeAws_restJson1ListInsightsCommand = async (input, context)
395
391
  body = JSON.stringify({
396
392
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
397
393
  ...(input.NextToken != null && { NextToken: input.NextToken }),
398
- ...(input.StatusFilter != null && {
399
- StatusFilter: serializeAws_restJson1ListInsightsStatusFilter(input.StatusFilter, context),
400
- }),
394
+ ...(input.StatusFilter != null && { StatusFilter: se_ListInsightsStatusFilter(input.StatusFilter, context) }),
401
395
  });
402
396
  return new __HttpRequest({
403
397
  protocol,
@@ -409,7 +403,7 @@ export const serializeAws_restJson1ListInsightsCommand = async (input, context)
409
403
  body,
410
404
  });
411
405
  };
412
- export const serializeAws_restJson1ListMonitoredResourcesCommand = async (input, context) => {
406
+ export const se_ListMonitoredResourcesCommand = async (input, context) => {
413
407
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
414
408
  const headers = {
415
409
  "content-type": "application/json",
@@ -417,9 +411,7 @@ export const serializeAws_restJson1ListMonitoredResourcesCommand = async (input,
417
411
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/monitoredResources";
418
412
  let body;
419
413
  body = JSON.stringify({
420
- ...(input.Filters != null && {
421
- Filters: serializeAws_restJson1ListMonitoredResourcesFilters(input.Filters, context),
422
- }),
414
+ ...(input.Filters != null && { Filters: se_ListMonitoredResourcesFilters(input.Filters, context) }),
423
415
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
424
416
  ...(input.NextToken != null && { NextToken: input.NextToken }),
425
417
  });
@@ -433,7 +425,7 @@ export const serializeAws_restJson1ListMonitoredResourcesCommand = async (input,
433
425
  body,
434
426
  });
435
427
  };
436
- export const serializeAws_restJson1ListNotificationChannelsCommand = async (input, context) => {
428
+ export const se_ListNotificationChannelsCommand = async (input, context) => {
437
429
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
438
430
  const headers = {
439
431
  "content-type": "application/json",
@@ -453,7 +445,7 @@ export const serializeAws_restJson1ListNotificationChannelsCommand = async (inpu
453
445
  body,
454
446
  });
455
447
  };
456
- export const serializeAws_restJson1ListOrganizationInsightsCommand = async (input, context) => {
448
+ export const se_ListOrganizationInsightsCommand = async (input, context) => {
457
449
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
458
450
  const headers = {
459
451
  "content-type": "application/json",
@@ -461,17 +453,13 @@ export const serializeAws_restJson1ListOrganizationInsightsCommand = async (inpu
461
453
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/organization/insights";
462
454
  let body;
463
455
  body = JSON.stringify({
464
- ...(input.AccountIds != null && {
465
- AccountIds: serializeAws_restJson1ListInsightsAccountIdList(input.AccountIds, context),
466
- }),
456
+ ...(input.AccountIds != null && { AccountIds: se_ListInsightsAccountIdList(input.AccountIds, context) }),
467
457
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
468
458
  ...(input.NextToken != null && { NextToken: input.NextToken }),
469
459
  ...(input.OrganizationalUnitIds != null && {
470
- OrganizationalUnitIds: serializeAws_restJson1ListInsightsOrganizationalUnitIdList(input.OrganizationalUnitIds, context),
471
- }),
472
- ...(input.StatusFilter != null && {
473
- StatusFilter: serializeAws_restJson1ListInsightsStatusFilter(input.StatusFilter, context),
460
+ OrganizationalUnitIds: se_ListInsightsOrganizationalUnitIdList(input.OrganizationalUnitIds, context),
474
461
  }),
462
+ ...(input.StatusFilter != null && { StatusFilter: se_ListInsightsStatusFilter(input.StatusFilter, context) }),
475
463
  });
476
464
  return new __HttpRequest({
477
465
  protocol,
@@ -483,7 +471,7 @@ export const serializeAws_restJson1ListOrganizationInsightsCommand = async (inpu
483
471
  body,
484
472
  });
485
473
  };
486
- export const serializeAws_restJson1ListRecommendationsCommand = async (input, context) => {
474
+ export const se_ListRecommendationsCommand = async (input, context) => {
487
475
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
488
476
  const headers = {
489
477
  "content-type": "application/json",
@@ -506,7 +494,7 @@ export const serializeAws_restJson1ListRecommendationsCommand = async (input, co
506
494
  body,
507
495
  });
508
496
  };
509
- export const serializeAws_restJson1PutFeedbackCommand = async (input, context) => {
497
+ export const se_PutFeedbackCommand = async (input, context) => {
510
498
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
511
499
  const headers = {
512
500
  "content-type": "application/json",
@@ -514,9 +502,7 @@ export const serializeAws_restJson1PutFeedbackCommand = async (input, context) =
514
502
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/feedback";
515
503
  let body;
516
504
  body = JSON.stringify({
517
- ...(input.InsightFeedback != null && {
518
- InsightFeedback: serializeAws_restJson1InsightFeedback(input.InsightFeedback, context),
519
- }),
505
+ ...(input.InsightFeedback != null && { InsightFeedback: se_InsightFeedback(input.InsightFeedback, context) }),
520
506
  });
521
507
  return new __HttpRequest({
522
508
  protocol,
@@ -528,7 +514,7 @@ export const serializeAws_restJson1PutFeedbackCommand = async (input, context) =
528
514
  body,
529
515
  });
530
516
  };
531
- export const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, context) => {
517
+ export const se_RemoveNotificationChannelCommand = async (input, context) => {
532
518
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
533
519
  const headers = {};
534
520
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{Id}";
@@ -544,7 +530,7 @@ export const serializeAws_restJson1RemoveNotificationChannelCommand = async (inp
544
530
  body,
545
531
  });
546
532
  };
547
- export const serializeAws_restJson1SearchInsightsCommand = async (input, context) => {
533
+ export const se_SearchInsightsCommand = async (input, context) => {
548
534
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
549
535
  const headers = {
550
536
  "content-type": "application/json",
@@ -552,12 +538,10 @@ export const serializeAws_restJson1SearchInsightsCommand = async (input, context
552
538
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/insights/search";
553
539
  let body;
554
540
  body = JSON.stringify({
555
- ...(input.Filters != null && { Filters: serializeAws_restJson1SearchInsightsFilters(input.Filters, context) }),
541
+ ...(input.Filters != null && { Filters: se_SearchInsightsFilters(input.Filters, context) }),
556
542
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
557
543
  ...(input.NextToken != null && { NextToken: input.NextToken }),
558
- ...(input.StartTimeRange != null && {
559
- StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
560
- }),
544
+ ...(input.StartTimeRange != null && { StartTimeRange: se_StartTimeRange(input.StartTimeRange, context) }),
561
545
  ...(input.Type != null && { Type: input.Type }),
562
546
  });
563
547
  return new __HttpRequest({
@@ -570,7 +554,7 @@ export const serializeAws_restJson1SearchInsightsCommand = async (input, context
570
554
  body,
571
555
  });
572
556
  };
573
- export const serializeAws_restJson1SearchOrganizationInsightsCommand = async (input, context) => {
557
+ export const se_SearchOrganizationInsightsCommand = async (input, context) => {
574
558
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
575
559
  const headers = {
576
560
  "content-type": "application/json",
@@ -578,17 +562,11 @@ export const serializeAws_restJson1SearchOrganizationInsightsCommand = async (in
578
562
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/organization/insights/search";
579
563
  let body;
580
564
  body = JSON.stringify({
581
- ...(input.AccountIds != null && {
582
- AccountIds: serializeAws_restJson1SearchInsightsAccountIdList(input.AccountIds, context),
583
- }),
584
- ...(input.Filters != null && {
585
- Filters: serializeAws_restJson1SearchOrganizationInsightsFilters(input.Filters, context),
586
- }),
565
+ ...(input.AccountIds != null && { AccountIds: se_SearchInsightsAccountIdList(input.AccountIds, context) }),
566
+ ...(input.Filters != null && { Filters: se_SearchOrganizationInsightsFilters(input.Filters, context) }),
587
567
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
588
568
  ...(input.NextToken != null && { NextToken: input.NextToken }),
589
- ...(input.StartTimeRange != null && {
590
- StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
591
- }),
569
+ ...(input.StartTimeRange != null && { StartTimeRange: se_StartTimeRange(input.StartTimeRange, context) }),
592
570
  ...(input.Type != null && { Type: input.Type }),
593
571
  });
594
572
  return new __HttpRequest({
@@ -601,7 +579,7 @@ export const serializeAws_restJson1SearchOrganizationInsightsCommand = async (in
601
579
  body,
602
580
  });
603
581
  };
604
- export const serializeAws_restJson1StartCostEstimationCommand = async (input, context) => {
582
+ export const se_StartCostEstimationCommand = async (input, context) => {
605
583
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
606
584
  const headers = {
607
585
  "content-type": "application/json",
@@ -611,7 +589,7 @@ export const serializeAws_restJson1StartCostEstimationCommand = async (input, co
611
589
  body = JSON.stringify({
612
590
  ClientToken: input.ClientToken ?? generateIdempotencyToken(),
613
591
  ...(input.ResourceCollection != null && {
614
- ResourceCollection: serializeAws_restJson1CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
592
+ ResourceCollection: se_CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
615
593
  }),
616
594
  });
617
595
  return new __HttpRequest({
@@ -624,7 +602,7 @@ export const serializeAws_restJson1StartCostEstimationCommand = async (input, co
624
602
  body,
625
603
  });
626
604
  };
627
- export const serializeAws_restJson1UpdateEventSourcesConfigCommand = async (input, context) => {
605
+ export const se_UpdateEventSourcesConfigCommand = async (input, context) => {
628
606
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
629
607
  const headers = {
630
608
  "content-type": "application/json",
@@ -632,9 +610,7 @@ export const serializeAws_restJson1UpdateEventSourcesConfigCommand = async (inpu
632
610
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/event-sources";
633
611
  let body;
634
612
  body = JSON.stringify({
635
- ...(input.EventSources != null && {
636
- EventSources: serializeAws_restJson1EventSourcesConfig(input.EventSources, context),
637
- }),
613
+ ...(input.EventSources != null && { EventSources: se_EventSourcesConfig(input.EventSources, context) }),
638
614
  });
639
615
  return new __HttpRequest({
640
616
  protocol,
@@ -646,7 +622,7 @@ export const serializeAws_restJson1UpdateEventSourcesConfigCommand = async (inpu
646
622
  body,
647
623
  });
648
624
  };
649
- export const serializeAws_restJson1UpdateResourceCollectionCommand = async (input, context) => {
625
+ export const se_UpdateResourceCollectionCommand = async (input, context) => {
650
626
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
651
627
  const headers = {
652
628
  "content-type": "application/json",
@@ -656,7 +632,7 @@ export const serializeAws_restJson1UpdateResourceCollectionCommand = async (inpu
656
632
  body = JSON.stringify({
657
633
  ...(input.Action != null && { Action: input.Action }),
658
634
  ...(input.ResourceCollection != null && {
659
- ResourceCollection: serializeAws_restJson1UpdateResourceCollectionFilter(input.ResourceCollection, context),
635
+ ResourceCollection: se_UpdateResourceCollectionFilter(input.ResourceCollection, context),
660
636
  }),
661
637
  });
662
638
  return new __HttpRequest({
@@ -669,7 +645,7 @@ export const serializeAws_restJson1UpdateResourceCollectionCommand = async (inpu
669
645
  body,
670
646
  });
671
647
  };
672
- export const serializeAws_restJson1UpdateServiceIntegrationCommand = async (input, context) => {
648
+ export const se_UpdateServiceIntegrationCommand = async (input, context) => {
673
649
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
674
650
  const headers = {
675
651
  "content-type": "application/json",
@@ -678,7 +654,7 @@ export const serializeAws_restJson1UpdateServiceIntegrationCommand = async (inpu
678
654
  let body;
679
655
  body = JSON.stringify({
680
656
  ...(input.ServiceIntegration != null && {
681
- ServiceIntegration: serializeAws_restJson1UpdateServiceIntegrationConfig(input.ServiceIntegration, context),
657
+ ServiceIntegration: se_UpdateServiceIntegrationConfig(input.ServiceIntegration, context),
682
658
  }),
683
659
  });
684
660
  return new __HttpRequest({
@@ -691,9 +667,9 @@ export const serializeAws_restJson1UpdateServiceIntegrationCommand = async (inpu
691
667
  body,
692
668
  });
693
669
  };
694
- export const deserializeAws_restJson1AddNotificationChannelCommand = async (output, context) => {
670
+ export const de_AddNotificationChannelCommand = async (output, context) => {
695
671
  if (output.statusCode !== 200 && output.statusCode >= 300) {
696
- return deserializeAws_restJson1AddNotificationChannelCommandError(output, context);
672
+ return de_AddNotificationChannelCommandError(output, context);
697
673
  }
698
674
  const contents = map({
699
675
  $metadata: deserializeMetadata(output),
@@ -704,7 +680,7 @@ export const deserializeAws_restJson1AddNotificationChannelCommand = async (outp
704
680
  }
705
681
  return contents;
706
682
  };
707
- const deserializeAws_restJson1AddNotificationChannelCommandError = async (output, context) => {
683
+ const de_AddNotificationChannelCommandError = async (output, context) => {
708
684
  const parsedOutput = {
709
685
  ...output,
710
686
  body: await parseErrorBody(output.body, context),
@@ -713,25 +689,25 @@ const deserializeAws_restJson1AddNotificationChannelCommandError = async (output
713
689
  switch (errorCode) {
714
690
  case "AccessDeniedException":
715
691
  case "com.amazonaws.devopsguru#AccessDeniedException":
716
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
692
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
717
693
  case "ConflictException":
718
694
  case "com.amazonaws.devopsguru#ConflictException":
719
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
695
+ throw await de_ConflictExceptionRes(parsedOutput, context);
720
696
  case "InternalServerException":
721
697
  case "com.amazonaws.devopsguru#InternalServerException":
722
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
698
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
723
699
  case "ResourceNotFoundException":
724
700
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
725
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
701
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
726
702
  case "ServiceQuotaExceededException":
727
703
  case "com.amazonaws.devopsguru#ServiceQuotaExceededException":
728
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
704
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
729
705
  case "ThrottlingException":
730
706
  case "com.amazonaws.devopsguru#ThrottlingException":
731
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
707
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
732
708
  case "ValidationException":
733
709
  case "com.amazonaws.devopsguru#ValidationException":
734
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
710
+ throw await de_ValidationExceptionRes(parsedOutput, context);
735
711
  default:
736
712
  const parsedBody = parsedOutput.body;
737
713
  throwDefaultError({
@@ -742,9 +718,9 @@ const deserializeAws_restJson1AddNotificationChannelCommandError = async (output
742
718
  });
743
719
  }
744
720
  };
745
- export const deserializeAws_restJson1DeleteInsightCommand = async (output, context) => {
721
+ export const de_DeleteInsightCommand = async (output, context) => {
746
722
  if (output.statusCode !== 200 && output.statusCode >= 300) {
747
- return deserializeAws_restJson1DeleteInsightCommandError(output, context);
723
+ return de_DeleteInsightCommandError(output, context);
748
724
  }
749
725
  const contents = map({
750
726
  $metadata: deserializeMetadata(output),
@@ -752,7 +728,7 @@ export const deserializeAws_restJson1DeleteInsightCommand = async (output, conte
752
728
  await collectBody(output.body, context);
753
729
  return contents;
754
730
  };
755
- const deserializeAws_restJson1DeleteInsightCommandError = async (output, context) => {
731
+ const de_DeleteInsightCommandError = async (output, context) => {
756
732
  const parsedOutput = {
757
733
  ...output,
758
734
  body: await parseErrorBody(output.body, context),
@@ -761,22 +737,22 @@ const deserializeAws_restJson1DeleteInsightCommandError = async (output, context
761
737
  switch (errorCode) {
762
738
  case "AccessDeniedException":
763
739
  case "com.amazonaws.devopsguru#AccessDeniedException":
764
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
740
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
765
741
  case "ConflictException":
766
742
  case "com.amazonaws.devopsguru#ConflictException":
767
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
743
+ throw await de_ConflictExceptionRes(parsedOutput, context);
768
744
  case "InternalServerException":
769
745
  case "com.amazonaws.devopsguru#InternalServerException":
770
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
746
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
771
747
  case "ResourceNotFoundException":
772
748
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
773
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
749
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
774
750
  case "ThrottlingException":
775
751
  case "com.amazonaws.devopsguru#ThrottlingException":
776
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
752
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
777
753
  case "ValidationException":
778
754
  case "com.amazonaws.devopsguru#ValidationException":
779
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
755
+ throw await de_ValidationExceptionRes(parsedOutput, context);
780
756
  default:
781
757
  const parsedBody = parsedOutput.body;
782
758
  throwDefaultError({
@@ -787,9 +763,9 @@ const deserializeAws_restJson1DeleteInsightCommandError = async (output, context
787
763
  });
788
764
  }
789
765
  };
790
- export const deserializeAws_restJson1DescribeAccountHealthCommand = async (output, context) => {
766
+ export const de_DescribeAccountHealthCommand = async (output, context) => {
791
767
  if (output.statusCode !== 200 && output.statusCode >= 300) {
792
- return deserializeAws_restJson1DescribeAccountHealthCommandError(output, context);
768
+ return de_DescribeAccountHealthCommandError(output, context);
793
769
  }
794
770
  const contents = map({
795
771
  $metadata: deserializeMetadata(output),
@@ -812,7 +788,7 @@ export const deserializeAws_restJson1DescribeAccountHealthCommand = async (outpu
812
788
  }
813
789
  return contents;
814
790
  };
815
- const deserializeAws_restJson1DescribeAccountHealthCommandError = async (output, context) => {
791
+ const de_DescribeAccountHealthCommandError = async (output, context) => {
816
792
  const parsedOutput = {
817
793
  ...output,
818
794
  body: await parseErrorBody(output.body, context),
@@ -821,16 +797,16 @@ const deserializeAws_restJson1DescribeAccountHealthCommandError = async (output,
821
797
  switch (errorCode) {
822
798
  case "AccessDeniedException":
823
799
  case "com.amazonaws.devopsguru#AccessDeniedException":
824
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
800
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
825
801
  case "InternalServerException":
826
802
  case "com.amazonaws.devopsguru#InternalServerException":
827
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
803
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
828
804
  case "ThrottlingException":
829
805
  case "com.amazonaws.devopsguru#ThrottlingException":
830
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
806
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
831
807
  case "ValidationException":
832
808
  case "com.amazonaws.devopsguru#ValidationException":
833
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
809
+ throw await de_ValidationExceptionRes(parsedOutput, context);
834
810
  default:
835
811
  const parsedBody = parsedOutput.body;
836
812
  throwDefaultError({
@@ -841,9 +817,9 @@ const deserializeAws_restJson1DescribeAccountHealthCommandError = async (output,
841
817
  });
842
818
  }
843
819
  };
844
- export const deserializeAws_restJson1DescribeAccountOverviewCommand = async (output, context) => {
820
+ export const de_DescribeAccountOverviewCommand = async (output, context) => {
845
821
  if (output.statusCode !== 200 && output.statusCode >= 300) {
846
- return deserializeAws_restJson1DescribeAccountOverviewCommandError(output, context);
822
+ return de_DescribeAccountOverviewCommandError(output, context);
847
823
  }
848
824
  const contents = map({
849
825
  $metadata: deserializeMetadata(output),
@@ -860,7 +836,7 @@ export const deserializeAws_restJson1DescribeAccountOverviewCommand = async (out
860
836
  }
861
837
  return contents;
862
838
  };
863
- const deserializeAws_restJson1DescribeAccountOverviewCommandError = async (output, context) => {
839
+ const de_DescribeAccountOverviewCommandError = async (output, context) => {
864
840
  const parsedOutput = {
865
841
  ...output,
866
842
  body: await parseErrorBody(output.body, context),
@@ -869,16 +845,16 @@ const deserializeAws_restJson1DescribeAccountOverviewCommandError = async (outpu
869
845
  switch (errorCode) {
870
846
  case "AccessDeniedException":
871
847
  case "com.amazonaws.devopsguru#AccessDeniedException":
872
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
848
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
873
849
  case "InternalServerException":
874
850
  case "com.amazonaws.devopsguru#InternalServerException":
875
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
851
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
876
852
  case "ThrottlingException":
877
853
  case "com.amazonaws.devopsguru#ThrottlingException":
878
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
854
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
879
855
  case "ValidationException":
880
856
  case "com.amazonaws.devopsguru#ValidationException":
881
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
857
+ throw await de_ValidationExceptionRes(parsedOutput, context);
882
858
  default:
883
859
  const parsedBody = parsedOutput.body;
884
860
  throwDefaultError({
@@ -889,23 +865,23 @@ const deserializeAws_restJson1DescribeAccountOverviewCommandError = async (outpu
889
865
  });
890
866
  }
891
867
  };
892
- export const deserializeAws_restJson1DescribeAnomalyCommand = async (output, context) => {
868
+ export const de_DescribeAnomalyCommand = async (output, context) => {
893
869
  if (output.statusCode !== 200 && output.statusCode >= 300) {
894
- return deserializeAws_restJson1DescribeAnomalyCommandError(output, context);
870
+ return de_DescribeAnomalyCommandError(output, context);
895
871
  }
896
872
  const contents = map({
897
873
  $metadata: deserializeMetadata(output),
898
874
  });
899
875
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
900
876
  if (data.ProactiveAnomaly != null) {
901
- contents.ProactiveAnomaly = deserializeAws_restJson1ProactiveAnomaly(data.ProactiveAnomaly, context);
877
+ contents.ProactiveAnomaly = de_ProactiveAnomaly(data.ProactiveAnomaly, context);
902
878
  }
903
879
  if (data.ReactiveAnomaly != null) {
904
- contents.ReactiveAnomaly = deserializeAws_restJson1ReactiveAnomaly(data.ReactiveAnomaly, context);
880
+ contents.ReactiveAnomaly = de_ReactiveAnomaly(data.ReactiveAnomaly, context);
905
881
  }
906
882
  return contents;
907
883
  };
908
- const deserializeAws_restJson1DescribeAnomalyCommandError = async (output, context) => {
884
+ const de_DescribeAnomalyCommandError = async (output, context) => {
909
885
  const parsedOutput = {
910
886
  ...output,
911
887
  body: await parseErrorBody(output.body, context),
@@ -914,19 +890,19 @@ const deserializeAws_restJson1DescribeAnomalyCommandError = async (output, conte
914
890
  switch (errorCode) {
915
891
  case "AccessDeniedException":
916
892
  case "com.amazonaws.devopsguru#AccessDeniedException":
917
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
893
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
918
894
  case "InternalServerException":
919
895
  case "com.amazonaws.devopsguru#InternalServerException":
920
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
896
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
921
897
  case "ResourceNotFoundException":
922
898
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
923
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
899
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
924
900
  case "ThrottlingException":
925
901
  case "com.amazonaws.devopsguru#ThrottlingException":
926
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
902
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
927
903
  case "ValidationException":
928
904
  case "com.amazonaws.devopsguru#ValidationException":
929
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
905
+ throw await de_ValidationExceptionRes(parsedOutput, context);
930
906
  default:
931
907
  const parsedBody = parsedOutput.body;
932
908
  throwDefaultError({
@@ -937,20 +913,20 @@ const deserializeAws_restJson1DescribeAnomalyCommandError = async (output, conte
937
913
  });
938
914
  }
939
915
  };
940
- export const deserializeAws_restJson1DescribeEventSourcesConfigCommand = async (output, context) => {
916
+ export const de_DescribeEventSourcesConfigCommand = async (output, context) => {
941
917
  if (output.statusCode !== 200 && output.statusCode >= 300) {
942
- return deserializeAws_restJson1DescribeEventSourcesConfigCommandError(output, context);
918
+ return de_DescribeEventSourcesConfigCommandError(output, context);
943
919
  }
944
920
  const contents = map({
945
921
  $metadata: deserializeMetadata(output),
946
922
  });
947
923
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
948
924
  if (data.EventSources != null) {
949
- contents.EventSources = deserializeAws_restJson1EventSourcesConfig(data.EventSources, context);
925
+ contents.EventSources = de_EventSourcesConfig(data.EventSources, context);
950
926
  }
951
927
  return contents;
952
928
  };
953
- const deserializeAws_restJson1DescribeEventSourcesConfigCommandError = async (output, context) => {
929
+ const de_DescribeEventSourcesConfigCommandError = async (output, context) => {
954
930
  const parsedOutput = {
955
931
  ...output,
956
932
  body: await parseErrorBody(output.body, context),
@@ -959,16 +935,16 @@ const deserializeAws_restJson1DescribeEventSourcesConfigCommandError = async (ou
959
935
  switch (errorCode) {
960
936
  case "AccessDeniedException":
961
937
  case "com.amazonaws.devopsguru#AccessDeniedException":
962
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
938
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
963
939
  case "InternalServerException":
964
940
  case "com.amazonaws.devopsguru#InternalServerException":
965
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
941
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
966
942
  case "ThrottlingException":
967
943
  case "com.amazonaws.devopsguru#ThrottlingException":
968
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
944
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
969
945
  case "ValidationException":
970
946
  case "com.amazonaws.devopsguru#ValidationException":
971
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
947
+ throw await de_ValidationExceptionRes(parsedOutput, context);
972
948
  default:
973
949
  const parsedBody = parsedOutput.body;
974
950
  throwDefaultError({
@@ -979,20 +955,20 @@ const deserializeAws_restJson1DescribeEventSourcesConfigCommandError = async (ou
979
955
  });
980
956
  }
981
957
  };
982
- export const deserializeAws_restJson1DescribeFeedbackCommand = async (output, context) => {
958
+ export const de_DescribeFeedbackCommand = async (output, context) => {
983
959
  if (output.statusCode !== 200 && output.statusCode >= 300) {
984
- return deserializeAws_restJson1DescribeFeedbackCommandError(output, context);
960
+ return de_DescribeFeedbackCommandError(output, context);
985
961
  }
986
962
  const contents = map({
987
963
  $metadata: deserializeMetadata(output),
988
964
  });
989
965
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
990
966
  if (data.InsightFeedback != null) {
991
- contents.InsightFeedback = deserializeAws_restJson1InsightFeedback(data.InsightFeedback, context);
967
+ contents.InsightFeedback = de_InsightFeedback(data.InsightFeedback, context);
992
968
  }
993
969
  return contents;
994
970
  };
995
- const deserializeAws_restJson1DescribeFeedbackCommandError = async (output, context) => {
971
+ const de_DescribeFeedbackCommandError = async (output, context) => {
996
972
  const parsedOutput = {
997
973
  ...output,
998
974
  body: await parseErrorBody(output.body, context),
@@ -1001,19 +977,19 @@ const deserializeAws_restJson1DescribeFeedbackCommandError = async (output, cont
1001
977
  switch (errorCode) {
1002
978
  case "AccessDeniedException":
1003
979
  case "com.amazonaws.devopsguru#AccessDeniedException":
1004
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
980
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1005
981
  case "InternalServerException":
1006
982
  case "com.amazonaws.devopsguru#InternalServerException":
1007
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
983
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1008
984
  case "ResourceNotFoundException":
1009
985
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1010
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
986
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1011
987
  case "ThrottlingException":
1012
988
  case "com.amazonaws.devopsguru#ThrottlingException":
1013
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
989
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1014
990
  case "ValidationException":
1015
991
  case "com.amazonaws.devopsguru#ValidationException":
1016
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
992
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1017
993
  default:
1018
994
  const parsedBody = parsedOutput.body;
1019
995
  throwDefaultError({
@@ -1024,23 +1000,23 @@ const deserializeAws_restJson1DescribeFeedbackCommandError = async (output, cont
1024
1000
  });
1025
1001
  }
1026
1002
  };
1027
- export const deserializeAws_restJson1DescribeInsightCommand = async (output, context) => {
1003
+ export const de_DescribeInsightCommand = async (output, context) => {
1028
1004
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1029
- return deserializeAws_restJson1DescribeInsightCommandError(output, context);
1005
+ return de_DescribeInsightCommandError(output, context);
1030
1006
  }
1031
1007
  const contents = map({
1032
1008
  $metadata: deserializeMetadata(output),
1033
1009
  });
1034
1010
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1035
1011
  if (data.ProactiveInsight != null) {
1036
- contents.ProactiveInsight = deserializeAws_restJson1ProactiveInsight(data.ProactiveInsight, context);
1012
+ contents.ProactiveInsight = de_ProactiveInsight(data.ProactiveInsight, context);
1037
1013
  }
1038
1014
  if (data.ReactiveInsight != null) {
1039
- contents.ReactiveInsight = deserializeAws_restJson1ReactiveInsight(data.ReactiveInsight, context);
1015
+ contents.ReactiveInsight = de_ReactiveInsight(data.ReactiveInsight, context);
1040
1016
  }
1041
1017
  return contents;
1042
1018
  };
1043
- const deserializeAws_restJson1DescribeInsightCommandError = async (output, context) => {
1019
+ const de_DescribeInsightCommandError = async (output, context) => {
1044
1020
  const parsedOutput = {
1045
1021
  ...output,
1046
1022
  body: await parseErrorBody(output.body, context),
@@ -1049,19 +1025,19 @@ const deserializeAws_restJson1DescribeInsightCommandError = async (output, conte
1049
1025
  switch (errorCode) {
1050
1026
  case "AccessDeniedException":
1051
1027
  case "com.amazonaws.devopsguru#AccessDeniedException":
1052
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1028
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1053
1029
  case "InternalServerException":
1054
1030
  case "com.amazonaws.devopsguru#InternalServerException":
1055
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1031
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1056
1032
  case "ResourceNotFoundException":
1057
1033
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1058
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1034
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1059
1035
  case "ThrottlingException":
1060
1036
  case "com.amazonaws.devopsguru#ThrottlingException":
1061
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1037
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1062
1038
  case "ValidationException":
1063
1039
  case "com.amazonaws.devopsguru#ValidationException":
1064
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1040
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1065
1041
  default:
1066
1042
  const parsedBody = parsedOutput.body;
1067
1043
  throwDefaultError({
@@ -1072,9 +1048,9 @@ const deserializeAws_restJson1DescribeInsightCommandError = async (output, conte
1072
1048
  });
1073
1049
  }
1074
1050
  };
1075
- export const deserializeAws_restJson1DescribeOrganizationHealthCommand = async (output, context) => {
1051
+ export const de_DescribeOrganizationHealthCommand = async (output, context) => {
1076
1052
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1077
- return deserializeAws_restJson1DescribeOrganizationHealthCommandError(output, context);
1053
+ return de_DescribeOrganizationHealthCommandError(output, context);
1078
1054
  }
1079
1055
  const contents = map({
1080
1056
  $metadata: deserializeMetadata(output),
@@ -1094,7 +1070,7 @@ export const deserializeAws_restJson1DescribeOrganizationHealthCommand = async (
1094
1070
  }
1095
1071
  return contents;
1096
1072
  };
1097
- const deserializeAws_restJson1DescribeOrganizationHealthCommandError = async (output, context) => {
1073
+ const de_DescribeOrganizationHealthCommandError = async (output, context) => {
1098
1074
  const parsedOutput = {
1099
1075
  ...output,
1100
1076
  body: await parseErrorBody(output.body, context),
@@ -1103,16 +1079,16 @@ const deserializeAws_restJson1DescribeOrganizationHealthCommandError = async (ou
1103
1079
  switch (errorCode) {
1104
1080
  case "AccessDeniedException":
1105
1081
  case "com.amazonaws.devopsguru#AccessDeniedException":
1106
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1082
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1107
1083
  case "InternalServerException":
1108
1084
  case "com.amazonaws.devopsguru#InternalServerException":
1109
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1085
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1110
1086
  case "ThrottlingException":
1111
1087
  case "com.amazonaws.devopsguru#ThrottlingException":
1112
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1088
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1113
1089
  case "ValidationException":
1114
1090
  case "com.amazonaws.devopsguru#ValidationException":
1115
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1091
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1116
1092
  default:
1117
1093
  const parsedBody = parsedOutput.body;
1118
1094
  throwDefaultError({
@@ -1123,9 +1099,9 @@ const deserializeAws_restJson1DescribeOrganizationHealthCommandError = async (ou
1123
1099
  });
1124
1100
  }
1125
1101
  };
1126
- export const deserializeAws_restJson1DescribeOrganizationOverviewCommand = async (output, context) => {
1102
+ export const de_DescribeOrganizationOverviewCommand = async (output, context) => {
1127
1103
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1128
- return deserializeAws_restJson1DescribeOrganizationOverviewCommandError(output, context);
1104
+ return de_DescribeOrganizationOverviewCommandError(output, context);
1129
1105
  }
1130
1106
  const contents = map({
1131
1107
  $metadata: deserializeMetadata(output),
@@ -1139,7 +1115,7 @@ export const deserializeAws_restJson1DescribeOrganizationOverviewCommand = async
1139
1115
  }
1140
1116
  return contents;
1141
1117
  };
1142
- const deserializeAws_restJson1DescribeOrganizationOverviewCommandError = async (output, context) => {
1118
+ const de_DescribeOrganizationOverviewCommandError = async (output, context) => {
1143
1119
  const parsedOutput = {
1144
1120
  ...output,
1145
1121
  body: await parseErrorBody(output.body, context),
@@ -1148,16 +1124,16 @@ const deserializeAws_restJson1DescribeOrganizationOverviewCommandError = async (
1148
1124
  switch (errorCode) {
1149
1125
  case "AccessDeniedException":
1150
1126
  case "com.amazonaws.devopsguru#AccessDeniedException":
1151
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1127
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1152
1128
  case "InternalServerException":
1153
1129
  case "com.amazonaws.devopsguru#InternalServerException":
1154
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1130
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1155
1131
  case "ThrottlingException":
1156
1132
  case "com.amazonaws.devopsguru#ThrottlingException":
1157
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1133
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1158
1134
  case "ValidationException":
1159
1135
  case "com.amazonaws.devopsguru#ValidationException":
1160
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1136
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1161
1137
  default:
1162
1138
  const parsedBody = parsedOutput.body;
1163
1139
  throwDefaultError({
@@ -1168,32 +1144,32 @@ const deserializeAws_restJson1DescribeOrganizationOverviewCommandError = async (
1168
1144
  });
1169
1145
  }
1170
1146
  };
1171
- export const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand = async (output, context) => {
1147
+ export const de_DescribeOrganizationResourceCollectionHealthCommand = async (output, context) => {
1172
1148
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1173
- return deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommandError(output, context);
1149
+ return de_DescribeOrganizationResourceCollectionHealthCommandError(output, context);
1174
1150
  }
1175
1151
  const contents = map({
1176
1152
  $metadata: deserializeMetadata(output),
1177
1153
  });
1178
1154
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1179
1155
  if (data.Account != null) {
1180
- contents.Account = deserializeAws_restJson1AccountHealths(data.Account, context);
1156
+ contents.Account = de_AccountHealths(data.Account, context);
1181
1157
  }
1182
1158
  if (data.CloudFormation != null) {
1183
- contents.CloudFormation = deserializeAws_restJson1CloudFormationHealths(data.CloudFormation, context);
1159
+ contents.CloudFormation = de_CloudFormationHealths(data.CloudFormation, context);
1184
1160
  }
1185
1161
  if (data.NextToken != null) {
1186
1162
  contents.NextToken = __expectString(data.NextToken);
1187
1163
  }
1188
1164
  if (data.Service != null) {
1189
- contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
1165
+ contents.Service = de_ServiceHealths(data.Service, context);
1190
1166
  }
1191
1167
  if (data.Tags != null) {
1192
- contents.Tags = deserializeAws_restJson1TagHealths(data.Tags, context);
1168
+ contents.Tags = de_TagHealths(data.Tags, context);
1193
1169
  }
1194
1170
  return contents;
1195
1171
  };
1196
- const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommandError = async (output, context) => {
1172
+ const de_DescribeOrganizationResourceCollectionHealthCommandError = async (output, context) => {
1197
1173
  const parsedOutput = {
1198
1174
  ...output,
1199
1175
  body: await parseErrorBody(output.body, context),
@@ -1202,16 +1178,16 @@ const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComman
1202
1178
  switch (errorCode) {
1203
1179
  case "AccessDeniedException":
1204
1180
  case "com.amazonaws.devopsguru#AccessDeniedException":
1205
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1181
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1206
1182
  case "InternalServerException":
1207
1183
  case "com.amazonaws.devopsguru#InternalServerException":
1208
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1184
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1209
1185
  case "ThrottlingException":
1210
1186
  case "com.amazonaws.devopsguru#ThrottlingException":
1211
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1187
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1212
1188
  case "ValidationException":
1213
1189
  case "com.amazonaws.devopsguru#ValidationException":
1214
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1190
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1215
1191
  default:
1216
1192
  const parsedBody = parsedOutput.body;
1217
1193
  throwDefaultError({
@@ -1222,29 +1198,29 @@ const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComman
1222
1198
  });
1223
1199
  }
1224
1200
  };
1225
- export const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (output, context) => {
1201
+ export const de_DescribeResourceCollectionHealthCommand = async (output, context) => {
1226
1202
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1227
- return deserializeAws_restJson1DescribeResourceCollectionHealthCommandError(output, context);
1203
+ return de_DescribeResourceCollectionHealthCommandError(output, context);
1228
1204
  }
1229
1205
  const contents = map({
1230
1206
  $metadata: deserializeMetadata(output),
1231
1207
  });
1232
1208
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1233
1209
  if (data.CloudFormation != null) {
1234
- contents.CloudFormation = deserializeAws_restJson1CloudFormationHealths(data.CloudFormation, context);
1210
+ contents.CloudFormation = de_CloudFormationHealths(data.CloudFormation, context);
1235
1211
  }
1236
1212
  if (data.NextToken != null) {
1237
1213
  contents.NextToken = __expectString(data.NextToken);
1238
1214
  }
1239
1215
  if (data.Service != null) {
1240
- contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
1216
+ contents.Service = de_ServiceHealths(data.Service, context);
1241
1217
  }
1242
1218
  if (data.Tags != null) {
1243
- contents.Tags = deserializeAws_restJson1TagHealths(data.Tags, context);
1219
+ contents.Tags = de_TagHealths(data.Tags, context);
1244
1220
  }
1245
1221
  return contents;
1246
1222
  };
1247
- const deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = async (output, context) => {
1223
+ const de_DescribeResourceCollectionHealthCommandError = async (output, context) => {
1248
1224
  const parsedOutput = {
1249
1225
  ...output,
1250
1226
  body: await parseErrorBody(output.body, context),
@@ -1253,16 +1229,16 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = asy
1253
1229
  switch (errorCode) {
1254
1230
  case "AccessDeniedException":
1255
1231
  case "com.amazonaws.devopsguru#AccessDeniedException":
1256
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1232
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1257
1233
  case "InternalServerException":
1258
1234
  case "com.amazonaws.devopsguru#InternalServerException":
1259
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1235
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1260
1236
  case "ThrottlingException":
1261
1237
  case "com.amazonaws.devopsguru#ThrottlingException":
1262
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1238
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1263
1239
  case "ValidationException":
1264
1240
  case "com.amazonaws.devopsguru#ValidationException":
1265
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1241
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1266
1242
  default:
1267
1243
  const parsedBody = parsedOutput.body;
1268
1244
  throwDefaultError({
@@ -1273,20 +1249,20 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = asy
1273
1249
  });
1274
1250
  }
1275
1251
  };
1276
- export const deserializeAws_restJson1DescribeServiceIntegrationCommand = async (output, context) => {
1252
+ export const de_DescribeServiceIntegrationCommand = async (output, context) => {
1277
1253
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1278
- return deserializeAws_restJson1DescribeServiceIntegrationCommandError(output, context);
1254
+ return de_DescribeServiceIntegrationCommandError(output, context);
1279
1255
  }
1280
1256
  const contents = map({
1281
1257
  $metadata: deserializeMetadata(output),
1282
1258
  });
1283
1259
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1284
1260
  if (data.ServiceIntegration != null) {
1285
- contents.ServiceIntegration = deserializeAws_restJson1ServiceIntegrationConfig(data.ServiceIntegration, context);
1261
+ contents.ServiceIntegration = de_ServiceIntegrationConfig(data.ServiceIntegration, context);
1286
1262
  }
1287
1263
  return contents;
1288
1264
  };
1289
- const deserializeAws_restJson1DescribeServiceIntegrationCommandError = async (output, context) => {
1265
+ const de_DescribeServiceIntegrationCommandError = async (output, context) => {
1290
1266
  const parsedOutput = {
1291
1267
  ...output,
1292
1268
  body: await parseErrorBody(output.body, context),
@@ -1295,19 +1271,19 @@ const deserializeAws_restJson1DescribeServiceIntegrationCommandError = async (ou
1295
1271
  switch (errorCode) {
1296
1272
  case "AccessDeniedException":
1297
1273
  case "com.amazonaws.devopsguru#AccessDeniedException":
1298
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1274
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1299
1275
  case "InternalServerException":
1300
1276
  case "com.amazonaws.devopsguru#InternalServerException":
1301
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1277
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1302
1278
  case "ResourceNotFoundException":
1303
1279
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1304
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1280
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1305
1281
  case "ThrottlingException":
1306
1282
  case "com.amazonaws.devopsguru#ThrottlingException":
1307
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1283
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1308
1284
  case "ValidationException":
1309
1285
  case "com.amazonaws.devopsguru#ValidationException":
1310
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1286
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1311
1287
  default:
1312
1288
  const parsedBody = parsedOutput.body;
1313
1289
  throwDefaultError({
@@ -1318,35 +1294,35 @@ const deserializeAws_restJson1DescribeServiceIntegrationCommandError = async (ou
1318
1294
  });
1319
1295
  }
1320
1296
  };
1321
- export const deserializeAws_restJson1GetCostEstimationCommand = async (output, context) => {
1297
+ export const de_GetCostEstimationCommand = async (output, context) => {
1322
1298
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1323
- return deserializeAws_restJson1GetCostEstimationCommandError(output, context);
1299
+ return de_GetCostEstimationCommandError(output, context);
1324
1300
  }
1325
1301
  const contents = map({
1326
1302
  $metadata: deserializeMetadata(output),
1327
1303
  });
1328
1304
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1329
1305
  if (data.Costs != null) {
1330
- contents.Costs = deserializeAws_restJson1ServiceResourceCosts(data.Costs, context);
1306
+ contents.Costs = de_ServiceResourceCosts(data.Costs, context);
1331
1307
  }
1332
1308
  if (data.NextToken != null) {
1333
1309
  contents.NextToken = __expectString(data.NextToken);
1334
1310
  }
1335
1311
  if (data.ResourceCollection != null) {
1336
- contents.ResourceCollection = deserializeAws_restJson1CostEstimationResourceCollectionFilter(data.ResourceCollection, context);
1312
+ contents.ResourceCollection = de_CostEstimationResourceCollectionFilter(data.ResourceCollection, context);
1337
1313
  }
1338
1314
  if (data.Status != null) {
1339
1315
  contents.Status = __expectString(data.Status);
1340
1316
  }
1341
1317
  if (data.TimeRange != null) {
1342
- contents.TimeRange = deserializeAws_restJson1CostEstimationTimeRange(data.TimeRange, context);
1318
+ contents.TimeRange = de_CostEstimationTimeRange(data.TimeRange, context);
1343
1319
  }
1344
1320
  if (data.TotalCost != null) {
1345
1321
  contents.TotalCost = __limitedParseDouble(data.TotalCost);
1346
1322
  }
1347
1323
  return contents;
1348
1324
  };
1349
- const deserializeAws_restJson1GetCostEstimationCommandError = async (output, context) => {
1325
+ const de_GetCostEstimationCommandError = async (output, context) => {
1350
1326
  const parsedOutput = {
1351
1327
  ...output,
1352
1328
  body: await parseErrorBody(output.body, context),
@@ -1355,19 +1331,19 @@ const deserializeAws_restJson1GetCostEstimationCommandError = async (output, con
1355
1331
  switch (errorCode) {
1356
1332
  case "AccessDeniedException":
1357
1333
  case "com.amazonaws.devopsguru#AccessDeniedException":
1358
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1334
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1359
1335
  case "InternalServerException":
1360
1336
  case "com.amazonaws.devopsguru#InternalServerException":
1361
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1337
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1362
1338
  case "ResourceNotFoundException":
1363
1339
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1364
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1340
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1365
1341
  case "ThrottlingException":
1366
1342
  case "com.amazonaws.devopsguru#ThrottlingException":
1367
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1343
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1368
1344
  case "ValidationException":
1369
1345
  case "com.amazonaws.devopsguru#ValidationException":
1370
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1346
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1371
1347
  default:
1372
1348
  const parsedBody = parsedOutput.body;
1373
1349
  throwDefaultError({
@@ -1378,9 +1354,9 @@ const deserializeAws_restJson1GetCostEstimationCommandError = async (output, con
1378
1354
  });
1379
1355
  }
1380
1356
  };
1381
- export const deserializeAws_restJson1GetResourceCollectionCommand = async (output, context) => {
1357
+ export const de_GetResourceCollectionCommand = async (output, context) => {
1382
1358
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1383
- return deserializeAws_restJson1GetResourceCollectionCommandError(output, context);
1359
+ return de_GetResourceCollectionCommandError(output, context);
1384
1360
  }
1385
1361
  const contents = map({
1386
1362
  $metadata: deserializeMetadata(output),
@@ -1390,11 +1366,11 @@ export const deserializeAws_restJson1GetResourceCollectionCommand = async (outpu
1390
1366
  contents.NextToken = __expectString(data.NextToken);
1391
1367
  }
1392
1368
  if (data.ResourceCollection != null) {
1393
- contents.ResourceCollection = deserializeAws_restJson1ResourceCollectionFilter(data.ResourceCollection, context);
1369
+ contents.ResourceCollection = de_ResourceCollectionFilter(data.ResourceCollection, context);
1394
1370
  }
1395
1371
  return contents;
1396
1372
  };
1397
- const deserializeAws_restJson1GetResourceCollectionCommandError = async (output, context) => {
1373
+ const de_GetResourceCollectionCommandError = async (output, context) => {
1398
1374
  const parsedOutput = {
1399
1375
  ...output,
1400
1376
  body: await parseErrorBody(output.body, context),
@@ -1403,19 +1379,19 @@ const deserializeAws_restJson1GetResourceCollectionCommandError = async (output,
1403
1379
  switch (errorCode) {
1404
1380
  case "AccessDeniedException":
1405
1381
  case "com.amazonaws.devopsguru#AccessDeniedException":
1406
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1382
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1407
1383
  case "InternalServerException":
1408
1384
  case "com.amazonaws.devopsguru#InternalServerException":
1409
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1385
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1410
1386
  case "ResourceNotFoundException":
1411
1387
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1412
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1388
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1413
1389
  case "ThrottlingException":
1414
1390
  case "com.amazonaws.devopsguru#ThrottlingException":
1415
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1391
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1416
1392
  case "ValidationException":
1417
1393
  case "com.amazonaws.devopsguru#ValidationException":
1418
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1394
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1419
1395
  default:
1420
1396
  const parsedBody = parsedOutput.body;
1421
1397
  throwDefaultError({
@@ -1426,9 +1402,9 @@ const deserializeAws_restJson1GetResourceCollectionCommandError = async (output,
1426
1402
  });
1427
1403
  }
1428
1404
  };
1429
- export const deserializeAws_restJson1ListAnomaliesForInsightCommand = async (output, context) => {
1405
+ export const de_ListAnomaliesForInsightCommand = async (output, context) => {
1430
1406
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1431
- return deserializeAws_restJson1ListAnomaliesForInsightCommandError(output, context);
1407
+ return de_ListAnomaliesForInsightCommandError(output, context);
1432
1408
  }
1433
1409
  const contents = map({
1434
1410
  $metadata: deserializeMetadata(output),
@@ -1438,14 +1414,14 @@ export const deserializeAws_restJson1ListAnomaliesForInsightCommand = async (out
1438
1414
  contents.NextToken = __expectString(data.NextToken);
1439
1415
  }
1440
1416
  if (data.ProactiveAnomalies != null) {
1441
- contents.ProactiveAnomalies = deserializeAws_restJson1ProactiveAnomalies(data.ProactiveAnomalies, context);
1417
+ contents.ProactiveAnomalies = de_ProactiveAnomalies(data.ProactiveAnomalies, context);
1442
1418
  }
1443
1419
  if (data.ReactiveAnomalies != null) {
1444
- contents.ReactiveAnomalies = deserializeAws_restJson1ReactiveAnomalies(data.ReactiveAnomalies, context);
1420
+ contents.ReactiveAnomalies = de_ReactiveAnomalies(data.ReactiveAnomalies, context);
1445
1421
  }
1446
1422
  return contents;
1447
1423
  };
1448
- const deserializeAws_restJson1ListAnomaliesForInsightCommandError = async (output, context) => {
1424
+ const de_ListAnomaliesForInsightCommandError = async (output, context) => {
1449
1425
  const parsedOutput = {
1450
1426
  ...output,
1451
1427
  body: await parseErrorBody(output.body, context),
@@ -1454,19 +1430,19 @@ const deserializeAws_restJson1ListAnomaliesForInsightCommandError = async (outpu
1454
1430
  switch (errorCode) {
1455
1431
  case "AccessDeniedException":
1456
1432
  case "com.amazonaws.devopsguru#AccessDeniedException":
1457
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1433
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1458
1434
  case "InternalServerException":
1459
1435
  case "com.amazonaws.devopsguru#InternalServerException":
1460
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1436
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1461
1437
  case "ResourceNotFoundException":
1462
1438
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1463
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1439
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1464
1440
  case "ThrottlingException":
1465
1441
  case "com.amazonaws.devopsguru#ThrottlingException":
1466
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1442
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1467
1443
  case "ValidationException":
1468
1444
  case "com.amazonaws.devopsguru#ValidationException":
1469
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1445
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1470
1446
  default:
1471
1447
  const parsedBody = parsedOutput.body;
1472
1448
  throwDefaultError({
@@ -1477,16 +1453,16 @@ const deserializeAws_restJson1ListAnomaliesForInsightCommandError = async (outpu
1477
1453
  });
1478
1454
  }
1479
1455
  };
1480
- export const deserializeAws_restJson1ListAnomalousLogGroupsCommand = async (output, context) => {
1456
+ export const de_ListAnomalousLogGroupsCommand = async (output, context) => {
1481
1457
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1482
- return deserializeAws_restJson1ListAnomalousLogGroupsCommandError(output, context);
1458
+ return de_ListAnomalousLogGroupsCommandError(output, context);
1483
1459
  }
1484
1460
  const contents = map({
1485
1461
  $metadata: deserializeMetadata(output),
1486
1462
  });
1487
1463
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1488
1464
  if (data.AnomalousLogGroups != null) {
1489
- contents.AnomalousLogGroups = deserializeAws_restJson1AnomalousLogGroups(data.AnomalousLogGroups, context);
1465
+ contents.AnomalousLogGroups = de_AnomalousLogGroups(data.AnomalousLogGroups, context);
1490
1466
  }
1491
1467
  if (data.InsightId != null) {
1492
1468
  contents.InsightId = __expectString(data.InsightId);
@@ -1496,7 +1472,7 @@ export const deserializeAws_restJson1ListAnomalousLogGroupsCommand = async (outp
1496
1472
  }
1497
1473
  return contents;
1498
1474
  };
1499
- const deserializeAws_restJson1ListAnomalousLogGroupsCommandError = async (output, context) => {
1475
+ const de_ListAnomalousLogGroupsCommandError = async (output, context) => {
1500
1476
  const parsedOutput = {
1501
1477
  ...output,
1502
1478
  body: await parseErrorBody(output.body, context),
@@ -1505,19 +1481,19 @@ const deserializeAws_restJson1ListAnomalousLogGroupsCommandError = async (output
1505
1481
  switch (errorCode) {
1506
1482
  case "AccessDeniedException":
1507
1483
  case "com.amazonaws.devopsguru#AccessDeniedException":
1508
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1484
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1509
1485
  case "InternalServerException":
1510
1486
  case "com.amazonaws.devopsguru#InternalServerException":
1511
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1487
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1512
1488
  case "ResourceNotFoundException":
1513
1489
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1514
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1490
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1515
1491
  case "ThrottlingException":
1516
1492
  case "com.amazonaws.devopsguru#ThrottlingException":
1517
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1493
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1518
1494
  case "ValidationException":
1519
1495
  case "com.amazonaws.devopsguru#ValidationException":
1520
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1496
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1521
1497
  default:
1522
1498
  const parsedBody = parsedOutput.body;
1523
1499
  throwDefaultError({
@@ -1528,23 +1504,23 @@ const deserializeAws_restJson1ListAnomalousLogGroupsCommandError = async (output
1528
1504
  });
1529
1505
  }
1530
1506
  };
1531
- export const deserializeAws_restJson1ListEventsCommand = async (output, context) => {
1507
+ export const de_ListEventsCommand = async (output, context) => {
1532
1508
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1533
- return deserializeAws_restJson1ListEventsCommandError(output, context);
1509
+ return de_ListEventsCommandError(output, context);
1534
1510
  }
1535
1511
  const contents = map({
1536
1512
  $metadata: deserializeMetadata(output),
1537
1513
  });
1538
1514
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1539
1515
  if (data.Events != null) {
1540
- contents.Events = deserializeAws_restJson1Events(data.Events, context);
1516
+ contents.Events = de_Events(data.Events, context);
1541
1517
  }
1542
1518
  if (data.NextToken != null) {
1543
1519
  contents.NextToken = __expectString(data.NextToken);
1544
1520
  }
1545
1521
  return contents;
1546
1522
  };
1547
- const deserializeAws_restJson1ListEventsCommandError = async (output, context) => {
1523
+ const de_ListEventsCommandError = async (output, context) => {
1548
1524
  const parsedOutput = {
1549
1525
  ...output,
1550
1526
  body: await parseErrorBody(output.body, context),
@@ -1553,19 +1529,19 @@ const deserializeAws_restJson1ListEventsCommandError = async (output, context) =
1553
1529
  switch (errorCode) {
1554
1530
  case "AccessDeniedException":
1555
1531
  case "com.amazonaws.devopsguru#AccessDeniedException":
1556
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1532
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1557
1533
  case "InternalServerException":
1558
1534
  case "com.amazonaws.devopsguru#InternalServerException":
1559
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1535
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1560
1536
  case "ResourceNotFoundException":
1561
1537
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1562
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1538
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1563
1539
  case "ThrottlingException":
1564
1540
  case "com.amazonaws.devopsguru#ThrottlingException":
1565
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1541
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1566
1542
  case "ValidationException":
1567
1543
  case "com.amazonaws.devopsguru#ValidationException":
1568
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1544
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1569
1545
  default:
1570
1546
  const parsedBody = parsedOutput.body;
1571
1547
  throwDefaultError({
@@ -1576,9 +1552,9 @@ const deserializeAws_restJson1ListEventsCommandError = async (output, context) =
1576
1552
  });
1577
1553
  }
1578
1554
  };
1579
- export const deserializeAws_restJson1ListInsightsCommand = async (output, context) => {
1555
+ export const de_ListInsightsCommand = async (output, context) => {
1580
1556
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1581
- return deserializeAws_restJson1ListInsightsCommandError(output, context);
1557
+ return de_ListInsightsCommandError(output, context);
1582
1558
  }
1583
1559
  const contents = map({
1584
1560
  $metadata: deserializeMetadata(output),
@@ -1588,14 +1564,14 @@ export const deserializeAws_restJson1ListInsightsCommand = async (output, contex
1588
1564
  contents.NextToken = __expectString(data.NextToken);
1589
1565
  }
1590
1566
  if (data.ProactiveInsights != null) {
1591
- contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
1567
+ contents.ProactiveInsights = de_ProactiveInsights(data.ProactiveInsights, context);
1592
1568
  }
1593
1569
  if (data.ReactiveInsights != null) {
1594
- contents.ReactiveInsights = deserializeAws_restJson1ReactiveInsights(data.ReactiveInsights, context);
1570
+ contents.ReactiveInsights = de_ReactiveInsights(data.ReactiveInsights, context);
1595
1571
  }
1596
1572
  return contents;
1597
1573
  };
1598
- const deserializeAws_restJson1ListInsightsCommandError = async (output, context) => {
1574
+ const de_ListInsightsCommandError = async (output, context) => {
1599
1575
  const parsedOutput = {
1600
1576
  ...output,
1601
1577
  body: await parseErrorBody(output.body, context),
@@ -1604,16 +1580,16 @@ const deserializeAws_restJson1ListInsightsCommandError = async (output, context)
1604
1580
  switch (errorCode) {
1605
1581
  case "AccessDeniedException":
1606
1582
  case "com.amazonaws.devopsguru#AccessDeniedException":
1607
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1583
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1608
1584
  case "InternalServerException":
1609
1585
  case "com.amazonaws.devopsguru#InternalServerException":
1610
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1586
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1611
1587
  case "ThrottlingException":
1612
1588
  case "com.amazonaws.devopsguru#ThrottlingException":
1613
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1589
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1614
1590
  case "ValidationException":
1615
1591
  case "com.amazonaws.devopsguru#ValidationException":
1616
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1592
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1617
1593
  default:
1618
1594
  const parsedBody = parsedOutput.body;
1619
1595
  throwDefaultError({
@@ -1624,23 +1600,23 @@ const deserializeAws_restJson1ListInsightsCommandError = async (output, context)
1624
1600
  });
1625
1601
  }
1626
1602
  };
1627
- export const deserializeAws_restJson1ListMonitoredResourcesCommand = async (output, context) => {
1603
+ export const de_ListMonitoredResourcesCommand = async (output, context) => {
1628
1604
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1629
- return deserializeAws_restJson1ListMonitoredResourcesCommandError(output, context);
1605
+ return de_ListMonitoredResourcesCommandError(output, context);
1630
1606
  }
1631
1607
  const contents = map({
1632
1608
  $metadata: deserializeMetadata(output),
1633
1609
  });
1634
1610
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1635
1611
  if (data.MonitoredResourceIdentifiers != null) {
1636
- contents.MonitoredResourceIdentifiers = deserializeAws_restJson1MonitoredResourceIdentifiers(data.MonitoredResourceIdentifiers, context);
1612
+ contents.MonitoredResourceIdentifiers = de_MonitoredResourceIdentifiers(data.MonitoredResourceIdentifiers, context);
1637
1613
  }
1638
1614
  if (data.NextToken != null) {
1639
1615
  contents.NextToken = __expectString(data.NextToken);
1640
1616
  }
1641
1617
  return contents;
1642
1618
  };
1643
- const deserializeAws_restJson1ListMonitoredResourcesCommandError = async (output, context) => {
1619
+ const de_ListMonitoredResourcesCommandError = async (output, context) => {
1644
1620
  const parsedOutput = {
1645
1621
  ...output,
1646
1622
  body: await parseErrorBody(output.body, context),
@@ -1649,16 +1625,16 @@ const deserializeAws_restJson1ListMonitoredResourcesCommandError = async (output
1649
1625
  switch (errorCode) {
1650
1626
  case "InternalServerException":
1651
1627
  case "com.amazonaws.devopsguru#InternalServerException":
1652
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1628
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1653
1629
  case "ResourceNotFoundException":
1654
1630
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1655
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1631
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1656
1632
  case "ThrottlingException":
1657
1633
  case "com.amazonaws.devopsguru#ThrottlingException":
1658
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1634
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1659
1635
  case "ValidationException":
1660
1636
  case "com.amazonaws.devopsguru#ValidationException":
1661
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1637
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1662
1638
  default:
1663
1639
  const parsedBody = parsedOutput.body;
1664
1640
  throwDefaultError({
@@ -1669,23 +1645,23 @@ const deserializeAws_restJson1ListMonitoredResourcesCommandError = async (output
1669
1645
  });
1670
1646
  }
1671
1647
  };
1672
- export const deserializeAws_restJson1ListNotificationChannelsCommand = async (output, context) => {
1648
+ export const de_ListNotificationChannelsCommand = async (output, context) => {
1673
1649
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1674
- return deserializeAws_restJson1ListNotificationChannelsCommandError(output, context);
1650
+ return de_ListNotificationChannelsCommandError(output, context);
1675
1651
  }
1676
1652
  const contents = map({
1677
1653
  $metadata: deserializeMetadata(output),
1678
1654
  });
1679
1655
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1680
1656
  if (data.Channels != null) {
1681
- contents.Channels = deserializeAws_restJson1Channels(data.Channels, context);
1657
+ contents.Channels = de_Channels(data.Channels, context);
1682
1658
  }
1683
1659
  if (data.NextToken != null) {
1684
1660
  contents.NextToken = __expectString(data.NextToken);
1685
1661
  }
1686
1662
  return contents;
1687
1663
  };
1688
- const deserializeAws_restJson1ListNotificationChannelsCommandError = async (output, context) => {
1664
+ const de_ListNotificationChannelsCommandError = async (output, context) => {
1689
1665
  const parsedOutput = {
1690
1666
  ...output,
1691
1667
  body: await parseErrorBody(output.body, context),
@@ -1694,16 +1670,16 @@ const deserializeAws_restJson1ListNotificationChannelsCommandError = async (outp
1694
1670
  switch (errorCode) {
1695
1671
  case "AccessDeniedException":
1696
1672
  case "com.amazonaws.devopsguru#AccessDeniedException":
1697
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1673
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1698
1674
  case "InternalServerException":
1699
1675
  case "com.amazonaws.devopsguru#InternalServerException":
1700
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1676
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1701
1677
  case "ThrottlingException":
1702
1678
  case "com.amazonaws.devopsguru#ThrottlingException":
1703
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1679
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1704
1680
  case "ValidationException":
1705
1681
  case "com.amazonaws.devopsguru#ValidationException":
1706
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1682
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1707
1683
  default:
1708
1684
  const parsedBody = parsedOutput.body;
1709
1685
  throwDefaultError({
@@ -1714,9 +1690,9 @@ const deserializeAws_restJson1ListNotificationChannelsCommandError = async (outp
1714
1690
  });
1715
1691
  }
1716
1692
  };
1717
- export const deserializeAws_restJson1ListOrganizationInsightsCommand = async (output, context) => {
1693
+ export const de_ListOrganizationInsightsCommand = async (output, context) => {
1718
1694
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1719
- return deserializeAws_restJson1ListOrganizationInsightsCommandError(output, context);
1695
+ return de_ListOrganizationInsightsCommandError(output, context);
1720
1696
  }
1721
1697
  const contents = map({
1722
1698
  $metadata: deserializeMetadata(output),
@@ -1726,14 +1702,14 @@ export const deserializeAws_restJson1ListOrganizationInsightsCommand = async (ou
1726
1702
  contents.NextToken = __expectString(data.NextToken);
1727
1703
  }
1728
1704
  if (data.ProactiveInsights != null) {
1729
- contents.ProactiveInsights = deserializeAws_restJson1ProactiveOrganizationInsights(data.ProactiveInsights, context);
1705
+ contents.ProactiveInsights = de_ProactiveOrganizationInsights(data.ProactiveInsights, context);
1730
1706
  }
1731
1707
  if (data.ReactiveInsights != null) {
1732
- contents.ReactiveInsights = deserializeAws_restJson1ReactiveOrganizationInsights(data.ReactiveInsights, context);
1708
+ contents.ReactiveInsights = de_ReactiveOrganizationInsights(data.ReactiveInsights, context);
1733
1709
  }
1734
1710
  return contents;
1735
1711
  };
1736
- const deserializeAws_restJson1ListOrganizationInsightsCommandError = async (output, context) => {
1712
+ const de_ListOrganizationInsightsCommandError = async (output, context) => {
1737
1713
  const parsedOutput = {
1738
1714
  ...output,
1739
1715
  body: await parseErrorBody(output.body, context),
@@ -1742,16 +1718,16 @@ const deserializeAws_restJson1ListOrganizationInsightsCommandError = async (outp
1742
1718
  switch (errorCode) {
1743
1719
  case "AccessDeniedException":
1744
1720
  case "com.amazonaws.devopsguru#AccessDeniedException":
1745
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1721
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1746
1722
  case "InternalServerException":
1747
1723
  case "com.amazonaws.devopsguru#InternalServerException":
1748
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1724
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1749
1725
  case "ThrottlingException":
1750
1726
  case "com.amazonaws.devopsguru#ThrottlingException":
1751
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1727
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1752
1728
  case "ValidationException":
1753
1729
  case "com.amazonaws.devopsguru#ValidationException":
1754
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1730
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1755
1731
  default:
1756
1732
  const parsedBody = parsedOutput.body;
1757
1733
  throwDefaultError({
@@ -1762,9 +1738,9 @@ const deserializeAws_restJson1ListOrganizationInsightsCommandError = async (outp
1762
1738
  });
1763
1739
  }
1764
1740
  };
1765
- export const deserializeAws_restJson1ListRecommendationsCommand = async (output, context) => {
1741
+ export const de_ListRecommendationsCommand = async (output, context) => {
1766
1742
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1767
- return deserializeAws_restJson1ListRecommendationsCommandError(output, context);
1743
+ return de_ListRecommendationsCommandError(output, context);
1768
1744
  }
1769
1745
  const contents = map({
1770
1746
  $metadata: deserializeMetadata(output),
@@ -1774,11 +1750,11 @@ export const deserializeAws_restJson1ListRecommendationsCommand = async (output,
1774
1750
  contents.NextToken = __expectString(data.NextToken);
1775
1751
  }
1776
1752
  if (data.Recommendations != null) {
1777
- contents.Recommendations = deserializeAws_restJson1Recommendations(data.Recommendations, context);
1753
+ contents.Recommendations = de_Recommendations(data.Recommendations, context);
1778
1754
  }
1779
1755
  return contents;
1780
1756
  };
1781
- const deserializeAws_restJson1ListRecommendationsCommandError = async (output, context) => {
1757
+ const de_ListRecommendationsCommandError = async (output, context) => {
1782
1758
  const parsedOutput = {
1783
1759
  ...output,
1784
1760
  body: await parseErrorBody(output.body, context),
@@ -1787,19 +1763,19 @@ const deserializeAws_restJson1ListRecommendationsCommandError = async (output, c
1787
1763
  switch (errorCode) {
1788
1764
  case "AccessDeniedException":
1789
1765
  case "com.amazonaws.devopsguru#AccessDeniedException":
1790
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1766
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1791
1767
  case "InternalServerException":
1792
1768
  case "com.amazonaws.devopsguru#InternalServerException":
1793
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1769
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1794
1770
  case "ResourceNotFoundException":
1795
1771
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1796
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1772
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1797
1773
  case "ThrottlingException":
1798
1774
  case "com.amazonaws.devopsguru#ThrottlingException":
1799
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1775
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1800
1776
  case "ValidationException":
1801
1777
  case "com.amazonaws.devopsguru#ValidationException":
1802
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1778
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1803
1779
  default:
1804
1780
  const parsedBody = parsedOutput.body;
1805
1781
  throwDefaultError({
@@ -1810,9 +1786,9 @@ const deserializeAws_restJson1ListRecommendationsCommandError = async (output, c
1810
1786
  });
1811
1787
  }
1812
1788
  };
1813
- export const deserializeAws_restJson1PutFeedbackCommand = async (output, context) => {
1789
+ export const de_PutFeedbackCommand = async (output, context) => {
1814
1790
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1815
- return deserializeAws_restJson1PutFeedbackCommandError(output, context);
1791
+ return de_PutFeedbackCommandError(output, context);
1816
1792
  }
1817
1793
  const contents = map({
1818
1794
  $metadata: deserializeMetadata(output),
@@ -1820,7 +1796,7 @@ export const deserializeAws_restJson1PutFeedbackCommand = async (output, context
1820
1796
  await collectBody(output.body, context);
1821
1797
  return contents;
1822
1798
  };
1823
- const deserializeAws_restJson1PutFeedbackCommandError = async (output, context) => {
1799
+ const de_PutFeedbackCommandError = async (output, context) => {
1824
1800
  const parsedOutput = {
1825
1801
  ...output,
1826
1802
  body: await parseErrorBody(output.body, context),
@@ -1829,22 +1805,22 @@ const deserializeAws_restJson1PutFeedbackCommandError = async (output, context)
1829
1805
  switch (errorCode) {
1830
1806
  case "AccessDeniedException":
1831
1807
  case "com.amazonaws.devopsguru#AccessDeniedException":
1832
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1808
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1833
1809
  case "ConflictException":
1834
1810
  case "com.amazonaws.devopsguru#ConflictException":
1835
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1811
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1836
1812
  case "InternalServerException":
1837
1813
  case "com.amazonaws.devopsguru#InternalServerException":
1838
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1814
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1839
1815
  case "ResourceNotFoundException":
1840
1816
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1841
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1817
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1842
1818
  case "ThrottlingException":
1843
1819
  case "com.amazonaws.devopsguru#ThrottlingException":
1844
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1820
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1845
1821
  case "ValidationException":
1846
1822
  case "com.amazonaws.devopsguru#ValidationException":
1847
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1823
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1848
1824
  default:
1849
1825
  const parsedBody = parsedOutput.body;
1850
1826
  throwDefaultError({
@@ -1855,9 +1831,9 @@ const deserializeAws_restJson1PutFeedbackCommandError = async (output, context)
1855
1831
  });
1856
1832
  }
1857
1833
  };
1858
- export const deserializeAws_restJson1RemoveNotificationChannelCommand = async (output, context) => {
1834
+ export const de_RemoveNotificationChannelCommand = async (output, context) => {
1859
1835
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1860
- return deserializeAws_restJson1RemoveNotificationChannelCommandError(output, context);
1836
+ return de_RemoveNotificationChannelCommandError(output, context);
1861
1837
  }
1862
1838
  const contents = map({
1863
1839
  $metadata: deserializeMetadata(output),
@@ -1865,7 +1841,7 @@ export const deserializeAws_restJson1RemoveNotificationChannelCommand = async (o
1865
1841
  await collectBody(output.body, context);
1866
1842
  return contents;
1867
1843
  };
1868
- const deserializeAws_restJson1RemoveNotificationChannelCommandError = async (output, context) => {
1844
+ const de_RemoveNotificationChannelCommandError = async (output, context) => {
1869
1845
  const parsedOutput = {
1870
1846
  ...output,
1871
1847
  body: await parseErrorBody(output.body, context),
@@ -1874,22 +1850,22 @@ const deserializeAws_restJson1RemoveNotificationChannelCommandError = async (out
1874
1850
  switch (errorCode) {
1875
1851
  case "AccessDeniedException":
1876
1852
  case "com.amazonaws.devopsguru#AccessDeniedException":
1877
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1853
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1878
1854
  case "ConflictException":
1879
1855
  case "com.amazonaws.devopsguru#ConflictException":
1880
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1856
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1881
1857
  case "InternalServerException":
1882
1858
  case "com.amazonaws.devopsguru#InternalServerException":
1883
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1859
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1884
1860
  case "ResourceNotFoundException":
1885
1861
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
1886
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1862
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1887
1863
  case "ThrottlingException":
1888
1864
  case "com.amazonaws.devopsguru#ThrottlingException":
1889
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1865
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1890
1866
  case "ValidationException":
1891
1867
  case "com.amazonaws.devopsguru#ValidationException":
1892
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1868
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1893
1869
  default:
1894
1870
  const parsedBody = parsedOutput.body;
1895
1871
  throwDefaultError({
@@ -1900,9 +1876,9 @@ const deserializeAws_restJson1RemoveNotificationChannelCommandError = async (out
1900
1876
  });
1901
1877
  }
1902
1878
  };
1903
- export const deserializeAws_restJson1SearchInsightsCommand = async (output, context) => {
1879
+ export const de_SearchInsightsCommand = async (output, context) => {
1904
1880
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1905
- return deserializeAws_restJson1SearchInsightsCommandError(output, context);
1881
+ return de_SearchInsightsCommandError(output, context);
1906
1882
  }
1907
1883
  const contents = map({
1908
1884
  $metadata: deserializeMetadata(output),
@@ -1912,14 +1888,14 @@ export const deserializeAws_restJson1SearchInsightsCommand = async (output, cont
1912
1888
  contents.NextToken = __expectString(data.NextToken);
1913
1889
  }
1914
1890
  if (data.ProactiveInsights != null) {
1915
- contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
1891
+ contents.ProactiveInsights = de_ProactiveInsights(data.ProactiveInsights, context);
1916
1892
  }
1917
1893
  if (data.ReactiveInsights != null) {
1918
- contents.ReactiveInsights = deserializeAws_restJson1ReactiveInsights(data.ReactiveInsights, context);
1894
+ contents.ReactiveInsights = de_ReactiveInsights(data.ReactiveInsights, context);
1919
1895
  }
1920
1896
  return contents;
1921
1897
  };
1922
- const deserializeAws_restJson1SearchInsightsCommandError = async (output, context) => {
1898
+ const de_SearchInsightsCommandError = async (output, context) => {
1923
1899
  const parsedOutput = {
1924
1900
  ...output,
1925
1901
  body: await parseErrorBody(output.body, context),
@@ -1928,16 +1904,16 @@ const deserializeAws_restJson1SearchInsightsCommandError = async (output, contex
1928
1904
  switch (errorCode) {
1929
1905
  case "AccessDeniedException":
1930
1906
  case "com.amazonaws.devopsguru#AccessDeniedException":
1931
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1907
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1932
1908
  case "InternalServerException":
1933
1909
  case "com.amazonaws.devopsguru#InternalServerException":
1934
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1910
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1935
1911
  case "ThrottlingException":
1936
1912
  case "com.amazonaws.devopsguru#ThrottlingException":
1937
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1913
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1938
1914
  case "ValidationException":
1939
1915
  case "com.amazonaws.devopsguru#ValidationException":
1940
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1916
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1941
1917
  default:
1942
1918
  const parsedBody = parsedOutput.body;
1943
1919
  throwDefaultError({
@@ -1948,9 +1924,9 @@ const deserializeAws_restJson1SearchInsightsCommandError = async (output, contex
1948
1924
  });
1949
1925
  }
1950
1926
  };
1951
- export const deserializeAws_restJson1SearchOrganizationInsightsCommand = async (output, context) => {
1927
+ export const de_SearchOrganizationInsightsCommand = async (output, context) => {
1952
1928
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1953
- return deserializeAws_restJson1SearchOrganizationInsightsCommandError(output, context);
1929
+ return de_SearchOrganizationInsightsCommandError(output, context);
1954
1930
  }
1955
1931
  const contents = map({
1956
1932
  $metadata: deserializeMetadata(output),
@@ -1960,14 +1936,14 @@ export const deserializeAws_restJson1SearchOrganizationInsightsCommand = async (
1960
1936
  contents.NextToken = __expectString(data.NextToken);
1961
1937
  }
1962
1938
  if (data.ProactiveInsights != null) {
1963
- contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
1939
+ contents.ProactiveInsights = de_ProactiveInsights(data.ProactiveInsights, context);
1964
1940
  }
1965
1941
  if (data.ReactiveInsights != null) {
1966
- contents.ReactiveInsights = deserializeAws_restJson1ReactiveInsights(data.ReactiveInsights, context);
1942
+ contents.ReactiveInsights = de_ReactiveInsights(data.ReactiveInsights, context);
1967
1943
  }
1968
1944
  return contents;
1969
1945
  };
1970
- const deserializeAws_restJson1SearchOrganizationInsightsCommandError = async (output, context) => {
1946
+ const de_SearchOrganizationInsightsCommandError = async (output, context) => {
1971
1947
  const parsedOutput = {
1972
1948
  ...output,
1973
1949
  body: await parseErrorBody(output.body, context),
@@ -1976,16 +1952,16 @@ const deserializeAws_restJson1SearchOrganizationInsightsCommandError = async (ou
1976
1952
  switch (errorCode) {
1977
1953
  case "AccessDeniedException":
1978
1954
  case "com.amazonaws.devopsguru#AccessDeniedException":
1979
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1955
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1980
1956
  case "InternalServerException":
1981
1957
  case "com.amazonaws.devopsguru#InternalServerException":
1982
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1958
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1983
1959
  case "ThrottlingException":
1984
1960
  case "com.amazonaws.devopsguru#ThrottlingException":
1985
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1961
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1986
1962
  case "ValidationException":
1987
1963
  case "com.amazonaws.devopsguru#ValidationException":
1988
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1964
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1989
1965
  default:
1990
1966
  const parsedBody = parsedOutput.body;
1991
1967
  throwDefaultError({
@@ -1996,9 +1972,9 @@ const deserializeAws_restJson1SearchOrganizationInsightsCommandError = async (ou
1996
1972
  });
1997
1973
  }
1998
1974
  };
1999
- export const deserializeAws_restJson1StartCostEstimationCommand = async (output, context) => {
1975
+ export const de_StartCostEstimationCommand = async (output, context) => {
2000
1976
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2001
- return deserializeAws_restJson1StartCostEstimationCommandError(output, context);
1977
+ return de_StartCostEstimationCommandError(output, context);
2002
1978
  }
2003
1979
  const contents = map({
2004
1980
  $metadata: deserializeMetadata(output),
@@ -2006,7 +1982,7 @@ export const deserializeAws_restJson1StartCostEstimationCommand = async (output,
2006
1982
  await collectBody(output.body, context);
2007
1983
  return contents;
2008
1984
  };
2009
- const deserializeAws_restJson1StartCostEstimationCommandError = async (output, context) => {
1985
+ const de_StartCostEstimationCommandError = async (output, context) => {
2010
1986
  const parsedOutput = {
2011
1987
  ...output,
2012
1988
  body: await parseErrorBody(output.body, context),
@@ -2015,22 +1991,22 @@ const deserializeAws_restJson1StartCostEstimationCommandError = async (output, c
2015
1991
  switch (errorCode) {
2016
1992
  case "AccessDeniedException":
2017
1993
  case "com.amazonaws.devopsguru#AccessDeniedException":
2018
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1994
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2019
1995
  case "ConflictException":
2020
1996
  case "com.amazonaws.devopsguru#ConflictException":
2021
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1997
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2022
1998
  case "InternalServerException":
2023
1999
  case "com.amazonaws.devopsguru#InternalServerException":
2024
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2000
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2025
2001
  case "ResourceNotFoundException":
2026
2002
  case "com.amazonaws.devopsguru#ResourceNotFoundException":
2027
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2003
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2028
2004
  case "ThrottlingException":
2029
2005
  case "com.amazonaws.devopsguru#ThrottlingException":
2030
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2006
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2031
2007
  case "ValidationException":
2032
2008
  case "com.amazonaws.devopsguru#ValidationException":
2033
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2009
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2034
2010
  default:
2035
2011
  const parsedBody = parsedOutput.body;
2036
2012
  throwDefaultError({
@@ -2041,9 +2017,9 @@ const deserializeAws_restJson1StartCostEstimationCommandError = async (output, c
2041
2017
  });
2042
2018
  }
2043
2019
  };
2044
- export const deserializeAws_restJson1UpdateEventSourcesConfigCommand = async (output, context) => {
2020
+ export const de_UpdateEventSourcesConfigCommand = async (output, context) => {
2045
2021
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2046
- return deserializeAws_restJson1UpdateEventSourcesConfigCommandError(output, context);
2022
+ return de_UpdateEventSourcesConfigCommandError(output, context);
2047
2023
  }
2048
2024
  const contents = map({
2049
2025
  $metadata: deserializeMetadata(output),
@@ -2051,7 +2027,7 @@ export const deserializeAws_restJson1UpdateEventSourcesConfigCommand = async (ou
2051
2027
  await collectBody(output.body, context);
2052
2028
  return contents;
2053
2029
  };
2054
- const deserializeAws_restJson1UpdateEventSourcesConfigCommandError = async (output, context) => {
2030
+ const de_UpdateEventSourcesConfigCommandError = async (output, context) => {
2055
2031
  const parsedOutput = {
2056
2032
  ...output,
2057
2033
  body: await parseErrorBody(output.body, context),
@@ -2060,16 +2036,16 @@ const deserializeAws_restJson1UpdateEventSourcesConfigCommandError = async (outp
2060
2036
  switch (errorCode) {
2061
2037
  case "AccessDeniedException":
2062
2038
  case "com.amazonaws.devopsguru#AccessDeniedException":
2063
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2039
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2064
2040
  case "InternalServerException":
2065
2041
  case "com.amazonaws.devopsguru#InternalServerException":
2066
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2042
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2067
2043
  case "ThrottlingException":
2068
2044
  case "com.amazonaws.devopsguru#ThrottlingException":
2069
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2045
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2070
2046
  case "ValidationException":
2071
2047
  case "com.amazonaws.devopsguru#ValidationException":
2072
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2048
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2073
2049
  default:
2074
2050
  const parsedBody = parsedOutput.body;
2075
2051
  throwDefaultError({
@@ -2080,9 +2056,9 @@ const deserializeAws_restJson1UpdateEventSourcesConfigCommandError = async (outp
2080
2056
  });
2081
2057
  }
2082
2058
  };
2083
- export const deserializeAws_restJson1UpdateResourceCollectionCommand = async (output, context) => {
2059
+ export const de_UpdateResourceCollectionCommand = async (output, context) => {
2084
2060
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2085
- return deserializeAws_restJson1UpdateResourceCollectionCommandError(output, context);
2061
+ return de_UpdateResourceCollectionCommandError(output, context);
2086
2062
  }
2087
2063
  const contents = map({
2088
2064
  $metadata: deserializeMetadata(output),
@@ -2090,7 +2066,7 @@ export const deserializeAws_restJson1UpdateResourceCollectionCommand = async (ou
2090
2066
  await collectBody(output.body, context);
2091
2067
  return contents;
2092
2068
  };
2093
- const deserializeAws_restJson1UpdateResourceCollectionCommandError = async (output, context) => {
2069
+ const de_UpdateResourceCollectionCommandError = async (output, context) => {
2094
2070
  const parsedOutput = {
2095
2071
  ...output,
2096
2072
  body: await parseErrorBody(output.body, context),
@@ -2099,19 +2075,19 @@ const deserializeAws_restJson1UpdateResourceCollectionCommandError = async (outp
2099
2075
  switch (errorCode) {
2100
2076
  case "AccessDeniedException":
2101
2077
  case "com.amazonaws.devopsguru#AccessDeniedException":
2102
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2078
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2103
2079
  case "ConflictException":
2104
2080
  case "com.amazonaws.devopsguru#ConflictException":
2105
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2081
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2106
2082
  case "InternalServerException":
2107
2083
  case "com.amazonaws.devopsguru#InternalServerException":
2108
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2084
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2109
2085
  case "ThrottlingException":
2110
2086
  case "com.amazonaws.devopsguru#ThrottlingException":
2111
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2087
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2112
2088
  case "ValidationException":
2113
2089
  case "com.amazonaws.devopsguru#ValidationException":
2114
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2090
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2115
2091
  default:
2116
2092
  const parsedBody = parsedOutput.body;
2117
2093
  throwDefaultError({
@@ -2122,9 +2098,9 @@ const deserializeAws_restJson1UpdateResourceCollectionCommandError = async (outp
2122
2098
  });
2123
2099
  }
2124
2100
  };
2125
- export const deserializeAws_restJson1UpdateServiceIntegrationCommand = async (output, context) => {
2101
+ export const de_UpdateServiceIntegrationCommand = async (output, context) => {
2126
2102
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2127
- return deserializeAws_restJson1UpdateServiceIntegrationCommandError(output, context);
2103
+ return de_UpdateServiceIntegrationCommandError(output, context);
2128
2104
  }
2129
2105
  const contents = map({
2130
2106
  $metadata: deserializeMetadata(output),
@@ -2132,7 +2108,7 @@ export const deserializeAws_restJson1UpdateServiceIntegrationCommand = async (ou
2132
2108
  await collectBody(output.body, context);
2133
2109
  return contents;
2134
2110
  };
2135
- const deserializeAws_restJson1UpdateServiceIntegrationCommandError = async (output, context) => {
2111
+ const de_UpdateServiceIntegrationCommandError = async (output, context) => {
2136
2112
  const parsedOutput = {
2137
2113
  ...output,
2138
2114
  body: await parseErrorBody(output.body, context),
@@ -2141,19 +2117,19 @@ const deserializeAws_restJson1UpdateServiceIntegrationCommandError = async (outp
2141
2117
  switch (errorCode) {
2142
2118
  case "AccessDeniedException":
2143
2119
  case "com.amazonaws.devopsguru#AccessDeniedException":
2144
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2120
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2145
2121
  case "ConflictException":
2146
2122
  case "com.amazonaws.devopsguru#ConflictException":
2147
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2123
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2148
2124
  case "InternalServerException":
2149
2125
  case "com.amazonaws.devopsguru#InternalServerException":
2150
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2126
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2151
2127
  case "ThrottlingException":
2152
2128
  case "com.amazonaws.devopsguru#ThrottlingException":
2153
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2129
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2154
2130
  case "ValidationException":
2155
2131
  case "com.amazonaws.devopsguru#ValidationException":
2156
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2132
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2157
2133
  default:
2158
2134
  const parsedBody = parsedOutput.body;
2159
2135
  throwDefaultError({
@@ -2165,7 +2141,7 @@ const deserializeAws_restJson1UpdateServiceIntegrationCommandError = async (outp
2165
2141
  }
2166
2142
  };
2167
2143
  const map = __map;
2168
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2144
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2169
2145
  const contents = map({});
2170
2146
  const data = parsedOutput.body;
2171
2147
  if (data.Message != null) {
@@ -2177,7 +2153,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2177
2153
  });
2178
2154
  return __decorateServiceException(exception, parsedOutput.body);
2179
2155
  };
2180
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2156
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2181
2157
  const contents = map({});
2182
2158
  const data = parsedOutput.body;
2183
2159
  if (data.Message != null) {
@@ -2195,7 +2171,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2195
2171
  });
2196
2172
  return __decorateServiceException(exception, parsedOutput.body);
2197
2173
  };
2198
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2174
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2199
2175
  const contents = map({
2200
2176
  RetryAfterSeconds: [
2201
2177
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2212,7 +2188,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2212
2188
  });
2213
2189
  return __decorateServiceException(exception, parsedOutput.body);
2214
2190
  };
2215
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2191
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2216
2192
  const contents = map({});
2217
2193
  const data = parsedOutput.body;
2218
2194
  if (data.Message != null) {
@@ -2230,7 +2206,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2230
2206
  });
2231
2207
  return __decorateServiceException(exception, parsedOutput.body);
2232
2208
  };
2233
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2209
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2234
2210
  const contents = map({});
2235
2211
  const data = parsedOutput.body;
2236
2212
  if (data.Message != null) {
@@ -2242,7 +2218,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2242
2218
  });
2243
2219
  return __decorateServiceException(exception, parsedOutput.body);
2244
2220
  };
2245
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2221
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2246
2222
  const contents = map({
2247
2223
  RetryAfterSeconds: [
2248
2224
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2265,11 +2241,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2265
2241
  });
2266
2242
  return __decorateServiceException(exception, parsedOutput.body);
2267
2243
  };
2268
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2244
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2269
2245
  const contents = map({});
2270
2246
  const data = parsedOutput.body;
2271
2247
  if (data.Fields != null) {
2272
- contents.Fields = deserializeAws_restJson1ValidationExceptionFields(data.Fields, context);
2248
+ contents.Fields = de_ValidationExceptionFields(data.Fields, context);
2273
2249
  }
2274
2250
  if (data.Message != null) {
2275
2251
  contents.Message = __expectString(data.Message);
@@ -2283,398 +2259,374 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2283
2259
  });
2284
2260
  return __decorateServiceException(exception, parsedOutput.body);
2285
2261
  };
2286
- const serializeAws_restJson1AccountIdList = (input, context) => {
2262
+ const se_AccountIdList = (input, context) => {
2287
2263
  return input
2288
2264
  .filter((e) => e != null)
2289
2265
  .map((entry) => {
2290
2266
  return entry;
2291
2267
  });
2292
2268
  };
2293
- const serializeAws_restJson1AmazonCodeGuruProfilerIntegration = (input, context) => {
2269
+ const se_AmazonCodeGuruProfilerIntegration = (input, context) => {
2294
2270
  return {
2295
2271
  ...(input.Status != null && { Status: input.Status }),
2296
2272
  };
2297
2273
  };
2298
- const serializeAws_restJson1CloudFormationCollection = (input, context) => {
2274
+ const se_CloudFormationCollection = (input, context) => {
2299
2275
  return {
2300
- ...(input.StackNames != null && { StackNames: serializeAws_restJson1StackNames(input.StackNames, context) }),
2276
+ ...(input.StackNames != null && { StackNames: se_StackNames(input.StackNames, context) }),
2301
2277
  };
2302
2278
  };
2303
- const serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter = (input, context) => {
2279
+ const se_CloudFormationCostEstimationResourceCollectionFilter = (input, context) => {
2304
2280
  return {
2305
- ...(input.StackNames != null && {
2306
- StackNames: serializeAws_restJson1CostEstimationStackNames(input.StackNames, context),
2307
- }),
2281
+ ...(input.StackNames != null && { StackNames: se_CostEstimationStackNames(input.StackNames, context) }),
2308
2282
  };
2309
2283
  };
2310
- const serializeAws_restJson1CostEstimationResourceCollectionFilter = (input, context) => {
2284
+ const se_CostEstimationResourceCollectionFilter = (input, context) => {
2311
2285
  return {
2312
2286
  ...(input.CloudFormation != null && {
2313
- CloudFormation: serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(input.CloudFormation, context),
2314
- }),
2315
- ...(input.Tags != null && {
2316
- Tags: serializeAws_restJson1TagCostEstimationResourceCollectionFilters(input.Tags, context),
2287
+ CloudFormation: se_CloudFormationCostEstimationResourceCollectionFilter(input.CloudFormation, context),
2317
2288
  }),
2289
+ ...(input.Tags != null && { Tags: se_TagCostEstimationResourceCollectionFilters(input.Tags, context) }),
2318
2290
  };
2319
2291
  };
2320
- const serializeAws_restJson1CostEstimationStackNames = (input, context) => {
2292
+ const se_CostEstimationStackNames = (input, context) => {
2321
2293
  return input
2322
2294
  .filter((e) => e != null)
2323
2295
  .map((entry) => {
2324
2296
  return entry;
2325
2297
  });
2326
2298
  };
2327
- const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
2299
+ const se_CostEstimationTagValues = (input, context) => {
2328
2300
  return input
2329
2301
  .filter((e) => e != null)
2330
2302
  .map((entry) => {
2331
2303
  return entry;
2332
2304
  });
2333
2305
  };
2334
- const serializeAws_restJson1EndTimeRange = (input, context) => {
2306
+ const se_EndTimeRange = (input, context) => {
2335
2307
  return {
2336
2308
  ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2337
2309
  ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2338
2310
  };
2339
2311
  };
2340
- const serializeAws_restJson1EventSourcesConfig = (input, context) => {
2312
+ const se_EventSourcesConfig = (input, context) => {
2341
2313
  return {
2342
2314
  ...(input.AmazonCodeGuruProfiler != null && {
2343
- AmazonCodeGuruProfiler: serializeAws_restJson1AmazonCodeGuruProfilerIntegration(input.AmazonCodeGuruProfiler, context),
2315
+ AmazonCodeGuruProfiler: se_AmazonCodeGuruProfilerIntegration(input.AmazonCodeGuruProfiler, context),
2344
2316
  }),
2345
2317
  };
2346
2318
  };
2347
- const serializeAws_restJson1EventTimeRange = (input, context) => {
2319
+ const se_EventTimeRange = (input, context) => {
2348
2320
  return {
2349
2321
  ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2350
2322
  ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2351
2323
  };
2352
2324
  };
2353
- const serializeAws_restJson1InsightFeedback = (input, context) => {
2325
+ const se_InsightFeedback = (input, context) => {
2354
2326
  return {
2355
2327
  ...(input.Feedback != null && { Feedback: input.Feedback }),
2356
2328
  ...(input.Id != null && { Id: input.Id }),
2357
2329
  };
2358
2330
  };
2359
- const serializeAws_restJson1InsightSeverities = (input, context) => {
2331
+ const se_InsightSeverities = (input, context) => {
2360
2332
  return input
2361
2333
  .filter((e) => e != null)
2362
2334
  .map((entry) => {
2363
2335
  return entry;
2364
2336
  });
2365
2337
  };
2366
- const serializeAws_restJson1InsightStatuses = (input, context) => {
2338
+ const se_InsightStatuses = (input, context) => {
2367
2339
  return input
2368
2340
  .filter((e) => e != null)
2369
2341
  .map((entry) => {
2370
2342
  return entry;
2371
2343
  });
2372
2344
  };
2373
- const serializeAws_restJson1ListAnomaliesForInsightFilters = (input, context) => {
2345
+ const se_ListAnomaliesForInsightFilters = (input, context) => {
2374
2346
  return {
2375
2347
  ...(input.ServiceCollection != null && {
2376
- ServiceCollection: serializeAws_restJson1ServiceCollection(input.ServiceCollection, context),
2348
+ ServiceCollection: se_ServiceCollection(input.ServiceCollection, context),
2377
2349
  }),
2378
2350
  };
2379
2351
  };
2380
- const serializeAws_restJson1ListEventsFilters = (input, context) => {
2352
+ const se_ListEventsFilters = (input, context) => {
2381
2353
  return {
2382
2354
  ...(input.DataSource != null && { DataSource: input.DataSource }),
2383
2355
  ...(input.EventClass != null && { EventClass: input.EventClass }),
2384
2356
  ...(input.EventSource != null && { EventSource: input.EventSource }),
2385
- ...(input.EventTimeRange != null && {
2386
- EventTimeRange: serializeAws_restJson1EventTimeRange(input.EventTimeRange, context),
2387
- }),
2357
+ ...(input.EventTimeRange != null && { EventTimeRange: se_EventTimeRange(input.EventTimeRange, context) }),
2388
2358
  ...(input.InsightId != null && { InsightId: input.InsightId }),
2389
2359
  ...(input.ResourceCollection != null && {
2390
- ResourceCollection: serializeAws_restJson1ResourceCollection(input.ResourceCollection, context),
2360
+ ResourceCollection: se_ResourceCollection(input.ResourceCollection, context),
2391
2361
  }),
2392
2362
  };
2393
2363
  };
2394
- const serializeAws_restJson1ListInsightsAccountIdList = (input, context) => {
2364
+ const se_ListInsightsAccountIdList = (input, context) => {
2395
2365
  return input
2396
2366
  .filter((e) => e != null)
2397
2367
  .map((entry) => {
2398
2368
  return entry;
2399
2369
  });
2400
2370
  };
2401
- const serializeAws_restJson1ListInsightsAnyStatusFilter = (input, context) => {
2371
+ const se_ListInsightsAnyStatusFilter = (input, context) => {
2402
2372
  return {
2403
- ...(input.StartTimeRange != null && {
2404
- StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
2405
- }),
2373
+ ...(input.StartTimeRange != null && { StartTimeRange: se_StartTimeRange(input.StartTimeRange, context) }),
2406
2374
  ...(input.Type != null && { Type: input.Type }),
2407
2375
  };
2408
2376
  };
2409
- const serializeAws_restJson1ListInsightsClosedStatusFilter = (input, context) => {
2377
+ const se_ListInsightsClosedStatusFilter = (input, context) => {
2410
2378
  return {
2411
- ...(input.EndTimeRange != null && {
2412
- EndTimeRange: serializeAws_restJson1EndTimeRange(input.EndTimeRange, context),
2413
- }),
2379
+ ...(input.EndTimeRange != null && { EndTimeRange: se_EndTimeRange(input.EndTimeRange, context) }),
2414
2380
  ...(input.Type != null && { Type: input.Type }),
2415
2381
  };
2416
2382
  };
2417
- const serializeAws_restJson1ListInsightsOngoingStatusFilter = (input, context) => {
2383
+ const se_ListInsightsOngoingStatusFilter = (input, context) => {
2418
2384
  return {
2419
2385
  ...(input.Type != null && { Type: input.Type }),
2420
2386
  };
2421
2387
  };
2422
- const serializeAws_restJson1ListInsightsOrganizationalUnitIdList = (input, context) => {
2388
+ const se_ListInsightsOrganizationalUnitIdList = (input, context) => {
2423
2389
  return input
2424
2390
  .filter((e) => e != null)
2425
2391
  .map((entry) => {
2426
2392
  return entry;
2427
2393
  });
2428
2394
  };
2429
- const serializeAws_restJson1ListInsightsStatusFilter = (input, context) => {
2395
+ const se_ListInsightsStatusFilter = (input, context) => {
2430
2396
  return {
2431
- ...(input.Any != null && { Any: serializeAws_restJson1ListInsightsAnyStatusFilter(input.Any, context) }),
2432
- ...(input.Closed != null && {
2433
- Closed: serializeAws_restJson1ListInsightsClosedStatusFilter(input.Closed, context),
2434
- }),
2435
- ...(input.Ongoing != null && {
2436
- Ongoing: serializeAws_restJson1ListInsightsOngoingStatusFilter(input.Ongoing, context),
2437
- }),
2397
+ ...(input.Any != null && { Any: se_ListInsightsAnyStatusFilter(input.Any, context) }),
2398
+ ...(input.Closed != null && { Closed: se_ListInsightsClosedStatusFilter(input.Closed, context) }),
2399
+ ...(input.Ongoing != null && { Ongoing: se_ListInsightsOngoingStatusFilter(input.Ongoing, context) }),
2438
2400
  };
2439
2401
  };
2440
- const serializeAws_restJson1ListMonitoredResourcesFilters = (input, context) => {
2402
+ const se_ListMonitoredResourcesFilters = (input, context) => {
2441
2403
  return {
2442
2404
  ...(input.ResourcePermission != null && { ResourcePermission: input.ResourcePermission }),
2443
2405
  ...(input.ResourceTypeFilters != null && {
2444
- ResourceTypeFilters: serializeAws_restJson1ResourceTypeFilters(input.ResourceTypeFilters, context),
2406
+ ResourceTypeFilters: se_ResourceTypeFilters(input.ResourceTypeFilters, context),
2445
2407
  }),
2446
2408
  };
2447
2409
  };
2448
- const serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig = (input, context) => {
2410
+ const se_LogsAnomalyDetectionIntegrationConfig = (input, context) => {
2449
2411
  return {
2450
2412
  ...(input.OptInStatus != null && { OptInStatus: input.OptInStatus }),
2451
2413
  };
2452
2414
  };
2453
- const serializeAws_restJson1NotificationChannelConfig = (input, context) => {
2415
+ const se_NotificationChannelConfig = (input, context) => {
2454
2416
  return {
2455
- ...(input.Filters != null && { Filters: serializeAws_restJson1NotificationFilterConfig(input.Filters, context) }),
2456
- ...(input.Sns != null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }),
2417
+ ...(input.Filters != null && { Filters: se_NotificationFilterConfig(input.Filters, context) }),
2418
+ ...(input.Sns != null && { Sns: se_SnsChannelConfig(input.Sns, context) }),
2457
2419
  };
2458
2420
  };
2459
- const serializeAws_restJson1NotificationFilterConfig = (input, context) => {
2421
+ const se_NotificationFilterConfig = (input, context) => {
2460
2422
  return {
2461
- ...(input.MessageTypes != null && {
2462
- MessageTypes: serializeAws_restJson1NotificationMessageTypes(input.MessageTypes, context),
2463
- }),
2464
- ...(input.Severities != null && { Severities: serializeAws_restJson1InsightSeverities(input.Severities, context) }),
2423
+ ...(input.MessageTypes != null && { MessageTypes: se_NotificationMessageTypes(input.MessageTypes, context) }),
2424
+ ...(input.Severities != null && { Severities: se_InsightSeverities(input.Severities, context) }),
2465
2425
  };
2466
2426
  };
2467
- const serializeAws_restJson1NotificationMessageTypes = (input, context) => {
2427
+ const se_NotificationMessageTypes = (input, context) => {
2468
2428
  return input
2469
2429
  .filter((e) => e != null)
2470
2430
  .map((entry) => {
2471
2431
  return entry;
2472
2432
  });
2473
2433
  };
2474
- const serializeAws_restJson1OpsCenterIntegrationConfig = (input, context) => {
2434
+ const se_OpsCenterIntegrationConfig = (input, context) => {
2475
2435
  return {
2476
2436
  ...(input.OptInStatus != null && { OptInStatus: input.OptInStatus }),
2477
2437
  };
2478
2438
  };
2479
- const serializeAws_restJson1OrganizationalUnitIdList = (input, context) => {
2439
+ const se_OrganizationalUnitIdList = (input, context) => {
2480
2440
  return input
2481
2441
  .filter((e) => e != null)
2482
2442
  .map((entry) => {
2483
2443
  return entry;
2484
2444
  });
2485
2445
  };
2486
- const serializeAws_restJson1ResourceCollection = (input, context) => {
2446
+ const se_ResourceCollection = (input, context) => {
2487
2447
  return {
2488
- ...(input.CloudFormation != null && {
2489
- CloudFormation: serializeAws_restJson1CloudFormationCollection(input.CloudFormation, context),
2490
- }),
2491
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }),
2448
+ ...(input.CloudFormation != null && { CloudFormation: se_CloudFormationCollection(input.CloudFormation, context) }),
2449
+ ...(input.Tags != null && { Tags: se_TagCollections(input.Tags, context) }),
2492
2450
  };
2493
2451
  };
2494
- const serializeAws_restJson1ResourceTypeFilters = (input, context) => {
2452
+ const se_ResourceTypeFilters = (input, context) => {
2495
2453
  return input
2496
2454
  .filter((e) => e != null)
2497
2455
  .map((entry) => {
2498
2456
  return entry;
2499
2457
  });
2500
2458
  };
2501
- const serializeAws_restJson1SearchInsightsAccountIdList = (input, context) => {
2459
+ const se_SearchInsightsAccountIdList = (input, context) => {
2502
2460
  return input
2503
2461
  .filter((e) => e != null)
2504
2462
  .map((entry) => {
2505
2463
  return entry;
2506
2464
  });
2507
2465
  };
2508
- const serializeAws_restJson1SearchInsightsFilters = (input, context) => {
2466
+ const se_SearchInsightsFilters = (input, context) => {
2509
2467
  return {
2510
2468
  ...(input.ResourceCollection != null && {
2511
- ResourceCollection: serializeAws_restJson1ResourceCollection(input.ResourceCollection, context),
2469
+ ResourceCollection: se_ResourceCollection(input.ResourceCollection, context),
2512
2470
  }),
2513
2471
  ...(input.ServiceCollection != null && {
2514
- ServiceCollection: serializeAws_restJson1ServiceCollection(input.ServiceCollection, context),
2472
+ ServiceCollection: se_ServiceCollection(input.ServiceCollection, context),
2515
2473
  }),
2516
- ...(input.Severities != null && { Severities: serializeAws_restJson1InsightSeverities(input.Severities, context) }),
2517
- ...(input.Statuses != null && { Statuses: serializeAws_restJson1InsightStatuses(input.Statuses, context) }),
2474
+ ...(input.Severities != null && { Severities: se_InsightSeverities(input.Severities, context) }),
2475
+ ...(input.Statuses != null && { Statuses: se_InsightStatuses(input.Statuses, context) }),
2518
2476
  };
2519
2477
  };
2520
- const serializeAws_restJson1SearchOrganizationInsightsFilters = (input, context) => {
2478
+ const se_SearchOrganizationInsightsFilters = (input, context) => {
2521
2479
  return {
2522
2480
  ...(input.ResourceCollection != null && {
2523
- ResourceCollection: serializeAws_restJson1ResourceCollection(input.ResourceCollection, context),
2481
+ ResourceCollection: se_ResourceCollection(input.ResourceCollection, context),
2524
2482
  }),
2525
2483
  ...(input.ServiceCollection != null && {
2526
- ServiceCollection: serializeAws_restJson1ServiceCollection(input.ServiceCollection, context),
2484
+ ServiceCollection: se_ServiceCollection(input.ServiceCollection, context),
2527
2485
  }),
2528
- ...(input.Severities != null && { Severities: serializeAws_restJson1InsightSeverities(input.Severities, context) }),
2529
- ...(input.Statuses != null && { Statuses: serializeAws_restJson1InsightStatuses(input.Statuses, context) }),
2486
+ ...(input.Severities != null && { Severities: se_InsightSeverities(input.Severities, context) }),
2487
+ ...(input.Statuses != null && { Statuses: se_InsightStatuses(input.Statuses, context) }),
2530
2488
  };
2531
2489
  };
2532
- const serializeAws_restJson1ServiceCollection = (input, context) => {
2490
+ const se_ServiceCollection = (input, context) => {
2533
2491
  return {
2534
- ...(input.ServiceNames != null && {
2535
- ServiceNames: serializeAws_restJson1ServiceNames(input.ServiceNames, context),
2536
- }),
2492
+ ...(input.ServiceNames != null && { ServiceNames: se_ServiceNames(input.ServiceNames, context) }),
2537
2493
  };
2538
2494
  };
2539
- const serializeAws_restJson1ServiceNames = (input, context) => {
2495
+ const se_ServiceNames = (input, context) => {
2540
2496
  return input
2541
2497
  .filter((e) => e != null)
2542
2498
  .map((entry) => {
2543
2499
  return entry;
2544
2500
  });
2545
2501
  };
2546
- const serializeAws_restJson1SnsChannelConfig = (input, context) => {
2502
+ const se_SnsChannelConfig = (input, context) => {
2547
2503
  return {
2548
2504
  ...(input.TopicArn != null && { TopicArn: input.TopicArn }),
2549
2505
  };
2550
2506
  };
2551
- const serializeAws_restJson1StackNames = (input, context) => {
2507
+ const se_StackNames = (input, context) => {
2552
2508
  return input
2553
2509
  .filter((e) => e != null)
2554
2510
  .map((entry) => {
2555
2511
  return entry;
2556
2512
  });
2557
2513
  };
2558
- const serializeAws_restJson1StartTimeRange = (input, context) => {
2514
+ const se_StartTimeRange = (input, context) => {
2559
2515
  return {
2560
2516
  ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2561
2517
  ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2562
2518
  };
2563
2519
  };
2564
- const serializeAws_restJson1TagCollection = (input, context) => {
2520
+ const se_TagCollection = (input, context) => {
2565
2521
  return {
2566
2522
  ...(input.AppBoundaryKey != null && { AppBoundaryKey: input.AppBoundaryKey }),
2567
- ...(input.TagValues != null && { TagValues: serializeAws_restJson1TagValues(input.TagValues, context) }),
2523
+ ...(input.TagValues != null && { TagValues: se_TagValues(input.TagValues, context) }),
2568
2524
  };
2569
2525
  };
2570
- const serializeAws_restJson1TagCollections = (input, context) => {
2526
+ const se_TagCollections = (input, context) => {
2571
2527
  return input
2572
2528
  .filter((e) => e != null)
2573
2529
  .map((entry) => {
2574
- return serializeAws_restJson1TagCollection(entry, context);
2530
+ return se_TagCollection(entry, context);
2575
2531
  });
2576
2532
  };
2577
- const serializeAws_restJson1TagCostEstimationResourceCollectionFilter = (input, context) => {
2533
+ const se_TagCostEstimationResourceCollectionFilter = (input, context) => {
2578
2534
  return {
2579
2535
  ...(input.AppBoundaryKey != null && { AppBoundaryKey: input.AppBoundaryKey }),
2580
- ...(input.TagValues != null && {
2581
- TagValues: serializeAws_restJson1CostEstimationTagValues(input.TagValues, context),
2582
- }),
2536
+ ...(input.TagValues != null && { TagValues: se_CostEstimationTagValues(input.TagValues, context) }),
2583
2537
  };
2584
2538
  };
2585
- const serializeAws_restJson1TagCostEstimationResourceCollectionFilters = (input, context) => {
2539
+ const se_TagCostEstimationResourceCollectionFilters = (input, context) => {
2586
2540
  return input
2587
2541
  .filter((e) => e != null)
2588
2542
  .map((entry) => {
2589
- return serializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
2543
+ return se_TagCostEstimationResourceCollectionFilter(entry, context);
2590
2544
  });
2591
2545
  };
2592
- const serializeAws_restJson1TagValues = (input, context) => {
2546
+ const se_TagValues = (input, context) => {
2593
2547
  return input
2594
2548
  .filter((e) => e != null)
2595
2549
  .map((entry) => {
2596
2550
  return entry;
2597
2551
  });
2598
2552
  };
2599
- const serializeAws_restJson1UpdateCloudFormationCollectionFilter = (input, context) => {
2553
+ const se_UpdateCloudFormationCollectionFilter = (input, context) => {
2600
2554
  return {
2601
- ...(input.StackNames != null && { StackNames: serializeAws_restJson1UpdateStackNames(input.StackNames, context) }),
2555
+ ...(input.StackNames != null && { StackNames: se_UpdateStackNames(input.StackNames, context) }),
2602
2556
  };
2603
2557
  };
2604
- const serializeAws_restJson1UpdateResourceCollectionFilter = (input, context) => {
2558
+ const se_UpdateResourceCollectionFilter = (input, context) => {
2605
2559
  return {
2606
2560
  ...(input.CloudFormation != null && {
2607
- CloudFormation: serializeAws_restJson1UpdateCloudFormationCollectionFilter(input.CloudFormation, context),
2561
+ CloudFormation: se_UpdateCloudFormationCollectionFilter(input.CloudFormation, context),
2608
2562
  }),
2609
- ...(input.Tags != null && { Tags: serializeAws_restJson1UpdateTagCollectionFilters(input.Tags, context) }),
2563
+ ...(input.Tags != null && { Tags: se_UpdateTagCollectionFilters(input.Tags, context) }),
2610
2564
  };
2611
2565
  };
2612
- const serializeAws_restJson1UpdateServiceIntegrationConfig = (input, context) => {
2566
+ const se_UpdateServiceIntegrationConfig = (input, context) => {
2613
2567
  return {
2614
2568
  ...(input.LogsAnomalyDetection != null && {
2615
- LogsAnomalyDetection: serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig(input.LogsAnomalyDetection, context),
2616
- }),
2617
- ...(input.OpsCenter != null && {
2618
- OpsCenter: serializeAws_restJson1OpsCenterIntegrationConfig(input.OpsCenter, context),
2569
+ LogsAnomalyDetection: se_LogsAnomalyDetectionIntegrationConfig(input.LogsAnomalyDetection, context),
2619
2570
  }),
2571
+ ...(input.OpsCenter != null && { OpsCenter: se_OpsCenterIntegrationConfig(input.OpsCenter, context) }),
2620
2572
  };
2621
2573
  };
2622
- const serializeAws_restJson1UpdateStackNames = (input, context) => {
2574
+ const se_UpdateStackNames = (input, context) => {
2623
2575
  return input
2624
2576
  .filter((e) => e != null)
2625
2577
  .map((entry) => {
2626
2578
  return entry;
2627
2579
  });
2628
2580
  };
2629
- const serializeAws_restJson1UpdateTagCollectionFilter = (input, context) => {
2581
+ const se_UpdateTagCollectionFilter = (input, context) => {
2630
2582
  return {
2631
2583
  ...(input.AppBoundaryKey != null && { AppBoundaryKey: input.AppBoundaryKey }),
2632
- ...(input.TagValues != null && { TagValues: serializeAws_restJson1UpdateTagValues(input.TagValues, context) }),
2584
+ ...(input.TagValues != null && { TagValues: se_UpdateTagValues(input.TagValues, context) }),
2633
2585
  };
2634
2586
  };
2635
- const serializeAws_restJson1UpdateTagCollectionFilters = (input, context) => {
2587
+ const se_UpdateTagCollectionFilters = (input, context) => {
2636
2588
  return input
2637
2589
  .filter((e) => e != null)
2638
2590
  .map((entry) => {
2639
- return serializeAws_restJson1UpdateTagCollectionFilter(entry, context);
2591
+ return se_UpdateTagCollectionFilter(entry, context);
2640
2592
  });
2641
2593
  };
2642
- const serializeAws_restJson1UpdateTagValues = (input, context) => {
2594
+ const se_UpdateTagValues = (input, context) => {
2643
2595
  return input
2644
2596
  .filter((e) => e != null)
2645
2597
  .map((entry) => {
2646
2598
  return entry;
2647
2599
  });
2648
2600
  };
2649
- const deserializeAws_restJson1AccountHealth = (output, context) => {
2601
+ const de_AccountHealth = (output, context) => {
2650
2602
  return {
2651
2603
  AccountId: __expectString(output.AccountId),
2652
- Insight: output.Insight != null ? deserializeAws_restJson1AccountInsightHealth(output.Insight, context) : undefined,
2604
+ Insight: output.Insight != null ? de_AccountInsightHealth(output.Insight, context) : undefined,
2653
2605
  };
2654
2606
  };
2655
- const deserializeAws_restJson1AccountHealths = (output, context) => {
2607
+ const de_AccountHealths = (output, context) => {
2656
2608
  const retVal = (output || [])
2657
2609
  .filter((e) => e != null)
2658
2610
  .map((entry) => {
2659
2611
  if (entry === null) {
2660
2612
  return null;
2661
2613
  }
2662
- return deserializeAws_restJson1AccountHealth(entry, context);
2614
+ return de_AccountHealth(entry, context);
2663
2615
  });
2664
2616
  return retVal;
2665
2617
  };
2666
- const deserializeAws_restJson1AccountInsightHealth = (output, context) => {
2618
+ const de_AccountInsightHealth = (output, context) => {
2667
2619
  return {
2668
2620
  OpenProactiveInsights: __expectInt32(output.OpenProactiveInsights),
2669
2621
  OpenReactiveInsights: __expectInt32(output.OpenReactiveInsights),
2670
2622
  };
2671
2623
  };
2672
- const deserializeAws_restJson1AmazonCodeGuruProfilerIntegration = (output, context) => {
2624
+ const de_AmazonCodeGuruProfilerIntegration = (output, context) => {
2673
2625
  return {
2674
2626
  Status: __expectString(output.Status),
2675
2627
  };
2676
2628
  };
2677
- const deserializeAws_restJson1AnomalousLogGroup = (output, context) => {
2629
+ const de_AnomalousLogGroup = (output, context) => {
2678
2630
  return {
2679
2631
  ImpactEndTime: output.ImpactEndTime != null
2680
2632
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ImpactEndTime)))
@@ -2682,71 +2634,67 @@ const deserializeAws_restJson1AnomalousLogGroup = (output, context) => {
2682
2634
  ImpactStartTime: output.ImpactStartTime != null
2683
2635
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ImpactStartTime)))
2684
2636
  : undefined,
2685
- LogAnomalyShowcases: output.LogAnomalyShowcases != null
2686
- ? deserializeAws_restJson1LogAnomalyShowcases(output.LogAnomalyShowcases, context)
2687
- : undefined,
2637
+ LogAnomalyShowcases: output.LogAnomalyShowcases != null ? de_LogAnomalyShowcases(output.LogAnomalyShowcases, context) : undefined,
2688
2638
  LogGroupName: __expectString(output.LogGroupName),
2689
2639
  NumberOfLogLinesScanned: __expectInt32(output.NumberOfLogLinesScanned),
2690
2640
  };
2691
2641
  };
2692
- const deserializeAws_restJson1AnomalousLogGroups = (output, context) => {
2642
+ const de_AnomalousLogGroups = (output, context) => {
2693
2643
  const retVal = (output || [])
2694
2644
  .filter((e) => e != null)
2695
2645
  .map((entry) => {
2696
2646
  if (entry === null) {
2697
2647
  return null;
2698
2648
  }
2699
- return deserializeAws_restJson1AnomalousLogGroup(entry, context);
2649
+ return de_AnomalousLogGroup(entry, context);
2700
2650
  });
2701
2651
  return retVal;
2702
2652
  };
2703
- const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
2653
+ const de_AnomalyReportedTimeRange = (output, context) => {
2704
2654
  return {
2705
2655
  CloseTime: output.CloseTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CloseTime))) : undefined,
2706
2656
  OpenTime: output.OpenTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OpenTime))) : undefined,
2707
2657
  };
2708
2658
  };
2709
- const deserializeAws_restJson1AnomalyResource = (output, context) => {
2659
+ const de_AnomalyResource = (output, context) => {
2710
2660
  return {
2711
2661
  Name: __expectString(output.Name),
2712
2662
  Type: __expectString(output.Type),
2713
2663
  };
2714
2664
  };
2715
- const deserializeAws_restJson1AnomalyResources = (output, context) => {
2665
+ const de_AnomalyResources = (output, context) => {
2716
2666
  const retVal = (output || [])
2717
2667
  .filter((e) => e != null)
2718
2668
  .map((entry) => {
2719
2669
  if (entry === null) {
2720
2670
  return null;
2721
2671
  }
2722
- return deserializeAws_restJson1AnomalyResource(entry, context);
2672
+ return de_AnomalyResource(entry, context);
2723
2673
  });
2724
2674
  return retVal;
2725
2675
  };
2726
- const deserializeAws_restJson1AnomalySourceDetails = (output, context) => {
2676
+ const de_AnomalySourceDetails = (output, context) => {
2727
2677
  return {
2728
- CloudWatchMetrics: output.CloudWatchMetrics != null
2729
- ? deserializeAws_restJson1CloudWatchMetricsDetails(output.CloudWatchMetrics, context)
2730
- : undefined,
2678
+ CloudWatchMetrics: output.CloudWatchMetrics != null ? de_CloudWatchMetricsDetails(output.CloudWatchMetrics, context) : undefined,
2731
2679
  PerformanceInsightsMetrics: output.PerformanceInsightsMetrics != null
2732
- ? deserializeAws_restJson1PerformanceInsightsMetricsDetails(output.PerformanceInsightsMetrics, context)
2680
+ ? de_PerformanceInsightsMetricsDetails(output.PerformanceInsightsMetrics, context)
2733
2681
  : undefined,
2734
2682
  };
2735
2683
  };
2736
- const deserializeAws_restJson1AnomalySourceMetadata = (output, context) => {
2684
+ const de_AnomalySourceMetadata = (output, context) => {
2737
2685
  return {
2738
2686
  Source: __expectString(output.Source),
2739
2687
  SourceResourceName: __expectString(output.SourceResourceName),
2740
2688
  SourceResourceType: __expectString(output.SourceResourceType),
2741
2689
  };
2742
2690
  };
2743
- const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
2691
+ const de_AnomalyTimeRange = (output, context) => {
2744
2692
  return {
2745
2693
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2746
2694
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2747
2695
  };
2748
2696
  };
2749
- const deserializeAws_restJson1AssociatedResourceArns = (output, context) => {
2697
+ const de_AssociatedResourceArns = (output, context) => {
2750
2698
  const retVal = (output || [])
2751
2699
  .filter((e) => e != null)
2752
2700
  .map((entry) => {
@@ -2757,68 +2705,62 @@ const deserializeAws_restJson1AssociatedResourceArns = (output, context) => {
2757
2705
  });
2758
2706
  return retVal;
2759
2707
  };
2760
- const deserializeAws_restJson1Channels = (output, context) => {
2708
+ const de_Channels = (output, context) => {
2761
2709
  const retVal = (output || [])
2762
2710
  .filter((e) => e != null)
2763
2711
  .map((entry) => {
2764
2712
  if (entry === null) {
2765
2713
  return null;
2766
2714
  }
2767
- return deserializeAws_restJson1NotificationChannel(entry, context);
2715
+ return de_NotificationChannel(entry, context);
2768
2716
  });
2769
2717
  return retVal;
2770
2718
  };
2771
- const deserializeAws_restJson1CloudFormationCollection = (output, context) => {
2719
+ const de_CloudFormationCollection = (output, context) => {
2772
2720
  return {
2773
- StackNames: output.StackNames != null ? deserializeAws_restJson1StackNames(output.StackNames, context) : undefined,
2721
+ StackNames: output.StackNames != null ? de_StackNames(output.StackNames, context) : undefined,
2774
2722
  };
2775
2723
  };
2776
- const deserializeAws_restJson1CloudFormationCollectionFilter = (output, context) => {
2724
+ const de_CloudFormationCollectionFilter = (output, context) => {
2777
2725
  return {
2778
- StackNames: output.StackNames != null ? deserializeAws_restJson1StackNames(output.StackNames, context) : undefined,
2726
+ StackNames: output.StackNames != null ? de_StackNames(output.StackNames, context) : undefined,
2779
2727
  };
2780
2728
  };
2781
- const deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter = (output, context) => {
2729
+ const de_CloudFormationCostEstimationResourceCollectionFilter = (output, context) => {
2782
2730
  return {
2783
- StackNames: output.StackNames != null
2784
- ? deserializeAws_restJson1CostEstimationStackNames(output.StackNames, context)
2785
- : undefined,
2731
+ StackNames: output.StackNames != null ? de_CostEstimationStackNames(output.StackNames, context) : undefined,
2786
2732
  };
2787
2733
  };
2788
- const deserializeAws_restJson1CloudFormationHealth = (output, context) => {
2734
+ const de_CloudFormationHealth = (output, context) => {
2789
2735
  return {
2790
2736
  AnalyzedResourceCount: __expectLong(output.AnalyzedResourceCount),
2791
- Insight: output.Insight != null ? deserializeAws_restJson1InsightHealth(output.Insight, context) : undefined,
2737
+ Insight: output.Insight != null ? de_InsightHealth(output.Insight, context) : undefined,
2792
2738
  StackName: __expectString(output.StackName),
2793
2739
  };
2794
2740
  };
2795
- const deserializeAws_restJson1CloudFormationHealths = (output, context) => {
2741
+ const de_CloudFormationHealths = (output, context) => {
2796
2742
  const retVal = (output || [])
2797
2743
  .filter((e) => e != null)
2798
2744
  .map((entry) => {
2799
2745
  if (entry === null) {
2800
2746
  return null;
2801
2747
  }
2802
- return deserializeAws_restJson1CloudFormationHealth(entry, context);
2748
+ return de_CloudFormationHealth(entry, context);
2803
2749
  });
2804
2750
  return retVal;
2805
2751
  };
2806
- const deserializeAws_restJson1CloudWatchMetricsDataSummary = (output, context) => {
2752
+ const de_CloudWatchMetricsDataSummary = (output, context) => {
2807
2753
  return {
2808
2754
  StatusCode: __expectString(output.StatusCode),
2809
2755
  TimestampMetricValuePairList: output.TimestampMetricValuePairList != null
2810
- ? deserializeAws_restJson1TimestampMetricValuePairList(output.TimestampMetricValuePairList, context)
2756
+ ? de_TimestampMetricValuePairList(output.TimestampMetricValuePairList, context)
2811
2757
  : undefined,
2812
2758
  };
2813
2759
  };
2814
- const deserializeAws_restJson1CloudWatchMetricsDetail = (output, context) => {
2760
+ const de_CloudWatchMetricsDetail = (output, context) => {
2815
2761
  return {
2816
- Dimensions: output.Dimensions != null
2817
- ? deserializeAws_restJson1CloudWatchMetricsDimensions(output.Dimensions, context)
2818
- : undefined,
2819
- MetricDataSummary: output.MetricDataSummary != null
2820
- ? deserializeAws_restJson1CloudWatchMetricsDataSummary(output.MetricDataSummary, context)
2821
- : undefined,
2762
+ Dimensions: output.Dimensions != null ? de_CloudWatchMetricsDimensions(output.Dimensions, context) : undefined,
2763
+ MetricDataSummary: output.MetricDataSummary != null ? de_CloudWatchMetricsDataSummary(output.MetricDataSummary, context) : undefined,
2822
2764
  MetricName: __expectString(output.MetricName),
2823
2765
  Namespace: __expectString(output.Namespace),
2824
2766
  Period: __expectInt32(output.Period),
@@ -2826,45 +2768,43 @@ const deserializeAws_restJson1CloudWatchMetricsDetail = (output, context) => {
2826
2768
  Unit: __expectString(output.Unit),
2827
2769
  };
2828
2770
  };
2829
- const deserializeAws_restJson1CloudWatchMetricsDetails = (output, context) => {
2771
+ const de_CloudWatchMetricsDetails = (output, context) => {
2830
2772
  const retVal = (output || [])
2831
2773
  .filter((e) => e != null)
2832
2774
  .map((entry) => {
2833
2775
  if (entry === null) {
2834
2776
  return null;
2835
2777
  }
2836
- return deserializeAws_restJson1CloudWatchMetricsDetail(entry, context);
2778
+ return de_CloudWatchMetricsDetail(entry, context);
2837
2779
  });
2838
2780
  return retVal;
2839
2781
  };
2840
- const deserializeAws_restJson1CloudWatchMetricsDimension = (output, context) => {
2782
+ const de_CloudWatchMetricsDimension = (output, context) => {
2841
2783
  return {
2842
2784
  Name: __expectString(output.Name),
2843
2785
  Value: __expectString(output.Value),
2844
2786
  };
2845
2787
  };
2846
- const deserializeAws_restJson1CloudWatchMetricsDimensions = (output, context) => {
2788
+ const de_CloudWatchMetricsDimensions = (output, context) => {
2847
2789
  const retVal = (output || [])
2848
2790
  .filter((e) => e != null)
2849
2791
  .map((entry) => {
2850
2792
  if (entry === null) {
2851
2793
  return null;
2852
2794
  }
2853
- return deserializeAws_restJson1CloudWatchMetricsDimension(entry, context);
2795
+ return de_CloudWatchMetricsDimension(entry, context);
2854
2796
  });
2855
2797
  return retVal;
2856
2798
  };
2857
- const deserializeAws_restJson1CostEstimationResourceCollectionFilter = (output, context) => {
2799
+ const de_CostEstimationResourceCollectionFilter = (output, context) => {
2858
2800
  return {
2859
2801
  CloudFormation: output.CloudFormation != null
2860
- ? deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(output.CloudFormation, context)
2861
- : undefined,
2862
- Tags: output.Tags != null
2863
- ? deserializeAws_restJson1TagCostEstimationResourceCollectionFilters(output.Tags, context)
2802
+ ? de_CloudFormationCostEstimationResourceCollectionFilter(output.CloudFormation, context)
2864
2803
  : undefined,
2804
+ Tags: output.Tags != null ? de_TagCostEstimationResourceCollectionFilters(output.Tags, context) : undefined,
2865
2805
  };
2866
2806
  };
2867
- const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
2807
+ const de_CostEstimationStackNames = (output, context) => {
2868
2808
  const retVal = (output || [])
2869
2809
  .filter((e) => e != null)
2870
2810
  .map((entry) => {
@@ -2875,7 +2815,7 @@ const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
2875
2815
  });
2876
2816
  return retVal;
2877
2817
  };
2878
- const deserializeAws_restJson1CostEstimationTagValues = (output, context) => {
2818
+ const de_CostEstimationTagValues = (output, context) => {
2879
2819
  const retVal = (output || [])
2880
2820
  .filter((e) => e != null)
2881
2821
  .map((entry) => {
@@ -2886,76 +2826,74 @@ const deserializeAws_restJson1CostEstimationTagValues = (output, context) => {
2886
2826
  });
2887
2827
  return retVal;
2888
2828
  };
2889
- const deserializeAws_restJson1CostEstimationTimeRange = (output, context) => {
2829
+ const de_CostEstimationTimeRange = (output, context) => {
2890
2830
  return {
2891
2831
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2892
2832
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2893
2833
  };
2894
2834
  };
2895
- const deserializeAws_restJson1Event = (output, context) => {
2835
+ const de_Event = (output, context) => {
2896
2836
  return {
2897
2837
  DataSource: __expectString(output.DataSource),
2898
2838
  EventClass: __expectString(output.EventClass),
2899
2839
  EventSource: __expectString(output.EventSource),
2900
2840
  Id: __expectString(output.Id),
2901
2841
  Name: __expectString(output.Name),
2902
- ResourceCollection: output.ResourceCollection != null
2903
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2904
- : undefined,
2905
- Resources: output.Resources != null ? deserializeAws_restJson1EventResources(output.Resources, context) : undefined,
2842
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
2843
+ Resources: output.Resources != null ? de_EventResources(output.Resources, context) : undefined,
2906
2844
  Time: output.Time != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Time))) : undefined,
2907
2845
  };
2908
2846
  };
2909
- const deserializeAws_restJson1EventResource = (output, context) => {
2847
+ const de_EventResource = (output, context) => {
2910
2848
  return {
2911
2849
  Arn: __expectString(output.Arn),
2912
2850
  Name: __expectString(output.Name),
2913
2851
  Type: __expectString(output.Type),
2914
2852
  };
2915
2853
  };
2916
- const deserializeAws_restJson1EventResources = (output, context) => {
2854
+ const de_EventResources = (output, context) => {
2917
2855
  const retVal = (output || [])
2918
2856
  .filter((e) => e != null)
2919
2857
  .map((entry) => {
2920
2858
  if (entry === null) {
2921
2859
  return null;
2922
2860
  }
2923
- return deserializeAws_restJson1EventResource(entry, context);
2861
+ return de_EventResource(entry, context);
2924
2862
  });
2925
2863
  return retVal;
2926
2864
  };
2927
- const deserializeAws_restJson1Events = (output, context) => {
2865
+ const de_Events = (output, context) => {
2928
2866
  const retVal = (output || [])
2929
2867
  .filter((e) => e != null)
2930
2868
  .map((entry) => {
2931
2869
  if (entry === null) {
2932
2870
  return null;
2933
2871
  }
2934
- return deserializeAws_restJson1Event(entry, context);
2872
+ return de_Event(entry, context);
2935
2873
  });
2936
2874
  return retVal;
2937
2875
  };
2938
- const deserializeAws_restJson1EventSourcesConfig = (output, context) => {
2876
+ const de_EventSourcesConfig = (output, context) => {
2939
2877
  return {
2940
2878
  AmazonCodeGuruProfiler: output.AmazonCodeGuruProfiler != null
2941
- ? deserializeAws_restJson1AmazonCodeGuruProfilerIntegration(output.AmazonCodeGuruProfiler, context)
2879
+ ? de_AmazonCodeGuruProfilerIntegration(output.AmazonCodeGuruProfiler, context)
2942
2880
  : undefined,
2943
2881
  };
2944
2882
  };
2945
- const deserializeAws_restJson1InsightFeedback = (output, context) => {
2883
+ const de_InsightFeedback = (output, context) => {
2946
2884
  return {
2947
2885
  Feedback: __expectString(output.Feedback),
2948
2886
  Id: __expectString(output.Id),
2949
2887
  };
2950
2888
  };
2951
- const deserializeAws_restJson1InsightHealth = (output, context) => {
2889
+ const de_InsightHealth = (output, context) => {
2952
2890
  return {
2953
2891
  MeanTimeToRecoverInMilliseconds: __expectLong(output.MeanTimeToRecoverInMilliseconds),
2954
2892
  OpenProactiveInsights: __expectInt32(output.OpenProactiveInsights),
2955
2893
  OpenReactiveInsights: __expectInt32(output.OpenReactiveInsights),
2956
2894
  };
2957
2895
  };
2958
- const deserializeAws_restJson1InsightSeverities = (output, context) => {
2896
+ const de_InsightSeverities = (output, context) => {
2959
2897
  const retVal = (output || [])
2960
2898
  .filter((e) => e != null)
2961
2899
  .map((entry) => {
@@ -2966,13 +2904,13 @@ const deserializeAws_restJson1InsightSeverities = (output, context) => {
2966
2904
  });
2967
2905
  return retVal;
2968
2906
  };
2969
- const deserializeAws_restJson1InsightTimeRange = (output, context) => {
2907
+ const de_InsightTimeRange = (output, context) => {
2970
2908
  return {
2971
2909
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2972
2910
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2973
2911
  };
2974
2912
  };
2975
- const deserializeAws_restJson1LogAnomalyClass = (output, context) => {
2913
+ const de_LogAnomalyClass = (output, context) => {
2976
2914
  return {
2977
2915
  Explanation: __expectString(output.Explanation),
2978
2916
  LogAnomalyToken: __expectString(output.LogAnomalyToken),
@@ -2985,85 +2923,79 @@ const deserializeAws_restJson1LogAnomalyClass = (output, context) => {
2985
2923
  NumberOfLogLinesOccurrences: __expectInt32(output.NumberOfLogLinesOccurrences),
2986
2924
  };
2987
2925
  };
2988
- const deserializeAws_restJson1LogAnomalyClasses = (output, context) => {
2926
+ const de_LogAnomalyClasses = (output, context) => {
2989
2927
  const retVal = (output || [])
2990
2928
  .filter((e) => e != null)
2991
2929
  .map((entry) => {
2992
2930
  if (entry === null) {
2993
2931
  return null;
2994
2932
  }
2995
- return deserializeAws_restJson1LogAnomalyClass(entry, context);
2933
+ return de_LogAnomalyClass(entry, context);
2996
2934
  });
2997
2935
  return retVal;
2998
2936
  };
2999
- const deserializeAws_restJson1LogAnomalyShowcase = (output, context) => {
2937
+ const de_LogAnomalyShowcase = (output, context) => {
3000
2938
  return {
3001
- LogAnomalyClasses: output.LogAnomalyClasses != null
3002
- ? deserializeAws_restJson1LogAnomalyClasses(output.LogAnomalyClasses, context)
3003
- : undefined,
2939
+ LogAnomalyClasses: output.LogAnomalyClasses != null ? de_LogAnomalyClasses(output.LogAnomalyClasses, context) : undefined,
3004
2940
  };
3005
2941
  };
3006
- const deserializeAws_restJson1LogAnomalyShowcases = (output, context) => {
2942
+ const de_LogAnomalyShowcases = (output, context) => {
3007
2943
  const retVal = (output || [])
3008
2944
  .filter((e) => e != null)
3009
2945
  .map((entry) => {
3010
2946
  if (entry === null) {
3011
2947
  return null;
3012
2948
  }
3013
- return deserializeAws_restJson1LogAnomalyShowcase(entry, context);
2949
+ return de_LogAnomalyShowcase(entry, context);
3014
2950
  });
3015
2951
  return retVal;
3016
2952
  };
3017
- const deserializeAws_restJson1LogsAnomalyDetectionIntegration = (output, context) => {
2953
+ const de_LogsAnomalyDetectionIntegration = (output, context) => {
3018
2954
  return {
3019
2955
  OptInStatus: __expectString(output.OptInStatus),
3020
2956
  };
3021
2957
  };
3022
- const deserializeAws_restJson1MonitoredResourceIdentifier = (output, context) => {
2958
+ const de_MonitoredResourceIdentifier = (output, context) => {
3023
2959
  return {
3024
2960
  LastUpdated: output.LastUpdated != null
3025
2961
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
3026
2962
  : undefined,
3027
2963
  MonitoredResourceName: __expectString(output.MonitoredResourceName),
3028
- ResourceCollection: output.ResourceCollection != null
3029
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3030
- : undefined,
2964
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3031
2965
  ResourcePermission: __expectString(output.ResourcePermission),
3032
2966
  Type: __expectString(output.Type),
3033
2967
  };
3034
2968
  };
3035
- const deserializeAws_restJson1MonitoredResourceIdentifiers = (output, context) => {
2969
+ const de_MonitoredResourceIdentifiers = (output, context) => {
3036
2970
  const retVal = (output || [])
3037
2971
  .filter((e) => e != null)
3038
2972
  .map((entry) => {
3039
2973
  if (entry === null) {
3040
2974
  return null;
3041
2975
  }
3042
- return deserializeAws_restJson1MonitoredResourceIdentifier(entry, context);
2976
+ return de_MonitoredResourceIdentifier(entry, context);
3043
2977
  });
3044
2978
  return retVal;
3045
2979
  };
3046
- const deserializeAws_restJson1NotificationChannel = (output, context) => {
2980
+ const de_NotificationChannel = (output, context) => {
3047
2981
  return {
3048
- Config: output.Config != null ? deserializeAws_restJson1NotificationChannelConfig(output.Config, context) : undefined,
2982
+ Config: output.Config != null ? de_NotificationChannelConfig(output.Config, context) : undefined,
3049
2983
  Id: __expectString(output.Id),
3050
2984
  };
3051
2985
  };
3052
- const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
2986
+ const de_NotificationChannelConfig = (output, context) => {
3053
2987
  return {
3054
- Filters: output.Filters != null ? deserializeAws_restJson1NotificationFilterConfig(output.Filters, context) : undefined,
3055
- Sns: output.Sns != null ? deserializeAws_restJson1SnsChannelConfig(output.Sns, context) : undefined,
2988
+ Filters: output.Filters != null ? de_NotificationFilterConfig(output.Filters, context) : undefined,
2989
+ Sns: output.Sns != null ? de_SnsChannelConfig(output.Sns, context) : undefined,
3056
2990
  };
3057
2991
  };
3058
- const deserializeAws_restJson1NotificationFilterConfig = (output, context) => {
2992
+ const de_NotificationFilterConfig = (output, context) => {
3059
2993
  return {
3060
- MessageTypes: output.MessageTypes != null
3061
- ? deserializeAws_restJson1NotificationMessageTypes(output.MessageTypes, context)
3062
- : undefined,
3063
- Severities: output.Severities != null ? deserializeAws_restJson1InsightSeverities(output.Severities, context) : undefined,
2994
+ MessageTypes: output.MessageTypes != null ? de_NotificationMessageTypes(output.MessageTypes, context) : undefined,
2995
+ Severities: output.Severities != null ? de_InsightSeverities(output.Severities, context) : undefined,
3064
2996
  };
3065
2997
  };
3066
- const deserializeAws_restJson1NotificationMessageTypes = (output, context) => {
2998
+ const de_NotificationMessageTypes = (output, context) => {
3067
2999
  const retVal = (output || [])
3068
3000
  .filter((e) => e != null)
3069
3001
  .map((entry) => {
@@ -3074,21 +3006,19 @@ const deserializeAws_restJson1NotificationMessageTypes = (output, context) => {
3074
3006
  });
3075
3007
  return retVal;
3076
3008
  };
3077
- const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
3009
+ const de_OpsCenterIntegration = (output, context) => {
3078
3010
  return {
3079
3011
  OptInStatus: __expectString(output.OptInStatus),
3080
3012
  };
3081
3013
  };
3082
- const deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = (output, context) => {
3014
+ const de_PerformanceInsightsMetricDimensionGroup = (output, context) => {
3083
3015
  return {
3084
- Dimensions: output.Dimensions != null
3085
- ? deserializeAws_restJson1PerformanceInsightsMetricDimensions(output.Dimensions, context)
3086
- : undefined,
3016
+ Dimensions: output.Dimensions != null ? de_PerformanceInsightsMetricDimensions(output.Dimensions, context) : undefined,
3087
3017
  Group: __expectString(output.Group),
3088
3018
  Limit: __expectInt32(output.Limit),
3089
3019
  };
3090
3020
  };
3091
- const deserializeAws_restJson1PerformanceInsightsMetricDimensions = (output, context) => {
3021
+ const de_PerformanceInsightsMetricDimensions = (output, context) => {
3092
3022
  const retVal = (output || [])
3093
3023
  .filter((e) => e != null)
3094
3024
  .map((entry) => {
@@ -3099,7 +3029,7 @@ const deserializeAws_restJson1PerformanceInsightsMetricDimensions = (output, con
3099
3029
  });
3100
3030
  return retVal;
3101
3031
  };
3102
- const deserializeAws_restJson1PerformanceInsightsMetricFilterMap = (output, context) => {
3032
+ const de_PerformanceInsightsMetricFilterMap = (output, context) => {
3103
3033
  return Object.entries(output).reduce((acc, [key, value]) => {
3104
3034
  if (value === null) {
3105
3035
  return acc;
@@ -3108,603 +3038,497 @@ const deserializeAws_restJson1PerformanceInsightsMetricFilterMap = (output, cont
3108
3038
  return acc;
3109
3039
  }, {});
3110
3040
  };
3111
- const deserializeAws_restJson1PerformanceInsightsMetricQuery = (output, context) => {
3041
+ const de_PerformanceInsightsMetricQuery = (output, context) => {
3112
3042
  return {
3113
- Filter: output.Filter != null
3114
- ? deserializeAws_restJson1PerformanceInsightsMetricFilterMap(output.Filter, context)
3115
- : undefined,
3116
- GroupBy: output.GroupBy != null
3117
- ? deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup(output.GroupBy, context)
3118
- : undefined,
3043
+ Filter: output.Filter != null ? de_PerformanceInsightsMetricFilterMap(output.Filter, context) : undefined,
3044
+ GroupBy: output.GroupBy != null ? de_PerformanceInsightsMetricDimensionGroup(output.GroupBy, context) : undefined,
3119
3045
  Metric: __expectString(output.Metric),
3120
3046
  };
3121
3047
  };
3122
- const deserializeAws_restJson1PerformanceInsightsMetricsDetail = (output, context) => {
3048
+ const de_PerformanceInsightsMetricsDetail = (output, context) => {
3123
3049
  return {
3124
3050
  MetricDisplayName: __expectString(output.MetricDisplayName),
3125
- MetricQuery: output.MetricQuery != null
3126
- ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
3127
- : undefined,
3128
- ReferenceData: output.ReferenceData != null
3129
- ? deserializeAws_restJson1PerformanceInsightsReferenceDataList(output.ReferenceData, context)
3130
- : undefined,
3131
- StatsAtAnomaly: output.StatsAtAnomaly != null
3132
- ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtAnomaly, context)
3133
- : undefined,
3134
- StatsAtBaseline: output.StatsAtBaseline != null
3135
- ? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtBaseline, context)
3136
- : undefined,
3051
+ MetricQuery: output.MetricQuery != null ? de_PerformanceInsightsMetricQuery(output.MetricQuery, context) : undefined,
3052
+ ReferenceData: output.ReferenceData != null ? de_PerformanceInsightsReferenceDataList(output.ReferenceData, context) : undefined,
3053
+ StatsAtAnomaly: output.StatsAtAnomaly != null ? de_PerformanceInsightsStats(output.StatsAtAnomaly, context) : undefined,
3054
+ StatsAtBaseline: output.StatsAtBaseline != null ? de_PerformanceInsightsStats(output.StatsAtBaseline, context) : undefined,
3137
3055
  Unit: __expectString(output.Unit),
3138
3056
  };
3139
3057
  };
3140
- const deserializeAws_restJson1PerformanceInsightsMetricsDetails = (output, context) => {
3058
+ const de_PerformanceInsightsMetricsDetails = (output, context) => {
3141
3059
  const retVal = (output || [])
3142
3060
  .filter((e) => e != null)
3143
3061
  .map((entry) => {
3144
3062
  if (entry === null) {
3145
3063
  return null;
3146
3064
  }
3147
- return deserializeAws_restJson1PerformanceInsightsMetricsDetail(entry, context);
3065
+ return de_PerformanceInsightsMetricsDetail(entry, context);
3148
3066
  });
3149
3067
  return retVal;
3150
3068
  };
3151
- const deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues = (output, context) => {
3069
+ const de_PerformanceInsightsReferenceComparisonValues = (output, context) => {
3152
3070
  return {
3153
3071
  ReferenceMetric: output.ReferenceMetric != null
3154
- ? deserializeAws_restJson1PerformanceInsightsReferenceMetric(output.ReferenceMetric, context)
3072
+ ? de_PerformanceInsightsReferenceMetric(output.ReferenceMetric, context)
3155
3073
  : undefined,
3156
3074
  ReferenceScalar: output.ReferenceScalar != null
3157
- ? deserializeAws_restJson1PerformanceInsightsReferenceScalar(output.ReferenceScalar, context)
3075
+ ? de_PerformanceInsightsReferenceScalar(output.ReferenceScalar, context)
3158
3076
  : undefined,
3159
3077
  };
3160
3078
  };
3161
- const deserializeAws_restJson1PerformanceInsightsReferenceData = (output, context) => {
3079
+ const de_PerformanceInsightsReferenceData = (output, context) => {
3162
3080
  return {
3163
3081
  ComparisonValues: output.ComparisonValues != null
3164
- ? deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues(output.ComparisonValues, context)
3082
+ ? de_PerformanceInsightsReferenceComparisonValues(output.ComparisonValues, context)
3165
3083
  : undefined,
3166
3084
  Name: __expectString(output.Name),
3167
3085
  };
3168
3086
  };
3169
- const deserializeAws_restJson1PerformanceInsightsReferenceDataList = (output, context) => {
3087
+ const de_PerformanceInsightsReferenceDataList = (output, context) => {
3170
3088
  const retVal = (output || [])
3171
3089
  .filter((e) => e != null)
3172
3090
  .map((entry) => {
3173
3091
  if (entry === null) {
3174
3092
  return null;
3175
3093
  }
3176
- return deserializeAws_restJson1PerformanceInsightsReferenceData(entry, context);
3094
+ return de_PerformanceInsightsReferenceData(entry, context);
3177
3095
  });
3178
3096
  return retVal;
3179
3097
  };
3180
- const deserializeAws_restJson1PerformanceInsightsReferenceMetric = (output, context) => {
3098
+ const de_PerformanceInsightsReferenceMetric = (output, context) => {
3181
3099
  return {
3182
- MetricQuery: output.MetricQuery != null
3183
- ? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
3184
- : undefined,
3100
+ MetricQuery: output.MetricQuery != null ? de_PerformanceInsightsMetricQuery(output.MetricQuery, context) : undefined,
3185
3101
  };
3186
3102
  };
3187
- const deserializeAws_restJson1PerformanceInsightsReferenceScalar = (output, context) => {
3103
+ const de_PerformanceInsightsReferenceScalar = (output, context) => {
3188
3104
  return {
3189
3105
  Value: __limitedParseDouble(output.Value),
3190
3106
  };
3191
3107
  };
3192
- const deserializeAws_restJson1PerformanceInsightsStat = (output, context) => {
3108
+ const de_PerformanceInsightsStat = (output, context) => {
3193
3109
  return {
3194
3110
  Type: __expectString(output.Type),
3195
3111
  Value: __limitedParseDouble(output.Value),
3196
3112
  };
3197
3113
  };
3198
- const deserializeAws_restJson1PerformanceInsightsStats = (output, context) => {
3114
+ const de_PerformanceInsightsStats = (output, context) => {
3199
3115
  const retVal = (output || [])
3200
3116
  .filter((e) => e != null)
3201
3117
  .map((entry) => {
3202
3118
  if (entry === null) {
3203
3119
  return null;
3204
3120
  }
3205
- return deserializeAws_restJson1PerformanceInsightsStat(entry, context);
3121
+ return de_PerformanceInsightsStat(entry, context);
3206
3122
  });
3207
3123
  return retVal;
3208
3124
  };
3209
- const deserializeAws_restJson1PredictionTimeRange = (output, context) => {
3125
+ const de_PredictionTimeRange = (output, context) => {
3210
3126
  return {
3211
3127
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
3212
3128
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3213
3129
  };
3214
3130
  };
3215
- const deserializeAws_restJson1ProactiveAnomalies = (output, context) => {
3131
+ const de_ProactiveAnomalies = (output, context) => {
3216
3132
  const retVal = (output || [])
3217
3133
  .filter((e) => e != null)
3218
3134
  .map((entry) => {
3219
3135
  if (entry === null) {
3220
3136
  return null;
3221
3137
  }
3222
- return deserializeAws_restJson1ProactiveAnomalySummary(entry, context);
3138
+ return de_ProactiveAnomalySummary(entry, context);
3223
3139
  });
3224
3140
  return retVal;
3225
3141
  };
3226
- const deserializeAws_restJson1ProactiveAnomaly = (output, context) => {
3142
+ const de_ProactiveAnomaly = (output, context) => {
3227
3143
  return {
3228
3144
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
3229
- ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3230
- : undefined,
3231
- AnomalyResources: output.AnomalyResources != null
3232
- ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3233
- : undefined,
3234
- AnomalyTimeRange: output.AnomalyTimeRange != null
3235
- ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3145
+ ? de_AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3236
3146
  : undefined,
3147
+ AnomalyResources: output.AnomalyResources != null ? de_AnomalyResources(output.AnomalyResources, context) : undefined,
3148
+ AnomalyTimeRange: output.AnomalyTimeRange != null ? de_AnomalyTimeRange(output.AnomalyTimeRange, context) : undefined,
3237
3149
  AssociatedInsightId: __expectString(output.AssociatedInsightId),
3238
3150
  Description: __expectString(output.Description),
3239
3151
  Id: __expectString(output.Id),
3240
3152
  Limit: __limitedParseDouble(output.Limit),
3241
- PredictionTimeRange: output.PredictionTimeRange != null
3242
- ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
3243
- : undefined,
3244
- ResourceCollection: output.ResourceCollection != null
3245
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3246
- : undefined,
3153
+ PredictionTimeRange: output.PredictionTimeRange != null ? de_PredictionTimeRange(output.PredictionTimeRange, context) : undefined,
3154
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3247
3155
  Severity: __expectString(output.Severity),
3248
- SourceDetails: output.SourceDetails != null
3249
- ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3250
- : undefined,
3251
- SourceMetadata: output.SourceMetadata != null
3252
- ? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
3253
- : undefined,
3156
+ SourceDetails: output.SourceDetails != null ? de_AnomalySourceDetails(output.SourceDetails, context) : undefined,
3157
+ SourceMetadata: output.SourceMetadata != null ? de_AnomalySourceMetadata(output.SourceMetadata, context) : undefined,
3254
3158
  Status: __expectString(output.Status),
3255
3159
  UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateTime))) : undefined,
3256
3160
  };
3257
3161
  };
3258
- const deserializeAws_restJson1ProactiveAnomalySummary = (output, context) => {
3162
+ const de_ProactiveAnomalySummary = (output, context) => {
3259
3163
  return {
3260
3164
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
3261
- ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3262
- : undefined,
3263
- AnomalyResources: output.AnomalyResources != null
3264
- ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3265
- : undefined,
3266
- AnomalyTimeRange: output.AnomalyTimeRange != null
3267
- ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3165
+ ? de_AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3268
3166
  : undefined,
3167
+ AnomalyResources: output.AnomalyResources != null ? de_AnomalyResources(output.AnomalyResources, context) : undefined,
3168
+ AnomalyTimeRange: output.AnomalyTimeRange != null ? de_AnomalyTimeRange(output.AnomalyTimeRange, context) : undefined,
3269
3169
  AssociatedInsightId: __expectString(output.AssociatedInsightId),
3270
3170
  Description: __expectString(output.Description),
3271
3171
  Id: __expectString(output.Id),
3272
3172
  Limit: __limitedParseDouble(output.Limit),
3273
- PredictionTimeRange: output.PredictionTimeRange != null
3274
- ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
3275
- : undefined,
3276
- ResourceCollection: output.ResourceCollection != null
3277
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3278
- : undefined,
3173
+ PredictionTimeRange: output.PredictionTimeRange != null ? de_PredictionTimeRange(output.PredictionTimeRange, context) : undefined,
3174
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3279
3175
  Severity: __expectString(output.Severity),
3280
- SourceDetails: output.SourceDetails != null
3281
- ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3282
- : undefined,
3283
- SourceMetadata: output.SourceMetadata != null
3284
- ? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
3285
- : undefined,
3176
+ SourceDetails: output.SourceDetails != null ? de_AnomalySourceDetails(output.SourceDetails, context) : undefined,
3177
+ SourceMetadata: output.SourceMetadata != null ? de_AnomalySourceMetadata(output.SourceMetadata, context) : undefined,
3286
3178
  Status: __expectString(output.Status),
3287
3179
  UpdateTime: output.UpdateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateTime))) : undefined,
3288
3180
  };
3289
3181
  };
3290
- const deserializeAws_restJson1ProactiveInsight = (output, context) => {
3182
+ const de_ProactiveInsight = (output, context) => {
3291
3183
  return {
3292
3184
  Description: __expectString(output.Description),
3293
3185
  Id: __expectString(output.Id),
3294
- InsightTimeRange: output.InsightTimeRange != null
3295
- ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3296
- : undefined,
3186
+ InsightTimeRange: output.InsightTimeRange != null ? de_InsightTimeRange(output.InsightTimeRange, context) : undefined,
3297
3187
  Name: __expectString(output.Name),
3298
- PredictionTimeRange: output.PredictionTimeRange != null
3299
- ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
3300
- : undefined,
3301
- ResourceCollection: output.ResourceCollection != null
3302
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3303
- : undefined,
3188
+ PredictionTimeRange: output.PredictionTimeRange != null ? de_PredictionTimeRange(output.PredictionTimeRange, context) : undefined,
3189
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3304
3190
  Severity: __expectString(output.Severity),
3305
3191
  SsmOpsItemId: __expectString(output.SsmOpsItemId),
3306
3192
  Status: __expectString(output.Status),
3307
3193
  };
3308
3194
  };
3309
- const deserializeAws_restJson1ProactiveInsights = (output, context) => {
3195
+ const de_ProactiveInsights = (output, context) => {
3310
3196
  const retVal = (output || [])
3311
3197
  .filter((e) => e != null)
3312
3198
  .map((entry) => {
3313
3199
  if (entry === null) {
3314
3200
  return null;
3315
3201
  }
3316
- return deserializeAws_restJson1ProactiveInsightSummary(entry, context);
3202
+ return de_ProactiveInsightSummary(entry, context);
3317
3203
  });
3318
3204
  return retVal;
3319
3205
  };
3320
- const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
3206
+ const de_ProactiveInsightSummary = (output, context) => {
3321
3207
  return {
3322
3208
  AssociatedResourceArns: output.AssociatedResourceArns != null
3323
- ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
3209
+ ? de_AssociatedResourceArns(output.AssociatedResourceArns, context)
3324
3210
  : undefined,
3325
3211
  Id: __expectString(output.Id),
3326
- InsightTimeRange: output.InsightTimeRange != null
3327
- ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3328
- : undefined,
3212
+ InsightTimeRange: output.InsightTimeRange != null ? de_InsightTimeRange(output.InsightTimeRange, context) : undefined,
3329
3213
  Name: __expectString(output.Name),
3330
- PredictionTimeRange: output.PredictionTimeRange != null
3331
- ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
3332
- : undefined,
3333
- ResourceCollection: output.ResourceCollection != null
3334
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3335
- : undefined,
3336
- ServiceCollection: output.ServiceCollection != null
3337
- ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
3338
- : undefined,
3214
+ PredictionTimeRange: output.PredictionTimeRange != null ? de_PredictionTimeRange(output.PredictionTimeRange, context) : undefined,
3215
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3216
+ ServiceCollection: output.ServiceCollection != null ? de_ServiceCollection(output.ServiceCollection, context) : undefined,
3339
3217
  Severity: __expectString(output.Severity),
3340
3218
  Status: __expectString(output.Status),
3341
3219
  };
3342
3220
  };
3343
- const deserializeAws_restJson1ProactiveOrganizationInsights = (output, context) => {
3221
+ const de_ProactiveOrganizationInsights = (output, context) => {
3344
3222
  const retVal = (output || [])
3345
3223
  .filter((e) => e != null)
3346
3224
  .map((entry) => {
3347
3225
  if (entry === null) {
3348
3226
  return null;
3349
3227
  }
3350
- return deserializeAws_restJson1ProactiveOrganizationInsightSummary(entry, context);
3228
+ return de_ProactiveOrganizationInsightSummary(entry, context);
3351
3229
  });
3352
3230
  return retVal;
3353
3231
  };
3354
- const deserializeAws_restJson1ProactiveOrganizationInsightSummary = (output, context) => {
3232
+ const de_ProactiveOrganizationInsightSummary = (output, context) => {
3355
3233
  return {
3356
3234
  AccountId: __expectString(output.AccountId),
3357
3235
  Id: __expectString(output.Id),
3358
- InsightTimeRange: output.InsightTimeRange != null
3359
- ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3360
- : undefined,
3236
+ InsightTimeRange: output.InsightTimeRange != null ? de_InsightTimeRange(output.InsightTimeRange, context) : undefined,
3361
3237
  Name: __expectString(output.Name),
3362
3238
  OrganizationalUnitId: __expectString(output.OrganizationalUnitId),
3363
- PredictionTimeRange: output.PredictionTimeRange != null
3364
- ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
3365
- : undefined,
3366
- ResourceCollection: output.ResourceCollection != null
3367
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3368
- : undefined,
3369
- ServiceCollection: output.ServiceCollection != null
3370
- ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
3371
- : undefined,
3239
+ PredictionTimeRange: output.PredictionTimeRange != null ? de_PredictionTimeRange(output.PredictionTimeRange, context) : undefined,
3240
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3241
+ ServiceCollection: output.ServiceCollection != null ? de_ServiceCollection(output.ServiceCollection, context) : undefined,
3372
3242
  Severity: __expectString(output.Severity),
3373
3243
  Status: __expectString(output.Status),
3374
3244
  };
3375
3245
  };
3376
- const deserializeAws_restJson1ReactiveAnomalies = (output, context) => {
3246
+ const de_ReactiveAnomalies = (output, context) => {
3377
3247
  const retVal = (output || [])
3378
3248
  .filter((e) => e != null)
3379
3249
  .map((entry) => {
3380
3250
  if (entry === null) {
3381
3251
  return null;
3382
3252
  }
3383
- return deserializeAws_restJson1ReactiveAnomalySummary(entry, context);
3253
+ return de_ReactiveAnomalySummary(entry, context);
3384
3254
  });
3385
3255
  return retVal;
3386
3256
  };
3387
- const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
3257
+ const de_ReactiveAnomaly = (output, context) => {
3388
3258
  return {
3389
3259
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
3390
- ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3391
- : undefined,
3392
- AnomalyResources: output.AnomalyResources != null
3393
- ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3394
- : undefined,
3395
- AnomalyTimeRange: output.AnomalyTimeRange != null
3396
- ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3260
+ ? de_AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3397
3261
  : undefined,
3262
+ AnomalyResources: output.AnomalyResources != null ? de_AnomalyResources(output.AnomalyResources, context) : undefined,
3263
+ AnomalyTimeRange: output.AnomalyTimeRange != null ? de_AnomalyTimeRange(output.AnomalyTimeRange, context) : undefined,
3398
3264
  AssociatedInsightId: __expectString(output.AssociatedInsightId),
3399
3265
  CausalAnomalyId: __expectString(output.CausalAnomalyId),
3400
3266
  Description: __expectString(output.Description),
3401
3267
  Id: __expectString(output.Id),
3402
3268
  Name: __expectString(output.Name),
3403
- ResourceCollection: output.ResourceCollection != null
3404
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3405
- : undefined,
3269
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3406
3270
  Severity: __expectString(output.Severity),
3407
- SourceDetails: output.SourceDetails != null
3408
- ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3409
- : undefined,
3271
+ SourceDetails: output.SourceDetails != null ? de_AnomalySourceDetails(output.SourceDetails, context) : undefined,
3410
3272
  Status: __expectString(output.Status),
3411
3273
  Type: __expectString(output.Type),
3412
3274
  };
3413
3275
  };
3414
- const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
3276
+ const de_ReactiveAnomalySummary = (output, context) => {
3415
3277
  return {
3416
3278
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
3417
- ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3418
- : undefined,
3419
- AnomalyResources: output.AnomalyResources != null
3420
- ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3421
- : undefined,
3422
- AnomalyTimeRange: output.AnomalyTimeRange != null
3423
- ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3279
+ ? de_AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3424
3280
  : undefined,
3281
+ AnomalyResources: output.AnomalyResources != null ? de_AnomalyResources(output.AnomalyResources, context) : undefined,
3282
+ AnomalyTimeRange: output.AnomalyTimeRange != null ? de_AnomalyTimeRange(output.AnomalyTimeRange, context) : undefined,
3425
3283
  AssociatedInsightId: __expectString(output.AssociatedInsightId),
3426
3284
  CausalAnomalyId: __expectString(output.CausalAnomalyId),
3427
3285
  Description: __expectString(output.Description),
3428
3286
  Id: __expectString(output.Id),
3429
3287
  Name: __expectString(output.Name),
3430
- ResourceCollection: output.ResourceCollection != null
3431
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3432
- : undefined,
3288
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3433
3289
  Severity: __expectString(output.Severity),
3434
- SourceDetails: output.SourceDetails != null
3435
- ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3436
- : undefined,
3290
+ SourceDetails: output.SourceDetails != null ? de_AnomalySourceDetails(output.SourceDetails, context) : undefined,
3437
3291
  Status: __expectString(output.Status),
3438
3292
  Type: __expectString(output.Type),
3439
3293
  };
3440
3294
  };
3441
- const deserializeAws_restJson1ReactiveInsight = (output, context) => {
3295
+ const de_ReactiveInsight = (output, context) => {
3442
3296
  return {
3443
3297
  Description: __expectString(output.Description),
3444
3298
  Id: __expectString(output.Id),
3445
- InsightTimeRange: output.InsightTimeRange != null
3446
- ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3447
- : undefined,
3299
+ InsightTimeRange: output.InsightTimeRange != null ? de_InsightTimeRange(output.InsightTimeRange, context) : undefined,
3448
3300
  Name: __expectString(output.Name),
3449
- ResourceCollection: output.ResourceCollection != null
3450
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3451
- : undefined,
3301
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3452
3302
  Severity: __expectString(output.Severity),
3453
3303
  SsmOpsItemId: __expectString(output.SsmOpsItemId),
3454
3304
  Status: __expectString(output.Status),
3455
3305
  };
3456
3306
  };
3457
- const deserializeAws_restJson1ReactiveInsights = (output, context) => {
3307
+ const de_ReactiveInsights = (output, context) => {
3458
3308
  const retVal = (output || [])
3459
3309
  .filter((e) => e != null)
3460
3310
  .map((entry) => {
3461
3311
  if (entry === null) {
3462
3312
  return null;
3463
3313
  }
3464
- return deserializeAws_restJson1ReactiveInsightSummary(entry, context);
3314
+ return de_ReactiveInsightSummary(entry, context);
3465
3315
  });
3466
3316
  return retVal;
3467
3317
  };
3468
- const deserializeAws_restJson1ReactiveInsightSummary = (output, context) => {
3318
+ const de_ReactiveInsightSummary = (output, context) => {
3469
3319
  return {
3470
3320
  AssociatedResourceArns: output.AssociatedResourceArns != null
3471
- ? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
3321
+ ? de_AssociatedResourceArns(output.AssociatedResourceArns, context)
3472
3322
  : undefined,
3473
3323
  Id: __expectString(output.Id),
3474
- InsightTimeRange: output.InsightTimeRange != null
3475
- ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3476
- : undefined,
3324
+ InsightTimeRange: output.InsightTimeRange != null ? de_InsightTimeRange(output.InsightTimeRange, context) : undefined,
3477
3325
  Name: __expectString(output.Name),
3478
- ResourceCollection: output.ResourceCollection != null
3479
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3480
- : undefined,
3481
- ServiceCollection: output.ServiceCollection != null
3482
- ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
3483
- : undefined,
3326
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3327
+ ServiceCollection: output.ServiceCollection != null ? de_ServiceCollection(output.ServiceCollection, context) : undefined,
3484
3328
  Severity: __expectString(output.Severity),
3485
3329
  Status: __expectString(output.Status),
3486
3330
  };
3487
3331
  };
3488
- const deserializeAws_restJson1ReactiveOrganizationInsights = (output, context) => {
3332
+ const de_ReactiveOrganizationInsights = (output, context) => {
3489
3333
  const retVal = (output || [])
3490
3334
  .filter((e) => e != null)
3491
3335
  .map((entry) => {
3492
3336
  if (entry === null) {
3493
3337
  return null;
3494
3338
  }
3495
- return deserializeAws_restJson1ReactiveOrganizationInsightSummary(entry, context);
3339
+ return de_ReactiveOrganizationInsightSummary(entry, context);
3496
3340
  });
3497
3341
  return retVal;
3498
3342
  };
3499
- const deserializeAws_restJson1ReactiveOrganizationInsightSummary = (output, context) => {
3343
+ const de_ReactiveOrganizationInsightSummary = (output, context) => {
3500
3344
  return {
3501
3345
  AccountId: __expectString(output.AccountId),
3502
3346
  Id: __expectString(output.Id),
3503
- InsightTimeRange: output.InsightTimeRange != null
3504
- ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3505
- : undefined,
3347
+ InsightTimeRange: output.InsightTimeRange != null ? de_InsightTimeRange(output.InsightTimeRange, context) : undefined,
3506
3348
  Name: __expectString(output.Name),
3507
3349
  OrganizationalUnitId: __expectString(output.OrganizationalUnitId),
3508
- ResourceCollection: output.ResourceCollection != null
3509
- ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3510
- : undefined,
3511
- ServiceCollection: output.ServiceCollection != null
3512
- ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
3513
- : undefined,
3350
+ ResourceCollection: output.ResourceCollection != null ? de_ResourceCollection(output.ResourceCollection, context) : undefined,
3351
+ ServiceCollection: output.ServiceCollection != null ? de_ServiceCollection(output.ServiceCollection, context) : undefined,
3514
3352
  Severity: __expectString(output.Severity),
3515
3353
  Status: __expectString(output.Status),
3516
3354
  };
3517
3355
  };
3518
- const deserializeAws_restJson1Recommendation = (output, context) => {
3356
+ const de_Recommendation = (output, context) => {
3519
3357
  return {
3520
3358
  Category: __expectString(output.Category),
3521
3359
  Description: __expectString(output.Description),
3522
3360
  Link: __expectString(output.Link),
3523
3361
  Name: __expectString(output.Name),
3524
3362
  Reason: __expectString(output.Reason),
3525
- RelatedAnomalies: output.RelatedAnomalies != null
3526
- ? deserializeAws_restJson1RecommendationRelatedAnomalies(output.RelatedAnomalies, context)
3527
- : undefined,
3528
- RelatedEvents: output.RelatedEvents != null
3529
- ? deserializeAws_restJson1RecommendationRelatedEvents(output.RelatedEvents, context)
3530
- : undefined,
3363
+ RelatedAnomalies: output.RelatedAnomalies != null ? de_RecommendationRelatedAnomalies(output.RelatedAnomalies, context) : undefined,
3364
+ RelatedEvents: output.RelatedEvents != null ? de_RecommendationRelatedEvents(output.RelatedEvents, context) : undefined,
3531
3365
  };
3532
3366
  };
3533
- const deserializeAws_restJson1RecommendationRelatedAnomalies = (output, context) => {
3367
+ const de_RecommendationRelatedAnomalies = (output, context) => {
3534
3368
  const retVal = (output || [])
3535
3369
  .filter((e) => e != null)
3536
3370
  .map((entry) => {
3537
3371
  if (entry === null) {
3538
3372
  return null;
3539
3373
  }
3540
- return deserializeAws_restJson1RecommendationRelatedAnomaly(entry, context);
3374
+ return de_RecommendationRelatedAnomaly(entry, context);
3541
3375
  });
3542
3376
  return retVal;
3543
3377
  };
3544
- const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) => {
3378
+ const de_RecommendationRelatedAnomaly = (output, context) => {
3545
3379
  return {
3546
3380
  AnomalyId: __expectString(output.AnomalyId),
3547
- Resources: output.Resources != null
3548
- ? deserializeAws_restJson1RecommendationRelatedAnomalyResources(output.Resources, context)
3549
- : undefined,
3550
- SourceDetails: output.SourceDetails != null
3551
- ? deserializeAws_restJson1RelatedAnomalySourceDetails(output.SourceDetails, context)
3552
- : undefined,
3381
+ Resources: output.Resources != null ? de_RecommendationRelatedAnomalyResources(output.Resources, context) : undefined,
3382
+ SourceDetails: output.SourceDetails != null ? de_RelatedAnomalySourceDetails(output.SourceDetails, context) : undefined,
3553
3383
  };
3554
3384
  };
3555
- const deserializeAws_restJson1RecommendationRelatedAnomalyResource = (output, context) => {
3385
+ const de_RecommendationRelatedAnomalyResource = (output, context) => {
3556
3386
  return {
3557
3387
  Name: __expectString(output.Name),
3558
3388
  Type: __expectString(output.Type),
3559
3389
  };
3560
3390
  };
3561
- const deserializeAws_restJson1RecommendationRelatedAnomalyResources = (output, context) => {
3391
+ const de_RecommendationRelatedAnomalyResources = (output, context) => {
3562
3392
  const retVal = (output || [])
3563
3393
  .filter((e) => e != null)
3564
3394
  .map((entry) => {
3565
3395
  if (entry === null) {
3566
3396
  return null;
3567
3397
  }
3568
- return deserializeAws_restJson1RecommendationRelatedAnomalyResource(entry, context);
3398
+ return de_RecommendationRelatedAnomalyResource(entry, context);
3569
3399
  });
3570
3400
  return retVal;
3571
3401
  };
3572
- const deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail = (output, context) => {
3402
+ const de_RecommendationRelatedAnomalySourceDetail = (output, context) => {
3573
3403
  return {
3574
3404
  CloudWatchMetrics: output.CloudWatchMetrics != null
3575
- ? deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails(output.CloudWatchMetrics, context)
3405
+ ? de_RecommendationRelatedCloudWatchMetricsSourceDetails(output.CloudWatchMetrics, context)
3576
3406
  : undefined,
3577
3407
  };
3578
3408
  };
3579
- const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail = (output, context) => {
3409
+ const de_RecommendationRelatedCloudWatchMetricsSourceDetail = (output, context) => {
3580
3410
  return {
3581
3411
  MetricName: __expectString(output.MetricName),
3582
3412
  Namespace: __expectString(output.Namespace),
3583
3413
  };
3584
3414
  };
3585
- const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails = (output, context) => {
3415
+ const de_RecommendationRelatedCloudWatchMetricsSourceDetails = (output, context) => {
3586
3416
  const retVal = (output || [])
3587
3417
  .filter((e) => e != null)
3588
3418
  .map((entry) => {
3589
3419
  if (entry === null) {
3590
3420
  return null;
3591
3421
  }
3592
- return deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail(entry, context);
3422
+ return de_RecommendationRelatedCloudWatchMetricsSourceDetail(entry, context);
3593
3423
  });
3594
3424
  return retVal;
3595
3425
  };
3596
- const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) => {
3426
+ const de_RecommendationRelatedEvent = (output, context) => {
3597
3427
  return {
3598
3428
  Name: __expectString(output.Name),
3599
- Resources: output.Resources != null
3600
- ? deserializeAws_restJson1RecommendationRelatedEventResources(output.Resources, context)
3601
- : undefined,
3429
+ Resources: output.Resources != null ? de_RecommendationRelatedEventResources(output.Resources, context) : undefined,
3602
3430
  };
3603
3431
  };
3604
- const deserializeAws_restJson1RecommendationRelatedEventResource = (output, context) => {
3432
+ const de_RecommendationRelatedEventResource = (output, context) => {
3605
3433
  return {
3606
3434
  Name: __expectString(output.Name),
3607
3435
  Type: __expectString(output.Type),
3608
3436
  };
3609
3437
  };
3610
- const deserializeAws_restJson1RecommendationRelatedEventResources = (output, context) => {
3438
+ const de_RecommendationRelatedEventResources = (output, context) => {
3611
3439
  const retVal = (output || [])
3612
3440
  .filter((e) => e != null)
3613
3441
  .map((entry) => {
3614
3442
  if (entry === null) {
3615
3443
  return null;
3616
3444
  }
3617
- return deserializeAws_restJson1RecommendationRelatedEventResource(entry, context);
3445
+ return de_RecommendationRelatedEventResource(entry, context);
3618
3446
  });
3619
3447
  return retVal;
3620
3448
  };
3621
- const deserializeAws_restJson1RecommendationRelatedEvents = (output, context) => {
3449
+ const de_RecommendationRelatedEvents = (output, context) => {
3622
3450
  const retVal = (output || [])
3623
3451
  .filter((e) => e != null)
3624
3452
  .map((entry) => {
3625
3453
  if (entry === null) {
3626
3454
  return null;
3627
3455
  }
3628
- return deserializeAws_restJson1RecommendationRelatedEvent(entry, context);
3456
+ return de_RecommendationRelatedEvent(entry, context);
3629
3457
  });
3630
3458
  return retVal;
3631
3459
  };
3632
- const deserializeAws_restJson1Recommendations = (output, context) => {
3460
+ const de_Recommendations = (output, context) => {
3633
3461
  const retVal = (output || [])
3634
3462
  .filter((e) => e != null)
3635
3463
  .map((entry) => {
3636
3464
  if (entry === null) {
3637
3465
  return null;
3638
3466
  }
3639
- return deserializeAws_restJson1Recommendation(entry, context);
3467
+ return de_Recommendation(entry, context);
3640
3468
  });
3641
3469
  return retVal;
3642
3470
  };
3643
- const deserializeAws_restJson1RelatedAnomalySourceDetails = (output, context) => {
3471
+ const de_RelatedAnomalySourceDetails = (output, context) => {
3644
3472
  const retVal = (output || [])
3645
3473
  .filter((e) => e != null)
3646
3474
  .map((entry) => {
3647
3475
  if (entry === null) {
3648
3476
  return null;
3649
3477
  }
3650
- return deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail(entry, context);
3478
+ return de_RecommendationRelatedAnomalySourceDetail(entry, context);
3651
3479
  });
3652
3480
  return retVal;
3653
3481
  };
3654
- const deserializeAws_restJson1ResourceCollection = (output, context) => {
3482
+ const de_ResourceCollection = (output, context) => {
3655
3483
  return {
3656
- CloudFormation: output.CloudFormation != null
3657
- ? deserializeAws_restJson1CloudFormationCollection(output.CloudFormation, context)
3658
- : undefined,
3659
- Tags: output.Tags != null ? deserializeAws_restJson1TagCollections(output.Tags, context) : undefined,
3484
+ CloudFormation: output.CloudFormation != null ? de_CloudFormationCollection(output.CloudFormation, context) : undefined,
3485
+ Tags: output.Tags != null ? de_TagCollections(output.Tags, context) : undefined,
3660
3486
  };
3661
3487
  };
3662
- const deserializeAws_restJson1ResourceCollectionFilter = (output, context) => {
3488
+ const de_ResourceCollectionFilter = (output, context) => {
3663
3489
  return {
3664
- CloudFormation: output.CloudFormation != null
3665
- ? deserializeAws_restJson1CloudFormationCollectionFilter(output.CloudFormation, context)
3666
- : undefined,
3667
- Tags: output.Tags != null ? deserializeAws_restJson1TagCollectionFilters(output.Tags, context) : undefined,
3490
+ CloudFormation: output.CloudFormation != null ? de_CloudFormationCollectionFilter(output.CloudFormation, context) : undefined,
3491
+ Tags: output.Tags != null ? de_TagCollectionFilters(output.Tags, context) : undefined,
3668
3492
  };
3669
3493
  };
3670
- const deserializeAws_restJson1ServiceCollection = (output, context) => {
3494
+ const de_ServiceCollection = (output, context) => {
3671
3495
  return {
3672
- ServiceNames: output.ServiceNames != null ? deserializeAws_restJson1ServiceNames(output.ServiceNames, context) : undefined,
3496
+ ServiceNames: output.ServiceNames != null ? de_ServiceNames(output.ServiceNames, context) : undefined,
3673
3497
  };
3674
3498
  };
3675
- const deserializeAws_restJson1ServiceHealth = (output, context) => {
3499
+ const de_ServiceHealth = (output, context) => {
3676
3500
  return {
3677
3501
  AnalyzedResourceCount: __expectLong(output.AnalyzedResourceCount),
3678
- Insight: output.Insight != null ? deserializeAws_restJson1ServiceInsightHealth(output.Insight, context) : undefined,
3502
+ Insight: output.Insight != null ? de_ServiceInsightHealth(output.Insight, context) : undefined,
3679
3503
  ServiceName: __expectString(output.ServiceName),
3680
3504
  };
3681
3505
  };
3682
- const deserializeAws_restJson1ServiceHealths = (output, context) => {
3506
+ const de_ServiceHealths = (output, context) => {
3683
3507
  const retVal = (output || [])
3684
3508
  .filter((e) => e != null)
3685
3509
  .map((entry) => {
3686
3510
  if (entry === null) {
3687
3511
  return null;
3688
3512
  }
3689
- return deserializeAws_restJson1ServiceHealth(entry, context);
3513
+ return de_ServiceHealth(entry, context);
3690
3514
  });
3691
3515
  return retVal;
3692
3516
  };
3693
- const deserializeAws_restJson1ServiceInsightHealth = (output, context) => {
3517
+ const de_ServiceInsightHealth = (output, context) => {
3694
3518
  return {
3695
3519
  OpenProactiveInsights: __expectInt32(output.OpenProactiveInsights),
3696
3520
  OpenReactiveInsights: __expectInt32(output.OpenReactiveInsights),
3697
3521
  };
3698
3522
  };
3699
- const deserializeAws_restJson1ServiceIntegrationConfig = (output, context) => {
3523
+ const de_ServiceIntegrationConfig = (output, context) => {
3700
3524
  return {
3701
3525
  LogsAnomalyDetection: output.LogsAnomalyDetection != null
3702
- ? deserializeAws_restJson1LogsAnomalyDetectionIntegration(output.LogsAnomalyDetection, context)
3526
+ ? de_LogsAnomalyDetectionIntegration(output.LogsAnomalyDetection, context)
3703
3527
  : undefined,
3704
- OpsCenter: output.OpsCenter != null ? deserializeAws_restJson1OpsCenterIntegration(output.OpsCenter, context) : undefined,
3528
+ OpsCenter: output.OpsCenter != null ? de_OpsCenterIntegration(output.OpsCenter, context) : undefined,
3705
3529
  };
3706
3530
  };
3707
- const deserializeAws_restJson1ServiceNames = (output, context) => {
3531
+ const de_ServiceNames = (output, context) => {
3708
3532
  const retVal = (output || [])
3709
3533
  .filter((e) => e != null)
3710
3534
  .map((entry) => {
@@ -3715,7 +3539,7 @@ const deserializeAws_restJson1ServiceNames = (output, context) => {
3715
3539
  });
3716
3540
  return retVal;
3717
3541
  };
3718
- const deserializeAws_restJson1ServiceResourceCost = (output, context) => {
3542
+ const de_ServiceResourceCost = (output, context) => {
3719
3543
  return {
3720
3544
  Cost: __limitedParseDouble(output.Cost),
3721
3545
  Count: __expectInt32(output.Count),
@@ -3724,23 +3548,23 @@ const deserializeAws_restJson1ServiceResourceCost = (output, context) => {
3724
3548
  UnitCost: __limitedParseDouble(output.UnitCost),
3725
3549
  };
3726
3550
  };
3727
- const deserializeAws_restJson1ServiceResourceCosts = (output, context) => {
3551
+ const de_ServiceResourceCosts = (output, context) => {
3728
3552
  const retVal = (output || [])
3729
3553
  .filter((e) => e != null)
3730
3554
  .map((entry) => {
3731
3555
  if (entry === null) {
3732
3556
  return null;
3733
3557
  }
3734
- return deserializeAws_restJson1ServiceResourceCost(entry, context);
3558
+ return de_ServiceResourceCost(entry, context);
3735
3559
  });
3736
3560
  return retVal;
3737
3561
  };
3738
- const deserializeAws_restJson1SnsChannelConfig = (output, context) => {
3562
+ const de_SnsChannelConfig = (output, context) => {
3739
3563
  return {
3740
3564
  TopicArn: __expectString(output.TopicArn),
3741
3565
  };
3742
3566
  };
3743
- const deserializeAws_restJson1StackNames = (output, context) => {
3567
+ const de_StackNames = (output, context) => {
3744
3568
  const retVal = (output || [])
3745
3569
  .filter((e) => e != null)
3746
3570
  .map((entry) => {
@@ -3751,77 +3575,77 @@ const deserializeAws_restJson1StackNames = (output, context) => {
3751
3575
  });
3752
3576
  return retVal;
3753
3577
  };
3754
- const deserializeAws_restJson1TagCollection = (output, context) => {
3578
+ const de_TagCollection = (output, context) => {
3755
3579
  return {
3756
3580
  AppBoundaryKey: __expectString(output.AppBoundaryKey),
3757
- TagValues: output.TagValues != null ? deserializeAws_restJson1TagValues(output.TagValues, context) : undefined,
3581
+ TagValues: output.TagValues != null ? de_TagValues(output.TagValues, context) : undefined,
3758
3582
  };
3759
3583
  };
3760
- const deserializeAws_restJson1TagCollectionFilter = (output, context) => {
3584
+ const de_TagCollectionFilter = (output, context) => {
3761
3585
  return {
3762
3586
  AppBoundaryKey: __expectString(output.AppBoundaryKey),
3763
- TagValues: output.TagValues != null ? deserializeAws_restJson1TagValues(output.TagValues, context) : undefined,
3587
+ TagValues: output.TagValues != null ? de_TagValues(output.TagValues, context) : undefined,
3764
3588
  };
3765
3589
  };
3766
- const deserializeAws_restJson1TagCollectionFilters = (output, context) => {
3590
+ const de_TagCollectionFilters = (output, context) => {
3767
3591
  const retVal = (output || [])
3768
3592
  .filter((e) => e != null)
3769
3593
  .map((entry) => {
3770
3594
  if (entry === null) {
3771
3595
  return null;
3772
3596
  }
3773
- return deserializeAws_restJson1TagCollectionFilter(entry, context);
3597
+ return de_TagCollectionFilter(entry, context);
3774
3598
  });
3775
3599
  return retVal;
3776
3600
  };
3777
- const deserializeAws_restJson1TagCollections = (output, context) => {
3601
+ const de_TagCollections = (output, context) => {
3778
3602
  const retVal = (output || [])
3779
3603
  .filter((e) => e != null)
3780
3604
  .map((entry) => {
3781
3605
  if (entry === null) {
3782
3606
  return null;
3783
3607
  }
3784
- return deserializeAws_restJson1TagCollection(entry, context);
3608
+ return de_TagCollection(entry, context);
3785
3609
  });
3786
3610
  return retVal;
3787
3611
  };
3788
- const deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = (output, context) => {
3612
+ const de_TagCostEstimationResourceCollectionFilter = (output, context) => {
3789
3613
  return {
3790
3614
  AppBoundaryKey: __expectString(output.AppBoundaryKey),
3791
- TagValues: output.TagValues != null ? deserializeAws_restJson1CostEstimationTagValues(output.TagValues, context) : undefined,
3615
+ TagValues: output.TagValues != null ? de_CostEstimationTagValues(output.TagValues, context) : undefined,
3792
3616
  };
3793
3617
  };
3794
- const deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = (output, context) => {
3618
+ const de_TagCostEstimationResourceCollectionFilters = (output, context) => {
3795
3619
  const retVal = (output || [])
3796
3620
  .filter((e) => e != null)
3797
3621
  .map((entry) => {
3798
3622
  if (entry === null) {
3799
3623
  return null;
3800
3624
  }
3801
- return deserializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
3625
+ return de_TagCostEstimationResourceCollectionFilter(entry, context);
3802
3626
  });
3803
3627
  return retVal;
3804
3628
  };
3805
- const deserializeAws_restJson1TagHealth = (output, context) => {
3629
+ const de_TagHealth = (output, context) => {
3806
3630
  return {
3807
3631
  AnalyzedResourceCount: __expectLong(output.AnalyzedResourceCount),
3808
3632
  AppBoundaryKey: __expectString(output.AppBoundaryKey),
3809
- Insight: output.Insight != null ? deserializeAws_restJson1InsightHealth(output.Insight, context) : undefined,
3633
+ Insight: output.Insight != null ? de_InsightHealth(output.Insight, context) : undefined,
3810
3634
  TagValue: __expectString(output.TagValue),
3811
3635
  };
3812
3636
  };
3813
- const deserializeAws_restJson1TagHealths = (output, context) => {
3637
+ const de_TagHealths = (output, context) => {
3814
3638
  const retVal = (output || [])
3815
3639
  .filter((e) => e != null)
3816
3640
  .map((entry) => {
3817
3641
  if (entry === null) {
3818
3642
  return null;
3819
3643
  }
3820
- return deserializeAws_restJson1TagHealth(entry, context);
3644
+ return de_TagHealth(entry, context);
3821
3645
  });
3822
3646
  return retVal;
3823
3647
  };
3824
- const deserializeAws_restJson1TagValues = (output, context) => {
3648
+ const de_TagValues = (output, context) => {
3825
3649
  const retVal = (output || [])
3826
3650
  .filter((e) => e != null)
3827
3651
  .map((entry) => {
@@ -3832,37 +3656,37 @@ const deserializeAws_restJson1TagValues = (output, context) => {
3832
3656
  });
3833
3657
  return retVal;
3834
3658
  };
3835
- const deserializeAws_restJson1TimestampMetricValuePair = (output, context) => {
3659
+ const de_TimestampMetricValuePair = (output, context) => {
3836
3660
  return {
3837
3661
  MetricValue: __limitedParseDouble(output.MetricValue),
3838
3662
  Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
3839
3663
  };
3840
3664
  };
3841
- const deserializeAws_restJson1TimestampMetricValuePairList = (output, context) => {
3665
+ const de_TimestampMetricValuePairList = (output, context) => {
3842
3666
  const retVal = (output || [])
3843
3667
  .filter((e) => e != null)
3844
3668
  .map((entry) => {
3845
3669
  if (entry === null) {
3846
3670
  return null;
3847
3671
  }
3848
- return deserializeAws_restJson1TimestampMetricValuePair(entry, context);
3672
+ return de_TimestampMetricValuePair(entry, context);
3849
3673
  });
3850
3674
  return retVal;
3851
3675
  };
3852
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3676
+ const de_ValidationExceptionField = (output, context) => {
3853
3677
  return {
3854
3678
  Message: __expectString(output.Message),
3855
3679
  Name: __expectString(output.Name),
3856
3680
  };
3857
3681
  };
3858
- const deserializeAws_restJson1ValidationExceptionFields = (output, context) => {
3682
+ const de_ValidationExceptionFields = (output, context) => {
3859
3683
  const retVal = (output || [])
3860
3684
  .filter((e) => e != null)
3861
3685
  .map((entry) => {
3862
3686
  if (entry === null) {
3863
3687
  return null;
3864
3688
  }
3865
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
3689
+ return de_ValidationExceptionField(entry, context);
3866
3690
  });
3867
3691
  return retVal;
3868
3692
  };