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

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