@aws-sdk/client-xray 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist-cjs/commands/BatchGetTracesCommand.js +2 -2
  2. package/dist-cjs/commands/CreateGroupCommand.js +2 -2
  3. package/dist-cjs/commands/CreateSamplingRuleCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteGroupCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteSamplingRuleCommand.js +2 -2
  7. package/dist-cjs/commands/GetEncryptionConfigCommand.js +2 -2
  8. package/dist-cjs/commands/GetGroupCommand.js +2 -2
  9. package/dist-cjs/commands/GetGroupsCommand.js +2 -2
  10. package/dist-cjs/commands/GetInsightCommand.js +2 -2
  11. package/dist-cjs/commands/GetInsightEventsCommand.js +2 -2
  12. package/dist-cjs/commands/GetInsightImpactGraphCommand.js +2 -2
  13. package/dist-cjs/commands/GetInsightSummariesCommand.js +2 -2
  14. package/dist-cjs/commands/GetSamplingRulesCommand.js +2 -2
  15. package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js +2 -2
  16. package/dist-cjs/commands/GetSamplingTargetsCommand.js +2 -2
  17. package/dist-cjs/commands/GetServiceGraphCommand.js +2 -2
  18. package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js +2 -2
  19. package/dist-cjs/commands/GetTraceGraphCommand.js +2 -2
  20. package/dist-cjs/commands/GetTraceSummariesCommand.js +2 -2
  21. package/dist-cjs/commands/ListResourcePoliciesCommand.js +2 -2
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  23. package/dist-cjs/commands/PutEncryptionConfigCommand.js +2 -2
  24. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
  25. package/dist-cjs/commands/PutTelemetryRecordsCommand.js +2 -2
  26. package/dist-cjs/commands/PutTraceSegmentsCommand.js +2 -2
  27. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  28. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateGroupCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateSamplingRuleCommand.js +2 -2
  31. package/dist-cjs/protocols/Aws_restJson1.js +522 -576
  32. package/dist-es/commands/BatchGetTracesCommand.js +3 -3
  33. package/dist-es/commands/CreateGroupCommand.js +3 -3
  34. package/dist-es/commands/CreateSamplingRuleCommand.js +3 -3
  35. package/dist-es/commands/DeleteGroupCommand.js +3 -3
  36. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
  37. package/dist-es/commands/DeleteSamplingRuleCommand.js +3 -3
  38. package/dist-es/commands/GetEncryptionConfigCommand.js +3 -3
  39. package/dist-es/commands/GetGroupCommand.js +3 -3
  40. package/dist-es/commands/GetGroupsCommand.js +3 -3
  41. package/dist-es/commands/GetInsightCommand.js +3 -3
  42. package/dist-es/commands/GetInsightEventsCommand.js +3 -3
  43. package/dist-es/commands/GetInsightImpactGraphCommand.js +3 -3
  44. package/dist-es/commands/GetInsightSummariesCommand.js +3 -3
  45. package/dist-es/commands/GetSamplingRulesCommand.js +3 -3
  46. package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +3 -3
  47. package/dist-es/commands/GetSamplingTargetsCommand.js +3 -3
  48. package/dist-es/commands/GetServiceGraphCommand.js +3 -3
  49. package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +3 -3
  50. package/dist-es/commands/GetTraceGraphCommand.js +3 -3
  51. package/dist-es/commands/GetTraceSummariesCommand.js +3 -3
  52. package/dist-es/commands/ListResourcePoliciesCommand.js +3 -3
  53. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  54. package/dist-es/commands/PutEncryptionConfigCommand.js +3 -3
  55. package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
  56. package/dist-es/commands/PutTelemetryRecordsCommand.js +3 -3
  57. package/dist-es/commands/PutTraceSegmentsCommand.js +3 -3
  58. package/dist-es/commands/TagResourceCommand.js +3 -3
  59. package/dist-es/commands/UntagResourceCommand.js +3 -3
  60. package/dist-es/commands/UpdateGroupCommand.js +3 -3
  61. package/dist-es/commands/UpdateSamplingRuleCommand.js +3 -3
  62. package/dist-es/protocols/Aws_restJson1.js +460 -514
  63. package/dist-types/protocols/Aws_restJson1.d.ts +240 -60
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -60
  65. package/package.json +29 -29
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1GetTraceSummariesCommand = exports.deserializeAws_restJson1GetTraceGraphCommand = exports.deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = exports.deserializeAws_restJson1GetServiceGraphCommand = exports.deserializeAws_restJson1GetSamplingTargetsCommand = exports.deserializeAws_restJson1GetSamplingStatisticSummariesCommand = exports.deserializeAws_restJson1GetSamplingRulesCommand = exports.deserializeAws_restJson1GetInsightSummariesCommand = exports.deserializeAws_restJson1GetInsightImpactGraphCommand = exports.deserializeAws_restJson1GetInsightEventsCommand = exports.deserializeAws_restJson1GetInsightCommand = exports.deserializeAws_restJson1GetGroupsCommand = exports.deserializeAws_restJson1GetGroupCommand = exports.deserializeAws_restJson1GetEncryptionConfigCommand = exports.deserializeAws_restJson1DeleteSamplingRuleCommand = exports.deserializeAws_restJson1DeleteResourcePolicyCommand = exports.deserializeAws_restJson1DeleteGroupCommand = exports.deserializeAws_restJson1CreateSamplingRuleCommand = exports.deserializeAws_restJson1CreateGroupCommand = exports.deserializeAws_restJson1BatchGetTracesCommand = exports.serializeAws_restJson1UpdateSamplingRuleCommand = exports.serializeAws_restJson1UpdateGroupCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1PutTraceSegmentsCommand = exports.serializeAws_restJson1PutTelemetryRecordsCommand = exports.serializeAws_restJson1PutResourcePolicyCommand = exports.serializeAws_restJson1PutEncryptionConfigCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListResourcePoliciesCommand = exports.serializeAws_restJson1GetTraceSummariesCommand = exports.serializeAws_restJson1GetTraceGraphCommand = exports.serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = exports.serializeAws_restJson1GetServiceGraphCommand = exports.serializeAws_restJson1GetSamplingTargetsCommand = exports.serializeAws_restJson1GetSamplingStatisticSummariesCommand = exports.serializeAws_restJson1GetSamplingRulesCommand = exports.serializeAws_restJson1GetInsightSummariesCommand = exports.serializeAws_restJson1GetInsightImpactGraphCommand = exports.serializeAws_restJson1GetInsightEventsCommand = exports.serializeAws_restJson1GetInsightCommand = exports.serializeAws_restJson1GetGroupsCommand = exports.serializeAws_restJson1GetGroupCommand = exports.serializeAws_restJson1GetEncryptionConfigCommand = exports.serializeAws_restJson1DeleteSamplingRuleCommand = exports.serializeAws_restJson1DeleteResourcePolicyCommand = exports.serializeAws_restJson1DeleteGroupCommand = exports.serializeAws_restJson1CreateSamplingRuleCommand = exports.serializeAws_restJson1CreateGroupCommand = exports.serializeAws_restJson1BatchGetTracesCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateSamplingRuleCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1PutTraceSegmentsCommand = exports.deserializeAws_restJson1PutTelemetryRecordsCommand = exports.deserializeAws_restJson1PutResourcePolicyCommand = exports.deserializeAws_restJson1PutEncryptionConfigCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListResourcePoliciesCommand = void 0;
3
+ exports.de_GetTraceSummariesCommand = exports.de_GetTraceGraphCommand = exports.de_GetTimeSeriesServiceStatisticsCommand = exports.de_GetServiceGraphCommand = exports.de_GetSamplingTargetsCommand = exports.de_GetSamplingStatisticSummariesCommand = exports.de_GetSamplingRulesCommand = exports.de_GetInsightSummariesCommand = exports.de_GetInsightImpactGraphCommand = exports.de_GetInsightEventsCommand = exports.de_GetInsightCommand = exports.de_GetGroupsCommand = exports.de_GetGroupCommand = exports.de_GetEncryptionConfigCommand = exports.de_DeleteSamplingRuleCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteGroupCommand = exports.de_CreateSamplingRuleCommand = exports.de_CreateGroupCommand = exports.de_BatchGetTracesCommand = exports.se_UpdateSamplingRuleCommand = exports.se_UpdateGroupCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutTraceSegmentsCommand = exports.se_PutTelemetryRecordsCommand = exports.se_PutResourcePolicyCommand = exports.se_PutEncryptionConfigCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResourcePoliciesCommand = exports.se_GetTraceSummariesCommand = exports.se_GetTraceGraphCommand = exports.se_GetTimeSeriesServiceStatisticsCommand = exports.se_GetServiceGraphCommand = exports.se_GetSamplingTargetsCommand = exports.se_GetSamplingStatisticSummariesCommand = exports.se_GetSamplingRulesCommand = exports.se_GetInsightSummariesCommand = exports.se_GetInsightImpactGraphCommand = exports.se_GetInsightEventsCommand = exports.se_GetInsightCommand = exports.se_GetGroupsCommand = exports.se_GetGroupCommand = exports.se_GetEncryptionConfigCommand = exports.se_DeleteSamplingRuleCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteGroupCommand = exports.se_CreateSamplingRuleCommand = exports.se_CreateGroupCommand = exports.se_BatchGetTracesCommand = void 0;
4
+ exports.de_UpdateSamplingRuleCommand = exports.de_UpdateGroupCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutTraceSegmentsCommand = exports.de_PutTelemetryRecordsCommand = exports.de_PutResourcePolicyCommand = exports.de_PutEncryptionConfigCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResourcePoliciesCommand = 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 models_0_1 = require("../models/models_0");
8
8
  const XRayServiceException_1 = require("../models/XRayServiceException");
9
- const serializeAws_restJson1BatchGetTracesCommand = async (input, context) => {
9
+ const se_BatchGetTracesCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -15,7 +15,7 @@ const serializeAws_restJson1BatchGetTracesCommand = async (input, context) => {
15
15
  let body;
16
16
  body = JSON.stringify({
17
17
  ...(input.NextToken != null && { NextToken: input.NextToken }),
18
- ...(input.TraceIds != null && { TraceIds: serializeAws_restJson1TraceIdList(input.TraceIds, context) }),
18
+ ...(input.TraceIds != null && { TraceIds: se_TraceIdList(input.TraceIds, context) }),
19
19
  });
20
20
  return new protocol_http_1.HttpRequest({
21
21
  protocol,
@@ -27,8 +27,8 @@ const serializeAws_restJson1BatchGetTracesCommand = async (input, context) => {
27
27
  body,
28
28
  });
29
29
  };
30
- exports.serializeAws_restJson1BatchGetTracesCommand = serializeAws_restJson1BatchGetTracesCommand;
31
- const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
30
+ exports.se_BatchGetTracesCommand = se_BatchGetTracesCommand;
31
+ const se_CreateGroupCommand = async (input, context) => {
32
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
33
33
  const headers = {
34
34
  "content-type": "application/json",
@@ -39,9 +39,9 @@ const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
39
39
  ...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
40
40
  ...(input.GroupName != null && { GroupName: input.GroupName }),
41
41
  ...(input.InsightsConfiguration != null && {
42
- InsightsConfiguration: serializeAws_restJson1InsightsConfiguration(input.InsightsConfiguration, context),
42
+ InsightsConfiguration: se_InsightsConfiguration(input.InsightsConfiguration, context),
43
43
  }),
44
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
44
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
45
45
  });
46
46
  return new protocol_http_1.HttpRequest({
47
47
  protocol,
@@ -53,8 +53,8 @@ const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
53
53
  body,
54
54
  });
55
55
  };
56
- exports.serializeAws_restJson1CreateGroupCommand = serializeAws_restJson1CreateGroupCommand;
57
- const serializeAws_restJson1CreateSamplingRuleCommand = async (input, context) => {
56
+ exports.se_CreateGroupCommand = se_CreateGroupCommand;
57
+ const se_CreateSamplingRuleCommand = async (input, context) => {
58
58
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
59
  const headers = {
60
60
  "content-type": "application/json",
@@ -62,10 +62,8 @@ const serializeAws_restJson1CreateSamplingRuleCommand = async (input, context) =
62
62
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateSamplingRule";
63
63
  let body;
64
64
  body = JSON.stringify({
65
- ...(input.SamplingRule != null && {
66
- SamplingRule: serializeAws_restJson1SamplingRule(input.SamplingRule, context),
67
- }),
68
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
65
+ ...(input.SamplingRule != null && { SamplingRule: se_SamplingRule(input.SamplingRule, context) }),
66
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
69
67
  });
70
68
  return new protocol_http_1.HttpRequest({
71
69
  protocol,
@@ -77,8 +75,8 @@ const serializeAws_restJson1CreateSamplingRuleCommand = async (input, context) =
77
75
  body,
78
76
  });
79
77
  };
80
- exports.serializeAws_restJson1CreateSamplingRuleCommand = serializeAws_restJson1CreateSamplingRuleCommand;
81
- const serializeAws_restJson1DeleteGroupCommand = async (input, context) => {
78
+ exports.se_CreateSamplingRuleCommand = se_CreateSamplingRuleCommand;
79
+ const se_DeleteGroupCommand = async (input, context) => {
82
80
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
83
81
  const headers = {
84
82
  "content-type": "application/json",
@@ -99,8 +97,8 @@ const serializeAws_restJson1DeleteGroupCommand = async (input, context) => {
99
97
  body,
100
98
  });
101
99
  };
102
- exports.serializeAws_restJson1DeleteGroupCommand = serializeAws_restJson1DeleteGroupCommand;
103
- const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context) => {
100
+ exports.se_DeleteGroupCommand = se_DeleteGroupCommand;
101
+ const se_DeleteResourcePolicyCommand = async (input, context) => {
104
102
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
105
103
  const headers = {
106
104
  "content-type": "application/json",
@@ -121,8 +119,8 @@ const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context)
121
119
  body,
122
120
  });
123
121
  };
124
- exports.serializeAws_restJson1DeleteResourcePolicyCommand = serializeAws_restJson1DeleteResourcePolicyCommand;
125
- const serializeAws_restJson1DeleteSamplingRuleCommand = async (input, context) => {
122
+ exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
123
+ const se_DeleteSamplingRuleCommand = async (input, context) => {
126
124
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
127
125
  const headers = {
128
126
  "content-type": "application/json",
@@ -143,8 +141,8 @@ const serializeAws_restJson1DeleteSamplingRuleCommand = async (input, context) =
143
141
  body,
144
142
  });
145
143
  };
146
- exports.serializeAws_restJson1DeleteSamplingRuleCommand = serializeAws_restJson1DeleteSamplingRuleCommand;
147
- const serializeAws_restJson1GetEncryptionConfigCommand = async (input, context) => {
144
+ exports.se_DeleteSamplingRuleCommand = se_DeleteSamplingRuleCommand;
145
+ const se_GetEncryptionConfigCommand = async (input, context) => {
148
146
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
147
  const headers = {
150
148
  "content-type": "application/json",
@@ -162,8 +160,8 @@ const serializeAws_restJson1GetEncryptionConfigCommand = async (input, context)
162
160
  body,
163
161
  });
164
162
  };
165
- exports.serializeAws_restJson1GetEncryptionConfigCommand = serializeAws_restJson1GetEncryptionConfigCommand;
166
- const serializeAws_restJson1GetGroupCommand = async (input, context) => {
163
+ exports.se_GetEncryptionConfigCommand = se_GetEncryptionConfigCommand;
164
+ const se_GetGroupCommand = async (input, context) => {
167
165
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
168
166
  const headers = {
169
167
  "content-type": "application/json",
@@ -184,8 +182,8 @@ const serializeAws_restJson1GetGroupCommand = async (input, context) => {
184
182
  body,
185
183
  });
186
184
  };
187
- exports.serializeAws_restJson1GetGroupCommand = serializeAws_restJson1GetGroupCommand;
188
- const serializeAws_restJson1GetGroupsCommand = async (input, context) => {
185
+ exports.se_GetGroupCommand = se_GetGroupCommand;
186
+ const se_GetGroupsCommand = async (input, context) => {
189
187
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
190
188
  const headers = {
191
189
  "content-type": "application/json",
@@ -205,8 +203,8 @@ const serializeAws_restJson1GetGroupsCommand = async (input, context) => {
205
203
  body,
206
204
  });
207
205
  };
208
- exports.serializeAws_restJson1GetGroupsCommand = serializeAws_restJson1GetGroupsCommand;
209
- const serializeAws_restJson1GetInsightCommand = async (input, context) => {
206
+ exports.se_GetGroupsCommand = se_GetGroupsCommand;
207
+ const se_GetInsightCommand = async (input, context) => {
210
208
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
211
209
  const headers = {
212
210
  "content-type": "application/json",
@@ -226,8 +224,8 @@ const serializeAws_restJson1GetInsightCommand = async (input, context) => {
226
224
  body,
227
225
  });
228
226
  };
229
- exports.serializeAws_restJson1GetInsightCommand = serializeAws_restJson1GetInsightCommand;
230
- const serializeAws_restJson1GetInsightEventsCommand = async (input, context) => {
227
+ exports.se_GetInsightCommand = se_GetInsightCommand;
228
+ const se_GetInsightEventsCommand = async (input, context) => {
231
229
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
232
230
  const headers = {
233
231
  "content-type": "application/json",
@@ -249,8 +247,8 @@ const serializeAws_restJson1GetInsightEventsCommand = async (input, context) =>
249
247
  body,
250
248
  });
251
249
  };
252
- exports.serializeAws_restJson1GetInsightEventsCommand = serializeAws_restJson1GetInsightEventsCommand;
253
- const serializeAws_restJson1GetInsightImpactGraphCommand = async (input, context) => {
250
+ exports.se_GetInsightEventsCommand = se_GetInsightEventsCommand;
251
+ const se_GetInsightImpactGraphCommand = async (input, context) => {
254
252
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
255
253
  const headers = {
256
254
  "content-type": "application/json",
@@ -273,8 +271,8 @@ const serializeAws_restJson1GetInsightImpactGraphCommand = async (input, context
273
271
  body,
274
272
  });
275
273
  };
276
- exports.serializeAws_restJson1GetInsightImpactGraphCommand = serializeAws_restJson1GetInsightImpactGraphCommand;
277
- const serializeAws_restJson1GetInsightSummariesCommand = async (input, context) => {
274
+ exports.se_GetInsightImpactGraphCommand = se_GetInsightImpactGraphCommand;
275
+ const se_GetInsightSummariesCommand = async (input, context) => {
278
276
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
279
277
  const headers = {
280
278
  "content-type": "application/json",
@@ -288,7 +286,7 @@ const serializeAws_restJson1GetInsightSummariesCommand = async (input, context)
288
286
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
289
287
  ...(input.NextToken != null && { NextToken: input.NextToken }),
290
288
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
291
- ...(input.States != null && { States: serializeAws_restJson1InsightStateList(input.States, context) }),
289
+ ...(input.States != null && { States: se_InsightStateList(input.States, context) }),
292
290
  });
293
291
  return new protocol_http_1.HttpRequest({
294
292
  protocol,
@@ -300,8 +298,8 @@ const serializeAws_restJson1GetInsightSummariesCommand = async (input, context)
300
298
  body,
301
299
  });
302
300
  };
303
- exports.serializeAws_restJson1GetInsightSummariesCommand = serializeAws_restJson1GetInsightSummariesCommand;
304
- const serializeAws_restJson1GetSamplingRulesCommand = async (input, context) => {
301
+ exports.se_GetInsightSummariesCommand = se_GetInsightSummariesCommand;
302
+ const se_GetSamplingRulesCommand = async (input, context) => {
305
303
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
306
304
  const headers = {
307
305
  "content-type": "application/json",
@@ -321,8 +319,8 @@ const serializeAws_restJson1GetSamplingRulesCommand = async (input, context) =>
321
319
  body,
322
320
  });
323
321
  };
324
- exports.serializeAws_restJson1GetSamplingRulesCommand = serializeAws_restJson1GetSamplingRulesCommand;
325
- const serializeAws_restJson1GetSamplingStatisticSummariesCommand = async (input, context) => {
322
+ exports.se_GetSamplingRulesCommand = se_GetSamplingRulesCommand;
323
+ const se_GetSamplingStatisticSummariesCommand = async (input, context) => {
326
324
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
327
325
  const headers = {
328
326
  "content-type": "application/json",
@@ -342,8 +340,8 @@ const serializeAws_restJson1GetSamplingStatisticSummariesCommand = async (input,
342
340
  body,
343
341
  });
344
342
  };
345
- exports.serializeAws_restJson1GetSamplingStatisticSummariesCommand = serializeAws_restJson1GetSamplingStatisticSummariesCommand;
346
- const serializeAws_restJson1GetSamplingTargetsCommand = async (input, context) => {
343
+ exports.se_GetSamplingStatisticSummariesCommand = se_GetSamplingStatisticSummariesCommand;
344
+ const se_GetSamplingTargetsCommand = async (input, context) => {
347
345
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
348
346
  const headers = {
349
347
  "content-type": "application/json",
@@ -352,7 +350,7 @@ const serializeAws_restJson1GetSamplingTargetsCommand = async (input, context) =
352
350
  let body;
353
351
  body = JSON.stringify({
354
352
  ...(input.SamplingStatisticsDocuments != null && {
355
- SamplingStatisticsDocuments: serializeAws_restJson1SamplingStatisticsDocumentList(input.SamplingStatisticsDocuments, context),
353
+ SamplingStatisticsDocuments: se_SamplingStatisticsDocumentList(input.SamplingStatisticsDocuments, context),
356
354
  }),
357
355
  });
358
356
  return new protocol_http_1.HttpRequest({
@@ -365,8 +363,8 @@ const serializeAws_restJson1GetSamplingTargetsCommand = async (input, context) =
365
363
  body,
366
364
  });
367
365
  };
368
- exports.serializeAws_restJson1GetSamplingTargetsCommand = serializeAws_restJson1GetSamplingTargetsCommand;
369
- const serializeAws_restJson1GetServiceGraphCommand = async (input, context) => {
366
+ exports.se_GetSamplingTargetsCommand = se_GetSamplingTargetsCommand;
367
+ const se_GetServiceGraphCommand = async (input, context) => {
370
368
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
371
369
  const headers = {
372
370
  "content-type": "application/json",
@@ -390,8 +388,8 @@ const serializeAws_restJson1GetServiceGraphCommand = async (input, context) => {
390
388
  body,
391
389
  });
392
390
  };
393
- exports.serializeAws_restJson1GetServiceGraphCommand = serializeAws_restJson1GetServiceGraphCommand;
394
- const serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async (input, context) => {
391
+ exports.se_GetServiceGraphCommand = se_GetServiceGraphCommand;
392
+ const se_GetTimeSeriesServiceStatisticsCommand = async (input, context) => {
395
393
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
396
394
  const headers = {
397
395
  "content-type": "application/json",
@@ -418,8 +416,8 @@ const serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async (input
418
416
  body,
419
417
  });
420
418
  };
421
- exports.serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand;
422
- const serializeAws_restJson1GetTraceGraphCommand = async (input, context) => {
419
+ exports.se_GetTimeSeriesServiceStatisticsCommand = se_GetTimeSeriesServiceStatisticsCommand;
420
+ const se_GetTraceGraphCommand = async (input, context) => {
423
421
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
424
422
  const headers = {
425
423
  "content-type": "application/json",
@@ -428,7 +426,7 @@ const serializeAws_restJson1GetTraceGraphCommand = async (input, context) => {
428
426
  let body;
429
427
  body = JSON.stringify({
430
428
  ...(input.NextToken != null && { NextToken: input.NextToken }),
431
- ...(input.TraceIds != null && { TraceIds: serializeAws_restJson1TraceIdList(input.TraceIds, context) }),
429
+ ...(input.TraceIds != null && { TraceIds: se_TraceIdList(input.TraceIds, context) }),
432
430
  });
433
431
  return new protocol_http_1.HttpRequest({
434
432
  protocol,
@@ -440,8 +438,8 @@ const serializeAws_restJson1GetTraceGraphCommand = async (input, context) => {
440
438
  body,
441
439
  });
442
440
  };
443
- exports.serializeAws_restJson1GetTraceGraphCommand = serializeAws_restJson1GetTraceGraphCommand;
444
- const serializeAws_restJson1GetTraceSummariesCommand = async (input, context) => {
441
+ exports.se_GetTraceGraphCommand = se_GetTraceGraphCommand;
442
+ const se_GetTraceSummariesCommand = async (input, context) => {
445
443
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
446
444
  const headers = {
447
445
  "content-type": "application/json",
@@ -453,9 +451,7 @@ const serializeAws_restJson1GetTraceSummariesCommand = async (input, context) =>
453
451
  ...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
454
452
  ...(input.NextToken != null && { NextToken: input.NextToken }),
455
453
  ...(input.Sampling != null && { Sampling: input.Sampling }),
456
- ...(input.SamplingStrategy != null && {
457
- SamplingStrategy: serializeAws_restJson1SamplingStrategy(input.SamplingStrategy, context),
458
- }),
454
+ ...(input.SamplingStrategy != null && { SamplingStrategy: se_SamplingStrategy(input.SamplingStrategy, context) }),
459
455
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
460
456
  ...(input.TimeRangeType != null && { TimeRangeType: input.TimeRangeType }),
461
457
  });
@@ -469,8 +465,8 @@ const serializeAws_restJson1GetTraceSummariesCommand = async (input, context) =>
469
465
  body,
470
466
  });
471
467
  };
472
- exports.serializeAws_restJson1GetTraceSummariesCommand = serializeAws_restJson1GetTraceSummariesCommand;
473
- const serializeAws_restJson1ListResourcePoliciesCommand = async (input, context) => {
468
+ exports.se_GetTraceSummariesCommand = se_GetTraceSummariesCommand;
469
+ const se_ListResourcePoliciesCommand = async (input, context) => {
474
470
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
475
471
  const headers = {
476
472
  "content-type": "application/json",
@@ -490,8 +486,8 @@ const serializeAws_restJson1ListResourcePoliciesCommand = async (input, context)
490
486
  body,
491
487
  });
492
488
  };
493
- exports.serializeAws_restJson1ListResourcePoliciesCommand = serializeAws_restJson1ListResourcePoliciesCommand;
494
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
489
+ exports.se_ListResourcePoliciesCommand = se_ListResourcePoliciesCommand;
490
+ const se_ListTagsForResourceCommand = async (input, context) => {
495
491
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
496
492
  const headers = {
497
493
  "content-type": "application/json",
@@ -512,8 +508,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
512
508
  body,
513
509
  });
514
510
  };
515
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
516
- const serializeAws_restJson1PutEncryptionConfigCommand = async (input, context) => {
511
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
512
+ const se_PutEncryptionConfigCommand = async (input, context) => {
517
513
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
518
514
  const headers = {
519
515
  "content-type": "application/json",
@@ -534,8 +530,8 @@ const serializeAws_restJson1PutEncryptionConfigCommand = async (input, context)
534
530
  body,
535
531
  });
536
532
  };
537
- exports.serializeAws_restJson1PutEncryptionConfigCommand = serializeAws_restJson1PutEncryptionConfigCommand;
538
- const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) => {
533
+ exports.se_PutEncryptionConfigCommand = se_PutEncryptionConfigCommand;
534
+ const se_PutResourcePolicyCommand = async (input, context) => {
539
535
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
540
536
  const headers = {
541
537
  "content-type": "application/json",
@@ -558,8 +554,8 @@ const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) =>
558
554
  body,
559
555
  });
560
556
  };
561
- exports.serializeAws_restJson1PutResourcePolicyCommand = serializeAws_restJson1PutResourcePolicyCommand;
562
- const serializeAws_restJson1PutTelemetryRecordsCommand = async (input, context) => {
557
+ exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
558
+ const se_PutTelemetryRecordsCommand = async (input, context) => {
563
559
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
564
560
  const headers = {
565
561
  "content-type": "application/json",
@@ -571,7 +567,7 @@ const serializeAws_restJson1PutTelemetryRecordsCommand = async (input, context)
571
567
  ...(input.Hostname != null && { Hostname: input.Hostname }),
572
568
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
573
569
  ...(input.TelemetryRecords != null && {
574
- TelemetryRecords: serializeAws_restJson1TelemetryRecordList(input.TelemetryRecords, context),
570
+ TelemetryRecords: se_TelemetryRecordList(input.TelemetryRecords, context),
575
571
  }),
576
572
  });
577
573
  return new protocol_http_1.HttpRequest({
@@ -584,8 +580,8 @@ const serializeAws_restJson1PutTelemetryRecordsCommand = async (input, context)
584
580
  body,
585
581
  });
586
582
  };
587
- exports.serializeAws_restJson1PutTelemetryRecordsCommand = serializeAws_restJson1PutTelemetryRecordsCommand;
588
- const serializeAws_restJson1PutTraceSegmentsCommand = async (input, context) => {
583
+ exports.se_PutTelemetryRecordsCommand = se_PutTelemetryRecordsCommand;
584
+ const se_PutTraceSegmentsCommand = async (input, context) => {
589
585
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
590
586
  const headers = {
591
587
  "content-type": "application/json",
@@ -594,7 +590,7 @@ const serializeAws_restJson1PutTraceSegmentsCommand = async (input, context) =>
594
590
  let body;
595
591
  body = JSON.stringify({
596
592
  ...(input.TraceSegmentDocuments != null && {
597
- TraceSegmentDocuments: serializeAws_restJson1TraceSegmentDocumentList(input.TraceSegmentDocuments, context),
593
+ TraceSegmentDocuments: se_TraceSegmentDocumentList(input.TraceSegmentDocuments, context),
598
594
  }),
599
595
  });
600
596
  return new protocol_http_1.HttpRequest({
@@ -607,8 +603,8 @@ const serializeAws_restJson1PutTraceSegmentsCommand = async (input, context) =>
607
603
  body,
608
604
  });
609
605
  };
610
- exports.serializeAws_restJson1PutTraceSegmentsCommand = serializeAws_restJson1PutTraceSegmentsCommand;
611
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
606
+ exports.se_PutTraceSegmentsCommand = se_PutTraceSegmentsCommand;
607
+ const se_TagResourceCommand = async (input, context) => {
612
608
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
613
609
  const headers = {
614
610
  "content-type": "application/json",
@@ -617,7 +613,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
617
613
  let body;
618
614
  body = JSON.stringify({
619
615
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
620
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
616
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
621
617
  });
622
618
  return new protocol_http_1.HttpRequest({
623
619
  protocol,
@@ -629,8 +625,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
629
625
  body,
630
626
  });
631
627
  };
632
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
633
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
628
+ exports.se_TagResourceCommand = se_TagResourceCommand;
629
+ const se_UntagResourceCommand = async (input, context) => {
634
630
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
635
631
  const headers = {
636
632
  "content-type": "application/json",
@@ -639,7 +635,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
639
635
  let body;
640
636
  body = JSON.stringify({
641
637
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
642
- ...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
638
+ ...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
643
639
  });
644
640
  return new protocol_http_1.HttpRequest({
645
641
  protocol,
@@ -651,8 +647,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
651
647
  body,
652
648
  });
653
649
  };
654
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
655
- const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
650
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
651
+ const se_UpdateGroupCommand = async (input, context) => {
656
652
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
657
653
  const headers = {
658
654
  "content-type": "application/json",
@@ -664,7 +660,7 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
664
660
  ...(input.GroupARN != null && { GroupARN: input.GroupARN }),
665
661
  ...(input.GroupName != null && { GroupName: input.GroupName }),
666
662
  ...(input.InsightsConfiguration != null && {
667
- InsightsConfiguration: serializeAws_restJson1InsightsConfiguration(input.InsightsConfiguration, context),
663
+ InsightsConfiguration: se_InsightsConfiguration(input.InsightsConfiguration, context),
668
664
  }),
669
665
  });
670
666
  return new protocol_http_1.HttpRequest({
@@ -677,8 +673,8 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
677
673
  body,
678
674
  });
679
675
  };
680
- exports.serializeAws_restJson1UpdateGroupCommand = serializeAws_restJson1UpdateGroupCommand;
681
- const serializeAws_restJson1UpdateSamplingRuleCommand = async (input, context) => {
676
+ exports.se_UpdateGroupCommand = se_UpdateGroupCommand;
677
+ const se_UpdateSamplingRuleCommand = async (input, context) => {
682
678
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
683
679
  const headers = {
684
680
  "content-type": "application/json",
@@ -687,7 +683,7 @@ const serializeAws_restJson1UpdateSamplingRuleCommand = async (input, context) =
687
683
  let body;
688
684
  body = JSON.stringify({
689
685
  ...(input.SamplingRuleUpdate != null && {
690
- SamplingRuleUpdate: serializeAws_restJson1SamplingRuleUpdate(input.SamplingRuleUpdate, context),
686
+ SamplingRuleUpdate: se_SamplingRuleUpdate(input.SamplingRuleUpdate, context),
691
687
  }),
692
688
  });
693
689
  return new protocol_http_1.HttpRequest({
@@ -700,10 +696,10 @@ const serializeAws_restJson1UpdateSamplingRuleCommand = async (input, context) =
700
696
  body,
701
697
  });
702
698
  };
703
- exports.serializeAws_restJson1UpdateSamplingRuleCommand = serializeAws_restJson1UpdateSamplingRuleCommand;
704
- const deserializeAws_restJson1BatchGetTracesCommand = async (output, context) => {
699
+ exports.se_UpdateSamplingRuleCommand = se_UpdateSamplingRuleCommand;
700
+ const de_BatchGetTracesCommand = async (output, context) => {
705
701
  if (output.statusCode !== 200 && output.statusCode >= 300) {
706
- return deserializeAws_restJson1BatchGetTracesCommandError(output, context);
702
+ return de_BatchGetTracesCommandError(output, context);
707
703
  }
708
704
  const contents = map({
709
705
  $metadata: deserializeMetadata(output),
@@ -713,15 +709,15 @@ const deserializeAws_restJson1BatchGetTracesCommand = async (output, context) =>
713
709
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
714
710
  }
715
711
  if (data.Traces != null) {
716
- contents.Traces = deserializeAws_restJson1TraceList(data.Traces, context);
712
+ contents.Traces = de_TraceList(data.Traces, context);
717
713
  }
718
714
  if (data.UnprocessedTraceIds != null) {
719
- contents.UnprocessedTraceIds = deserializeAws_restJson1UnprocessedTraceIdList(data.UnprocessedTraceIds, context);
715
+ contents.UnprocessedTraceIds = de_UnprocessedTraceIdList(data.UnprocessedTraceIds, context);
720
716
  }
721
717
  return contents;
722
718
  };
723
- exports.deserializeAws_restJson1BatchGetTracesCommand = deserializeAws_restJson1BatchGetTracesCommand;
724
- const deserializeAws_restJson1BatchGetTracesCommandError = async (output, context) => {
719
+ exports.de_BatchGetTracesCommand = de_BatchGetTracesCommand;
720
+ const de_BatchGetTracesCommandError = async (output, context) => {
725
721
  const parsedOutput = {
726
722
  ...output,
727
723
  body: await parseErrorBody(output.body, context),
@@ -730,10 +726,10 @@ const deserializeAws_restJson1BatchGetTracesCommandError = async (output, contex
730
726
  switch (errorCode) {
731
727
  case "InvalidRequestException":
732
728
  case "com.amazonaws.xray#InvalidRequestException":
733
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
729
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
734
730
  case "ThrottledException":
735
731
  case "com.amazonaws.xray#ThrottledException":
736
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
732
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
737
733
  default:
738
734
  const parsedBody = parsedOutput.body;
739
735
  (0, smithy_client_1.throwDefaultError)({
@@ -744,21 +740,21 @@ const deserializeAws_restJson1BatchGetTracesCommandError = async (output, contex
744
740
  });
745
741
  }
746
742
  };
747
- const deserializeAws_restJson1CreateGroupCommand = async (output, context) => {
743
+ const de_CreateGroupCommand = async (output, context) => {
748
744
  if (output.statusCode !== 200 && output.statusCode >= 300) {
749
- return deserializeAws_restJson1CreateGroupCommandError(output, context);
745
+ return de_CreateGroupCommandError(output, context);
750
746
  }
751
747
  const contents = map({
752
748
  $metadata: deserializeMetadata(output),
753
749
  });
754
750
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
755
751
  if (data.Group != null) {
756
- contents.Group = deserializeAws_restJson1Group(data.Group, context);
752
+ contents.Group = de_Group(data.Group, context);
757
753
  }
758
754
  return contents;
759
755
  };
760
- exports.deserializeAws_restJson1CreateGroupCommand = deserializeAws_restJson1CreateGroupCommand;
761
- const deserializeAws_restJson1CreateGroupCommandError = async (output, context) => {
756
+ exports.de_CreateGroupCommand = de_CreateGroupCommand;
757
+ const de_CreateGroupCommandError = async (output, context) => {
762
758
  const parsedOutput = {
763
759
  ...output,
764
760
  body: await parseErrorBody(output.body, context),
@@ -767,10 +763,10 @@ const deserializeAws_restJson1CreateGroupCommandError = async (output, context)
767
763
  switch (errorCode) {
768
764
  case "InvalidRequestException":
769
765
  case "com.amazonaws.xray#InvalidRequestException":
770
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
766
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
771
767
  case "ThrottledException":
772
768
  case "com.amazonaws.xray#ThrottledException":
773
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
769
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
774
770
  default:
775
771
  const parsedBody = parsedOutput.body;
776
772
  (0, smithy_client_1.throwDefaultError)({
@@ -781,21 +777,21 @@ const deserializeAws_restJson1CreateGroupCommandError = async (output, context)
781
777
  });
782
778
  }
783
779
  };
784
- const deserializeAws_restJson1CreateSamplingRuleCommand = async (output, context) => {
780
+ const de_CreateSamplingRuleCommand = async (output, context) => {
785
781
  if (output.statusCode !== 200 && output.statusCode >= 300) {
786
- return deserializeAws_restJson1CreateSamplingRuleCommandError(output, context);
782
+ return de_CreateSamplingRuleCommandError(output, context);
787
783
  }
788
784
  const contents = map({
789
785
  $metadata: deserializeMetadata(output),
790
786
  });
791
787
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
792
788
  if (data.SamplingRuleRecord != null) {
793
- contents.SamplingRuleRecord = deserializeAws_restJson1SamplingRuleRecord(data.SamplingRuleRecord, context);
789
+ contents.SamplingRuleRecord = de_SamplingRuleRecord(data.SamplingRuleRecord, context);
794
790
  }
795
791
  return contents;
796
792
  };
797
- exports.deserializeAws_restJson1CreateSamplingRuleCommand = deserializeAws_restJson1CreateSamplingRuleCommand;
798
- const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, context) => {
793
+ exports.de_CreateSamplingRuleCommand = de_CreateSamplingRuleCommand;
794
+ const de_CreateSamplingRuleCommandError = async (output, context) => {
799
795
  const parsedOutput = {
800
796
  ...output,
801
797
  body: await parseErrorBody(output.body, context),
@@ -804,13 +800,13 @@ const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, co
804
800
  switch (errorCode) {
805
801
  case "InvalidRequestException":
806
802
  case "com.amazonaws.xray#InvalidRequestException":
807
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
803
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
808
804
  case "RuleLimitExceededException":
809
805
  case "com.amazonaws.xray#RuleLimitExceededException":
810
- throw await deserializeAws_restJson1RuleLimitExceededExceptionResponse(parsedOutput, context);
806
+ throw await de_RuleLimitExceededExceptionRes(parsedOutput, context);
811
807
  case "ThrottledException":
812
808
  case "com.amazonaws.xray#ThrottledException":
813
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
809
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
814
810
  default:
815
811
  const parsedBody = parsedOutput.body;
816
812
  (0, smithy_client_1.throwDefaultError)({
@@ -821,9 +817,9 @@ const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, co
821
817
  });
822
818
  }
823
819
  };
824
- const deserializeAws_restJson1DeleteGroupCommand = async (output, context) => {
820
+ const de_DeleteGroupCommand = async (output, context) => {
825
821
  if (output.statusCode !== 200 && output.statusCode >= 300) {
826
- return deserializeAws_restJson1DeleteGroupCommandError(output, context);
822
+ return de_DeleteGroupCommandError(output, context);
827
823
  }
828
824
  const contents = map({
829
825
  $metadata: deserializeMetadata(output),
@@ -831,8 +827,8 @@ const deserializeAws_restJson1DeleteGroupCommand = async (output, context) => {
831
827
  await collectBody(output.body, context);
832
828
  return contents;
833
829
  };
834
- exports.deserializeAws_restJson1DeleteGroupCommand = deserializeAws_restJson1DeleteGroupCommand;
835
- const deserializeAws_restJson1DeleteGroupCommandError = async (output, context) => {
830
+ exports.de_DeleteGroupCommand = de_DeleteGroupCommand;
831
+ const de_DeleteGroupCommandError = async (output, context) => {
836
832
  const parsedOutput = {
837
833
  ...output,
838
834
  body: await parseErrorBody(output.body, context),
@@ -841,10 +837,10 @@ const deserializeAws_restJson1DeleteGroupCommandError = async (output, context)
841
837
  switch (errorCode) {
842
838
  case "InvalidRequestException":
843
839
  case "com.amazonaws.xray#InvalidRequestException":
844
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
840
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
845
841
  case "ThrottledException":
846
842
  case "com.amazonaws.xray#ThrottledException":
847
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
843
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
848
844
  default:
849
845
  const parsedBody = parsedOutput.body;
850
846
  (0, smithy_client_1.throwDefaultError)({
@@ -855,9 +851,9 @@ const deserializeAws_restJson1DeleteGroupCommandError = async (output, context)
855
851
  });
856
852
  }
857
853
  };
858
- const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
854
+ const de_DeleteResourcePolicyCommand = async (output, context) => {
859
855
  if (output.statusCode !== 200 && output.statusCode >= 300) {
860
- return deserializeAws_restJson1DeleteResourcePolicyCommandError(output, context);
856
+ return de_DeleteResourcePolicyCommandError(output, context);
861
857
  }
862
858
  const contents = map({
863
859
  $metadata: deserializeMetadata(output),
@@ -865,8 +861,8 @@ const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, conte
865
861
  await collectBody(output.body, context);
866
862
  return contents;
867
863
  };
868
- exports.deserializeAws_restJson1DeleteResourcePolicyCommand = deserializeAws_restJson1DeleteResourcePolicyCommand;
869
- const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output, context) => {
864
+ exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand;
865
+ const de_DeleteResourcePolicyCommandError = async (output, context) => {
870
866
  const parsedOutput = {
871
867
  ...output,
872
868
  body: await parseErrorBody(output.body, context),
@@ -875,13 +871,13 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
875
871
  switch (errorCode) {
876
872
  case "InvalidPolicyRevisionIdException":
877
873
  case "com.amazonaws.xray#InvalidPolicyRevisionIdException":
878
- throw await deserializeAws_restJson1InvalidPolicyRevisionIdExceptionResponse(parsedOutput, context);
874
+ throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput, context);
879
875
  case "InvalidRequestException":
880
876
  case "com.amazonaws.xray#InvalidRequestException":
881
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
877
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
882
878
  case "ThrottledException":
883
879
  case "com.amazonaws.xray#ThrottledException":
884
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
880
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
885
881
  default:
886
882
  const parsedBody = parsedOutput.body;
887
883
  (0, smithy_client_1.throwDefaultError)({
@@ -892,21 +888,21 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
892
888
  });
893
889
  }
894
890
  };
895
- const deserializeAws_restJson1DeleteSamplingRuleCommand = async (output, context) => {
891
+ const de_DeleteSamplingRuleCommand = async (output, context) => {
896
892
  if (output.statusCode !== 200 && output.statusCode >= 300) {
897
- return deserializeAws_restJson1DeleteSamplingRuleCommandError(output, context);
893
+ return de_DeleteSamplingRuleCommandError(output, context);
898
894
  }
899
895
  const contents = map({
900
896
  $metadata: deserializeMetadata(output),
901
897
  });
902
898
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
903
899
  if (data.SamplingRuleRecord != null) {
904
- contents.SamplingRuleRecord = deserializeAws_restJson1SamplingRuleRecord(data.SamplingRuleRecord, context);
900
+ contents.SamplingRuleRecord = de_SamplingRuleRecord(data.SamplingRuleRecord, context);
905
901
  }
906
902
  return contents;
907
903
  };
908
- exports.deserializeAws_restJson1DeleteSamplingRuleCommand = deserializeAws_restJson1DeleteSamplingRuleCommand;
909
- const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, context) => {
904
+ exports.de_DeleteSamplingRuleCommand = de_DeleteSamplingRuleCommand;
905
+ const de_DeleteSamplingRuleCommandError = async (output, context) => {
910
906
  const parsedOutput = {
911
907
  ...output,
912
908
  body: await parseErrorBody(output.body, context),
@@ -915,10 +911,10 @@ const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, co
915
911
  switch (errorCode) {
916
912
  case "InvalidRequestException":
917
913
  case "com.amazonaws.xray#InvalidRequestException":
918
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
914
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
919
915
  case "ThrottledException":
920
916
  case "com.amazonaws.xray#ThrottledException":
921
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
917
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
922
918
  default:
923
919
  const parsedBody = parsedOutput.body;
924
920
  (0, smithy_client_1.throwDefaultError)({
@@ -929,21 +925,21 @@ const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, co
929
925
  });
930
926
  }
931
927
  };
932
- const deserializeAws_restJson1GetEncryptionConfigCommand = async (output, context) => {
928
+ const de_GetEncryptionConfigCommand = async (output, context) => {
933
929
  if (output.statusCode !== 200 && output.statusCode >= 300) {
934
- return deserializeAws_restJson1GetEncryptionConfigCommandError(output, context);
930
+ return de_GetEncryptionConfigCommandError(output, context);
935
931
  }
936
932
  const contents = map({
937
933
  $metadata: deserializeMetadata(output),
938
934
  });
939
935
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
940
936
  if (data.EncryptionConfig != null) {
941
- contents.EncryptionConfig = deserializeAws_restJson1EncryptionConfig(data.EncryptionConfig, context);
937
+ contents.EncryptionConfig = de_EncryptionConfig(data.EncryptionConfig, context);
942
938
  }
943
939
  return contents;
944
940
  };
945
- exports.deserializeAws_restJson1GetEncryptionConfigCommand = deserializeAws_restJson1GetEncryptionConfigCommand;
946
- const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, context) => {
941
+ exports.de_GetEncryptionConfigCommand = de_GetEncryptionConfigCommand;
942
+ const de_GetEncryptionConfigCommandError = async (output, context) => {
947
943
  const parsedOutput = {
948
944
  ...output,
949
945
  body: await parseErrorBody(output.body, context),
@@ -952,10 +948,10 @@ const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, c
952
948
  switch (errorCode) {
953
949
  case "InvalidRequestException":
954
950
  case "com.amazonaws.xray#InvalidRequestException":
955
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
951
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
956
952
  case "ThrottledException":
957
953
  case "com.amazonaws.xray#ThrottledException":
958
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
954
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
959
955
  default:
960
956
  const parsedBody = parsedOutput.body;
961
957
  (0, smithy_client_1.throwDefaultError)({
@@ -966,21 +962,21 @@ const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, c
966
962
  });
967
963
  }
968
964
  };
969
- const deserializeAws_restJson1GetGroupCommand = async (output, context) => {
965
+ const de_GetGroupCommand = async (output, context) => {
970
966
  if (output.statusCode !== 200 && output.statusCode >= 300) {
971
- return deserializeAws_restJson1GetGroupCommandError(output, context);
967
+ return de_GetGroupCommandError(output, context);
972
968
  }
973
969
  const contents = map({
974
970
  $metadata: deserializeMetadata(output),
975
971
  });
976
972
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
977
973
  if (data.Group != null) {
978
- contents.Group = deserializeAws_restJson1Group(data.Group, context);
974
+ contents.Group = de_Group(data.Group, context);
979
975
  }
980
976
  return contents;
981
977
  };
982
- exports.deserializeAws_restJson1GetGroupCommand = deserializeAws_restJson1GetGroupCommand;
983
- const deserializeAws_restJson1GetGroupCommandError = async (output, context) => {
978
+ exports.de_GetGroupCommand = de_GetGroupCommand;
979
+ const de_GetGroupCommandError = async (output, context) => {
984
980
  const parsedOutput = {
985
981
  ...output,
986
982
  body: await parseErrorBody(output.body, context),
@@ -989,10 +985,10 @@ const deserializeAws_restJson1GetGroupCommandError = async (output, context) =>
989
985
  switch (errorCode) {
990
986
  case "InvalidRequestException":
991
987
  case "com.amazonaws.xray#InvalidRequestException":
992
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
988
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
993
989
  case "ThrottledException":
994
990
  case "com.amazonaws.xray#ThrottledException":
995
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
991
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
996
992
  default:
997
993
  const parsedBody = parsedOutput.body;
998
994
  (0, smithy_client_1.throwDefaultError)({
@@ -1003,24 +999,24 @@ const deserializeAws_restJson1GetGroupCommandError = async (output, context) =>
1003
999
  });
1004
1000
  }
1005
1001
  };
1006
- const deserializeAws_restJson1GetGroupsCommand = async (output, context) => {
1002
+ const de_GetGroupsCommand = async (output, context) => {
1007
1003
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1008
- return deserializeAws_restJson1GetGroupsCommandError(output, context);
1004
+ return de_GetGroupsCommandError(output, context);
1009
1005
  }
1010
1006
  const contents = map({
1011
1007
  $metadata: deserializeMetadata(output),
1012
1008
  });
1013
1009
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1014
1010
  if (data.Groups != null) {
1015
- contents.Groups = deserializeAws_restJson1GroupSummaryList(data.Groups, context);
1011
+ contents.Groups = de_GroupSummaryList(data.Groups, context);
1016
1012
  }
1017
1013
  if (data.NextToken != null) {
1018
1014
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1019
1015
  }
1020
1016
  return contents;
1021
1017
  };
1022
- exports.deserializeAws_restJson1GetGroupsCommand = deserializeAws_restJson1GetGroupsCommand;
1023
- const deserializeAws_restJson1GetGroupsCommandError = async (output, context) => {
1018
+ exports.de_GetGroupsCommand = de_GetGroupsCommand;
1019
+ const de_GetGroupsCommandError = async (output, context) => {
1024
1020
  const parsedOutput = {
1025
1021
  ...output,
1026
1022
  body: await parseErrorBody(output.body, context),
@@ -1029,10 +1025,10 @@ const deserializeAws_restJson1GetGroupsCommandError = async (output, context) =>
1029
1025
  switch (errorCode) {
1030
1026
  case "InvalidRequestException":
1031
1027
  case "com.amazonaws.xray#InvalidRequestException":
1032
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1028
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1033
1029
  case "ThrottledException":
1034
1030
  case "com.amazonaws.xray#ThrottledException":
1035
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1031
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1036
1032
  default:
1037
1033
  const parsedBody = parsedOutput.body;
1038
1034
  (0, smithy_client_1.throwDefaultError)({
@@ -1043,21 +1039,21 @@ const deserializeAws_restJson1GetGroupsCommandError = async (output, context) =>
1043
1039
  });
1044
1040
  }
1045
1041
  };
1046
- const deserializeAws_restJson1GetInsightCommand = async (output, context) => {
1042
+ const de_GetInsightCommand = async (output, context) => {
1047
1043
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1048
- return deserializeAws_restJson1GetInsightCommandError(output, context);
1044
+ return de_GetInsightCommandError(output, context);
1049
1045
  }
1050
1046
  const contents = map({
1051
1047
  $metadata: deserializeMetadata(output),
1052
1048
  });
1053
1049
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1054
1050
  if (data.Insight != null) {
1055
- contents.Insight = deserializeAws_restJson1Insight(data.Insight, context);
1051
+ contents.Insight = de_Insight(data.Insight, context);
1056
1052
  }
1057
1053
  return contents;
1058
1054
  };
1059
- exports.deserializeAws_restJson1GetInsightCommand = deserializeAws_restJson1GetInsightCommand;
1060
- const deserializeAws_restJson1GetInsightCommandError = async (output, context) => {
1055
+ exports.de_GetInsightCommand = de_GetInsightCommand;
1056
+ const de_GetInsightCommandError = async (output, context) => {
1061
1057
  const parsedOutput = {
1062
1058
  ...output,
1063
1059
  body: await parseErrorBody(output.body, context),
@@ -1066,10 +1062,10 @@ const deserializeAws_restJson1GetInsightCommandError = async (output, context) =
1066
1062
  switch (errorCode) {
1067
1063
  case "InvalidRequestException":
1068
1064
  case "com.amazonaws.xray#InvalidRequestException":
1069
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1065
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1070
1066
  case "ThrottledException":
1071
1067
  case "com.amazonaws.xray#ThrottledException":
1072
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1068
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1073
1069
  default:
1074
1070
  const parsedBody = parsedOutput.body;
1075
1071
  (0, smithy_client_1.throwDefaultError)({
@@ -1080,24 +1076,24 @@ const deserializeAws_restJson1GetInsightCommandError = async (output, context) =
1080
1076
  });
1081
1077
  }
1082
1078
  };
1083
- const deserializeAws_restJson1GetInsightEventsCommand = async (output, context) => {
1079
+ const de_GetInsightEventsCommand = async (output, context) => {
1084
1080
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1085
- return deserializeAws_restJson1GetInsightEventsCommandError(output, context);
1081
+ return de_GetInsightEventsCommandError(output, context);
1086
1082
  }
1087
1083
  const contents = map({
1088
1084
  $metadata: deserializeMetadata(output),
1089
1085
  });
1090
1086
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1091
1087
  if (data.InsightEvents != null) {
1092
- contents.InsightEvents = deserializeAws_restJson1InsightEventList(data.InsightEvents, context);
1088
+ contents.InsightEvents = de_InsightEventList(data.InsightEvents, context);
1093
1089
  }
1094
1090
  if (data.NextToken != null) {
1095
1091
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1096
1092
  }
1097
1093
  return contents;
1098
1094
  };
1099
- exports.deserializeAws_restJson1GetInsightEventsCommand = deserializeAws_restJson1GetInsightEventsCommand;
1100
- const deserializeAws_restJson1GetInsightEventsCommandError = async (output, context) => {
1095
+ exports.de_GetInsightEventsCommand = de_GetInsightEventsCommand;
1096
+ const de_GetInsightEventsCommandError = async (output, context) => {
1101
1097
  const parsedOutput = {
1102
1098
  ...output,
1103
1099
  body: await parseErrorBody(output.body, context),
@@ -1106,10 +1102,10 @@ const deserializeAws_restJson1GetInsightEventsCommandError = async (output, cont
1106
1102
  switch (errorCode) {
1107
1103
  case "InvalidRequestException":
1108
1104
  case "com.amazonaws.xray#InvalidRequestException":
1109
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1105
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1110
1106
  case "ThrottledException":
1111
1107
  case "com.amazonaws.xray#ThrottledException":
1112
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1108
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1113
1109
  default:
1114
1110
  const parsedBody = parsedOutput.body;
1115
1111
  (0, smithy_client_1.throwDefaultError)({
@@ -1120,9 +1116,9 @@ const deserializeAws_restJson1GetInsightEventsCommandError = async (output, cont
1120
1116
  });
1121
1117
  }
1122
1118
  };
1123
- const deserializeAws_restJson1GetInsightImpactGraphCommand = async (output, context) => {
1119
+ const de_GetInsightImpactGraphCommand = async (output, context) => {
1124
1120
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1125
- return deserializeAws_restJson1GetInsightImpactGraphCommandError(output, context);
1121
+ return de_GetInsightImpactGraphCommandError(output, context);
1126
1122
  }
1127
1123
  const contents = map({
1128
1124
  $metadata: deserializeMetadata(output),
@@ -1144,15 +1140,15 @@ const deserializeAws_restJson1GetInsightImpactGraphCommand = async (output, cont
1144
1140
  contents.ServiceGraphStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ServiceGraphStartTime)));
1145
1141
  }
1146
1142
  if (data.Services != null) {
1147
- contents.Services = deserializeAws_restJson1InsightImpactGraphServiceList(data.Services, context);
1143
+ contents.Services = de_InsightImpactGraphServiceList(data.Services, context);
1148
1144
  }
1149
1145
  if (data.StartTime != null) {
1150
1146
  contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartTime)));
1151
1147
  }
1152
1148
  return contents;
1153
1149
  };
1154
- exports.deserializeAws_restJson1GetInsightImpactGraphCommand = deserializeAws_restJson1GetInsightImpactGraphCommand;
1155
- const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output, context) => {
1150
+ exports.de_GetInsightImpactGraphCommand = de_GetInsightImpactGraphCommand;
1151
+ const de_GetInsightImpactGraphCommandError = async (output, context) => {
1156
1152
  const parsedOutput = {
1157
1153
  ...output,
1158
1154
  body: await parseErrorBody(output.body, context),
@@ -1161,10 +1157,10 @@ const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output,
1161
1157
  switch (errorCode) {
1162
1158
  case "InvalidRequestException":
1163
1159
  case "com.amazonaws.xray#InvalidRequestException":
1164
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1160
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1165
1161
  case "ThrottledException":
1166
1162
  case "com.amazonaws.xray#ThrottledException":
1167
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1163
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1168
1164
  default:
1169
1165
  const parsedBody = parsedOutput.body;
1170
1166
  (0, smithy_client_1.throwDefaultError)({
@@ -1175,24 +1171,24 @@ const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output,
1175
1171
  });
1176
1172
  }
1177
1173
  };
1178
- const deserializeAws_restJson1GetInsightSummariesCommand = async (output, context) => {
1174
+ const de_GetInsightSummariesCommand = async (output, context) => {
1179
1175
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1180
- return deserializeAws_restJson1GetInsightSummariesCommandError(output, context);
1176
+ return de_GetInsightSummariesCommandError(output, context);
1181
1177
  }
1182
1178
  const contents = map({
1183
1179
  $metadata: deserializeMetadata(output),
1184
1180
  });
1185
1181
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1186
1182
  if (data.InsightSummaries != null) {
1187
- contents.InsightSummaries = deserializeAws_restJson1InsightSummaryList(data.InsightSummaries, context);
1183
+ contents.InsightSummaries = de_InsightSummaryList(data.InsightSummaries, context);
1188
1184
  }
1189
1185
  if (data.NextToken != null) {
1190
1186
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1191
1187
  }
1192
1188
  return contents;
1193
1189
  };
1194
- exports.deserializeAws_restJson1GetInsightSummariesCommand = deserializeAws_restJson1GetInsightSummariesCommand;
1195
- const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, context) => {
1190
+ exports.de_GetInsightSummariesCommand = de_GetInsightSummariesCommand;
1191
+ const de_GetInsightSummariesCommandError = async (output, context) => {
1196
1192
  const parsedOutput = {
1197
1193
  ...output,
1198
1194
  body: await parseErrorBody(output.body, context),
@@ -1201,10 +1197,10 @@ const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, c
1201
1197
  switch (errorCode) {
1202
1198
  case "InvalidRequestException":
1203
1199
  case "com.amazonaws.xray#InvalidRequestException":
1204
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1200
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1205
1201
  case "ThrottledException":
1206
1202
  case "com.amazonaws.xray#ThrottledException":
1207
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1203
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1208
1204
  default:
1209
1205
  const parsedBody = parsedOutput.body;
1210
1206
  (0, smithy_client_1.throwDefaultError)({
@@ -1215,9 +1211,9 @@ const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, c
1215
1211
  });
1216
1212
  }
1217
1213
  };
1218
- const deserializeAws_restJson1GetSamplingRulesCommand = async (output, context) => {
1214
+ const de_GetSamplingRulesCommand = async (output, context) => {
1219
1215
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1220
- return deserializeAws_restJson1GetSamplingRulesCommandError(output, context);
1216
+ return de_GetSamplingRulesCommandError(output, context);
1221
1217
  }
1222
1218
  const contents = map({
1223
1219
  $metadata: deserializeMetadata(output),
@@ -1227,12 +1223,12 @@ const deserializeAws_restJson1GetSamplingRulesCommand = async (output, context)
1227
1223
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1228
1224
  }
1229
1225
  if (data.SamplingRuleRecords != null) {
1230
- contents.SamplingRuleRecords = deserializeAws_restJson1SamplingRuleRecordList(data.SamplingRuleRecords, context);
1226
+ contents.SamplingRuleRecords = de_SamplingRuleRecordList(data.SamplingRuleRecords, context);
1231
1227
  }
1232
1228
  return contents;
1233
1229
  };
1234
- exports.deserializeAws_restJson1GetSamplingRulesCommand = deserializeAws_restJson1GetSamplingRulesCommand;
1235
- const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, context) => {
1230
+ exports.de_GetSamplingRulesCommand = de_GetSamplingRulesCommand;
1231
+ const de_GetSamplingRulesCommandError = async (output, context) => {
1236
1232
  const parsedOutput = {
1237
1233
  ...output,
1238
1234
  body: await parseErrorBody(output.body, context),
@@ -1241,10 +1237,10 @@ const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, cont
1241
1237
  switch (errorCode) {
1242
1238
  case "InvalidRequestException":
1243
1239
  case "com.amazonaws.xray#InvalidRequestException":
1244
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1240
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1245
1241
  case "ThrottledException":
1246
1242
  case "com.amazonaws.xray#ThrottledException":
1247
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1243
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1248
1244
  default:
1249
1245
  const parsedBody = parsedOutput.body;
1250
1246
  (0, smithy_client_1.throwDefaultError)({
@@ -1255,9 +1251,9 @@ const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, cont
1255
1251
  });
1256
1252
  }
1257
1253
  };
1258
- const deserializeAws_restJson1GetSamplingStatisticSummariesCommand = async (output, context) => {
1254
+ const de_GetSamplingStatisticSummariesCommand = async (output, context) => {
1259
1255
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1260
- return deserializeAws_restJson1GetSamplingStatisticSummariesCommandError(output, context);
1256
+ return de_GetSamplingStatisticSummariesCommandError(output, context);
1261
1257
  }
1262
1258
  const contents = map({
1263
1259
  $metadata: deserializeMetadata(output),
@@ -1267,12 +1263,12 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommand = async (outp
1267
1263
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1268
1264
  }
1269
1265
  if (data.SamplingStatisticSummaries != null) {
1270
- contents.SamplingStatisticSummaries = deserializeAws_restJson1SamplingStatisticSummaryList(data.SamplingStatisticSummaries, context);
1266
+ contents.SamplingStatisticSummaries = de_SamplingStatisticSummaryList(data.SamplingStatisticSummaries, context);
1271
1267
  }
1272
1268
  return contents;
1273
1269
  };
1274
- exports.deserializeAws_restJson1GetSamplingStatisticSummariesCommand = deserializeAws_restJson1GetSamplingStatisticSummariesCommand;
1275
- const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async (output, context) => {
1270
+ exports.de_GetSamplingStatisticSummariesCommand = de_GetSamplingStatisticSummariesCommand;
1271
+ const de_GetSamplingStatisticSummariesCommandError = async (output, context) => {
1276
1272
  const parsedOutput = {
1277
1273
  ...output,
1278
1274
  body: await parseErrorBody(output.body, context),
@@ -1281,10 +1277,10 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async
1281
1277
  switch (errorCode) {
1282
1278
  case "InvalidRequestException":
1283
1279
  case "com.amazonaws.xray#InvalidRequestException":
1284
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1280
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1285
1281
  case "ThrottledException":
1286
1282
  case "com.amazonaws.xray#ThrottledException":
1287
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1283
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1288
1284
  default:
1289
1285
  const parsedBody = parsedOutput.body;
1290
1286
  (0, smithy_client_1.throwDefaultError)({
@@ -1295,9 +1291,9 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async
1295
1291
  });
1296
1292
  }
1297
1293
  };
1298
- const deserializeAws_restJson1GetSamplingTargetsCommand = async (output, context) => {
1294
+ const de_GetSamplingTargetsCommand = async (output, context) => {
1299
1295
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1300
- return deserializeAws_restJson1GetSamplingTargetsCommandError(output, context);
1296
+ return de_GetSamplingTargetsCommandError(output, context);
1301
1297
  }
1302
1298
  const contents = map({
1303
1299
  $metadata: deserializeMetadata(output),
@@ -1307,15 +1303,15 @@ const deserializeAws_restJson1GetSamplingTargetsCommand = async (output, context
1307
1303
  contents.LastRuleModification = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastRuleModification)));
1308
1304
  }
1309
1305
  if (data.SamplingTargetDocuments != null) {
1310
- contents.SamplingTargetDocuments = deserializeAws_restJson1SamplingTargetDocumentList(data.SamplingTargetDocuments, context);
1306
+ contents.SamplingTargetDocuments = de_SamplingTargetDocumentList(data.SamplingTargetDocuments, context);
1311
1307
  }
1312
1308
  if (data.UnprocessedStatistics != null) {
1313
- contents.UnprocessedStatistics = deserializeAws_restJson1UnprocessedStatisticsList(data.UnprocessedStatistics, context);
1309
+ contents.UnprocessedStatistics = de_UnprocessedStatisticsList(data.UnprocessedStatistics, context);
1314
1310
  }
1315
1311
  return contents;
1316
1312
  };
1317
- exports.deserializeAws_restJson1GetSamplingTargetsCommand = deserializeAws_restJson1GetSamplingTargetsCommand;
1318
- const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, context) => {
1313
+ exports.de_GetSamplingTargetsCommand = de_GetSamplingTargetsCommand;
1314
+ const de_GetSamplingTargetsCommandError = async (output, context) => {
1319
1315
  const parsedOutput = {
1320
1316
  ...output,
1321
1317
  body: await parseErrorBody(output.body, context),
@@ -1324,10 +1320,10 @@ const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, co
1324
1320
  switch (errorCode) {
1325
1321
  case "InvalidRequestException":
1326
1322
  case "com.amazonaws.xray#InvalidRequestException":
1327
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1323
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1328
1324
  case "ThrottledException":
1329
1325
  case "com.amazonaws.xray#ThrottledException":
1330
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1326
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1331
1327
  default:
1332
1328
  const parsedBody = parsedOutput.body;
1333
1329
  (0, smithy_client_1.throwDefaultError)({
@@ -1338,9 +1334,9 @@ const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, co
1338
1334
  });
1339
1335
  }
1340
1336
  };
1341
- const deserializeAws_restJson1GetServiceGraphCommand = async (output, context) => {
1337
+ const de_GetServiceGraphCommand = async (output, context) => {
1342
1338
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1343
- return deserializeAws_restJson1GetServiceGraphCommandError(output, context);
1339
+ return de_GetServiceGraphCommandError(output, context);
1344
1340
  }
1345
1341
  const contents = map({
1346
1342
  $metadata: deserializeMetadata(output),
@@ -1356,15 +1352,15 @@ const deserializeAws_restJson1GetServiceGraphCommand = async (output, context) =
1356
1352
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1357
1353
  }
1358
1354
  if (data.Services != null) {
1359
- contents.Services = deserializeAws_restJson1ServiceList(data.Services, context);
1355
+ contents.Services = de_ServiceList(data.Services, context);
1360
1356
  }
1361
1357
  if (data.StartTime != null) {
1362
1358
  contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartTime)));
1363
1359
  }
1364
1360
  return contents;
1365
1361
  };
1366
- exports.deserializeAws_restJson1GetServiceGraphCommand = deserializeAws_restJson1GetServiceGraphCommand;
1367
- const deserializeAws_restJson1GetServiceGraphCommandError = async (output, context) => {
1362
+ exports.de_GetServiceGraphCommand = de_GetServiceGraphCommand;
1363
+ const de_GetServiceGraphCommandError = async (output, context) => {
1368
1364
  const parsedOutput = {
1369
1365
  ...output,
1370
1366
  body: await parseErrorBody(output.body, context),
@@ -1373,10 +1369,10 @@ const deserializeAws_restJson1GetServiceGraphCommandError = async (output, conte
1373
1369
  switch (errorCode) {
1374
1370
  case "InvalidRequestException":
1375
1371
  case "com.amazonaws.xray#InvalidRequestException":
1376
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1372
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1377
1373
  case "ThrottledException":
1378
1374
  case "com.amazonaws.xray#ThrottledException":
1379
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1375
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1380
1376
  default:
1381
1377
  const parsedBody = parsedOutput.body;
1382
1378
  (0, smithy_client_1.throwDefaultError)({
@@ -1387,9 +1383,9 @@ const deserializeAws_restJson1GetServiceGraphCommandError = async (output, conte
1387
1383
  });
1388
1384
  }
1389
1385
  };
1390
- const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async (output, context) => {
1386
+ const de_GetTimeSeriesServiceStatisticsCommand = async (output, context) => {
1391
1387
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1392
- return deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError(output, context);
1388
+ return de_GetTimeSeriesServiceStatisticsCommandError(output, context);
1393
1389
  }
1394
1390
  const contents = map({
1395
1391
  $metadata: deserializeMetadata(output),
@@ -1402,12 +1398,12 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async (out
1402
1398
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1403
1399
  }
1404
1400
  if (data.TimeSeriesServiceStatistics != null) {
1405
- contents.TimeSeriesServiceStatistics = deserializeAws_restJson1TimeSeriesServiceStatisticsList(data.TimeSeriesServiceStatistics, context);
1401
+ contents.TimeSeriesServiceStatistics = de_TimeSeriesServiceStatisticsList(data.TimeSeriesServiceStatistics, context);
1406
1402
  }
1407
1403
  return contents;
1408
1404
  };
1409
- exports.deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand;
1410
- const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async (output, context) => {
1405
+ exports.de_GetTimeSeriesServiceStatisticsCommand = de_GetTimeSeriesServiceStatisticsCommand;
1406
+ const de_GetTimeSeriesServiceStatisticsCommandError = async (output, context) => {
1411
1407
  const parsedOutput = {
1412
1408
  ...output,
1413
1409
  body: await parseErrorBody(output.body, context),
@@ -1416,10 +1412,10 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async
1416
1412
  switch (errorCode) {
1417
1413
  case "InvalidRequestException":
1418
1414
  case "com.amazonaws.xray#InvalidRequestException":
1419
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1415
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1420
1416
  case "ThrottledException":
1421
1417
  case "com.amazonaws.xray#ThrottledException":
1422
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1418
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1423
1419
  default:
1424
1420
  const parsedBody = parsedOutput.body;
1425
1421
  (0, smithy_client_1.throwDefaultError)({
@@ -1430,9 +1426,9 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async
1430
1426
  });
1431
1427
  }
1432
1428
  };
1433
- const deserializeAws_restJson1GetTraceGraphCommand = async (output, context) => {
1429
+ const de_GetTraceGraphCommand = async (output, context) => {
1434
1430
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1435
- return deserializeAws_restJson1GetTraceGraphCommandError(output, context);
1431
+ return de_GetTraceGraphCommandError(output, context);
1436
1432
  }
1437
1433
  const contents = map({
1438
1434
  $metadata: deserializeMetadata(output),
@@ -1442,12 +1438,12 @@ const deserializeAws_restJson1GetTraceGraphCommand = async (output, context) =>
1442
1438
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1443
1439
  }
1444
1440
  if (data.Services != null) {
1445
- contents.Services = deserializeAws_restJson1ServiceList(data.Services, context);
1441
+ contents.Services = de_ServiceList(data.Services, context);
1446
1442
  }
1447
1443
  return contents;
1448
1444
  };
1449
- exports.deserializeAws_restJson1GetTraceGraphCommand = deserializeAws_restJson1GetTraceGraphCommand;
1450
- const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context) => {
1445
+ exports.de_GetTraceGraphCommand = de_GetTraceGraphCommand;
1446
+ const de_GetTraceGraphCommandError = async (output, context) => {
1451
1447
  const parsedOutput = {
1452
1448
  ...output,
1453
1449
  body: await parseErrorBody(output.body, context),
@@ -1456,10 +1452,10 @@ const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context
1456
1452
  switch (errorCode) {
1457
1453
  case "InvalidRequestException":
1458
1454
  case "com.amazonaws.xray#InvalidRequestException":
1459
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1455
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1460
1456
  case "ThrottledException":
1461
1457
  case "com.amazonaws.xray#ThrottledException":
1462
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1458
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1463
1459
  default:
1464
1460
  const parsedBody = parsedOutput.body;
1465
1461
  (0, smithy_client_1.throwDefaultError)({
@@ -1470,9 +1466,9 @@ const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context
1470
1466
  });
1471
1467
  }
1472
1468
  };
1473
- const deserializeAws_restJson1GetTraceSummariesCommand = async (output, context) => {
1469
+ const de_GetTraceSummariesCommand = async (output, context) => {
1474
1470
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1475
- return deserializeAws_restJson1GetTraceSummariesCommandError(output, context);
1471
+ return de_GetTraceSummariesCommandError(output, context);
1476
1472
  }
1477
1473
  const contents = map({
1478
1474
  $metadata: deserializeMetadata(output),
@@ -1485,15 +1481,15 @@ const deserializeAws_restJson1GetTraceSummariesCommand = async (output, context)
1485
1481
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1486
1482
  }
1487
1483
  if (data.TraceSummaries != null) {
1488
- contents.TraceSummaries = deserializeAws_restJson1TraceSummaryList(data.TraceSummaries, context);
1484
+ contents.TraceSummaries = de_TraceSummaryList(data.TraceSummaries, context);
1489
1485
  }
1490
1486
  if (data.TracesProcessedCount != null) {
1491
1487
  contents.TracesProcessedCount = (0, smithy_client_1.expectLong)(data.TracesProcessedCount);
1492
1488
  }
1493
1489
  return contents;
1494
1490
  };
1495
- exports.deserializeAws_restJson1GetTraceSummariesCommand = deserializeAws_restJson1GetTraceSummariesCommand;
1496
- const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, context) => {
1491
+ exports.de_GetTraceSummariesCommand = de_GetTraceSummariesCommand;
1492
+ const de_GetTraceSummariesCommandError = async (output, context) => {
1497
1493
  const parsedOutput = {
1498
1494
  ...output,
1499
1495
  body: await parseErrorBody(output.body, context),
@@ -1502,10 +1498,10 @@ const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, con
1502
1498
  switch (errorCode) {
1503
1499
  case "InvalidRequestException":
1504
1500
  case "com.amazonaws.xray#InvalidRequestException":
1505
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1501
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1506
1502
  case "ThrottledException":
1507
1503
  case "com.amazonaws.xray#ThrottledException":
1508
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1504
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1509
1505
  default:
1510
1506
  const parsedBody = parsedOutput.body;
1511
1507
  (0, smithy_client_1.throwDefaultError)({
@@ -1516,9 +1512,9 @@ const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, con
1516
1512
  });
1517
1513
  }
1518
1514
  };
1519
- const deserializeAws_restJson1ListResourcePoliciesCommand = async (output, context) => {
1515
+ const de_ListResourcePoliciesCommand = async (output, context) => {
1520
1516
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1521
- return deserializeAws_restJson1ListResourcePoliciesCommandError(output, context);
1517
+ return de_ListResourcePoliciesCommandError(output, context);
1522
1518
  }
1523
1519
  const contents = map({
1524
1520
  $metadata: deserializeMetadata(output),
@@ -1528,12 +1524,12 @@ const deserializeAws_restJson1ListResourcePoliciesCommand = async (output, conte
1528
1524
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1529
1525
  }
1530
1526
  if (data.ResourcePolicies != null) {
1531
- contents.ResourcePolicies = deserializeAws_restJson1ResourcePolicyList(data.ResourcePolicies, context);
1527
+ contents.ResourcePolicies = de_ResourcePolicyList(data.ResourcePolicies, context);
1532
1528
  }
1533
1529
  return contents;
1534
1530
  };
1535
- exports.deserializeAws_restJson1ListResourcePoliciesCommand = deserializeAws_restJson1ListResourcePoliciesCommand;
1536
- const deserializeAws_restJson1ListResourcePoliciesCommandError = async (output, context) => {
1531
+ exports.de_ListResourcePoliciesCommand = de_ListResourcePoliciesCommand;
1532
+ const de_ListResourcePoliciesCommandError = async (output, context) => {
1537
1533
  const parsedOutput = {
1538
1534
  ...output,
1539
1535
  body: await parseErrorBody(output.body, context),
@@ -1542,10 +1538,10 @@ const deserializeAws_restJson1ListResourcePoliciesCommandError = async (output,
1542
1538
  switch (errorCode) {
1543
1539
  case "InvalidRequestException":
1544
1540
  case "com.amazonaws.xray#InvalidRequestException":
1545
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1541
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1546
1542
  case "ThrottledException":
1547
1543
  case "com.amazonaws.xray#ThrottledException":
1548
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1544
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1549
1545
  default:
1550
1546
  const parsedBody = parsedOutput.body;
1551
1547
  (0, smithy_client_1.throwDefaultError)({
@@ -1556,9 +1552,9 @@ const deserializeAws_restJson1ListResourcePoliciesCommandError = async (output,
1556
1552
  });
1557
1553
  }
1558
1554
  };
1559
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1555
+ const de_ListTagsForResourceCommand = async (output, context) => {
1560
1556
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1561
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1557
+ return de_ListTagsForResourceCommandError(output, context);
1562
1558
  }
1563
1559
  const contents = map({
1564
1560
  $metadata: deserializeMetadata(output),
@@ -1568,12 +1564,12 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1568
1564
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1569
1565
  }
1570
1566
  if (data.Tags != null) {
1571
- contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
1567
+ contents.Tags = de_TagList(data.Tags, context);
1572
1568
  }
1573
1569
  return contents;
1574
1570
  };
1575
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1576
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1571
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1572
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1577
1573
  const parsedOutput = {
1578
1574
  ...output,
1579
1575
  body: await parseErrorBody(output.body, context),
@@ -1582,13 +1578,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1582
1578
  switch (errorCode) {
1583
1579
  case "InvalidRequestException":
1584
1580
  case "com.amazonaws.xray#InvalidRequestException":
1585
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1581
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1586
1582
  case "ResourceNotFoundException":
1587
1583
  case "com.amazonaws.xray#ResourceNotFoundException":
1588
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1584
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1589
1585
  case "ThrottledException":
1590
1586
  case "com.amazonaws.xray#ThrottledException":
1591
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1587
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1592
1588
  default:
1593
1589
  const parsedBody = parsedOutput.body;
1594
1590
  (0, smithy_client_1.throwDefaultError)({
@@ -1599,21 +1595,21 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1599
1595
  });
1600
1596
  }
1601
1597
  };
1602
- const deserializeAws_restJson1PutEncryptionConfigCommand = async (output, context) => {
1598
+ const de_PutEncryptionConfigCommand = async (output, context) => {
1603
1599
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1604
- return deserializeAws_restJson1PutEncryptionConfigCommandError(output, context);
1600
+ return de_PutEncryptionConfigCommandError(output, context);
1605
1601
  }
1606
1602
  const contents = map({
1607
1603
  $metadata: deserializeMetadata(output),
1608
1604
  });
1609
1605
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1610
1606
  if (data.EncryptionConfig != null) {
1611
- contents.EncryptionConfig = deserializeAws_restJson1EncryptionConfig(data.EncryptionConfig, context);
1607
+ contents.EncryptionConfig = de_EncryptionConfig(data.EncryptionConfig, context);
1612
1608
  }
1613
1609
  return contents;
1614
1610
  };
1615
- exports.deserializeAws_restJson1PutEncryptionConfigCommand = deserializeAws_restJson1PutEncryptionConfigCommand;
1616
- const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, context) => {
1611
+ exports.de_PutEncryptionConfigCommand = de_PutEncryptionConfigCommand;
1612
+ const de_PutEncryptionConfigCommandError = async (output, context) => {
1617
1613
  const parsedOutput = {
1618
1614
  ...output,
1619
1615
  body: await parseErrorBody(output.body, context),
@@ -1622,10 +1618,10 @@ const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, c
1622
1618
  switch (errorCode) {
1623
1619
  case "InvalidRequestException":
1624
1620
  case "com.amazonaws.xray#InvalidRequestException":
1625
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1621
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1626
1622
  case "ThrottledException":
1627
1623
  case "com.amazonaws.xray#ThrottledException":
1628
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1624
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1629
1625
  default:
1630
1626
  const parsedBody = parsedOutput.body;
1631
1627
  (0, smithy_client_1.throwDefaultError)({
@@ -1636,21 +1632,21 @@ const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, c
1636
1632
  });
1637
1633
  }
1638
1634
  };
1639
- const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context) => {
1635
+ const de_PutResourcePolicyCommand = async (output, context) => {
1640
1636
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1641
- return deserializeAws_restJson1PutResourcePolicyCommandError(output, context);
1637
+ return de_PutResourcePolicyCommandError(output, context);
1642
1638
  }
1643
1639
  const contents = map({
1644
1640
  $metadata: deserializeMetadata(output),
1645
1641
  });
1646
1642
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1647
1643
  if (data.ResourcePolicy != null) {
1648
- contents.ResourcePolicy = deserializeAws_restJson1ResourcePolicy(data.ResourcePolicy, context);
1644
+ contents.ResourcePolicy = de_ResourcePolicy(data.ResourcePolicy, context);
1649
1645
  }
1650
1646
  return contents;
1651
1647
  };
1652
- exports.deserializeAws_restJson1PutResourcePolicyCommand = deserializeAws_restJson1PutResourcePolicyCommand;
1653
- const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, context) => {
1648
+ exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand;
1649
+ const de_PutResourcePolicyCommandError = async (output, context) => {
1654
1650
  const parsedOutput = {
1655
1651
  ...output,
1656
1652
  body: await parseErrorBody(output.body, context),
@@ -1659,22 +1655,22 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
1659
1655
  switch (errorCode) {
1660
1656
  case "InvalidPolicyRevisionIdException":
1661
1657
  case "com.amazonaws.xray#InvalidPolicyRevisionIdException":
1662
- throw await deserializeAws_restJson1InvalidPolicyRevisionIdExceptionResponse(parsedOutput, context);
1658
+ throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput, context);
1663
1659
  case "LockoutPreventionException":
1664
1660
  case "com.amazonaws.xray#LockoutPreventionException":
1665
- throw await deserializeAws_restJson1LockoutPreventionExceptionResponse(parsedOutput, context);
1661
+ throw await de_LockoutPreventionExceptionRes(parsedOutput, context);
1666
1662
  case "MalformedPolicyDocumentException":
1667
1663
  case "com.amazonaws.xray#MalformedPolicyDocumentException":
1668
- throw await deserializeAws_restJson1MalformedPolicyDocumentExceptionResponse(parsedOutput, context);
1664
+ throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
1669
1665
  case "PolicyCountLimitExceededException":
1670
1666
  case "com.amazonaws.xray#PolicyCountLimitExceededException":
1671
- throw await deserializeAws_restJson1PolicyCountLimitExceededExceptionResponse(parsedOutput, context);
1667
+ throw await de_PolicyCountLimitExceededExceptionRes(parsedOutput, context);
1672
1668
  case "PolicySizeLimitExceededException":
1673
1669
  case "com.amazonaws.xray#PolicySizeLimitExceededException":
1674
- throw await deserializeAws_restJson1PolicySizeLimitExceededExceptionResponse(parsedOutput, context);
1670
+ throw await de_PolicySizeLimitExceededExceptionRes(parsedOutput, context);
1675
1671
  case "ThrottledException":
1676
1672
  case "com.amazonaws.xray#ThrottledException":
1677
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1673
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1678
1674
  default:
1679
1675
  const parsedBody = parsedOutput.body;
1680
1676
  (0, smithy_client_1.throwDefaultError)({
@@ -1685,9 +1681,9 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
1685
1681
  });
1686
1682
  }
1687
1683
  };
1688
- const deserializeAws_restJson1PutTelemetryRecordsCommand = async (output, context) => {
1684
+ const de_PutTelemetryRecordsCommand = async (output, context) => {
1689
1685
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1690
- return deserializeAws_restJson1PutTelemetryRecordsCommandError(output, context);
1686
+ return de_PutTelemetryRecordsCommandError(output, context);
1691
1687
  }
1692
1688
  const contents = map({
1693
1689
  $metadata: deserializeMetadata(output),
@@ -1695,8 +1691,8 @@ const deserializeAws_restJson1PutTelemetryRecordsCommand = async (output, contex
1695
1691
  await collectBody(output.body, context);
1696
1692
  return contents;
1697
1693
  };
1698
- exports.deserializeAws_restJson1PutTelemetryRecordsCommand = deserializeAws_restJson1PutTelemetryRecordsCommand;
1699
- const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, context) => {
1694
+ exports.de_PutTelemetryRecordsCommand = de_PutTelemetryRecordsCommand;
1695
+ const de_PutTelemetryRecordsCommandError = async (output, context) => {
1700
1696
  const parsedOutput = {
1701
1697
  ...output,
1702
1698
  body: await parseErrorBody(output.body, context),
@@ -1705,10 +1701,10 @@ const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, c
1705
1701
  switch (errorCode) {
1706
1702
  case "InvalidRequestException":
1707
1703
  case "com.amazonaws.xray#InvalidRequestException":
1708
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1704
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1709
1705
  case "ThrottledException":
1710
1706
  case "com.amazonaws.xray#ThrottledException":
1711
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1707
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1712
1708
  default:
1713
1709
  const parsedBody = parsedOutput.body;
1714
1710
  (0, smithy_client_1.throwDefaultError)({
@@ -1719,21 +1715,21 @@ const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, c
1719
1715
  });
1720
1716
  }
1721
1717
  };
1722
- const deserializeAws_restJson1PutTraceSegmentsCommand = async (output, context) => {
1718
+ const de_PutTraceSegmentsCommand = async (output, context) => {
1723
1719
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1724
- return deserializeAws_restJson1PutTraceSegmentsCommandError(output, context);
1720
+ return de_PutTraceSegmentsCommandError(output, context);
1725
1721
  }
1726
1722
  const contents = map({
1727
1723
  $metadata: deserializeMetadata(output),
1728
1724
  });
1729
1725
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1730
1726
  if (data.UnprocessedTraceSegments != null) {
1731
- contents.UnprocessedTraceSegments = deserializeAws_restJson1UnprocessedTraceSegmentList(data.UnprocessedTraceSegments, context);
1727
+ contents.UnprocessedTraceSegments = de_UnprocessedTraceSegmentList(data.UnprocessedTraceSegments, context);
1732
1728
  }
1733
1729
  return contents;
1734
1730
  };
1735
- exports.deserializeAws_restJson1PutTraceSegmentsCommand = deserializeAws_restJson1PutTraceSegmentsCommand;
1736
- const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, context) => {
1731
+ exports.de_PutTraceSegmentsCommand = de_PutTraceSegmentsCommand;
1732
+ const de_PutTraceSegmentsCommandError = async (output, context) => {
1737
1733
  const parsedOutput = {
1738
1734
  ...output,
1739
1735
  body: await parseErrorBody(output.body, context),
@@ -1742,10 +1738,10 @@ const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, cont
1742
1738
  switch (errorCode) {
1743
1739
  case "InvalidRequestException":
1744
1740
  case "com.amazonaws.xray#InvalidRequestException":
1745
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1741
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1746
1742
  case "ThrottledException":
1747
1743
  case "com.amazonaws.xray#ThrottledException":
1748
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1744
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1749
1745
  default:
1750
1746
  const parsedBody = parsedOutput.body;
1751
1747
  (0, smithy_client_1.throwDefaultError)({
@@ -1756,9 +1752,9 @@ const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, cont
1756
1752
  });
1757
1753
  }
1758
1754
  };
1759
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1755
+ const de_TagResourceCommand = async (output, context) => {
1760
1756
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1761
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1757
+ return de_TagResourceCommandError(output, context);
1762
1758
  }
1763
1759
  const contents = map({
1764
1760
  $metadata: deserializeMetadata(output),
@@ -1766,8 +1762,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1766
1762
  await collectBody(output.body, context);
1767
1763
  return contents;
1768
1764
  };
1769
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1770
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1765
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1766
+ const de_TagResourceCommandError = async (output, context) => {
1771
1767
  const parsedOutput = {
1772
1768
  ...output,
1773
1769
  body: await parseErrorBody(output.body, context),
@@ -1776,16 +1772,16 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1776
1772
  switch (errorCode) {
1777
1773
  case "InvalidRequestException":
1778
1774
  case "com.amazonaws.xray#InvalidRequestException":
1779
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1775
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1780
1776
  case "ResourceNotFoundException":
1781
1777
  case "com.amazonaws.xray#ResourceNotFoundException":
1782
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1778
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1783
1779
  case "ThrottledException":
1784
1780
  case "com.amazonaws.xray#ThrottledException":
1785
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1781
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1786
1782
  case "TooManyTagsException":
1787
1783
  case "com.amazonaws.xray#TooManyTagsException":
1788
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
1784
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1789
1785
  default:
1790
1786
  const parsedBody = parsedOutput.body;
1791
1787
  (0, smithy_client_1.throwDefaultError)({
@@ -1796,9 +1792,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1796
1792
  });
1797
1793
  }
1798
1794
  };
1799
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1795
+ const de_UntagResourceCommand = async (output, context) => {
1800
1796
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1801
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1797
+ return de_UntagResourceCommandError(output, context);
1802
1798
  }
1803
1799
  const contents = map({
1804
1800
  $metadata: deserializeMetadata(output),
@@ -1806,8 +1802,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1806
1802
  await collectBody(output.body, context);
1807
1803
  return contents;
1808
1804
  };
1809
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1810
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1805
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1806
+ const de_UntagResourceCommandError = async (output, context) => {
1811
1807
  const parsedOutput = {
1812
1808
  ...output,
1813
1809
  body: await parseErrorBody(output.body, context),
@@ -1816,13 +1812,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1816
1812
  switch (errorCode) {
1817
1813
  case "InvalidRequestException":
1818
1814
  case "com.amazonaws.xray#InvalidRequestException":
1819
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1815
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1820
1816
  case "ResourceNotFoundException":
1821
1817
  case "com.amazonaws.xray#ResourceNotFoundException":
1822
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1818
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1823
1819
  case "ThrottledException":
1824
1820
  case "com.amazonaws.xray#ThrottledException":
1825
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1821
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1826
1822
  default:
1827
1823
  const parsedBody = parsedOutput.body;
1828
1824
  (0, smithy_client_1.throwDefaultError)({
@@ -1833,21 +1829,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1833
1829
  });
1834
1830
  }
1835
1831
  };
1836
- const deserializeAws_restJson1UpdateGroupCommand = async (output, context) => {
1832
+ const de_UpdateGroupCommand = async (output, context) => {
1837
1833
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1838
- return deserializeAws_restJson1UpdateGroupCommandError(output, context);
1834
+ return de_UpdateGroupCommandError(output, context);
1839
1835
  }
1840
1836
  const contents = map({
1841
1837
  $metadata: deserializeMetadata(output),
1842
1838
  });
1843
1839
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1844
1840
  if (data.Group != null) {
1845
- contents.Group = deserializeAws_restJson1Group(data.Group, context);
1841
+ contents.Group = de_Group(data.Group, context);
1846
1842
  }
1847
1843
  return contents;
1848
1844
  };
1849
- exports.deserializeAws_restJson1UpdateGroupCommand = deserializeAws_restJson1UpdateGroupCommand;
1850
- const deserializeAws_restJson1UpdateGroupCommandError = async (output, context) => {
1845
+ exports.de_UpdateGroupCommand = de_UpdateGroupCommand;
1846
+ const de_UpdateGroupCommandError = async (output, context) => {
1851
1847
  const parsedOutput = {
1852
1848
  ...output,
1853
1849
  body: await parseErrorBody(output.body, context),
@@ -1856,10 +1852,10 @@ const deserializeAws_restJson1UpdateGroupCommandError = async (output, context)
1856
1852
  switch (errorCode) {
1857
1853
  case "InvalidRequestException":
1858
1854
  case "com.amazonaws.xray#InvalidRequestException":
1859
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1855
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1860
1856
  case "ThrottledException":
1861
1857
  case "com.amazonaws.xray#ThrottledException":
1862
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1858
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1863
1859
  default:
1864
1860
  const parsedBody = parsedOutput.body;
1865
1861
  (0, smithy_client_1.throwDefaultError)({
@@ -1870,21 +1866,21 @@ const deserializeAws_restJson1UpdateGroupCommandError = async (output, context)
1870
1866
  });
1871
1867
  }
1872
1868
  };
1873
- const deserializeAws_restJson1UpdateSamplingRuleCommand = async (output, context) => {
1869
+ const de_UpdateSamplingRuleCommand = async (output, context) => {
1874
1870
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1875
- return deserializeAws_restJson1UpdateSamplingRuleCommandError(output, context);
1871
+ return de_UpdateSamplingRuleCommandError(output, context);
1876
1872
  }
1877
1873
  const contents = map({
1878
1874
  $metadata: deserializeMetadata(output),
1879
1875
  });
1880
1876
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1881
1877
  if (data.SamplingRuleRecord != null) {
1882
- contents.SamplingRuleRecord = deserializeAws_restJson1SamplingRuleRecord(data.SamplingRuleRecord, context);
1878
+ contents.SamplingRuleRecord = de_SamplingRuleRecord(data.SamplingRuleRecord, context);
1883
1879
  }
1884
1880
  return contents;
1885
1881
  };
1886
- exports.deserializeAws_restJson1UpdateSamplingRuleCommand = deserializeAws_restJson1UpdateSamplingRuleCommand;
1887
- const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, context) => {
1882
+ exports.de_UpdateSamplingRuleCommand = de_UpdateSamplingRuleCommand;
1883
+ const de_UpdateSamplingRuleCommandError = async (output, context) => {
1888
1884
  const parsedOutput = {
1889
1885
  ...output,
1890
1886
  body: await parseErrorBody(output.body, context),
@@ -1893,10 +1889,10 @@ const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, co
1893
1889
  switch (errorCode) {
1894
1890
  case "InvalidRequestException":
1895
1891
  case "com.amazonaws.xray#InvalidRequestException":
1896
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
1892
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1897
1893
  case "ThrottledException":
1898
1894
  case "com.amazonaws.xray#ThrottledException":
1899
- throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
1895
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1900
1896
  default:
1901
1897
  const parsedBody = parsedOutput.body;
1902
1898
  (0, smithy_client_1.throwDefaultError)({
@@ -1908,7 +1904,7 @@ const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, co
1908
1904
  }
1909
1905
  };
1910
1906
  const map = smithy_client_1.map;
1911
- const deserializeAws_restJson1InvalidPolicyRevisionIdExceptionResponse = async (parsedOutput, context) => {
1907
+ const de_InvalidPolicyRevisionIdExceptionRes = async (parsedOutput, context) => {
1912
1908
  const contents = map({});
1913
1909
  const data = parsedOutput.body;
1914
1910
  if (data.Message != null) {
@@ -1920,7 +1916,7 @@ const deserializeAws_restJson1InvalidPolicyRevisionIdExceptionResponse = async (
1920
1916
  });
1921
1917
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1922
1918
  };
1923
- const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1919
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1924
1920
  const contents = map({});
1925
1921
  const data = parsedOutput.body;
1926
1922
  if (data.Message != null) {
@@ -1932,7 +1928,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
1932
1928
  });
1933
1929
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1934
1930
  };
1935
- const deserializeAws_restJson1LockoutPreventionExceptionResponse = async (parsedOutput, context) => {
1931
+ const de_LockoutPreventionExceptionRes = async (parsedOutput, context) => {
1936
1932
  const contents = map({});
1937
1933
  const data = parsedOutput.body;
1938
1934
  if (data.Message != null) {
@@ -1944,7 +1940,7 @@ const deserializeAws_restJson1LockoutPreventionExceptionResponse = async (parsed
1944
1940
  });
1945
1941
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1946
1942
  };
1947
- const deserializeAws_restJson1MalformedPolicyDocumentExceptionResponse = async (parsedOutput, context) => {
1943
+ const de_MalformedPolicyDocumentExceptionRes = async (parsedOutput, context) => {
1948
1944
  const contents = map({});
1949
1945
  const data = parsedOutput.body;
1950
1946
  if (data.Message != null) {
@@ -1956,7 +1952,7 @@ const deserializeAws_restJson1MalformedPolicyDocumentExceptionResponse = async (
1956
1952
  });
1957
1953
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1958
1954
  };
1959
- const deserializeAws_restJson1PolicyCountLimitExceededExceptionResponse = async (parsedOutput, context) => {
1955
+ const de_PolicyCountLimitExceededExceptionRes = async (parsedOutput, context) => {
1960
1956
  const contents = map({});
1961
1957
  const data = parsedOutput.body;
1962
1958
  if (data.Message != null) {
@@ -1968,7 +1964,7 @@ const deserializeAws_restJson1PolicyCountLimitExceededExceptionResponse = async
1968
1964
  });
1969
1965
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1970
1966
  };
1971
- const deserializeAws_restJson1PolicySizeLimitExceededExceptionResponse = async (parsedOutput, context) => {
1967
+ const de_PolicySizeLimitExceededExceptionRes = async (parsedOutput, context) => {
1972
1968
  const contents = map({});
1973
1969
  const data = parsedOutput.body;
1974
1970
  if (data.Message != null) {
@@ -1980,7 +1976,7 @@ const deserializeAws_restJson1PolicySizeLimitExceededExceptionResponse = async (
1980
1976
  });
1981
1977
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1982
1978
  };
1983
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1979
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1984
1980
  const contents = map({});
1985
1981
  const data = parsedOutput.body;
1986
1982
  if (data.Message != null) {
@@ -1995,7 +1991,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1995
1991
  });
1996
1992
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1997
1993
  };
1998
- const deserializeAws_restJson1RuleLimitExceededExceptionResponse = async (parsedOutput, context) => {
1994
+ const de_RuleLimitExceededExceptionRes = async (parsedOutput, context) => {
1999
1995
  const contents = map({});
2000
1996
  const data = parsedOutput.body;
2001
1997
  if (data.Message != null) {
@@ -2007,7 +2003,7 @@ const deserializeAws_restJson1RuleLimitExceededExceptionResponse = async (parsed
2007
2003
  });
2008
2004
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2009
2005
  };
2010
- const deserializeAws_restJson1ThrottledExceptionResponse = async (parsedOutput, context) => {
2006
+ const de_ThrottledExceptionRes = async (parsedOutput, context) => {
2011
2007
  const contents = map({});
2012
2008
  const data = parsedOutput.body;
2013
2009
  if (data.Message != null) {
@@ -2019,7 +2015,7 @@ const deserializeAws_restJson1ThrottledExceptionResponse = async (parsedOutput,
2019
2015
  });
2020
2016
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2021
2017
  };
2022
- const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
2018
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
2023
2019
  const contents = map({});
2024
2020
  const data = parsedOutput.body;
2025
2021
  if (data.Message != null) {
@@ -2034,7 +2030,7 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput
2034
2030
  });
2035
2031
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2036
2032
  };
2037
- const serializeAws_restJson1AttributeMap = (input, context) => {
2033
+ const se_AttributeMap = (input, context) => {
2038
2034
  return Object.entries(input).reduce((acc, [key, value]) => {
2039
2035
  if (value === null) {
2040
2036
  return acc;
@@ -2043,7 +2039,7 @@ const serializeAws_restJson1AttributeMap = (input, context) => {
2043
2039
  return acc;
2044
2040
  }, {});
2045
2041
  };
2046
- const serializeAws_restJson1BackendConnectionErrors = (input, context) => {
2042
+ const se_BackendConnectionErrors = (input, context) => {
2047
2043
  return {
2048
2044
  ...(input.ConnectionRefusedCount != null && { ConnectionRefusedCount: input.ConnectionRefusedCount }),
2049
2045
  ...(input.HTTPCode4XXCount != null && { HTTPCode4XXCount: input.HTTPCode4XXCount }),
@@ -2053,22 +2049,22 @@ const serializeAws_restJson1BackendConnectionErrors = (input, context) => {
2053
2049
  ...(input.UnknownHostCount != null && { UnknownHostCount: input.UnknownHostCount }),
2054
2050
  };
2055
2051
  };
2056
- const serializeAws_restJson1InsightsConfiguration = (input, context) => {
2052
+ const se_InsightsConfiguration = (input, context) => {
2057
2053
  return {
2058
2054
  ...(input.InsightsEnabled != null && { InsightsEnabled: input.InsightsEnabled }),
2059
2055
  ...(input.NotificationsEnabled != null && { NotificationsEnabled: input.NotificationsEnabled }),
2060
2056
  };
2061
2057
  };
2062
- const serializeAws_restJson1InsightStateList = (input, context) => {
2058
+ const se_InsightStateList = (input, context) => {
2063
2059
  return input
2064
2060
  .filter((e) => e != null)
2065
2061
  .map((entry) => {
2066
2062
  return entry;
2067
2063
  });
2068
2064
  };
2069
- const serializeAws_restJson1SamplingRule = (input, context) => {
2065
+ const se_SamplingRule = (input, context) => {
2070
2066
  return {
2071
- ...(input.Attributes != null && { Attributes: serializeAws_restJson1AttributeMap(input.Attributes, context) }),
2067
+ ...(input.Attributes != null && { Attributes: se_AttributeMap(input.Attributes, context) }),
2072
2068
  ...(input.FixedRate != null && { FixedRate: (0, smithy_client_1.serializeFloat)(input.FixedRate) }),
2073
2069
  ...(input.HTTPMethod != null && { HTTPMethod: input.HTTPMethod }),
2074
2070
  ...(input.Host != null && { Host: input.Host }),
@@ -2083,9 +2079,9 @@ const serializeAws_restJson1SamplingRule = (input, context) => {
2083
2079
  ...(input.Version != null && { Version: input.Version }),
2084
2080
  };
2085
2081
  };
2086
- const serializeAws_restJson1SamplingRuleUpdate = (input, context) => {
2082
+ const se_SamplingRuleUpdate = (input, context) => {
2087
2083
  return {
2088
- ...(input.Attributes != null && { Attributes: serializeAws_restJson1AttributeMap(input.Attributes, context) }),
2084
+ ...(input.Attributes != null && { Attributes: se_AttributeMap(input.Attributes, context) }),
2089
2085
  ...(input.FixedRate != null && { FixedRate: (0, smithy_client_1.serializeFloat)(input.FixedRate) }),
2090
2086
  ...(input.HTTPMethod != null && { HTTPMethod: input.HTTPMethod }),
2091
2087
  ...(input.Host != null && { Host: input.Host }),
@@ -2099,7 +2095,7 @@ const serializeAws_restJson1SamplingRuleUpdate = (input, context) => {
2099
2095
  ...(input.URLPath != null && { URLPath: input.URLPath }),
2100
2096
  };
2101
2097
  };
2102
- const serializeAws_restJson1SamplingStatisticsDocument = (input, context) => {
2098
+ const se_SamplingStatisticsDocument = (input, context) => {
2103
2099
  return {
2104
2100
  ...(input.BorrowCount != null && { BorrowCount: input.BorrowCount }),
2105
2101
  ...(input.ClientID != null && { ClientID: input.ClientID }),
@@ -2109,43 +2105,43 @@ const serializeAws_restJson1SamplingStatisticsDocument = (input, context) => {
2109
2105
  ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
2110
2106
  };
2111
2107
  };
2112
- const serializeAws_restJson1SamplingStatisticsDocumentList = (input, context) => {
2108
+ const se_SamplingStatisticsDocumentList = (input, context) => {
2113
2109
  return input
2114
2110
  .filter((e) => e != null)
2115
2111
  .map((entry) => {
2116
- return serializeAws_restJson1SamplingStatisticsDocument(entry, context);
2112
+ return se_SamplingStatisticsDocument(entry, context);
2117
2113
  });
2118
2114
  };
2119
- const serializeAws_restJson1SamplingStrategy = (input, context) => {
2115
+ const se_SamplingStrategy = (input, context) => {
2120
2116
  return {
2121
2117
  ...(input.Name != null && { Name: input.Name }),
2122
2118
  ...(input.Value != null && { Value: (0, smithy_client_1.serializeFloat)(input.Value) }),
2123
2119
  };
2124
2120
  };
2125
- const serializeAws_restJson1Tag = (input, context) => {
2121
+ const se_Tag = (input, context) => {
2126
2122
  return {
2127
2123
  ...(input.Key != null && { Key: input.Key }),
2128
2124
  ...(input.Value != null && { Value: input.Value }),
2129
2125
  };
2130
2126
  };
2131
- const serializeAws_restJson1TagKeyList = (input, context) => {
2127
+ const se_TagKeyList = (input, context) => {
2132
2128
  return input
2133
2129
  .filter((e) => e != null)
2134
2130
  .map((entry) => {
2135
2131
  return entry;
2136
2132
  });
2137
2133
  };
2138
- const serializeAws_restJson1TagList = (input, context) => {
2134
+ const se_TagList = (input, context) => {
2139
2135
  return input
2140
2136
  .filter((e) => e != null)
2141
2137
  .map((entry) => {
2142
- return serializeAws_restJson1Tag(entry, context);
2138
+ return se_Tag(entry, context);
2143
2139
  });
2144
2140
  };
2145
- const serializeAws_restJson1TelemetryRecord = (input, context) => {
2141
+ const se_TelemetryRecord = (input, context) => {
2146
2142
  return {
2147
2143
  ...(input.BackendConnectionErrors != null && {
2148
- BackendConnectionErrors: serializeAws_restJson1BackendConnectionErrors(input.BackendConnectionErrors, context),
2144
+ BackendConnectionErrors: se_BackendConnectionErrors(input.BackendConnectionErrors, context),
2149
2145
  }),
2150
2146
  ...(input.SegmentsReceivedCount != null && { SegmentsReceivedCount: input.SegmentsReceivedCount }),
2151
2147
  ...(input.SegmentsRejectedCount != null && { SegmentsRejectedCount: input.SegmentsRejectedCount }),
@@ -2154,46 +2150,46 @@ const serializeAws_restJson1TelemetryRecord = (input, context) => {
2154
2150
  ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
2155
2151
  };
2156
2152
  };
2157
- const serializeAws_restJson1TelemetryRecordList = (input, context) => {
2153
+ const se_TelemetryRecordList = (input, context) => {
2158
2154
  return input
2159
2155
  .filter((e) => e != null)
2160
2156
  .map((entry) => {
2161
- return serializeAws_restJson1TelemetryRecord(entry, context);
2157
+ return se_TelemetryRecord(entry, context);
2162
2158
  });
2163
2159
  };
2164
- const serializeAws_restJson1TraceIdList = (input, context) => {
2160
+ const se_TraceIdList = (input, context) => {
2165
2161
  return input
2166
2162
  .filter((e) => e != null)
2167
2163
  .map((entry) => {
2168
2164
  return entry;
2169
2165
  });
2170
2166
  };
2171
- const serializeAws_restJson1TraceSegmentDocumentList = (input, context) => {
2167
+ const se_TraceSegmentDocumentList = (input, context) => {
2172
2168
  return input
2173
2169
  .filter((e) => e != null)
2174
2170
  .map((entry) => {
2175
2171
  return entry;
2176
2172
  });
2177
2173
  };
2178
- const deserializeAws_restJson1Alias = (output, context) => {
2174
+ const de_Alias = (output, context) => {
2179
2175
  return {
2180
2176
  Name: (0, smithy_client_1.expectString)(output.Name),
2181
- Names: output.Names != null ? deserializeAws_restJson1AliasNames(output.Names, context) : undefined,
2177
+ Names: output.Names != null ? de_AliasNames(output.Names, context) : undefined,
2182
2178
  Type: (0, smithy_client_1.expectString)(output.Type),
2183
2179
  };
2184
2180
  };
2185
- const deserializeAws_restJson1AliasList = (output, context) => {
2181
+ const de_AliasList = (output, context) => {
2186
2182
  const retVal = (output || [])
2187
2183
  .filter((e) => e != null)
2188
2184
  .map((entry) => {
2189
2185
  if (entry === null) {
2190
2186
  return null;
2191
2187
  }
2192
- return deserializeAws_restJson1Alias(entry, context);
2188
+ return de_Alias(entry, context);
2193
2189
  });
2194
2190
  return retVal;
2195
2191
  };
2196
- const deserializeAws_restJson1AliasNames = (output, context) => {
2192
+ const de_AliasNames = (output, context) => {
2197
2193
  const retVal = (output || [])
2198
2194
  .filter((e) => e != null)
2199
2195
  .map((entry) => {
@@ -2204,16 +2200,16 @@ const deserializeAws_restJson1AliasNames = (output, context) => {
2204
2200
  });
2205
2201
  return retVal;
2206
2202
  };
2207
- const deserializeAws_restJson1Annotations = (output, context) => {
2203
+ const de_Annotations = (output, context) => {
2208
2204
  return Object.entries(output).reduce((acc, [key, value]) => {
2209
2205
  if (value === null) {
2210
2206
  return acc;
2211
2207
  }
2212
- acc[key] = deserializeAws_restJson1ValuesWithServiceIds(value, context);
2208
+ acc[key] = de_ValuesWithServiceIds(value, context);
2213
2209
  return acc;
2214
2210
  }, {});
2215
2211
  };
2216
- const deserializeAws_restJson1AnnotationValue = (output, context) => {
2212
+ const de_AnnotationValue = (output, context) => {
2217
2213
  if ((0, smithy_client_1.expectBoolean)(output.BooleanValue) !== undefined) {
2218
2214
  return { BooleanValue: (0, smithy_client_1.expectBoolean)(output.BooleanValue) };
2219
2215
  }
@@ -2225,23 +2221,23 @@ const deserializeAws_restJson1AnnotationValue = (output, context) => {
2225
2221
  }
2226
2222
  return { $unknown: Object.entries(output)[0] };
2227
2223
  };
2228
- const deserializeAws_restJson1AnomalousService = (output, context) => {
2224
+ const de_AnomalousService = (output, context) => {
2229
2225
  return {
2230
- ServiceId: output.ServiceId != null ? deserializeAws_restJson1ServiceId(output.ServiceId, context) : undefined,
2226
+ ServiceId: output.ServiceId != null ? de_ServiceId(output.ServiceId, context) : undefined,
2231
2227
  };
2232
2228
  };
2233
- const deserializeAws_restJson1AnomalousServiceList = (output, context) => {
2229
+ const de_AnomalousServiceList = (output, context) => {
2234
2230
  const retVal = (output || [])
2235
2231
  .filter((e) => e != null)
2236
2232
  .map((entry) => {
2237
2233
  if (entry === null) {
2238
2234
  return null;
2239
2235
  }
2240
- return deserializeAws_restJson1AnomalousService(entry, context);
2236
+ return de_AnomalousService(entry, context);
2241
2237
  });
2242
2238
  return retVal;
2243
2239
  };
2244
- const deserializeAws_restJson1AttributeMap = (output, context) => {
2240
+ const de_AttributeMap = (output, context) => {
2245
2241
  return Object.entries(output).reduce((acc, [key, value]) => {
2246
2242
  if (value === null) {
2247
2243
  return acc;
@@ -2250,244 +2246,230 @@ const deserializeAws_restJson1AttributeMap = (output, context) => {
2250
2246
  return acc;
2251
2247
  }, {});
2252
2248
  };
2253
- const deserializeAws_restJson1AvailabilityZoneDetail = (output, context) => {
2249
+ const de_AvailabilityZoneDetail = (output, context) => {
2254
2250
  return {
2255
2251
  Name: (0, smithy_client_1.expectString)(output.Name),
2256
2252
  };
2257
2253
  };
2258
- const deserializeAws_restJson1Edge = (output, context) => {
2254
+ const de_Edge = (output, context) => {
2259
2255
  return {
2260
- Aliases: output.Aliases != null ? deserializeAws_restJson1AliasList(output.Aliases, context) : undefined,
2256
+ Aliases: output.Aliases != null ? de_AliasList(output.Aliases, context) : undefined,
2261
2257
  EdgeType: (0, smithy_client_1.expectString)(output.EdgeType),
2262
2258
  EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
2263
- ReceivedEventAgeHistogram: output.ReceivedEventAgeHistogram != null
2264
- ? deserializeAws_restJson1Histogram(output.ReceivedEventAgeHistogram, context)
2265
- : undefined,
2259
+ ReceivedEventAgeHistogram: output.ReceivedEventAgeHistogram != null ? de_Histogram(output.ReceivedEventAgeHistogram, context) : undefined,
2266
2260
  ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2267
- ResponseTimeHistogram: output.ResponseTimeHistogram != null
2268
- ? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
2269
- : undefined,
2261
+ ResponseTimeHistogram: output.ResponseTimeHistogram != null ? de_Histogram(output.ResponseTimeHistogram, context) : undefined,
2270
2262
  StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
2271
- SummaryStatistics: output.SummaryStatistics != null
2272
- ? deserializeAws_restJson1EdgeStatistics(output.SummaryStatistics, context)
2273
- : undefined,
2263
+ SummaryStatistics: output.SummaryStatistics != null ? de_EdgeStatistics(output.SummaryStatistics, context) : undefined,
2274
2264
  };
2275
2265
  };
2276
- const deserializeAws_restJson1EdgeList = (output, context) => {
2266
+ const de_EdgeList = (output, context) => {
2277
2267
  const retVal = (output || [])
2278
2268
  .filter((e) => e != null)
2279
2269
  .map((entry) => {
2280
2270
  if (entry === null) {
2281
2271
  return null;
2282
2272
  }
2283
- return deserializeAws_restJson1Edge(entry, context);
2273
+ return de_Edge(entry, context);
2284
2274
  });
2285
2275
  return retVal;
2286
2276
  };
2287
- const deserializeAws_restJson1EdgeStatistics = (output, context) => {
2277
+ const de_EdgeStatistics = (output, context) => {
2288
2278
  return {
2289
- ErrorStatistics: output.ErrorStatistics != null
2290
- ? deserializeAws_restJson1ErrorStatistics(output.ErrorStatistics, context)
2291
- : undefined,
2292
- FaultStatistics: output.FaultStatistics != null
2293
- ? deserializeAws_restJson1FaultStatistics(output.FaultStatistics, context)
2294
- : undefined,
2279
+ ErrorStatistics: output.ErrorStatistics != null ? de_ErrorStatistics(output.ErrorStatistics, context) : undefined,
2280
+ FaultStatistics: output.FaultStatistics != null ? de_FaultStatistics(output.FaultStatistics, context) : undefined,
2295
2281
  OkCount: (0, smithy_client_1.expectLong)(output.OkCount),
2296
2282
  TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2297
2283
  TotalResponseTime: (0, smithy_client_1.limitedParseDouble)(output.TotalResponseTime),
2298
2284
  };
2299
2285
  };
2300
- const deserializeAws_restJson1EncryptionConfig = (output, context) => {
2286
+ const de_EncryptionConfig = (output, context) => {
2301
2287
  return {
2302
2288
  KeyId: (0, smithy_client_1.expectString)(output.KeyId),
2303
2289
  Status: (0, smithy_client_1.expectString)(output.Status),
2304
2290
  Type: (0, smithy_client_1.expectString)(output.Type),
2305
2291
  };
2306
2292
  };
2307
- const deserializeAws_restJson1ErrorRootCause = (output, context) => {
2293
+ const de_ErrorRootCause = (output, context) => {
2308
2294
  return {
2309
2295
  ClientImpacting: (0, smithy_client_1.expectBoolean)(output.ClientImpacting),
2310
- Services: output.Services != null ? deserializeAws_restJson1ErrorRootCauseServices(output.Services, context) : undefined,
2296
+ Services: output.Services != null ? de_ErrorRootCauseServices(output.Services, context) : undefined,
2311
2297
  };
2312
2298
  };
2313
- const deserializeAws_restJson1ErrorRootCauseEntity = (output, context) => {
2299
+ const de_ErrorRootCauseEntity = (output, context) => {
2314
2300
  return {
2315
- Exceptions: output.Exceptions != null ? deserializeAws_restJson1RootCauseExceptions(output.Exceptions, context) : undefined,
2301
+ Exceptions: output.Exceptions != null ? de_RootCauseExceptions(output.Exceptions, context) : undefined,
2316
2302
  Name: (0, smithy_client_1.expectString)(output.Name),
2317
2303
  Remote: (0, smithy_client_1.expectBoolean)(output.Remote),
2318
2304
  };
2319
2305
  };
2320
- const deserializeAws_restJson1ErrorRootCauseEntityPath = (output, context) => {
2306
+ const de_ErrorRootCauseEntityPath = (output, context) => {
2321
2307
  const retVal = (output || [])
2322
2308
  .filter((e) => e != null)
2323
2309
  .map((entry) => {
2324
2310
  if (entry === null) {
2325
2311
  return null;
2326
2312
  }
2327
- return deserializeAws_restJson1ErrorRootCauseEntity(entry, context);
2313
+ return de_ErrorRootCauseEntity(entry, context);
2328
2314
  });
2329
2315
  return retVal;
2330
2316
  };
2331
- const deserializeAws_restJson1ErrorRootCauses = (output, context) => {
2317
+ const de_ErrorRootCauses = (output, context) => {
2332
2318
  const retVal = (output || [])
2333
2319
  .filter((e) => e != null)
2334
2320
  .map((entry) => {
2335
2321
  if (entry === null) {
2336
2322
  return null;
2337
2323
  }
2338
- return deserializeAws_restJson1ErrorRootCause(entry, context);
2324
+ return de_ErrorRootCause(entry, context);
2339
2325
  });
2340
2326
  return retVal;
2341
2327
  };
2342
- const deserializeAws_restJson1ErrorRootCauseService = (output, context) => {
2328
+ const de_ErrorRootCauseService = (output, context) => {
2343
2329
  return {
2344
2330
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2345
- EntityPath: output.EntityPath != null
2346
- ? deserializeAws_restJson1ErrorRootCauseEntityPath(output.EntityPath, context)
2347
- : undefined,
2331
+ EntityPath: output.EntityPath != null ? de_ErrorRootCauseEntityPath(output.EntityPath, context) : undefined,
2348
2332
  Inferred: (0, smithy_client_1.expectBoolean)(output.Inferred),
2349
2333
  Name: (0, smithy_client_1.expectString)(output.Name),
2350
- Names: output.Names != null ? deserializeAws_restJson1ServiceNames(output.Names, context) : undefined,
2334
+ Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
2351
2335
  Type: (0, smithy_client_1.expectString)(output.Type),
2352
2336
  };
2353
2337
  };
2354
- const deserializeAws_restJson1ErrorRootCauseServices = (output, context) => {
2338
+ const de_ErrorRootCauseServices = (output, context) => {
2355
2339
  const retVal = (output || [])
2356
2340
  .filter((e) => e != null)
2357
2341
  .map((entry) => {
2358
2342
  if (entry === null) {
2359
2343
  return null;
2360
2344
  }
2361
- return deserializeAws_restJson1ErrorRootCauseService(entry, context);
2345
+ return de_ErrorRootCauseService(entry, context);
2362
2346
  });
2363
2347
  return retVal;
2364
2348
  };
2365
- const deserializeAws_restJson1ErrorStatistics = (output, context) => {
2349
+ const de_ErrorStatistics = (output, context) => {
2366
2350
  return {
2367
2351
  OtherCount: (0, smithy_client_1.expectLong)(output.OtherCount),
2368
2352
  ThrottleCount: (0, smithy_client_1.expectLong)(output.ThrottleCount),
2369
2353
  TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2370
2354
  };
2371
2355
  };
2372
- const deserializeAws_restJson1FaultRootCause = (output, context) => {
2356
+ const de_FaultRootCause = (output, context) => {
2373
2357
  return {
2374
2358
  ClientImpacting: (0, smithy_client_1.expectBoolean)(output.ClientImpacting),
2375
- Services: output.Services != null ? deserializeAws_restJson1FaultRootCauseServices(output.Services, context) : undefined,
2359
+ Services: output.Services != null ? de_FaultRootCauseServices(output.Services, context) : undefined,
2376
2360
  };
2377
2361
  };
2378
- const deserializeAws_restJson1FaultRootCauseEntity = (output, context) => {
2362
+ const de_FaultRootCauseEntity = (output, context) => {
2379
2363
  return {
2380
- Exceptions: output.Exceptions != null ? deserializeAws_restJson1RootCauseExceptions(output.Exceptions, context) : undefined,
2364
+ Exceptions: output.Exceptions != null ? de_RootCauseExceptions(output.Exceptions, context) : undefined,
2381
2365
  Name: (0, smithy_client_1.expectString)(output.Name),
2382
2366
  Remote: (0, smithy_client_1.expectBoolean)(output.Remote),
2383
2367
  };
2384
2368
  };
2385
- const deserializeAws_restJson1FaultRootCauseEntityPath = (output, context) => {
2369
+ const de_FaultRootCauseEntityPath = (output, context) => {
2386
2370
  const retVal = (output || [])
2387
2371
  .filter((e) => e != null)
2388
2372
  .map((entry) => {
2389
2373
  if (entry === null) {
2390
2374
  return null;
2391
2375
  }
2392
- return deserializeAws_restJson1FaultRootCauseEntity(entry, context);
2376
+ return de_FaultRootCauseEntity(entry, context);
2393
2377
  });
2394
2378
  return retVal;
2395
2379
  };
2396
- const deserializeAws_restJson1FaultRootCauses = (output, context) => {
2380
+ const de_FaultRootCauses = (output, context) => {
2397
2381
  const retVal = (output || [])
2398
2382
  .filter((e) => e != null)
2399
2383
  .map((entry) => {
2400
2384
  if (entry === null) {
2401
2385
  return null;
2402
2386
  }
2403
- return deserializeAws_restJson1FaultRootCause(entry, context);
2387
+ return de_FaultRootCause(entry, context);
2404
2388
  });
2405
2389
  return retVal;
2406
2390
  };
2407
- const deserializeAws_restJson1FaultRootCauseService = (output, context) => {
2391
+ const de_FaultRootCauseService = (output, context) => {
2408
2392
  return {
2409
2393
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2410
- EntityPath: output.EntityPath != null
2411
- ? deserializeAws_restJson1FaultRootCauseEntityPath(output.EntityPath, context)
2412
- : undefined,
2394
+ EntityPath: output.EntityPath != null ? de_FaultRootCauseEntityPath(output.EntityPath, context) : undefined,
2413
2395
  Inferred: (0, smithy_client_1.expectBoolean)(output.Inferred),
2414
2396
  Name: (0, smithy_client_1.expectString)(output.Name),
2415
- Names: output.Names != null ? deserializeAws_restJson1ServiceNames(output.Names, context) : undefined,
2397
+ Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
2416
2398
  Type: (0, smithy_client_1.expectString)(output.Type),
2417
2399
  };
2418
2400
  };
2419
- const deserializeAws_restJson1FaultRootCauseServices = (output, context) => {
2401
+ const de_FaultRootCauseServices = (output, context) => {
2420
2402
  const retVal = (output || [])
2421
2403
  .filter((e) => e != null)
2422
2404
  .map((entry) => {
2423
2405
  if (entry === null) {
2424
2406
  return null;
2425
2407
  }
2426
- return deserializeAws_restJson1FaultRootCauseService(entry, context);
2408
+ return de_FaultRootCauseService(entry, context);
2427
2409
  });
2428
2410
  return retVal;
2429
2411
  };
2430
- const deserializeAws_restJson1FaultStatistics = (output, context) => {
2412
+ const de_FaultStatistics = (output, context) => {
2431
2413
  return {
2432
2414
  OtherCount: (0, smithy_client_1.expectLong)(output.OtherCount),
2433
2415
  TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2434
2416
  };
2435
2417
  };
2436
- const deserializeAws_restJson1ForecastStatistics = (output, context) => {
2418
+ const de_ForecastStatistics = (output, context) => {
2437
2419
  return {
2438
2420
  FaultCountHigh: (0, smithy_client_1.expectLong)(output.FaultCountHigh),
2439
2421
  FaultCountLow: (0, smithy_client_1.expectLong)(output.FaultCountLow),
2440
2422
  };
2441
2423
  };
2442
- const deserializeAws_restJson1Group = (output, context) => {
2424
+ const de_Group = (output, context) => {
2443
2425
  return {
2444
2426
  FilterExpression: (0, smithy_client_1.expectString)(output.FilterExpression),
2445
2427
  GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
2446
2428
  GroupName: (0, smithy_client_1.expectString)(output.GroupName),
2447
2429
  InsightsConfiguration: output.InsightsConfiguration != null
2448
- ? deserializeAws_restJson1InsightsConfiguration(output.InsightsConfiguration, context)
2430
+ ? de_InsightsConfiguration(output.InsightsConfiguration, context)
2449
2431
  : undefined,
2450
2432
  };
2451
2433
  };
2452
- const deserializeAws_restJson1GroupSummary = (output, context) => {
2434
+ const de_GroupSummary = (output, context) => {
2453
2435
  return {
2454
2436
  FilterExpression: (0, smithy_client_1.expectString)(output.FilterExpression),
2455
2437
  GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
2456
2438
  GroupName: (0, smithy_client_1.expectString)(output.GroupName),
2457
2439
  InsightsConfiguration: output.InsightsConfiguration != null
2458
- ? deserializeAws_restJson1InsightsConfiguration(output.InsightsConfiguration, context)
2440
+ ? de_InsightsConfiguration(output.InsightsConfiguration, context)
2459
2441
  : undefined,
2460
2442
  };
2461
2443
  };
2462
- const deserializeAws_restJson1GroupSummaryList = (output, context) => {
2444
+ const de_GroupSummaryList = (output, context) => {
2463
2445
  const retVal = (output || [])
2464
2446
  .filter((e) => e != null)
2465
2447
  .map((entry) => {
2466
2448
  if (entry === null) {
2467
2449
  return null;
2468
2450
  }
2469
- return deserializeAws_restJson1GroupSummary(entry, context);
2451
+ return de_GroupSummary(entry, context);
2470
2452
  });
2471
2453
  return retVal;
2472
2454
  };
2473
- const deserializeAws_restJson1Histogram = (output, context) => {
2455
+ const de_Histogram = (output, context) => {
2474
2456
  const retVal = (output || [])
2475
2457
  .filter((e) => e != null)
2476
2458
  .map((entry) => {
2477
2459
  if (entry === null) {
2478
2460
  return null;
2479
2461
  }
2480
- return deserializeAws_restJson1HistogramEntry(entry, context);
2462
+ return de_HistogramEntry(entry, context);
2481
2463
  });
2482
2464
  return retVal;
2483
2465
  };
2484
- const deserializeAws_restJson1HistogramEntry = (output, context) => {
2466
+ const de_HistogramEntry = (output, context) => {
2485
2467
  return {
2486
2468
  Count: (0, smithy_client_1.expectInt32)(output.Count),
2487
2469
  Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
2488
2470
  };
2489
2471
  };
2490
- const deserializeAws_restJson1Http = (output, context) => {
2472
+ const de_Http = (output, context) => {
2491
2473
  return {
2492
2474
  ClientIp: (0, smithy_client_1.expectString)(output.ClientIp),
2493
2475
  HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
@@ -2496,31 +2478,27 @@ const deserializeAws_restJson1Http = (output, context) => {
2496
2478
  UserAgent: (0, smithy_client_1.expectString)(output.UserAgent),
2497
2479
  };
2498
2480
  };
2499
- const deserializeAws_restJson1Insight = (output, context) => {
2481
+ const de_Insight = (output, context) => {
2500
2482
  return {
2501
- Categories: output.Categories != null ? deserializeAws_restJson1InsightCategoryList(output.Categories, context) : undefined,
2483
+ Categories: output.Categories != null ? de_InsightCategoryList(output.Categories, context) : undefined,
2502
2484
  ClientRequestImpactStatistics: output.ClientRequestImpactStatistics != null
2503
- ? deserializeAws_restJson1RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2485
+ ? de_RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2504
2486
  : undefined,
2505
2487
  EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
2506
2488
  GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
2507
2489
  GroupName: (0, smithy_client_1.expectString)(output.GroupName),
2508
2490
  InsightId: (0, smithy_client_1.expectString)(output.InsightId),
2509
- RootCauseServiceId: output.RootCauseServiceId != null
2510
- ? deserializeAws_restJson1ServiceId(output.RootCauseServiceId, context)
2511
- : undefined,
2491
+ RootCauseServiceId: output.RootCauseServiceId != null ? de_ServiceId(output.RootCauseServiceId, context) : undefined,
2512
2492
  RootCauseServiceRequestImpactStatistics: output.RootCauseServiceRequestImpactStatistics != null
2513
- ? deserializeAws_restJson1RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2493
+ ? de_RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2514
2494
  : undefined,
2515
2495
  StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
2516
2496
  State: (0, smithy_client_1.expectString)(output.State),
2517
2497
  Summary: (0, smithy_client_1.expectString)(output.Summary),
2518
- TopAnomalousServices: output.TopAnomalousServices != null
2519
- ? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
2520
- : undefined,
2498
+ TopAnomalousServices: output.TopAnomalousServices != null ? de_AnomalousServiceList(output.TopAnomalousServices, context) : undefined,
2521
2499
  };
2522
2500
  };
2523
- const deserializeAws_restJson1InsightCategoryList = (output, context) => {
2501
+ const de_InsightCategoryList = (output, context) => {
2524
2502
  const retVal = (output || [])
2525
2503
  .filter((e) => e != null)
2526
2504
  .map((entry) => {
@@ -2531,80 +2509,78 @@ const deserializeAws_restJson1InsightCategoryList = (output, context) => {
2531
2509
  });
2532
2510
  return retVal;
2533
2511
  };
2534
- const deserializeAws_restJson1InsightEvent = (output, context) => {
2512
+ const de_InsightEvent = (output, context) => {
2535
2513
  return {
2536
2514
  ClientRequestImpactStatistics: output.ClientRequestImpactStatistics != null
2537
- ? deserializeAws_restJson1RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2515
+ ? de_RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2538
2516
  : undefined,
2539
2517
  EventTime: output.EventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventTime))) : undefined,
2540
2518
  RootCauseServiceRequestImpactStatistics: output.RootCauseServiceRequestImpactStatistics != null
2541
- ? deserializeAws_restJson1RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2519
+ ? de_RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2542
2520
  : undefined,
2543
2521
  Summary: (0, smithy_client_1.expectString)(output.Summary),
2544
- TopAnomalousServices: output.TopAnomalousServices != null
2545
- ? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
2546
- : undefined,
2522
+ TopAnomalousServices: output.TopAnomalousServices != null ? de_AnomalousServiceList(output.TopAnomalousServices, context) : undefined,
2547
2523
  };
2548
2524
  };
2549
- const deserializeAws_restJson1InsightEventList = (output, context) => {
2525
+ const de_InsightEventList = (output, context) => {
2550
2526
  const retVal = (output || [])
2551
2527
  .filter((e) => e != null)
2552
2528
  .map((entry) => {
2553
2529
  if (entry === null) {
2554
2530
  return null;
2555
2531
  }
2556
- return deserializeAws_restJson1InsightEvent(entry, context);
2532
+ return de_InsightEvent(entry, context);
2557
2533
  });
2558
2534
  return retVal;
2559
2535
  };
2560
- const deserializeAws_restJson1InsightImpactGraphEdge = (output, context) => {
2536
+ const de_InsightImpactGraphEdge = (output, context) => {
2561
2537
  return {
2562
2538
  ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2563
2539
  };
2564
2540
  };
2565
- const deserializeAws_restJson1InsightImpactGraphEdgeList = (output, context) => {
2541
+ const de_InsightImpactGraphEdgeList = (output, context) => {
2566
2542
  const retVal = (output || [])
2567
2543
  .filter((e) => e != null)
2568
2544
  .map((entry) => {
2569
2545
  if (entry === null) {
2570
2546
  return null;
2571
2547
  }
2572
- return deserializeAws_restJson1InsightImpactGraphEdge(entry, context);
2548
+ return de_InsightImpactGraphEdge(entry, context);
2573
2549
  });
2574
2550
  return retVal;
2575
2551
  };
2576
- const deserializeAws_restJson1InsightImpactGraphService = (output, context) => {
2552
+ const de_InsightImpactGraphService = (output, context) => {
2577
2553
  return {
2578
2554
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2579
- Edges: output.Edges != null ? deserializeAws_restJson1InsightImpactGraphEdgeList(output.Edges, context) : undefined,
2555
+ Edges: output.Edges != null ? de_InsightImpactGraphEdgeList(output.Edges, context) : undefined,
2580
2556
  Name: (0, smithy_client_1.expectString)(output.Name),
2581
- Names: output.Names != null ? deserializeAws_restJson1ServiceNames(output.Names, context) : undefined,
2557
+ Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
2582
2558
  ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2583
2559
  Type: (0, smithy_client_1.expectString)(output.Type),
2584
2560
  };
2585
2561
  };
2586
- const deserializeAws_restJson1InsightImpactGraphServiceList = (output, context) => {
2562
+ const de_InsightImpactGraphServiceList = (output, context) => {
2587
2563
  const retVal = (output || [])
2588
2564
  .filter((e) => e != null)
2589
2565
  .map((entry) => {
2590
2566
  if (entry === null) {
2591
2567
  return null;
2592
2568
  }
2593
- return deserializeAws_restJson1InsightImpactGraphService(entry, context);
2569
+ return de_InsightImpactGraphService(entry, context);
2594
2570
  });
2595
2571
  return retVal;
2596
2572
  };
2597
- const deserializeAws_restJson1InsightsConfiguration = (output, context) => {
2573
+ const de_InsightsConfiguration = (output, context) => {
2598
2574
  return {
2599
2575
  InsightsEnabled: (0, smithy_client_1.expectBoolean)(output.InsightsEnabled),
2600
2576
  NotificationsEnabled: (0, smithy_client_1.expectBoolean)(output.NotificationsEnabled),
2601
2577
  };
2602
2578
  };
2603
- const deserializeAws_restJson1InsightSummary = (output, context) => {
2579
+ const de_InsightSummary = (output, context) => {
2604
2580
  return {
2605
- Categories: output.Categories != null ? deserializeAws_restJson1InsightCategoryList(output.Categories, context) : undefined,
2581
+ Categories: output.Categories != null ? de_InsightCategoryList(output.Categories, context) : undefined,
2606
2582
  ClientRequestImpactStatistics: output.ClientRequestImpactStatistics != null
2607
- ? deserializeAws_restJson1RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2583
+ ? de_RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2608
2584
  : undefined,
2609
2585
  EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
2610
2586
  GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
@@ -2613,49 +2589,45 @@ const deserializeAws_restJson1InsightSummary = (output, context) => {
2613
2589
  LastUpdateTime: output.LastUpdateTime != null
2614
2590
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
2615
2591
  : undefined,
2616
- RootCauseServiceId: output.RootCauseServiceId != null
2617
- ? deserializeAws_restJson1ServiceId(output.RootCauseServiceId, context)
2618
- : undefined,
2592
+ RootCauseServiceId: output.RootCauseServiceId != null ? de_ServiceId(output.RootCauseServiceId, context) : undefined,
2619
2593
  RootCauseServiceRequestImpactStatistics: output.RootCauseServiceRequestImpactStatistics != null
2620
- ? deserializeAws_restJson1RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2594
+ ? de_RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2621
2595
  : undefined,
2622
2596
  StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
2623
2597
  State: (0, smithy_client_1.expectString)(output.State),
2624
2598
  Summary: (0, smithy_client_1.expectString)(output.Summary),
2625
- TopAnomalousServices: output.TopAnomalousServices != null
2626
- ? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
2627
- : undefined,
2599
+ TopAnomalousServices: output.TopAnomalousServices != null ? de_AnomalousServiceList(output.TopAnomalousServices, context) : undefined,
2628
2600
  };
2629
2601
  };
2630
- const deserializeAws_restJson1InsightSummaryList = (output, context) => {
2602
+ const de_InsightSummaryList = (output, context) => {
2631
2603
  const retVal = (output || [])
2632
2604
  .filter((e) => e != null)
2633
2605
  .map((entry) => {
2634
2606
  if (entry === null) {
2635
2607
  return null;
2636
2608
  }
2637
- return deserializeAws_restJson1InsightSummary(entry, context);
2609
+ return de_InsightSummary(entry, context);
2638
2610
  });
2639
2611
  return retVal;
2640
2612
  };
2641
- const deserializeAws_restJson1InstanceIdDetail = (output, context) => {
2613
+ const de_InstanceIdDetail = (output, context) => {
2642
2614
  return {
2643
2615
  Id: (0, smithy_client_1.expectString)(output.Id),
2644
2616
  };
2645
2617
  };
2646
- const deserializeAws_restJson1RequestImpactStatistics = (output, context) => {
2618
+ const de_RequestImpactStatistics = (output, context) => {
2647
2619
  return {
2648
2620
  FaultCount: (0, smithy_client_1.expectLong)(output.FaultCount),
2649
2621
  OkCount: (0, smithy_client_1.expectLong)(output.OkCount),
2650
2622
  TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2651
2623
  };
2652
2624
  };
2653
- const deserializeAws_restJson1ResourceARNDetail = (output, context) => {
2625
+ const de_ResourceARNDetail = (output, context) => {
2654
2626
  return {
2655
2627
  ARN: (0, smithy_client_1.expectString)(output.ARN),
2656
2628
  };
2657
2629
  };
2658
- const deserializeAws_restJson1ResourcePolicy = (output, context) => {
2630
+ const de_ResourcePolicy = (output, context) => {
2659
2631
  return {
2660
2632
  LastUpdatedTime: output.LastUpdatedTime != null
2661
2633
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
@@ -2665,97 +2637,93 @@ const deserializeAws_restJson1ResourcePolicy = (output, context) => {
2665
2637
  PolicyRevisionId: (0, smithy_client_1.expectString)(output.PolicyRevisionId),
2666
2638
  };
2667
2639
  };
2668
- const deserializeAws_restJson1ResourcePolicyList = (output, context) => {
2640
+ const de_ResourcePolicyList = (output, context) => {
2669
2641
  const retVal = (output || [])
2670
2642
  .filter((e) => e != null)
2671
2643
  .map((entry) => {
2672
2644
  if (entry === null) {
2673
2645
  return null;
2674
2646
  }
2675
- return deserializeAws_restJson1ResourcePolicy(entry, context);
2647
+ return de_ResourcePolicy(entry, context);
2676
2648
  });
2677
2649
  return retVal;
2678
2650
  };
2679
- const deserializeAws_restJson1ResponseTimeRootCause = (output, context) => {
2651
+ const de_ResponseTimeRootCause = (output, context) => {
2680
2652
  return {
2681
2653
  ClientImpacting: (0, smithy_client_1.expectBoolean)(output.ClientImpacting),
2682
- Services: output.Services != null
2683
- ? deserializeAws_restJson1ResponseTimeRootCauseServices(output.Services, context)
2684
- : undefined,
2654
+ Services: output.Services != null ? de_ResponseTimeRootCauseServices(output.Services, context) : undefined,
2685
2655
  };
2686
2656
  };
2687
- const deserializeAws_restJson1ResponseTimeRootCauseEntity = (output, context) => {
2657
+ const de_ResponseTimeRootCauseEntity = (output, context) => {
2688
2658
  return {
2689
2659
  Coverage: (0, smithy_client_1.limitedParseDouble)(output.Coverage),
2690
2660
  Name: (0, smithy_client_1.expectString)(output.Name),
2691
2661
  Remote: (0, smithy_client_1.expectBoolean)(output.Remote),
2692
2662
  };
2693
2663
  };
2694
- const deserializeAws_restJson1ResponseTimeRootCauseEntityPath = (output, context) => {
2664
+ const de_ResponseTimeRootCauseEntityPath = (output, context) => {
2695
2665
  const retVal = (output || [])
2696
2666
  .filter((e) => e != null)
2697
2667
  .map((entry) => {
2698
2668
  if (entry === null) {
2699
2669
  return null;
2700
2670
  }
2701
- return deserializeAws_restJson1ResponseTimeRootCauseEntity(entry, context);
2671
+ return de_ResponseTimeRootCauseEntity(entry, context);
2702
2672
  });
2703
2673
  return retVal;
2704
2674
  };
2705
- const deserializeAws_restJson1ResponseTimeRootCauses = (output, context) => {
2675
+ const de_ResponseTimeRootCauses = (output, context) => {
2706
2676
  const retVal = (output || [])
2707
2677
  .filter((e) => e != null)
2708
2678
  .map((entry) => {
2709
2679
  if (entry === null) {
2710
2680
  return null;
2711
2681
  }
2712
- return deserializeAws_restJson1ResponseTimeRootCause(entry, context);
2682
+ return de_ResponseTimeRootCause(entry, context);
2713
2683
  });
2714
2684
  return retVal;
2715
2685
  };
2716
- const deserializeAws_restJson1ResponseTimeRootCauseService = (output, context) => {
2686
+ const de_ResponseTimeRootCauseService = (output, context) => {
2717
2687
  return {
2718
2688
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2719
- EntityPath: output.EntityPath != null
2720
- ? deserializeAws_restJson1ResponseTimeRootCauseEntityPath(output.EntityPath, context)
2721
- : undefined,
2689
+ EntityPath: output.EntityPath != null ? de_ResponseTimeRootCauseEntityPath(output.EntityPath, context) : undefined,
2722
2690
  Inferred: (0, smithy_client_1.expectBoolean)(output.Inferred),
2723
2691
  Name: (0, smithy_client_1.expectString)(output.Name),
2724
- Names: output.Names != null ? deserializeAws_restJson1ServiceNames(output.Names, context) : undefined,
2692
+ Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
2725
2693
  Type: (0, smithy_client_1.expectString)(output.Type),
2726
2694
  };
2727
2695
  };
2728
- const deserializeAws_restJson1ResponseTimeRootCauseServices = (output, context) => {
2696
+ const de_ResponseTimeRootCauseServices = (output, context) => {
2729
2697
  const retVal = (output || [])
2730
2698
  .filter((e) => e != null)
2731
2699
  .map((entry) => {
2732
2700
  if (entry === null) {
2733
2701
  return null;
2734
2702
  }
2735
- return deserializeAws_restJson1ResponseTimeRootCauseService(entry, context);
2703
+ return de_ResponseTimeRootCauseService(entry, context);
2736
2704
  });
2737
2705
  return retVal;
2738
2706
  };
2739
- const deserializeAws_restJson1RootCauseException = (output, context) => {
2707
+ const de_RootCauseException = (output, context) => {
2740
2708
  return {
2741
2709
  Message: (0, smithy_client_1.expectString)(output.Message),
2742
2710
  Name: (0, smithy_client_1.expectString)(output.Name),
2743
2711
  };
2744
2712
  };
2745
- const deserializeAws_restJson1RootCauseExceptions = (output, context) => {
2713
+ const de_RootCauseExceptions = (output, context) => {
2746
2714
  const retVal = (output || [])
2747
2715
  .filter((e) => e != null)
2748
2716
  .map((entry) => {
2749
2717
  if (entry === null) {
2750
2718
  return null;
2751
2719
  }
2752
- return deserializeAws_restJson1RootCauseException(entry, context);
2720
+ return de_RootCauseException(entry, context);
2753
2721
  });
2754
2722
  return retVal;
2755
2723
  };
2756
- const deserializeAws_restJson1SamplingRule = (output, context) => {
2724
+ const de_SamplingRule = (output, context) => {
2757
2725
  return {
2758
- Attributes: output.Attributes != null ? deserializeAws_restJson1AttributeMap(output.Attributes, context) : undefined,
2726
+ Attributes: output.Attributes != null ? de_AttributeMap(output.Attributes, context) : undefined,
2759
2727
  FixedRate: (0, smithy_client_1.limitedParseDouble)(output.FixedRate),
2760
2728
  HTTPMethod: (0, smithy_client_1.expectString)(output.HTTPMethod),
2761
2729
  Host: (0, smithy_client_1.expectString)(output.Host),
@@ -2770,25 +2738,25 @@ const deserializeAws_restJson1SamplingRule = (output, context) => {
2770
2738
  Version: (0, smithy_client_1.expectInt32)(output.Version),
2771
2739
  };
2772
2740
  };
2773
- const deserializeAws_restJson1SamplingRuleRecord = (output, context) => {
2741
+ const de_SamplingRuleRecord = (output, context) => {
2774
2742
  return {
2775
2743
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
2776
2744
  ModifiedAt: output.ModifiedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ModifiedAt))) : undefined,
2777
- SamplingRule: output.SamplingRule != null ? deserializeAws_restJson1SamplingRule(output.SamplingRule, context) : undefined,
2745
+ SamplingRule: output.SamplingRule != null ? de_SamplingRule(output.SamplingRule, context) : undefined,
2778
2746
  };
2779
2747
  };
2780
- const deserializeAws_restJson1SamplingRuleRecordList = (output, context) => {
2748
+ const de_SamplingRuleRecordList = (output, context) => {
2781
2749
  const retVal = (output || [])
2782
2750
  .filter((e) => e != null)
2783
2751
  .map((entry) => {
2784
2752
  if (entry === null) {
2785
2753
  return null;
2786
2754
  }
2787
- return deserializeAws_restJson1SamplingRuleRecord(entry, context);
2755
+ return de_SamplingRuleRecord(entry, context);
2788
2756
  });
2789
2757
  return retVal;
2790
2758
  };
2791
- const deserializeAws_restJson1SamplingStatisticSummary = (output, context) => {
2759
+ const de_SamplingStatisticSummary = (output, context) => {
2792
2760
  return {
2793
2761
  BorrowCount: (0, smithy_client_1.expectInt32)(output.BorrowCount),
2794
2762
  RequestCount: (0, smithy_client_1.expectInt32)(output.RequestCount),
@@ -2797,18 +2765,18 @@ const deserializeAws_restJson1SamplingStatisticSummary = (output, context) => {
2797
2765
  Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
2798
2766
  };
2799
2767
  };
2800
- const deserializeAws_restJson1SamplingStatisticSummaryList = (output, context) => {
2768
+ const de_SamplingStatisticSummaryList = (output, context) => {
2801
2769
  const retVal = (output || [])
2802
2770
  .filter((e) => e != null)
2803
2771
  .map((entry) => {
2804
2772
  if (entry === null) {
2805
2773
  return null;
2806
2774
  }
2807
- return deserializeAws_restJson1SamplingStatisticSummary(entry, context);
2775
+ return de_SamplingStatisticSummary(entry, context);
2808
2776
  });
2809
2777
  return retVal;
2810
2778
  };
2811
- const deserializeAws_restJson1SamplingTargetDocument = (output, context) => {
2779
+ const de_SamplingTargetDocument = (output, context) => {
2812
2780
  return {
2813
2781
  FixedRate: (0, smithy_client_1.limitedParseDouble)(output.FixedRate),
2814
2782
  Interval: (0, smithy_client_1.expectInt32)(output.Interval),
@@ -2819,88 +2787,82 @@ const deserializeAws_restJson1SamplingTargetDocument = (output, context) => {
2819
2787
  RuleName: (0, smithy_client_1.expectString)(output.RuleName),
2820
2788
  };
2821
2789
  };
2822
- const deserializeAws_restJson1SamplingTargetDocumentList = (output, context) => {
2790
+ const de_SamplingTargetDocumentList = (output, context) => {
2823
2791
  const retVal = (output || [])
2824
2792
  .filter((e) => e != null)
2825
2793
  .map((entry) => {
2826
2794
  if (entry === null) {
2827
2795
  return null;
2828
2796
  }
2829
- return deserializeAws_restJson1SamplingTargetDocument(entry, context);
2797
+ return de_SamplingTargetDocument(entry, context);
2830
2798
  });
2831
2799
  return retVal;
2832
2800
  };
2833
- const deserializeAws_restJson1Segment = (output, context) => {
2801
+ const de_Segment = (output, context) => {
2834
2802
  return {
2835
2803
  Document: (0, smithy_client_1.expectString)(output.Document),
2836
2804
  Id: (0, smithy_client_1.expectString)(output.Id),
2837
2805
  };
2838
2806
  };
2839
- const deserializeAws_restJson1SegmentList = (output, context) => {
2807
+ const de_SegmentList = (output, context) => {
2840
2808
  const retVal = (output || [])
2841
2809
  .filter((e) => e != null)
2842
2810
  .map((entry) => {
2843
2811
  if (entry === null) {
2844
2812
  return null;
2845
2813
  }
2846
- return deserializeAws_restJson1Segment(entry, context);
2814
+ return de_Segment(entry, context);
2847
2815
  });
2848
2816
  return retVal;
2849
2817
  };
2850
- const deserializeAws_restJson1Service = (output, context) => {
2818
+ const de_Service = (output, context) => {
2851
2819
  return {
2852
2820
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2853
- DurationHistogram: output.DurationHistogram != null
2854
- ? deserializeAws_restJson1Histogram(output.DurationHistogram, context)
2855
- : undefined,
2856
- Edges: output.Edges != null ? deserializeAws_restJson1EdgeList(output.Edges, context) : undefined,
2821
+ DurationHistogram: output.DurationHistogram != null ? de_Histogram(output.DurationHistogram, context) : undefined,
2822
+ Edges: output.Edges != null ? de_EdgeList(output.Edges, context) : undefined,
2857
2823
  EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
2858
2824
  Name: (0, smithy_client_1.expectString)(output.Name),
2859
- Names: output.Names != null ? deserializeAws_restJson1ServiceNames(output.Names, context) : undefined,
2825
+ Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
2860
2826
  ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2861
- ResponseTimeHistogram: output.ResponseTimeHistogram != null
2862
- ? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
2863
- : undefined,
2827
+ ResponseTimeHistogram: output.ResponseTimeHistogram != null ? de_Histogram(output.ResponseTimeHistogram, context) : undefined,
2864
2828
  Root: (0, smithy_client_1.expectBoolean)(output.Root),
2865
2829
  StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
2866
2830
  State: (0, smithy_client_1.expectString)(output.State),
2867
- SummaryStatistics: output.SummaryStatistics != null
2868
- ? deserializeAws_restJson1ServiceStatistics(output.SummaryStatistics, context)
2869
- : undefined,
2831
+ SummaryStatistics: output.SummaryStatistics != null ? de_ServiceStatistics(output.SummaryStatistics, context) : undefined,
2870
2832
  Type: (0, smithy_client_1.expectString)(output.Type),
2871
2833
  };
2872
2834
  };
2873
- const deserializeAws_restJson1ServiceId = (output, context) => {
2835
+ const de_ServiceId = (output, context) => {
2874
2836
  return {
2875
2837
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2876
2838
  Name: (0, smithy_client_1.expectString)(output.Name),
2877
- Names: output.Names != null ? deserializeAws_restJson1ServiceNames(output.Names, context) : undefined,
2839
+ Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
2878
2840
  Type: (0, smithy_client_1.expectString)(output.Type),
2879
2841
  };
2880
2842
  };
2881
- const deserializeAws_restJson1ServiceIds = (output, context) => {
2843
+ const de_ServiceIds = (output, context) => {
2882
2844
  const retVal = (output || [])
2883
2845
  .filter((e) => e != null)
2884
2846
  .map((entry) => {
2885
2847
  if (entry === null) {
2886
2848
  return null;
2887
2849
  }
2888
- return deserializeAws_restJson1ServiceId(entry, context);
2850
+ return de_ServiceId(entry, context);
2889
2851
  });
2890
2852
  return retVal;
2891
2853
  };
2892
- const deserializeAws_restJson1ServiceList = (output, context) => {
2854
+ const de_ServiceList = (output, context) => {
2893
2855
  const retVal = (output || [])
2894
2856
  .filter((e) => e != null)
2895
2857
  .map((entry) => {
2896
2858
  if (entry === null) {
2897
2859
  return null;
2898
2860
  }
2899
- return deserializeAws_restJson1Service(entry, context);
2861
+ return de_Service(entry, context);
2900
2862
  });
2901
2863
  return retVal;
2902
2864
  };
2903
- const deserializeAws_restJson1ServiceNames = (output, context) => {
2865
+ const de_ServiceNames = (output, context) => {
2904
2866
  const retVal = (output || [])
2905
2867
  .filter((e) => e != null)
2906
2868
  .map((entry) => {
@@ -2911,197 +2873,183 @@ const deserializeAws_restJson1ServiceNames = (output, context) => {
2911
2873
  });
2912
2874
  return retVal;
2913
2875
  };
2914
- const deserializeAws_restJson1ServiceStatistics = (output, context) => {
2876
+ const de_ServiceStatistics = (output, context) => {
2915
2877
  return {
2916
- ErrorStatistics: output.ErrorStatistics != null
2917
- ? deserializeAws_restJson1ErrorStatistics(output.ErrorStatistics, context)
2918
- : undefined,
2919
- FaultStatistics: output.FaultStatistics != null
2920
- ? deserializeAws_restJson1FaultStatistics(output.FaultStatistics, context)
2921
- : undefined,
2878
+ ErrorStatistics: output.ErrorStatistics != null ? de_ErrorStatistics(output.ErrorStatistics, context) : undefined,
2879
+ FaultStatistics: output.FaultStatistics != null ? de_FaultStatistics(output.FaultStatistics, context) : undefined,
2922
2880
  OkCount: (0, smithy_client_1.expectLong)(output.OkCount),
2923
2881
  TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2924
2882
  TotalResponseTime: (0, smithy_client_1.limitedParseDouble)(output.TotalResponseTime),
2925
2883
  };
2926
2884
  };
2927
- const deserializeAws_restJson1Tag = (output, context) => {
2885
+ const de_Tag = (output, context) => {
2928
2886
  return {
2929
2887
  Key: (0, smithy_client_1.expectString)(output.Key),
2930
2888
  Value: (0, smithy_client_1.expectString)(output.Value),
2931
2889
  };
2932
2890
  };
2933
- const deserializeAws_restJson1TagList = (output, context) => {
2891
+ const de_TagList = (output, context) => {
2934
2892
  const retVal = (output || [])
2935
2893
  .filter((e) => e != null)
2936
2894
  .map((entry) => {
2937
2895
  if (entry === null) {
2938
2896
  return null;
2939
2897
  }
2940
- return deserializeAws_restJson1Tag(entry, context);
2898
+ return de_Tag(entry, context);
2941
2899
  });
2942
2900
  return retVal;
2943
2901
  };
2944
- const deserializeAws_restJson1TimeSeriesServiceStatistics = (output, context) => {
2902
+ const de_TimeSeriesServiceStatistics = (output, context) => {
2945
2903
  return {
2946
- EdgeSummaryStatistics: output.EdgeSummaryStatistics != null
2947
- ? deserializeAws_restJson1EdgeStatistics(output.EdgeSummaryStatistics, context)
2948
- : undefined,
2949
- ResponseTimeHistogram: output.ResponseTimeHistogram != null
2950
- ? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
2951
- : undefined,
2904
+ EdgeSummaryStatistics: output.EdgeSummaryStatistics != null ? de_EdgeStatistics(output.EdgeSummaryStatistics, context) : undefined,
2905
+ ResponseTimeHistogram: output.ResponseTimeHistogram != null ? de_Histogram(output.ResponseTimeHistogram, context) : undefined,
2952
2906
  ServiceForecastStatistics: output.ServiceForecastStatistics != null
2953
- ? deserializeAws_restJson1ForecastStatistics(output.ServiceForecastStatistics, context)
2907
+ ? de_ForecastStatistics(output.ServiceForecastStatistics, context)
2954
2908
  : undefined,
2955
2909
  ServiceSummaryStatistics: output.ServiceSummaryStatistics != null
2956
- ? deserializeAws_restJson1ServiceStatistics(output.ServiceSummaryStatistics, context)
2910
+ ? de_ServiceStatistics(output.ServiceSummaryStatistics, context)
2957
2911
  : undefined,
2958
2912
  Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
2959
2913
  };
2960
2914
  };
2961
- const deserializeAws_restJson1TimeSeriesServiceStatisticsList = (output, context) => {
2915
+ const de_TimeSeriesServiceStatisticsList = (output, context) => {
2962
2916
  const retVal = (output || [])
2963
2917
  .filter((e) => e != null)
2964
2918
  .map((entry) => {
2965
2919
  if (entry === null) {
2966
2920
  return null;
2967
2921
  }
2968
- return deserializeAws_restJson1TimeSeriesServiceStatistics(entry, context);
2922
+ return de_TimeSeriesServiceStatistics(entry, context);
2969
2923
  });
2970
2924
  return retVal;
2971
2925
  };
2972
- const deserializeAws_restJson1Trace = (output, context) => {
2926
+ const de_Trace = (output, context) => {
2973
2927
  return {
2974
2928
  Duration: (0, smithy_client_1.limitedParseDouble)(output.Duration),
2975
2929
  Id: (0, smithy_client_1.expectString)(output.Id),
2976
2930
  LimitExceeded: (0, smithy_client_1.expectBoolean)(output.LimitExceeded),
2977
- Segments: output.Segments != null ? deserializeAws_restJson1SegmentList(output.Segments, context) : undefined,
2931
+ Segments: output.Segments != null ? de_SegmentList(output.Segments, context) : undefined,
2978
2932
  };
2979
2933
  };
2980
- const deserializeAws_restJson1TraceAvailabilityZones = (output, context) => {
2934
+ const de_TraceAvailabilityZones = (output, context) => {
2981
2935
  const retVal = (output || [])
2982
2936
  .filter((e) => e != null)
2983
2937
  .map((entry) => {
2984
2938
  if (entry === null) {
2985
2939
  return null;
2986
2940
  }
2987
- return deserializeAws_restJson1AvailabilityZoneDetail(entry, context);
2941
+ return de_AvailabilityZoneDetail(entry, context);
2988
2942
  });
2989
2943
  return retVal;
2990
2944
  };
2991
- const deserializeAws_restJson1TraceInstanceIds = (output, context) => {
2945
+ const de_TraceInstanceIds = (output, context) => {
2992
2946
  const retVal = (output || [])
2993
2947
  .filter((e) => e != null)
2994
2948
  .map((entry) => {
2995
2949
  if (entry === null) {
2996
2950
  return null;
2997
2951
  }
2998
- return deserializeAws_restJson1InstanceIdDetail(entry, context);
2952
+ return de_InstanceIdDetail(entry, context);
2999
2953
  });
3000
2954
  return retVal;
3001
2955
  };
3002
- const deserializeAws_restJson1TraceList = (output, context) => {
2956
+ const de_TraceList = (output, context) => {
3003
2957
  const retVal = (output || [])
3004
2958
  .filter((e) => e != null)
3005
2959
  .map((entry) => {
3006
2960
  if (entry === null) {
3007
2961
  return null;
3008
2962
  }
3009
- return deserializeAws_restJson1Trace(entry, context);
2963
+ return de_Trace(entry, context);
3010
2964
  });
3011
2965
  return retVal;
3012
2966
  };
3013
- const deserializeAws_restJson1TraceResourceARNs = (output, context) => {
2967
+ const de_TraceResourceARNs = (output, context) => {
3014
2968
  const retVal = (output || [])
3015
2969
  .filter((e) => e != null)
3016
2970
  .map((entry) => {
3017
2971
  if (entry === null) {
3018
2972
  return null;
3019
2973
  }
3020
- return deserializeAws_restJson1ResourceARNDetail(entry, context);
2974
+ return de_ResourceARNDetail(entry, context);
3021
2975
  });
3022
2976
  return retVal;
3023
2977
  };
3024
- const deserializeAws_restJson1TraceSummary = (output, context) => {
2978
+ const de_TraceSummary = (output, context) => {
3025
2979
  return {
3026
- Annotations: output.Annotations != null ? deserializeAws_restJson1Annotations(output.Annotations, context) : undefined,
3027
- AvailabilityZones: output.AvailabilityZones != null
3028
- ? deserializeAws_restJson1TraceAvailabilityZones(output.AvailabilityZones, context)
3029
- : undefined,
2980
+ Annotations: output.Annotations != null ? de_Annotations(output.Annotations, context) : undefined,
2981
+ AvailabilityZones: output.AvailabilityZones != null ? de_TraceAvailabilityZones(output.AvailabilityZones, context) : undefined,
3030
2982
  Duration: (0, smithy_client_1.limitedParseDouble)(output.Duration),
3031
- EntryPoint: output.EntryPoint != null ? deserializeAws_restJson1ServiceId(output.EntryPoint, context) : undefined,
3032
- ErrorRootCauses: output.ErrorRootCauses != null
3033
- ? deserializeAws_restJson1ErrorRootCauses(output.ErrorRootCauses, context)
3034
- : undefined,
3035
- FaultRootCauses: output.FaultRootCauses != null
3036
- ? deserializeAws_restJson1FaultRootCauses(output.FaultRootCauses, context)
3037
- : undefined,
2983
+ EntryPoint: output.EntryPoint != null ? de_ServiceId(output.EntryPoint, context) : undefined,
2984
+ ErrorRootCauses: output.ErrorRootCauses != null ? de_ErrorRootCauses(output.ErrorRootCauses, context) : undefined,
2985
+ FaultRootCauses: output.FaultRootCauses != null ? de_FaultRootCauses(output.FaultRootCauses, context) : undefined,
3038
2986
  HasError: (0, smithy_client_1.expectBoolean)(output.HasError),
3039
2987
  HasFault: (0, smithy_client_1.expectBoolean)(output.HasFault),
3040
2988
  HasThrottle: (0, smithy_client_1.expectBoolean)(output.HasThrottle),
3041
- Http: output.Http != null ? deserializeAws_restJson1Http(output.Http, context) : undefined,
2989
+ Http: output.Http != null ? de_Http(output.Http, context) : undefined,
3042
2990
  Id: (0, smithy_client_1.expectString)(output.Id),
3043
- InstanceIds: output.InstanceIds != null ? deserializeAws_restJson1TraceInstanceIds(output.InstanceIds, context) : undefined,
2991
+ InstanceIds: output.InstanceIds != null ? de_TraceInstanceIds(output.InstanceIds, context) : undefined,
3044
2992
  IsPartial: (0, smithy_client_1.expectBoolean)(output.IsPartial),
3045
2993
  MatchedEventTime: output.MatchedEventTime != null
3046
2994
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.MatchedEventTime)))
3047
2995
  : undefined,
3048
- ResourceARNs: output.ResourceARNs != null ? deserializeAws_restJson1TraceResourceARNs(output.ResourceARNs, context) : undefined,
2996
+ ResourceARNs: output.ResourceARNs != null ? de_TraceResourceARNs(output.ResourceARNs, context) : undefined,
3049
2997
  ResponseTime: (0, smithy_client_1.limitedParseDouble)(output.ResponseTime),
3050
2998
  ResponseTimeRootCauses: output.ResponseTimeRootCauses != null
3051
- ? deserializeAws_restJson1ResponseTimeRootCauses(output.ResponseTimeRootCauses, context)
2999
+ ? de_ResponseTimeRootCauses(output.ResponseTimeRootCauses, context)
3052
3000
  : undefined,
3053
3001
  Revision: (0, smithy_client_1.expectInt32)(output.Revision),
3054
- ServiceIds: output.ServiceIds != null ? deserializeAws_restJson1ServiceIds(output.ServiceIds, context) : undefined,
3055
- Users: output.Users != null ? deserializeAws_restJson1TraceUsers(output.Users, context) : undefined,
3002
+ ServiceIds: output.ServiceIds != null ? de_ServiceIds(output.ServiceIds, context) : undefined,
3003
+ Users: output.Users != null ? de_TraceUsers(output.Users, context) : undefined,
3056
3004
  };
3057
3005
  };
3058
- const deserializeAws_restJson1TraceSummaryList = (output, context) => {
3006
+ const de_TraceSummaryList = (output, context) => {
3059
3007
  const retVal = (output || [])
3060
3008
  .filter((e) => e != null)
3061
3009
  .map((entry) => {
3062
3010
  if (entry === null) {
3063
3011
  return null;
3064
3012
  }
3065
- return deserializeAws_restJson1TraceSummary(entry, context);
3013
+ return de_TraceSummary(entry, context);
3066
3014
  });
3067
3015
  return retVal;
3068
3016
  };
3069
- const deserializeAws_restJson1TraceUser = (output, context) => {
3017
+ const de_TraceUser = (output, context) => {
3070
3018
  return {
3071
- ServiceIds: output.ServiceIds != null ? deserializeAws_restJson1ServiceIds(output.ServiceIds, context) : undefined,
3019
+ ServiceIds: output.ServiceIds != null ? de_ServiceIds(output.ServiceIds, context) : undefined,
3072
3020
  UserName: (0, smithy_client_1.expectString)(output.UserName),
3073
3021
  };
3074
3022
  };
3075
- const deserializeAws_restJson1TraceUsers = (output, context) => {
3023
+ const de_TraceUsers = (output, context) => {
3076
3024
  const retVal = (output || [])
3077
3025
  .filter((e) => e != null)
3078
3026
  .map((entry) => {
3079
3027
  if (entry === null) {
3080
3028
  return null;
3081
3029
  }
3082
- return deserializeAws_restJson1TraceUser(entry, context);
3030
+ return de_TraceUser(entry, context);
3083
3031
  });
3084
3032
  return retVal;
3085
3033
  };
3086
- const deserializeAws_restJson1UnprocessedStatistics = (output, context) => {
3034
+ const de_UnprocessedStatistics = (output, context) => {
3087
3035
  return {
3088
3036
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
3089
3037
  Message: (0, smithy_client_1.expectString)(output.Message),
3090
3038
  RuleName: (0, smithy_client_1.expectString)(output.RuleName),
3091
3039
  };
3092
3040
  };
3093
- const deserializeAws_restJson1UnprocessedStatisticsList = (output, context) => {
3041
+ const de_UnprocessedStatisticsList = (output, context) => {
3094
3042
  const retVal = (output || [])
3095
3043
  .filter((e) => e != null)
3096
3044
  .map((entry) => {
3097
3045
  if (entry === null) {
3098
3046
  return null;
3099
3047
  }
3100
- return deserializeAws_restJson1UnprocessedStatistics(entry, context);
3048
+ return de_UnprocessedStatistics(entry, context);
3101
3049
  });
3102
3050
  return retVal;
3103
3051
  };
3104
- const deserializeAws_restJson1UnprocessedTraceIdList = (output, context) => {
3052
+ const de_UnprocessedTraceIdList = (output, context) => {
3105
3053
  const retVal = (output || [])
3106
3054
  .filter((e) => e != null)
3107
3055
  .map((entry) => {
@@ -3112,41 +3060,39 @@ const deserializeAws_restJson1UnprocessedTraceIdList = (output, context) => {
3112
3060
  });
3113
3061
  return retVal;
3114
3062
  };
3115
- const deserializeAws_restJson1UnprocessedTraceSegment = (output, context) => {
3063
+ const de_UnprocessedTraceSegment = (output, context) => {
3116
3064
  return {
3117
3065
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
3118
3066
  Id: (0, smithy_client_1.expectString)(output.Id),
3119
3067
  Message: (0, smithy_client_1.expectString)(output.Message),
3120
3068
  };
3121
3069
  };
3122
- const deserializeAws_restJson1UnprocessedTraceSegmentList = (output, context) => {
3070
+ const de_UnprocessedTraceSegmentList = (output, context) => {
3123
3071
  const retVal = (output || [])
3124
3072
  .filter((e) => e != null)
3125
3073
  .map((entry) => {
3126
3074
  if (entry === null) {
3127
3075
  return null;
3128
3076
  }
3129
- return deserializeAws_restJson1UnprocessedTraceSegment(entry, context);
3077
+ return de_UnprocessedTraceSegment(entry, context);
3130
3078
  });
3131
3079
  return retVal;
3132
3080
  };
3133
- const deserializeAws_restJson1ValuesWithServiceIds = (output, context) => {
3081
+ const de_ValuesWithServiceIds = (output, context) => {
3134
3082
  const retVal = (output || [])
3135
3083
  .filter((e) => e != null)
3136
3084
  .map((entry) => {
3137
3085
  if (entry === null) {
3138
3086
  return null;
3139
3087
  }
3140
- return deserializeAws_restJson1ValueWithServiceIds(entry, context);
3088
+ return de_ValueWithServiceIds(entry, context);
3141
3089
  });
3142
3090
  return retVal;
3143
3091
  };
3144
- const deserializeAws_restJson1ValueWithServiceIds = (output, context) => {
3092
+ const de_ValueWithServiceIds = (output, context) => {
3145
3093
  return {
3146
- AnnotationValue: output.AnnotationValue != null
3147
- ? deserializeAws_restJson1AnnotationValue((0, smithy_client_1.expectUnion)(output.AnnotationValue), context)
3148
- : undefined,
3149
- ServiceIds: output.ServiceIds != null ? deserializeAws_restJson1ServiceIds(output.ServiceIds, context) : undefined,
3094
+ AnnotationValue: output.AnnotationValue != null ? de_AnnotationValue((0, smithy_client_1.expectUnion)(output.AnnotationValue), context) : undefined,
3095
+ ServiceIds: output.ServiceIds != null ? de_ServiceIds(output.ServiceIds, context) : undefined,
3150
3096
  };
3151
3097
  };
3152
3098
  const deserializeMetadata = (output) => ({