@aws-sdk/client-rum 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 (39) hide show
  1. package/dist-cjs/commands/BatchCreateRumMetricDefinitionsCommand.js +2 -2
  2. package/dist-cjs/commands/BatchDeleteRumMetricDefinitionsCommand.js +2 -2
  3. package/dist-cjs/commands/BatchGetRumMetricDefinitionsCommand.js +2 -2
  4. package/dist-cjs/commands/CreateAppMonitorCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteAppMonitorCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteRumMetricsDestinationCommand.js +2 -2
  7. package/dist-cjs/commands/GetAppMonitorCommand.js +2 -2
  8. package/dist-cjs/commands/GetAppMonitorDataCommand.js +2 -2
  9. package/dist-cjs/commands/ListAppMonitorsCommand.js +2 -2
  10. package/dist-cjs/commands/ListRumMetricsDestinationsCommand.js +2 -2
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  12. package/dist-cjs/commands/PutRumEventsCommand.js +2 -2
  13. package/dist-cjs/commands/PutRumMetricsDestinationCommand.js +2 -2
  14. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  15. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  16. package/dist-cjs/commands/UpdateAppMonitorCommand.js +2 -2
  17. package/dist-cjs/commands/UpdateRumMetricDefinitionCommand.js +2 -2
  18. package/dist-cjs/protocols/Aws_restJson1.js +286 -300
  19. package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +3 -3
  20. package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +3 -3
  21. package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +3 -3
  22. package/dist-es/commands/CreateAppMonitorCommand.js +3 -3
  23. package/dist-es/commands/DeleteAppMonitorCommand.js +3 -3
  24. package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +3 -3
  25. package/dist-es/commands/GetAppMonitorCommand.js +3 -3
  26. package/dist-es/commands/GetAppMonitorDataCommand.js +3 -3
  27. package/dist-es/commands/ListAppMonitorsCommand.js +3 -3
  28. package/dist-es/commands/ListRumMetricsDestinationsCommand.js +3 -3
  29. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  30. package/dist-es/commands/PutRumEventsCommand.js +3 -3
  31. package/dist-es/commands/PutRumMetricsDestinationCommand.js +3 -3
  32. package/dist-es/commands/TagResourceCommand.js +3 -3
  33. package/dist-es/commands/UntagResourceCommand.js +3 -3
  34. package/dist-es/commands/UpdateAppMonitorCommand.js +3 -3
  35. package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +3 -3
  36. package/dist-es/protocols/Aws_restJson1.js +251 -265
  37. package/dist-types/protocols/Aws_restJson1.d.ts +136 -34
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +34 -34
  39. package/package.json +29 -29
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } f
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, map as __map, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
4
4
  import { RUMServiceException as __BaseException } from "../models/RUMServiceException";
5
- export const serializeAws_restJson1BatchCreateRumMetricDefinitionsCommand = async (input, context) => {
5
+ export const se_BatchCreateRumMetricDefinitionsCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = {
8
8
  "content-type": "application/json",
@@ -14,7 +14,7 @@ export const serializeAws_restJson1BatchCreateRumMetricDefinitionsCommand = asyn
14
14
  ...(input.Destination != null && { Destination: input.Destination }),
15
15
  ...(input.DestinationArn != null && { DestinationArn: input.DestinationArn }),
16
16
  ...(input.MetricDefinitions != null && {
17
- MetricDefinitions: serializeAws_restJson1MetricDefinitionsRequest(input.MetricDefinitions, context),
17
+ MetricDefinitions: se_MetricDefinitionsRequest(input.MetricDefinitions, context),
18
18
  }),
19
19
  });
20
20
  return new __HttpRequest({
@@ -27,7 +27,7 @@ export const serializeAws_restJson1BatchCreateRumMetricDefinitionsCommand = asyn
27
27
  body,
28
28
  });
29
29
  };
30
- export const serializeAws_restJson1BatchDeleteRumMetricDefinitionsCommand = async (input, context) => {
30
+ export const se_BatchDeleteRumMetricDefinitionsCommand = async (input, context) => {
31
31
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
32
32
  const headers = {};
33
33
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
@@ -52,7 +52,7 @@ export const serializeAws_restJson1BatchDeleteRumMetricDefinitionsCommand = asyn
52
52
  body,
53
53
  });
54
54
  };
55
- export const serializeAws_restJson1BatchGetRumMetricDefinitionsCommand = async (input, context) => {
55
+ export const se_BatchGetRumMetricDefinitionsCommand = async (input, context) => {
56
56
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
57
57
  const headers = {};
58
58
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
@@ -75,7 +75,7 @@ export const serializeAws_restJson1BatchGetRumMetricDefinitionsCommand = async (
75
75
  body,
76
76
  });
77
77
  };
78
- export const serializeAws_restJson1CreateAppMonitorCommand = async (input, context) => {
78
+ export const se_CreateAppMonitorCommand = async (input, context) => {
79
79
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
80
80
  const headers = {
81
81
  "content-type": "application/json",
@@ -84,15 +84,13 @@ export const serializeAws_restJson1CreateAppMonitorCommand = async (input, conte
84
84
  let body;
85
85
  body = JSON.stringify({
86
86
  ...(input.AppMonitorConfiguration != null && {
87
- AppMonitorConfiguration: serializeAws_restJson1AppMonitorConfiguration(input.AppMonitorConfiguration, context),
88
- }),
89
- ...(input.CustomEvents != null && {
90
- CustomEvents: serializeAws_restJson1CustomEvents(input.CustomEvents, context),
87
+ AppMonitorConfiguration: se_AppMonitorConfiguration(input.AppMonitorConfiguration, context),
91
88
  }),
89
+ ...(input.CustomEvents != null && { CustomEvents: se_CustomEvents(input.CustomEvents, context) }),
92
90
  ...(input.CwLogEnabled != null && { CwLogEnabled: input.CwLogEnabled }),
93
91
  ...(input.Domain != null && { Domain: input.Domain }),
94
92
  ...(input.Name != null && { Name: input.Name }),
95
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
93
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
96
94
  });
97
95
  return new __HttpRequest({
98
96
  protocol,
@@ -104,7 +102,7 @@ export const serializeAws_restJson1CreateAppMonitorCommand = async (input, conte
104
102
  body,
105
103
  });
106
104
  };
107
- export const serializeAws_restJson1DeleteAppMonitorCommand = async (input, context) => {
105
+ export const se_DeleteAppMonitorCommand = async (input, context) => {
108
106
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
109
107
  const headers = {};
110
108
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitor/{Name}";
@@ -120,7 +118,7 @@ export const serializeAws_restJson1DeleteAppMonitorCommand = async (input, conte
120
118
  body,
121
119
  });
122
120
  };
123
- export const serializeAws_restJson1DeleteRumMetricsDestinationCommand = async (input, context) => {
121
+ export const se_DeleteRumMetricsDestinationCommand = async (input, context) => {
124
122
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
125
123
  const headers = {};
126
124
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -142,7 +140,7 @@ export const serializeAws_restJson1DeleteRumMetricsDestinationCommand = async (i
142
140
  body,
143
141
  });
144
142
  };
145
- export const serializeAws_restJson1GetAppMonitorCommand = async (input, context) => {
143
+ export const se_GetAppMonitorCommand = async (input, context) => {
146
144
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
147
145
  const headers = {};
148
146
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitor/{Name}";
@@ -158,7 +156,7 @@ export const serializeAws_restJson1GetAppMonitorCommand = async (input, context)
158
156
  body,
159
157
  });
160
158
  };
161
- export const serializeAws_restJson1GetAppMonitorDataCommand = async (input, context) => {
159
+ export const se_GetAppMonitorDataCommand = async (input, context) => {
162
160
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
163
161
  const headers = {
164
162
  "content-type": "application/json",
@@ -167,10 +165,10 @@ export const serializeAws_restJson1GetAppMonitorDataCommand = async (input, cont
167
165
  resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
168
166
  let body;
169
167
  body = JSON.stringify({
170
- ...(input.Filters != null && { Filters: serializeAws_restJson1QueryFilters(input.Filters, context) }),
168
+ ...(input.Filters != null && { Filters: se_QueryFilters(input.Filters, context) }),
171
169
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
172
170
  ...(input.NextToken != null && { NextToken: input.NextToken }),
173
- ...(input.TimeRange != null && { TimeRange: serializeAws_restJson1TimeRange(input.TimeRange, context) }),
171
+ ...(input.TimeRange != null && { TimeRange: se_TimeRange(input.TimeRange, context) }),
174
172
  });
175
173
  return new __HttpRequest({
176
174
  protocol,
@@ -182,7 +180,7 @@ export const serializeAws_restJson1GetAppMonitorDataCommand = async (input, cont
182
180
  body,
183
181
  });
184
182
  };
185
- export const serializeAws_restJson1ListAppMonitorsCommand = async (input, context) => {
183
+ export const se_ListAppMonitorsCommand = async (input, context) => {
186
184
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
187
185
  const headers = {};
188
186
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitors";
@@ -202,7 +200,7 @@ export const serializeAws_restJson1ListAppMonitorsCommand = async (input, contex
202
200
  body,
203
201
  });
204
202
  };
205
- export const serializeAws_restJson1ListRumMetricsDestinationsCommand = async (input, context) => {
203
+ export const se_ListRumMetricsDestinationsCommand = async (input, context) => {
206
204
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
207
205
  const headers = {};
208
206
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -224,7 +222,7 @@ export const serializeAws_restJson1ListRumMetricsDestinationsCommand = async (in
224
222
  body,
225
223
  });
226
224
  };
227
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
225
+ export const se_ListTagsForResourceCommand = async (input, context) => {
228
226
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
229
227
  const headers = {};
230
228
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -240,7 +238,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
240
238
  body,
241
239
  });
242
240
  };
243
- export const serializeAws_restJson1PutRumEventsCommand = async (input, context) => {
241
+ export const se_PutRumEventsCommand = async (input, context) => {
244
242
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
245
243
  const headers = {
246
244
  "content-type": "application/json",
@@ -250,11 +248,11 @@ export const serializeAws_restJson1PutRumEventsCommand = async (input, context)
250
248
  let body;
251
249
  body = JSON.stringify({
252
250
  ...(input.AppMonitorDetails != null && {
253
- AppMonitorDetails: serializeAws_restJson1AppMonitorDetails(input.AppMonitorDetails, context),
251
+ AppMonitorDetails: se_AppMonitorDetails(input.AppMonitorDetails, context),
254
252
  }),
255
253
  ...(input.BatchId != null && { BatchId: input.BatchId }),
256
- ...(input.RumEvents != null && { RumEvents: serializeAws_restJson1RumEventList(input.RumEvents, context) }),
257
- ...(input.UserDetails != null && { UserDetails: serializeAws_restJson1UserDetails(input.UserDetails, context) }),
254
+ ...(input.RumEvents != null && { RumEvents: se_RumEventList(input.RumEvents, context) }),
255
+ ...(input.UserDetails != null && { UserDetails: se_UserDetails(input.UserDetails, context) }),
258
256
  });
259
257
  let { hostname: resolvedHostname } = await context.endpoint();
260
258
  if (context.disableHostPrefix !== true) {
@@ -273,7 +271,7 @@ export const serializeAws_restJson1PutRumEventsCommand = async (input, context)
273
271
  body,
274
272
  });
275
273
  };
276
- export const serializeAws_restJson1PutRumMetricsDestinationCommand = async (input, context) => {
274
+ export const se_PutRumMetricsDestinationCommand = async (input, context) => {
277
275
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
278
276
  const headers = {
279
277
  "content-type": "application/json",
@@ -297,7 +295,7 @@ export const serializeAws_restJson1PutRumMetricsDestinationCommand = async (inpu
297
295
  body,
298
296
  });
299
297
  };
300
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
298
+ export const se_TagResourceCommand = async (input, context) => {
301
299
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
302
300
  const headers = {
303
301
  "content-type": "application/json",
@@ -306,7 +304,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
306
304
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
307
305
  let body;
308
306
  body = JSON.stringify({
309
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
307
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
310
308
  });
311
309
  return new __HttpRequest({
312
310
  protocol,
@@ -318,7 +316,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
318
316
  body,
319
317
  });
320
318
  };
321
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
319
+ export const se_UntagResourceCommand = async (input, context) => {
322
320
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
323
321
  const headers = {};
324
322
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -341,7 +339,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
341
339
  body,
342
340
  });
343
341
  };
344
- export const serializeAws_restJson1UpdateAppMonitorCommand = async (input, context) => {
342
+ export const se_UpdateAppMonitorCommand = async (input, context) => {
345
343
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
346
344
  const headers = {
347
345
  "content-type": "application/json",
@@ -351,11 +349,9 @@ export const serializeAws_restJson1UpdateAppMonitorCommand = async (input, conte
351
349
  let body;
352
350
  body = JSON.stringify({
353
351
  ...(input.AppMonitorConfiguration != null && {
354
- AppMonitorConfiguration: serializeAws_restJson1AppMonitorConfiguration(input.AppMonitorConfiguration, context),
355
- }),
356
- ...(input.CustomEvents != null && {
357
- CustomEvents: serializeAws_restJson1CustomEvents(input.CustomEvents, context),
352
+ AppMonitorConfiguration: se_AppMonitorConfiguration(input.AppMonitorConfiguration, context),
358
353
  }),
354
+ ...(input.CustomEvents != null && { CustomEvents: se_CustomEvents(input.CustomEvents, context) }),
359
355
  ...(input.CwLogEnabled != null && { CwLogEnabled: input.CwLogEnabled }),
360
356
  ...(input.Domain != null && { Domain: input.Domain }),
361
357
  });
@@ -369,7 +365,7 @@ export const serializeAws_restJson1UpdateAppMonitorCommand = async (input, conte
369
365
  body,
370
366
  });
371
367
  };
372
- export const serializeAws_restJson1UpdateRumMetricDefinitionCommand = async (input, context) => {
368
+ export const se_UpdateRumMetricDefinitionCommand = async (input, context) => {
373
369
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
374
370
  const headers = {
375
371
  "content-type": "application/json",
@@ -381,7 +377,7 @@ export const serializeAws_restJson1UpdateRumMetricDefinitionCommand = async (inp
381
377
  ...(input.Destination != null && { Destination: input.Destination }),
382
378
  ...(input.DestinationArn != null && { DestinationArn: input.DestinationArn }),
383
379
  ...(input.MetricDefinition != null && {
384
- MetricDefinition: serializeAws_restJson1MetricDefinitionRequest(input.MetricDefinition, context),
380
+ MetricDefinition: se_MetricDefinitionRequest(input.MetricDefinition, context),
385
381
  }),
386
382
  ...(input.MetricDefinitionId != null && { MetricDefinitionId: input.MetricDefinitionId }),
387
383
  });
@@ -395,23 +391,23 @@ export const serializeAws_restJson1UpdateRumMetricDefinitionCommand = async (inp
395
391
  body,
396
392
  });
397
393
  };
398
- export const deserializeAws_restJson1BatchCreateRumMetricDefinitionsCommand = async (output, context) => {
394
+ export const de_BatchCreateRumMetricDefinitionsCommand = async (output, context) => {
399
395
  if (output.statusCode !== 200 && output.statusCode >= 300) {
400
- return deserializeAws_restJson1BatchCreateRumMetricDefinitionsCommandError(output, context);
396
+ return de_BatchCreateRumMetricDefinitionsCommandError(output, context);
401
397
  }
402
398
  const contents = map({
403
399
  $metadata: deserializeMetadata(output),
404
400
  });
405
401
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
406
402
  if (data.Errors != null) {
407
- contents.Errors = deserializeAws_restJson1BatchCreateRumMetricDefinitionsErrors(data.Errors, context);
403
+ contents.Errors = de_BatchCreateRumMetricDefinitionsErrors(data.Errors, context);
408
404
  }
409
405
  if (data.MetricDefinitions != null) {
410
- contents.MetricDefinitions = deserializeAws_restJson1MetricDefinitions(data.MetricDefinitions, context);
406
+ contents.MetricDefinitions = de_MetricDefinitions(data.MetricDefinitions, context);
411
407
  }
412
408
  return contents;
413
409
  };
414
- const deserializeAws_restJson1BatchCreateRumMetricDefinitionsCommandError = async (output, context) => {
410
+ const de_BatchCreateRumMetricDefinitionsCommandError = async (output, context) => {
415
411
  const parsedOutput = {
416
412
  ...output,
417
413
  body: await parseErrorBody(output.body, context),
@@ -420,25 +416,25 @@ const deserializeAws_restJson1BatchCreateRumMetricDefinitionsCommandError = asyn
420
416
  switch (errorCode) {
421
417
  case "AccessDeniedException":
422
418
  case "com.amazonaws.rum#AccessDeniedException":
423
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
419
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
424
420
  case "ConflictException":
425
421
  case "com.amazonaws.rum#ConflictException":
426
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
422
+ throw await de_ConflictExceptionRes(parsedOutput, context);
427
423
  case "InternalServerException":
428
424
  case "com.amazonaws.rum#InternalServerException":
429
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
425
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
430
426
  case "ResourceNotFoundException":
431
427
  case "com.amazonaws.rum#ResourceNotFoundException":
432
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
428
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
433
429
  case "ServiceQuotaExceededException":
434
430
  case "com.amazonaws.rum#ServiceQuotaExceededException":
435
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
431
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
436
432
  case "ThrottlingException":
437
433
  case "com.amazonaws.rum#ThrottlingException":
438
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
434
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
439
435
  case "ValidationException":
440
436
  case "com.amazonaws.rum#ValidationException":
441
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
437
+ throw await de_ValidationExceptionRes(parsedOutput, context);
442
438
  default:
443
439
  const parsedBody = parsedOutput.body;
444
440
  throwDefaultError({
@@ -449,23 +445,23 @@ const deserializeAws_restJson1BatchCreateRumMetricDefinitionsCommandError = asyn
449
445
  });
450
446
  }
451
447
  };
452
- export const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsCommand = async (output, context) => {
448
+ export const de_BatchDeleteRumMetricDefinitionsCommand = async (output, context) => {
453
449
  if (output.statusCode !== 200 && output.statusCode >= 300) {
454
- return deserializeAws_restJson1BatchDeleteRumMetricDefinitionsCommandError(output, context);
450
+ return de_BatchDeleteRumMetricDefinitionsCommandError(output, context);
455
451
  }
456
452
  const contents = map({
457
453
  $metadata: deserializeMetadata(output),
458
454
  });
459
455
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
460
456
  if (data.Errors != null) {
461
- contents.Errors = deserializeAws_restJson1BatchDeleteRumMetricDefinitionsErrors(data.Errors, context);
457
+ contents.Errors = de_BatchDeleteRumMetricDefinitionsErrors(data.Errors, context);
462
458
  }
463
459
  if (data.MetricDefinitionIds != null) {
464
- contents.MetricDefinitionIds = deserializeAws_restJson1MetricDefinitionIds(data.MetricDefinitionIds, context);
460
+ contents.MetricDefinitionIds = de_MetricDefinitionIds(data.MetricDefinitionIds, context);
465
461
  }
466
462
  return contents;
467
463
  };
468
- const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsCommandError = async (output, context) => {
464
+ const de_BatchDeleteRumMetricDefinitionsCommandError = async (output, context) => {
469
465
  const parsedOutput = {
470
466
  ...output,
471
467
  body: await parseErrorBody(output.body, context),
@@ -474,22 +470,22 @@ const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsCommandError = asyn
474
470
  switch (errorCode) {
475
471
  case "AccessDeniedException":
476
472
  case "com.amazonaws.rum#AccessDeniedException":
477
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
473
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
478
474
  case "ConflictException":
479
475
  case "com.amazonaws.rum#ConflictException":
480
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
476
+ throw await de_ConflictExceptionRes(parsedOutput, context);
481
477
  case "InternalServerException":
482
478
  case "com.amazonaws.rum#InternalServerException":
483
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
479
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
484
480
  case "ResourceNotFoundException":
485
481
  case "com.amazonaws.rum#ResourceNotFoundException":
486
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
482
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
487
483
  case "ThrottlingException":
488
484
  case "com.amazonaws.rum#ThrottlingException":
489
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
485
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
490
486
  case "ValidationException":
491
487
  case "com.amazonaws.rum#ValidationException":
492
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
488
+ throw await de_ValidationExceptionRes(parsedOutput, context);
493
489
  default:
494
490
  const parsedBody = parsedOutput.body;
495
491
  throwDefaultError({
@@ -500,23 +496,23 @@ const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsCommandError = asyn
500
496
  });
501
497
  }
502
498
  };
503
- export const deserializeAws_restJson1BatchGetRumMetricDefinitionsCommand = async (output, context) => {
499
+ export const de_BatchGetRumMetricDefinitionsCommand = async (output, context) => {
504
500
  if (output.statusCode !== 200 && output.statusCode >= 300) {
505
- return deserializeAws_restJson1BatchGetRumMetricDefinitionsCommandError(output, context);
501
+ return de_BatchGetRumMetricDefinitionsCommandError(output, context);
506
502
  }
507
503
  const contents = map({
508
504
  $metadata: deserializeMetadata(output),
509
505
  });
510
506
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
511
507
  if (data.MetricDefinitions != null) {
512
- contents.MetricDefinitions = deserializeAws_restJson1MetricDefinitions(data.MetricDefinitions, context);
508
+ contents.MetricDefinitions = de_MetricDefinitions(data.MetricDefinitions, context);
513
509
  }
514
510
  if (data.NextToken != null) {
515
511
  contents.NextToken = __expectString(data.NextToken);
516
512
  }
517
513
  return contents;
518
514
  };
519
- const deserializeAws_restJson1BatchGetRumMetricDefinitionsCommandError = async (output, context) => {
515
+ const de_BatchGetRumMetricDefinitionsCommandError = async (output, context) => {
520
516
  const parsedOutput = {
521
517
  ...output,
522
518
  body: await parseErrorBody(output.body, context),
@@ -525,16 +521,16 @@ const deserializeAws_restJson1BatchGetRumMetricDefinitionsCommandError = async (
525
521
  switch (errorCode) {
526
522
  case "AccessDeniedException":
527
523
  case "com.amazonaws.rum#AccessDeniedException":
528
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
524
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
529
525
  case "InternalServerException":
530
526
  case "com.amazonaws.rum#InternalServerException":
531
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
527
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
532
528
  case "ResourceNotFoundException":
533
529
  case "com.amazonaws.rum#ResourceNotFoundException":
534
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
530
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
535
531
  case "ValidationException":
536
532
  case "com.amazonaws.rum#ValidationException":
537
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
533
+ throw await de_ValidationExceptionRes(parsedOutput, context);
538
534
  default:
539
535
  const parsedBody = parsedOutput.body;
540
536
  throwDefaultError({
@@ -545,9 +541,9 @@ const deserializeAws_restJson1BatchGetRumMetricDefinitionsCommandError = async (
545
541
  });
546
542
  }
547
543
  };
548
- export const deserializeAws_restJson1CreateAppMonitorCommand = async (output, context) => {
544
+ export const de_CreateAppMonitorCommand = async (output, context) => {
549
545
  if (output.statusCode !== 200 && output.statusCode >= 300) {
550
- return deserializeAws_restJson1CreateAppMonitorCommandError(output, context);
546
+ return de_CreateAppMonitorCommandError(output, context);
551
547
  }
552
548
  const contents = map({
553
549
  $metadata: deserializeMetadata(output),
@@ -558,7 +554,7 @@ export const deserializeAws_restJson1CreateAppMonitorCommand = async (output, co
558
554
  }
559
555
  return contents;
560
556
  };
561
- const deserializeAws_restJson1CreateAppMonitorCommandError = async (output, context) => {
557
+ const de_CreateAppMonitorCommandError = async (output, context) => {
562
558
  const parsedOutput = {
563
559
  ...output,
564
560
  body: await parseErrorBody(output.body, context),
@@ -567,25 +563,25 @@ const deserializeAws_restJson1CreateAppMonitorCommandError = async (output, cont
567
563
  switch (errorCode) {
568
564
  case "AccessDeniedException":
569
565
  case "com.amazonaws.rum#AccessDeniedException":
570
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
566
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
571
567
  case "ConflictException":
572
568
  case "com.amazonaws.rum#ConflictException":
573
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
569
+ throw await de_ConflictExceptionRes(parsedOutput, context);
574
570
  case "InternalServerException":
575
571
  case "com.amazonaws.rum#InternalServerException":
576
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
572
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
577
573
  case "ResourceNotFoundException":
578
574
  case "com.amazonaws.rum#ResourceNotFoundException":
579
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
575
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
580
576
  case "ServiceQuotaExceededException":
581
577
  case "com.amazonaws.rum#ServiceQuotaExceededException":
582
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
578
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
583
579
  case "ThrottlingException":
584
580
  case "com.amazonaws.rum#ThrottlingException":
585
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
581
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
586
582
  case "ValidationException":
587
583
  case "com.amazonaws.rum#ValidationException":
588
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
584
+ throw await de_ValidationExceptionRes(parsedOutput, context);
589
585
  default:
590
586
  const parsedBody = parsedOutput.body;
591
587
  throwDefaultError({
@@ -596,9 +592,9 @@ const deserializeAws_restJson1CreateAppMonitorCommandError = async (output, cont
596
592
  });
597
593
  }
598
594
  };
599
- export const deserializeAws_restJson1DeleteAppMonitorCommand = async (output, context) => {
595
+ export const de_DeleteAppMonitorCommand = async (output, context) => {
600
596
  if (output.statusCode !== 200 && output.statusCode >= 300) {
601
- return deserializeAws_restJson1DeleteAppMonitorCommandError(output, context);
597
+ return de_DeleteAppMonitorCommandError(output, context);
602
598
  }
603
599
  const contents = map({
604
600
  $metadata: deserializeMetadata(output),
@@ -606,7 +602,7 @@ export const deserializeAws_restJson1DeleteAppMonitorCommand = async (output, co
606
602
  await collectBody(output.body, context);
607
603
  return contents;
608
604
  };
609
- const deserializeAws_restJson1DeleteAppMonitorCommandError = async (output, context) => {
605
+ const de_DeleteAppMonitorCommandError = async (output, context) => {
610
606
  const parsedOutput = {
611
607
  ...output,
612
608
  body: await parseErrorBody(output.body, context),
@@ -615,22 +611,22 @@ const deserializeAws_restJson1DeleteAppMonitorCommandError = async (output, cont
615
611
  switch (errorCode) {
616
612
  case "AccessDeniedException":
617
613
  case "com.amazonaws.rum#AccessDeniedException":
618
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
614
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
619
615
  case "ConflictException":
620
616
  case "com.amazonaws.rum#ConflictException":
621
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
617
+ throw await de_ConflictExceptionRes(parsedOutput, context);
622
618
  case "InternalServerException":
623
619
  case "com.amazonaws.rum#InternalServerException":
624
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
620
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
625
621
  case "ResourceNotFoundException":
626
622
  case "com.amazonaws.rum#ResourceNotFoundException":
627
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
623
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
628
624
  case "ThrottlingException":
629
625
  case "com.amazonaws.rum#ThrottlingException":
630
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
626
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
631
627
  case "ValidationException":
632
628
  case "com.amazonaws.rum#ValidationException":
633
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
629
+ throw await de_ValidationExceptionRes(parsedOutput, context);
634
630
  default:
635
631
  const parsedBody = parsedOutput.body;
636
632
  throwDefaultError({
@@ -641,9 +637,9 @@ const deserializeAws_restJson1DeleteAppMonitorCommandError = async (output, cont
641
637
  });
642
638
  }
643
639
  };
644
- export const deserializeAws_restJson1DeleteRumMetricsDestinationCommand = async (output, context) => {
640
+ export const de_DeleteRumMetricsDestinationCommand = async (output, context) => {
645
641
  if (output.statusCode !== 200 && output.statusCode >= 300) {
646
- return deserializeAws_restJson1DeleteRumMetricsDestinationCommandError(output, context);
642
+ return de_DeleteRumMetricsDestinationCommandError(output, context);
647
643
  }
648
644
  const contents = map({
649
645
  $metadata: deserializeMetadata(output),
@@ -651,7 +647,7 @@ export const deserializeAws_restJson1DeleteRumMetricsDestinationCommand = async
651
647
  await collectBody(output.body, context);
652
648
  return contents;
653
649
  };
654
- const deserializeAws_restJson1DeleteRumMetricsDestinationCommandError = async (output, context) => {
650
+ const de_DeleteRumMetricsDestinationCommandError = async (output, context) => {
655
651
  const parsedOutput = {
656
652
  ...output,
657
653
  body: await parseErrorBody(output.body, context),
@@ -660,22 +656,22 @@ const deserializeAws_restJson1DeleteRumMetricsDestinationCommandError = async (o
660
656
  switch (errorCode) {
661
657
  case "AccessDeniedException":
662
658
  case "com.amazonaws.rum#AccessDeniedException":
663
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
659
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
664
660
  case "ConflictException":
665
661
  case "com.amazonaws.rum#ConflictException":
666
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
662
+ throw await de_ConflictExceptionRes(parsedOutput, context);
667
663
  case "InternalServerException":
668
664
  case "com.amazonaws.rum#InternalServerException":
669
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
665
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
670
666
  case "ResourceNotFoundException":
671
667
  case "com.amazonaws.rum#ResourceNotFoundException":
672
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
668
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
673
669
  case "ThrottlingException":
674
670
  case "com.amazonaws.rum#ThrottlingException":
675
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
671
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
676
672
  case "ValidationException":
677
673
  case "com.amazonaws.rum#ValidationException":
678
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
674
+ throw await de_ValidationExceptionRes(parsedOutput, context);
679
675
  default:
680
676
  const parsedBody = parsedOutput.body;
681
677
  throwDefaultError({
@@ -686,20 +682,20 @@ const deserializeAws_restJson1DeleteRumMetricsDestinationCommandError = async (o
686
682
  });
687
683
  }
688
684
  };
689
- export const deserializeAws_restJson1GetAppMonitorCommand = async (output, context) => {
685
+ export const de_GetAppMonitorCommand = async (output, context) => {
690
686
  if (output.statusCode !== 200 && output.statusCode >= 300) {
691
- return deserializeAws_restJson1GetAppMonitorCommandError(output, context);
687
+ return de_GetAppMonitorCommandError(output, context);
692
688
  }
693
689
  const contents = map({
694
690
  $metadata: deserializeMetadata(output),
695
691
  });
696
692
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
697
693
  if (data.AppMonitor != null) {
698
- contents.AppMonitor = deserializeAws_restJson1AppMonitor(data.AppMonitor, context);
694
+ contents.AppMonitor = de_AppMonitor(data.AppMonitor, context);
699
695
  }
700
696
  return contents;
701
697
  };
702
- const deserializeAws_restJson1GetAppMonitorCommandError = async (output, context) => {
698
+ const de_GetAppMonitorCommandError = async (output, context) => {
703
699
  const parsedOutput = {
704
700
  ...output,
705
701
  body: await parseErrorBody(output.body, context),
@@ -708,19 +704,19 @@ const deserializeAws_restJson1GetAppMonitorCommandError = async (output, context
708
704
  switch (errorCode) {
709
705
  case "AccessDeniedException":
710
706
  case "com.amazonaws.rum#AccessDeniedException":
711
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
707
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
712
708
  case "InternalServerException":
713
709
  case "com.amazonaws.rum#InternalServerException":
714
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
710
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
715
711
  case "ResourceNotFoundException":
716
712
  case "com.amazonaws.rum#ResourceNotFoundException":
717
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
713
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
718
714
  case "ThrottlingException":
719
715
  case "com.amazonaws.rum#ThrottlingException":
720
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
716
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
721
717
  case "ValidationException":
722
718
  case "com.amazonaws.rum#ValidationException":
723
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
719
+ throw await de_ValidationExceptionRes(parsedOutput, context);
724
720
  default:
725
721
  const parsedBody = parsedOutput.body;
726
722
  throwDefaultError({
@@ -731,23 +727,23 @@ const deserializeAws_restJson1GetAppMonitorCommandError = async (output, context
731
727
  });
732
728
  }
733
729
  };
734
- export const deserializeAws_restJson1GetAppMonitorDataCommand = async (output, context) => {
730
+ export const de_GetAppMonitorDataCommand = async (output, context) => {
735
731
  if (output.statusCode !== 200 && output.statusCode >= 300) {
736
- return deserializeAws_restJson1GetAppMonitorDataCommandError(output, context);
732
+ return de_GetAppMonitorDataCommandError(output, context);
737
733
  }
738
734
  const contents = map({
739
735
  $metadata: deserializeMetadata(output),
740
736
  });
741
737
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
742
738
  if (data.Events != null) {
743
- contents.Events = deserializeAws_restJson1EventDataList(data.Events, context);
739
+ contents.Events = de_EventDataList(data.Events, context);
744
740
  }
745
741
  if (data.NextToken != null) {
746
742
  contents.NextToken = __expectString(data.NextToken);
747
743
  }
748
744
  return contents;
749
745
  };
750
- const deserializeAws_restJson1GetAppMonitorDataCommandError = async (output, context) => {
746
+ const de_GetAppMonitorDataCommandError = async (output, context) => {
751
747
  const parsedOutput = {
752
748
  ...output,
753
749
  body: await parseErrorBody(output.body, context),
@@ -756,19 +752,19 @@ const deserializeAws_restJson1GetAppMonitorDataCommandError = async (output, con
756
752
  switch (errorCode) {
757
753
  case "AccessDeniedException":
758
754
  case "com.amazonaws.rum#AccessDeniedException":
759
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
755
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
760
756
  case "InternalServerException":
761
757
  case "com.amazonaws.rum#InternalServerException":
762
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
758
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
763
759
  case "ResourceNotFoundException":
764
760
  case "com.amazonaws.rum#ResourceNotFoundException":
765
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
761
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
766
762
  case "ThrottlingException":
767
763
  case "com.amazonaws.rum#ThrottlingException":
768
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
764
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
769
765
  case "ValidationException":
770
766
  case "com.amazonaws.rum#ValidationException":
771
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
767
+ throw await de_ValidationExceptionRes(parsedOutput, context);
772
768
  default:
773
769
  const parsedBody = parsedOutput.body;
774
770
  throwDefaultError({
@@ -779,23 +775,23 @@ const deserializeAws_restJson1GetAppMonitorDataCommandError = async (output, con
779
775
  });
780
776
  }
781
777
  };
782
- export const deserializeAws_restJson1ListAppMonitorsCommand = async (output, context) => {
778
+ export const de_ListAppMonitorsCommand = async (output, context) => {
783
779
  if (output.statusCode !== 200 && output.statusCode >= 300) {
784
- return deserializeAws_restJson1ListAppMonitorsCommandError(output, context);
780
+ return de_ListAppMonitorsCommandError(output, context);
785
781
  }
786
782
  const contents = map({
787
783
  $metadata: deserializeMetadata(output),
788
784
  });
789
785
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
790
786
  if (data.AppMonitorSummaries != null) {
791
- contents.AppMonitorSummaries = deserializeAws_restJson1AppMonitorSummaryList(data.AppMonitorSummaries, context);
787
+ contents.AppMonitorSummaries = de_AppMonitorSummaryList(data.AppMonitorSummaries, context);
792
788
  }
793
789
  if (data.NextToken != null) {
794
790
  contents.NextToken = __expectString(data.NextToken);
795
791
  }
796
792
  return contents;
797
793
  };
798
- const deserializeAws_restJson1ListAppMonitorsCommandError = async (output, context) => {
794
+ const de_ListAppMonitorsCommandError = async (output, context) => {
799
795
  const parsedOutput = {
800
796
  ...output,
801
797
  body: await parseErrorBody(output.body, context),
@@ -804,16 +800,16 @@ const deserializeAws_restJson1ListAppMonitorsCommandError = async (output, conte
804
800
  switch (errorCode) {
805
801
  case "AccessDeniedException":
806
802
  case "com.amazonaws.rum#AccessDeniedException":
807
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
803
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
808
804
  case "InternalServerException":
809
805
  case "com.amazonaws.rum#InternalServerException":
810
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
806
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
811
807
  case "ThrottlingException":
812
808
  case "com.amazonaws.rum#ThrottlingException":
813
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
809
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
814
810
  case "ValidationException":
815
811
  case "com.amazonaws.rum#ValidationException":
816
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
812
+ throw await de_ValidationExceptionRes(parsedOutput, context);
817
813
  default:
818
814
  const parsedBody = parsedOutput.body;
819
815
  throwDefaultError({
@@ -824,23 +820,23 @@ const deserializeAws_restJson1ListAppMonitorsCommandError = async (output, conte
824
820
  });
825
821
  }
826
822
  };
827
- export const deserializeAws_restJson1ListRumMetricsDestinationsCommand = async (output, context) => {
823
+ export const de_ListRumMetricsDestinationsCommand = async (output, context) => {
828
824
  if (output.statusCode !== 200 && output.statusCode >= 300) {
829
- return deserializeAws_restJson1ListRumMetricsDestinationsCommandError(output, context);
825
+ return de_ListRumMetricsDestinationsCommandError(output, context);
830
826
  }
831
827
  const contents = map({
832
828
  $metadata: deserializeMetadata(output),
833
829
  });
834
830
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
835
831
  if (data.Destinations != null) {
836
- contents.Destinations = deserializeAws_restJson1MetricDestinationSummaryList(data.Destinations, context);
832
+ contents.Destinations = de_MetricDestinationSummaryList(data.Destinations, context);
837
833
  }
838
834
  if (data.NextToken != null) {
839
835
  contents.NextToken = __expectString(data.NextToken);
840
836
  }
841
837
  return contents;
842
838
  };
843
- const deserializeAws_restJson1ListRumMetricsDestinationsCommandError = async (output, context) => {
839
+ const de_ListRumMetricsDestinationsCommandError = async (output, context) => {
844
840
  const parsedOutput = {
845
841
  ...output,
846
842
  body: await parseErrorBody(output.body, context),
@@ -849,16 +845,16 @@ const deserializeAws_restJson1ListRumMetricsDestinationsCommandError = async (ou
849
845
  switch (errorCode) {
850
846
  case "AccessDeniedException":
851
847
  case "com.amazonaws.rum#AccessDeniedException":
852
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
848
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
853
849
  case "InternalServerException":
854
850
  case "com.amazonaws.rum#InternalServerException":
855
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
851
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
856
852
  case "ResourceNotFoundException":
857
853
  case "com.amazonaws.rum#ResourceNotFoundException":
858
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
854
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
859
855
  case "ValidationException":
860
856
  case "com.amazonaws.rum#ValidationException":
861
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
857
+ throw await de_ValidationExceptionRes(parsedOutput, context);
862
858
  default:
863
859
  const parsedBody = parsedOutput.body;
864
860
  throwDefaultError({
@@ -869,9 +865,9 @@ const deserializeAws_restJson1ListRumMetricsDestinationsCommandError = async (ou
869
865
  });
870
866
  }
871
867
  };
872
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
868
+ export const de_ListTagsForResourceCommand = async (output, context) => {
873
869
  if (output.statusCode !== 200 && output.statusCode >= 300) {
874
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
870
+ return de_ListTagsForResourceCommandError(output, context);
875
871
  }
876
872
  const contents = map({
877
873
  $metadata: deserializeMetadata(output),
@@ -881,11 +877,11 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (output,
881
877
  contents.ResourceArn = __expectString(data.ResourceArn);
882
878
  }
883
879
  if (data.Tags != null) {
884
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
880
+ contents.Tags = de_TagMap(data.Tags, context);
885
881
  }
886
882
  return contents;
887
883
  };
888
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
884
+ const de_ListTagsForResourceCommandError = async (output, context) => {
889
885
  const parsedOutput = {
890
886
  ...output,
891
887
  body: await parseErrorBody(output.body, context),
@@ -894,13 +890,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
894
890
  switch (errorCode) {
895
891
  case "InternalServerException":
896
892
  case "com.amazonaws.rum#InternalServerException":
897
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
893
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
898
894
  case "ResourceNotFoundException":
899
895
  case "com.amazonaws.rum#ResourceNotFoundException":
900
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
896
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
901
897
  case "ValidationException":
902
898
  case "com.amazonaws.rum#ValidationException":
903
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
899
+ throw await de_ValidationExceptionRes(parsedOutput, context);
904
900
  default:
905
901
  const parsedBody = parsedOutput.body;
906
902
  throwDefaultError({
@@ -911,9 +907,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
911
907
  });
912
908
  }
913
909
  };
914
- export const deserializeAws_restJson1PutRumEventsCommand = async (output, context) => {
910
+ export const de_PutRumEventsCommand = async (output, context) => {
915
911
  if (output.statusCode !== 200 && output.statusCode >= 300) {
916
- return deserializeAws_restJson1PutRumEventsCommandError(output, context);
912
+ return de_PutRumEventsCommandError(output, context);
917
913
  }
918
914
  const contents = map({
919
915
  $metadata: deserializeMetadata(output),
@@ -921,7 +917,7 @@ export const deserializeAws_restJson1PutRumEventsCommand = async (output, contex
921
917
  await collectBody(output.body, context);
922
918
  return contents;
923
919
  };
924
- const deserializeAws_restJson1PutRumEventsCommandError = async (output, context) => {
920
+ const de_PutRumEventsCommandError = async (output, context) => {
925
921
  const parsedOutput = {
926
922
  ...output,
927
923
  body: await parseErrorBody(output.body, context),
@@ -930,19 +926,19 @@ const deserializeAws_restJson1PutRumEventsCommandError = async (output, context)
930
926
  switch (errorCode) {
931
927
  case "AccessDeniedException":
932
928
  case "com.amazonaws.rum#AccessDeniedException":
933
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
929
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
934
930
  case "InternalServerException":
935
931
  case "com.amazonaws.rum#InternalServerException":
936
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
932
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
937
933
  case "ResourceNotFoundException":
938
934
  case "com.amazonaws.rum#ResourceNotFoundException":
939
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
935
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
940
936
  case "ThrottlingException":
941
937
  case "com.amazonaws.rum#ThrottlingException":
942
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
938
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
943
939
  case "ValidationException":
944
940
  case "com.amazonaws.rum#ValidationException":
945
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
941
+ throw await de_ValidationExceptionRes(parsedOutput, context);
946
942
  default:
947
943
  const parsedBody = parsedOutput.body;
948
944
  throwDefaultError({
@@ -953,9 +949,9 @@ const deserializeAws_restJson1PutRumEventsCommandError = async (output, context)
953
949
  });
954
950
  }
955
951
  };
956
- export const deserializeAws_restJson1PutRumMetricsDestinationCommand = async (output, context) => {
952
+ export const de_PutRumMetricsDestinationCommand = async (output, context) => {
957
953
  if (output.statusCode !== 200 && output.statusCode >= 300) {
958
- return deserializeAws_restJson1PutRumMetricsDestinationCommandError(output, context);
954
+ return de_PutRumMetricsDestinationCommandError(output, context);
959
955
  }
960
956
  const contents = map({
961
957
  $metadata: deserializeMetadata(output),
@@ -963,7 +959,7 @@ export const deserializeAws_restJson1PutRumMetricsDestinationCommand = async (ou
963
959
  await collectBody(output.body, context);
964
960
  return contents;
965
961
  };
966
- const deserializeAws_restJson1PutRumMetricsDestinationCommandError = async (output, context) => {
962
+ const de_PutRumMetricsDestinationCommandError = async (output, context) => {
967
963
  const parsedOutput = {
968
964
  ...output,
969
965
  body: await parseErrorBody(output.body, context),
@@ -972,22 +968,22 @@ const deserializeAws_restJson1PutRumMetricsDestinationCommandError = async (outp
972
968
  switch (errorCode) {
973
969
  case "AccessDeniedException":
974
970
  case "com.amazonaws.rum#AccessDeniedException":
975
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
971
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
976
972
  case "ConflictException":
977
973
  case "com.amazonaws.rum#ConflictException":
978
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
974
+ throw await de_ConflictExceptionRes(parsedOutput, context);
979
975
  case "InternalServerException":
980
976
  case "com.amazonaws.rum#InternalServerException":
981
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
977
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
982
978
  case "ResourceNotFoundException":
983
979
  case "com.amazonaws.rum#ResourceNotFoundException":
984
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
980
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
985
981
  case "ThrottlingException":
986
982
  case "com.amazonaws.rum#ThrottlingException":
987
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
983
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
988
984
  case "ValidationException":
989
985
  case "com.amazonaws.rum#ValidationException":
990
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
986
+ throw await de_ValidationExceptionRes(parsedOutput, context);
991
987
  default:
992
988
  const parsedBody = parsedOutput.body;
993
989
  throwDefaultError({
@@ -998,9 +994,9 @@ const deserializeAws_restJson1PutRumMetricsDestinationCommandError = async (outp
998
994
  });
999
995
  }
1000
996
  };
1001
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
997
+ export const de_TagResourceCommand = async (output, context) => {
1002
998
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1003
- return deserializeAws_restJson1TagResourceCommandError(output, context);
999
+ return de_TagResourceCommandError(output, context);
1004
1000
  }
1005
1001
  const contents = map({
1006
1002
  $metadata: deserializeMetadata(output),
@@ -1008,7 +1004,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1008
1004
  await collectBody(output.body, context);
1009
1005
  return contents;
1010
1006
  };
1011
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1007
+ const de_TagResourceCommandError = async (output, context) => {
1012
1008
  const parsedOutput = {
1013
1009
  ...output,
1014
1010
  body: await parseErrorBody(output.body, context),
@@ -1017,13 +1013,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1017
1013
  switch (errorCode) {
1018
1014
  case "InternalServerException":
1019
1015
  case "com.amazonaws.rum#InternalServerException":
1020
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1016
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1021
1017
  case "ResourceNotFoundException":
1022
1018
  case "com.amazonaws.rum#ResourceNotFoundException":
1023
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1019
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1024
1020
  case "ValidationException":
1025
1021
  case "com.amazonaws.rum#ValidationException":
1026
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1022
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1027
1023
  default:
1028
1024
  const parsedBody = parsedOutput.body;
1029
1025
  throwDefaultError({
@@ -1034,9 +1030,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1034
1030
  });
1035
1031
  }
1036
1032
  };
1037
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1033
+ export const de_UntagResourceCommand = async (output, context) => {
1038
1034
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1039
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1035
+ return de_UntagResourceCommandError(output, context);
1040
1036
  }
1041
1037
  const contents = map({
1042
1038
  $metadata: deserializeMetadata(output),
@@ -1044,7 +1040,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1044
1040
  await collectBody(output.body, context);
1045
1041
  return contents;
1046
1042
  };
1047
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1043
+ const de_UntagResourceCommandError = async (output, context) => {
1048
1044
  const parsedOutput = {
1049
1045
  ...output,
1050
1046
  body: await parseErrorBody(output.body, context),
@@ -1053,13 +1049,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1053
1049
  switch (errorCode) {
1054
1050
  case "InternalServerException":
1055
1051
  case "com.amazonaws.rum#InternalServerException":
1056
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1052
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1057
1053
  case "ResourceNotFoundException":
1058
1054
  case "com.amazonaws.rum#ResourceNotFoundException":
1059
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1055
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1060
1056
  case "ValidationException":
1061
1057
  case "com.amazonaws.rum#ValidationException":
1062
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1058
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1063
1059
  default:
1064
1060
  const parsedBody = parsedOutput.body;
1065
1061
  throwDefaultError({
@@ -1070,9 +1066,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1070
1066
  });
1071
1067
  }
1072
1068
  };
1073
- export const deserializeAws_restJson1UpdateAppMonitorCommand = async (output, context) => {
1069
+ export const de_UpdateAppMonitorCommand = async (output, context) => {
1074
1070
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1075
- return deserializeAws_restJson1UpdateAppMonitorCommandError(output, context);
1071
+ return de_UpdateAppMonitorCommandError(output, context);
1076
1072
  }
1077
1073
  const contents = map({
1078
1074
  $metadata: deserializeMetadata(output),
@@ -1080,7 +1076,7 @@ export const deserializeAws_restJson1UpdateAppMonitorCommand = async (output, co
1080
1076
  await collectBody(output.body, context);
1081
1077
  return contents;
1082
1078
  };
1083
- const deserializeAws_restJson1UpdateAppMonitorCommandError = async (output, context) => {
1079
+ const de_UpdateAppMonitorCommandError = async (output, context) => {
1084
1080
  const parsedOutput = {
1085
1081
  ...output,
1086
1082
  body: await parseErrorBody(output.body, context),
@@ -1089,22 +1085,22 @@ const deserializeAws_restJson1UpdateAppMonitorCommandError = async (output, cont
1089
1085
  switch (errorCode) {
1090
1086
  case "AccessDeniedException":
1091
1087
  case "com.amazonaws.rum#AccessDeniedException":
1092
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1088
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1093
1089
  case "ConflictException":
1094
1090
  case "com.amazonaws.rum#ConflictException":
1095
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1091
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1096
1092
  case "InternalServerException":
1097
1093
  case "com.amazonaws.rum#InternalServerException":
1098
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1094
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1099
1095
  case "ResourceNotFoundException":
1100
1096
  case "com.amazonaws.rum#ResourceNotFoundException":
1101
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1097
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1102
1098
  case "ThrottlingException":
1103
1099
  case "com.amazonaws.rum#ThrottlingException":
1104
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1100
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1105
1101
  case "ValidationException":
1106
1102
  case "com.amazonaws.rum#ValidationException":
1107
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1103
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1108
1104
  default:
1109
1105
  const parsedBody = parsedOutput.body;
1110
1106
  throwDefaultError({
@@ -1115,9 +1111,9 @@ const deserializeAws_restJson1UpdateAppMonitorCommandError = async (output, cont
1115
1111
  });
1116
1112
  }
1117
1113
  };
1118
- export const deserializeAws_restJson1UpdateRumMetricDefinitionCommand = async (output, context) => {
1114
+ export const de_UpdateRumMetricDefinitionCommand = async (output, context) => {
1119
1115
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1120
- return deserializeAws_restJson1UpdateRumMetricDefinitionCommandError(output, context);
1116
+ return de_UpdateRumMetricDefinitionCommandError(output, context);
1121
1117
  }
1122
1118
  const contents = map({
1123
1119
  $metadata: deserializeMetadata(output),
@@ -1125,7 +1121,7 @@ export const deserializeAws_restJson1UpdateRumMetricDefinitionCommand = async (o
1125
1121
  await collectBody(output.body, context);
1126
1122
  return contents;
1127
1123
  };
1128
- const deserializeAws_restJson1UpdateRumMetricDefinitionCommandError = async (output, context) => {
1124
+ const de_UpdateRumMetricDefinitionCommandError = async (output, context) => {
1129
1125
  const parsedOutput = {
1130
1126
  ...output,
1131
1127
  body: await parseErrorBody(output.body, context),
@@ -1134,25 +1130,25 @@ const deserializeAws_restJson1UpdateRumMetricDefinitionCommandError = async (out
1134
1130
  switch (errorCode) {
1135
1131
  case "AccessDeniedException":
1136
1132
  case "com.amazonaws.rum#AccessDeniedException":
1137
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1133
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1138
1134
  case "ConflictException":
1139
1135
  case "com.amazonaws.rum#ConflictException":
1140
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1136
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1141
1137
  case "InternalServerException":
1142
1138
  case "com.amazonaws.rum#InternalServerException":
1143
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1139
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1144
1140
  case "ResourceNotFoundException":
1145
1141
  case "com.amazonaws.rum#ResourceNotFoundException":
1146
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1142
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1147
1143
  case "ServiceQuotaExceededException":
1148
1144
  case "com.amazonaws.rum#ServiceQuotaExceededException":
1149
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1145
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1150
1146
  case "ThrottlingException":
1151
1147
  case "com.amazonaws.rum#ThrottlingException":
1152
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1148
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1153
1149
  case "ValidationException":
1154
1150
  case "com.amazonaws.rum#ValidationException":
1155
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1151
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1156
1152
  default:
1157
1153
  const parsedBody = parsedOutput.body;
1158
1154
  throwDefaultError({
@@ -1164,7 +1160,7 @@ const deserializeAws_restJson1UpdateRumMetricDefinitionCommandError = async (out
1164
1160
  }
1165
1161
  };
1166
1162
  const map = __map;
1167
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1163
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1168
1164
  const contents = map({});
1169
1165
  const data = parsedOutput.body;
1170
1166
  if (data.message != null) {
@@ -1176,7 +1172,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1176
1172
  });
1177
1173
  return __decorateServiceException(exception, parsedOutput.body);
1178
1174
  };
1179
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1175
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1180
1176
  const contents = map({});
1181
1177
  const data = parsedOutput.body;
1182
1178
  if (data.message != null) {
@@ -1194,7 +1190,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1194
1190
  });
1195
1191
  return __decorateServiceException(exception, parsedOutput.body);
1196
1192
  };
1197
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1193
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1198
1194
  const contents = map({
1199
1195
  retryAfterSeconds: [
1200
1196
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -1211,7 +1207,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1211
1207
  });
1212
1208
  return __decorateServiceException(exception, parsedOutput.body);
1213
1209
  };
1214
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1210
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1215
1211
  const contents = map({});
1216
1212
  const data = parsedOutput.body;
1217
1213
  if (data.message != null) {
@@ -1229,7 +1225,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1229
1225
  });
1230
1226
  return __decorateServiceException(exception, parsedOutput.body);
1231
1227
  };
1232
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1228
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1233
1229
  const contents = map({});
1234
1230
  const data = parsedOutput.body;
1235
1231
  if (data.message != null) {
@@ -1241,7 +1237,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1241
1237
  });
1242
1238
  return __decorateServiceException(exception, parsedOutput.body);
1243
1239
  };
1244
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1240
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1245
1241
  const contents = map({
1246
1242
  retryAfterSeconds: [
1247
1243
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -1264,7 +1260,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1264
1260
  });
1265
1261
  return __decorateServiceException(exception, parsedOutput.body);
1266
1262
  };
1267
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1263
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1268
1264
  const contents = map({});
1269
1265
  const data = parsedOutput.body;
1270
1266
  if (data.message != null) {
@@ -1276,34 +1272,32 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1276
1272
  });
1277
1273
  return __decorateServiceException(exception, parsedOutput.body);
1278
1274
  };
1279
- const serializeAws_restJson1AppMonitorConfiguration = (input, context) => {
1275
+ const se_AppMonitorConfiguration = (input, context) => {
1280
1276
  return {
1281
1277
  ...(input.AllowCookies != null && { AllowCookies: input.AllowCookies }),
1282
1278
  ...(input.EnableXRay != null && { EnableXRay: input.EnableXRay }),
1283
- ...(input.ExcludedPages != null && { ExcludedPages: serializeAws_restJson1Pages(input.ExcludedPages, context) }),
1284
- ...(input.FavoritePages != null && {
1285
- FavoritePages: serializeAws_restJson1FavoritePages(input.FavoritePages, context),
1286
- }),
1279
+ ...(input.ExcludedPages != null && { ExcludedPages: se_Pages(input.ExcludedPages, context) }),
1280
+ ...(input.FavoritePages != null && { FavoritePages: se_FavoritePages(input.FavoritePages, context) }),
1287
1281
  ...(input.GuestRoleArn != null && { GuestRoleArn: input.GuestRoleArn }),
1288
1282
  ...(input.IdentityPoolId != null && { IdentityPoolId: input.IdentityPoolId }),
1289
- ...(input.IncludedPages != null && { IncludedPages: serializeAws_restJson1Pages(input.IncludedPages, context) }),
1283
+ ...(input.IncludedPages != null && { IncludedPages: se_Pages(input.IncludedPages, context) }),
1290
1284
  ...(input.SessionSampleRate != null && { SessionSampleRate: __serializeFloat(input.SessionSampleRate) }),
1291
- ...(input.Telemetries != null && { Telemetries: serializeAws_restJson1Telemetries(input.Telemetries, context) }),
1285
+ ...(input.Telemetries != null && { Telemetries: se_Telemetries(input.Telemetries, context) }),
1292
1286
  };
1293
1287
  };
1294
- const serializeAws_restJson1AppMonitorDetails = (input, context) => {
1288
+ const se_AppMonitorDetails = (input, context) => {
1295
1289
  return {
1296
1290
  ...(input.id != null && { id: input.id }),
1297
1291
  ...(input.name != null && { name: input.name }),
1298
1292
  ...(input.version != null && { version: input.version }),
1299
1293
  };
1300
1294
  };
1301
- const serializeAws_restJson1CustomEvents = (input, context) => {
1295
+ const se_CustomEvents = (input, context) => {
1302
1296
  return {
1303
1297
  ...(input.Status != null && { Status: input.Status }),
1304
1298
  };
1305
1299
  };
1306
- const serializeAws_restJson1DimensionKeysMap = (input, context) => {
1300
+ const se_DimensionKeysMap = (input, context) => {
1307
1301
  return Object.entries(input).reduce((acc, [key, value]) => {
1308
1302
  if (value === null) {
1309
1303
  return acc;
@@ -1312,18 +1306,16 @@ const serializeAws_restJson1DimensionKeysMap = (input, context) => {
1312
1306
  return acc;
1313
1307
  }, {});
1314
1308
  };
1315
- const serializeAws_restJson1FavoritePages = (input, context) => {
1309
+ const se_FavoritePages = (input, context) => {
1316
1310
  return input
1317
1311
  .filter((e) => e != null)
1318
1312
  .map((entry) => {
1319
1313
  return entry;
1320
1314
  });
1321
1315
  };
1322
- const serializeAws_restJson1MetricDefinitionRequest = (input, context) => {
1316
+ const se_MetricDefinitionRequest = (input, context) => {
1323
1317
  return {
1324
- ...(input.DimensionKeys != null && {
1325
- DimensionKeys: serializeAws_restJson1DimensionKeysMap(input.DimensionKeys, context),
1326
- }),
1318
+ ...(input.DimensionKeys != null && { DimensionKeys: se_DimensionKeysMap(input.DimensionKeys, context) }),
1327
1319
  ...(input.EventPattern != null && { EventPattern: input.EventPattern }),
1328
1320
  ...(input.Name != null && { Name: input.Name }),
1329
1321
  ...(input.Namespace != null && { Namespace: input.Namespace }),
@@ -1331,41 +1323,41 @@ const serializeAws_restJson1MetricDefinitionRequest = (input, context) => {
1331
1323
  ...(input.ValueKey != null && { ValueKey: input.ValueKey }),
1332
1324
  };
1333
1325
  };
1334
- const serializeAws_restJson1MetricDefinitionsRequest = (input, context) => {
1326
+ const se_MetricDefinitionsRequest = (input, context) => {
1335
1327
  return input
1336
1328
  .filter((e) => e != null)
1337
1329
  .map((entry) => {
1338
- return serializeAws_restJson1MetricDefinitionRequest(entry, context);
1330
+ return se_MetricDefinitionRequest(entry, context);
1339
1331
  });
1340
1332
  };
1341
- const serializeAws_restJson1Pages = (input, context) => {
1333
+ const se_Pages = (input, context) => {
1342
1334
  return input
1343
1335
  .filter((e) => e != null)
1344
1336
  .map((entry) => {
1345
1337
  return entry;
1346
1338
  });
1347
1339
  };
1348
- const serializeAws_restJson1QueryFilter = (input, context) => {
1340
+ const se_QueryFilter = (input, context) => {
1349
1341
  return {
1350
1342
  ...(input.Name != null && { Name: input.Name }),
1351
- ...(input.Values != null && { Values: serializeAws_restJson1QueryFilterValueList(input.Values, context) }),
1343
+ ...(input.Values != null && { Values: se_QueryFilterValueList(input.Values, context) }),
1352
1344
  };
1353
1345
  };
1354
- const serializeAws_restJson1QueryFilters = (input, context) => {
1346
+ const se_QueryFilters = (input, context) => {
1355
1347
  return input
1356
1348
  .filter((e) => e != null)
1357
1349
  .map((entry) => {
1358
- return serializeAws_restJson1QueryFilter(entry, context);
1350
+ return se_QueryFilter(entry, context);
1359
1351
  });
1360
1352
  };
1361
- const serializeAws_restJson1QueryFilterValueList = (input, context) => {
1353
+ const se_QueryFilterValueList = (input, context) => {
1362
1354
  return input
1363
1355
  .filter((e) => e != null)
1364
1356
  .map((entry) => {
1365
1357
  return entry;
1366
1358
  });
1367
1359
  };
1368
- const serializeAws_restJson1RumEvent = (input, context) => {
1360
+ const se_RumEvent = (input, context) => {
1369
1361
  return {
1370
1362
  ...(input.details != null && { details: __LazyJsonString.fromObject(input.details) }),
1371
1363
  ...(input.id != null && { id: input.id }),
@@ -1374,14 +1366,14 @@ const serializeAws_restJson1RumEvent = (input, context) => {
1374
1366
  ...(input.type != null && { type: input.type }),
1375
1367
  };
1376
1368
  };
1377
- const serializeAws_restJson1RumEventList = (input, context) => {
1369
+ const se_RumEventList = (input, context) => {
1378
1370
  return input
1379
1371
  .filter((e) => e != null)
1380
1372
  .map((entry) => {
1381
- return serializeAws_restJson1RumEvent(entry, context);
1373
+ return se_RumEvent(entry, context);
1382
1374
  });
1383
1375
  };
1384
- const serializeAws_restJson1TagMap = (input, context) => {
1376
+ const se_TagMap = (input, context) => {
1385
1377
  return Object.entries(input).reduce((acc, [key, value]) => {
1386
1378
  if (value === null) {
1387
1379
  return acc;
@@ -1390,55 +1382,55 @@ const serializeAws_restJson1TagMap = (input, context) => {
1390
1382
  return acc;
1391
1383
  }, {});
1392
1384
  };
1393
- const serializeAws_restJson1Telemetries = (input, context) => {
1385
+ const se_Telemetries = (input, context) => {
1394
1386
  return input
1395
1387
  .filter((e) => e != null)
1396
1388
  .map((entry) => {
1397
1389
  return entry;
1398
1390
  });
1399
1391
  };
1400
- const serializeAws_restJson1TimeRange = (input, context) => {
1392
+ const se_TimeRange = (input, context) => {
1401
1393
  return {
1402
1394
  ...(input.After != null && { After: input.After }),
1403
1395
  ...(input.Before != null && { Before: input.Before }),
1404
1396
  };
1405
1397
  };
1406
- const serializeAws_restJson1UserDetails = (input, context) => {
1398
+ const se_UserDetails = (input, context) => {
1407
1399
  return {
1408
1400
  ...(input.sessionId != null && { sessionId: input.sessionId }),
1409
1401
  ...(input.userId != null && { userId: input.userId }),
1410
1402
  };
1411
1403
  };
1412
- const deserializeAws_restJson1AppMonitor = (output, context) => {
1404
+ const de_AppMonitor = (output, context) => {
1413
1405
  return {
1414
1406
  AppMonitorConfiguration: output.AppMonitorConfiguration != null
1415
- ? deserializeAws_restJson1AppMonitorConfiguration(output.AppMonitorConfiguration, context)
1407
+ ? de_AppMonitorConfiguration(output.AppMonitorConfiguration, context)
1416
1408
  : undefined,
1417
1409
  Created: __expectString(output.Created),
1418
- CustomEvents: output.CustomEvents != null ? deserializeAws_restJson1CustomEvents(output.CustomEvents, context) : undefined,
1419
- DataStorage: output.DataStorage != null ? deserializeAws_restJson1DataStorage(output.DataStorage, context) : undefined,
1410
+ CustomEvents: output.CustomEvents != null ? de_CustomEvents(output.CustomEvents, context) : undefined,
1411
+ DataStorage: output.DataStorage != null ? de_DataStorage(output.DataStorage, context) : undefined,
1420
1412
  Domain: __expectString(output.Domain),
1421
1413
  Id: __expectString(output.Id),
1422
1414
  LastModified: __expectString(output.LastModified),
1423
1415
  Name: __expectString(output.Name),
1424
1416
  State: __expectString(output.State),
1425
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
1417
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
1426
1418
  };
1427
1419
  };
1428
- const deserializeAws_restJson1AppMonitorConfiguration = (output, context) => {
1420
+ const de_AppMonitorConfiguration = (output, context) => {
1429
1421
  return {
1430
1422
  AllowCookies: __expectBoolean(output.AllowCookies),
1431
1423
  EnableXRay: __expectBoolean(output.EnableXRay),
1432
- ExcludedPages: output.ExcludedPages != null ? deserializeAws_restJson1Pages(output.ExcludedPages, context) : undefined,
1433
- FavoritePages: output.FavoritePages != null ? deserializeAws_restJson1FavoritePages(output.FavoritePages, context) : undefined,
1424
+ ExcludedPages: output.ExcludedPages != null ? de_Pages(output.ExcludedPages, context) : undefined,
1425
+ FavoritePages: output.FavoritePages != null ? de_FavoritePages(output.FavoritePages, context) : undefined,
1434
1426
  GuestRoleArn: __expectString(output.GuestRoleArn),
1435
1427
  IdentityPoolId: __expectString(output.IdentityPoolId),
1436
- IncludedPages: output.IncludedPages != null ? deserializeAws_restJson1Pages(output.IncludedPages, context) : undefined,
1428
+ IncludedPages: output.IncludedPages != null ? de_Pages(output.IncludedPages, context) : undefined,
1437
1429
  SessionSampleRate: __limitedParseDouble(output.SessionSampleRate),
1438
- Telemetries: output.Telemetries != null ? deserializeAws_restJson1Telemetries(output.Telemetries, context) : undefined,
1430
+ Telemetries: output.Telemetries != null ? de_Telemetries(output.Telemetries, context) : undefined,
1439
1431
  };
1440
1432
  };
1441
- const deserializeAws_restJson1AppMonitorSummary = (output, context) => {
1433
+ const de_AppMonitorSummary = (output, context) => {
1442
1434
  return {
1443
1435
  Created: __expectString(output.Created),
1444
1436
  Id: __expectString(output.Id),
@@ -1447,72 +1439,70 @@ const deserializeAws_restJson1AppMonitorSummary = (output, context) => {
1447
1439
  State: __expectString(output.State),
1448
1440
  };
1449
1441
  };
1450
- const deserializeAws_restJson1AppMonitorSummaryList = (output, context) => {
1442
+ const de_AppMonitorSummaryList = (output, context) => {
1451
1443
  const retVal = (output || [])
1452
1444
  .filter((e) => e != null)
1453
1445
  .map((entry) => {
1454
1446
  if (entry === null) {
1455
1447
  return null;
1456
1448
  }
1457
- return deserializeAws_restJson1AppMonitorSummary(entry, context);
1449
+ return de_AppMonitorSummary(entry, context);
1458
1450
  });
1459
1451
  return retVal;
1460
1452
  };
1461
- const deserializeAws_restJson1BatchCreateRumMetricDefinitionsError = (output, context) => {
1453
+ const de_BatchCreateRumMetricDefinitionsError = (output, context) => {
1462
1454
  return {
1463
1455
  ErrorCode: __expectString(output.ErrorCode),
1464
1456
  ErrorMessage: __expectString(output.ErrorMessage),
1465
- MetricDefinition: output.MetricDefinition != null
1466
- ? deserializeAws_restJson1MetricDefinitionRequest(output.MetricDefinition, context)
1467
- : undefined,
1457
+ MetricDefinition: output.MetricDefinition != null ? de_MetricDefinitionRequest(output.MetricDefinition, context) : undefined,
1468
1458
  };
1469
1459
  };
1470
- const deserializeAws_restJson1BatchCreateRumMetricDefinitionsErrors = (output, context) => {
1460
+ const de_BatchCreateRumMetricDefinitionsErrors = (output, context) => {
1471
1461
  const retVal = (output || [])
1472
1462
  .filter((e) => e != null)
1473
1463
  .map((entry) => {
1474
1464
  if (entry === null) {
1475
1465
  return null;
1476
1466
  }
1477
- return deserializeAws_restJson1BatchCreateRumMetricDefinitionsError(entry, context);
1467
+ return de_BatchCreateRumMetricDefinitionsError(entry, context);
1478
1468
  });
1479
1469
  return retVal;
1480
1470
  };
1481
- const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsError = (output, context) => {
1471
+ const de_BatchDeleteRumMetricDefinitionsError = (output, context) => {
1482
1472
  return {
1483
1473
  ErrorCode: __expectString(output.ErrorCode),
1484
1474
  ErrorMessage: __expectString(output.ErrorMessage),
1485
1475
  MetricDefinitionId: __expectString(output.MetricDefinitionId),
1486
1476
  };
1487
1477
  };
1488
- const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsErrors = (output, context) => {
1478
+ const de_BatchDeleteRumMetricDefinitionsErrors = (output, context) => {
1489
1479
  const retVal = (output || [])
1490
1480
  .filter((e) => e != null)
1491
1481
  .map((entry) => {
1492
1482
  if (entry === null) {
1493
1483
  return null;
1494
1484
  }
1495
- return deserializeAws_restJson1BatchDeleteRumMetricDefinitionsError(entry, context);
1485
+ return de_BatchDeleteRumMetricDefinitionsError(entry, context);
1496
1486
  });
1497
1487
  return retVal;
1498
1488
  };
1499
- const deserializeAws_restJson1CustomEvents = (output, context) => {
1489
+ const de_CustomEvents = (output, context) => {
1500
1490
  return {
1501
1491
  Status: __expectString(output.Status),
1502
1492
  };
1503
1493
  };
1504
- const deserializeAws_restJson1CwLog = (output, context) => {
1494
+ const de_CwLog = (output, context) => {
1505
1495
  return {
1506
1496
  CwLogEnabled: __expectBoolean(output.CwLogEnabled),
1507
1497
  CwLogGroup: __expectString(output.CwLogGroup),
1508
1498
  };
1509
1499
  };
1510
- const deserializeAws_restJson1DataStorage = (output, context) => {
1500
+ const de_DataStorage = (output, context) => {
1511
1501
  return {
1512
- CwLog: output.CwLog != null ? deserializeAws_restJson1CwLog(output.CwLog, context) : undefined,
1502
+ CwLog: output.CwLog != null ? de_CwLog(output.CwLog, context) : undefined,
1513
1503
  };
1514
1504
  };
1515
- const deserializeAws_restJson1DimensionKeysMap = (output, context) => {
1505
+ const de_DimensionKeysMap = (output, context) => {
1516
1506
  return Object.entries(output).reduce((acc, [key, value]) => {
1517
1507
  if (value === null) {
1518
1508
  return acc;
@@ -1521,7 +1511,7 @@ const deserializeAws_restJson1DimensionKeysMap = (output, context) => {
1521
1511
  return acc;
1522
1512
  }, {});
1523
1513
  };
1524
- const deserializeAws_restJson1EventDataList = (output, context) => {
1514
+ const de_EventDataList = (output, context) => {
1525
1515
  const retVal = (output || [])
1526
1516
  .filter((e) => e != null)
1527
1517
  .map((entry) => {
@@ -1532,7 +1522,7 @@ const deserializeAws_restJson1EventDataList = (output, context) => {
1532
1522
  });
1533
1523
  return retVal;
1534
1524
  };
1535
- const deserializeAws_restJson1FavoritePages = (output, context) => {
1525
+ const de_FavoritePages = (output, context) => {
1536
1526
  const retVal = (output || [])
1537
1527
  .filter((e) => e != null)
1538
1528
  .map((entry) => {
@@ -1543,11 +1533,9 @@ const deserializeAws_restJson1FavoritePages = (output, context) => {
1543
1533
  });
1544
1534
  return retVal;
1545
1535
  };
1546
- const deserializeAws_restJson1MetricDefinition = (output, context) => {
1536
+ const de_MetricDefinition = (output, context) => {
1547
1537
  return {
1548
- DimensionKeys: output.DimensionKeys != null
1549
- ? deserializeAws_restJson1DimensionKeysMap(output.DimensionKeys, context)
1550
- : undefined,
1538
+ DimensionKeys: output.DimensionKeys != null ? de_DimensionKeysMap(output.DimensionKeys, context) : undefined,
1551
1539
  EventPattern: __expectString(output.EventPattern),
1552
1540
  MetricDefinitionId: __expectString(output.MetricDefinitionId),
1553
1541
  Name: __expectString(output.Name),
@@ -1556,7 +1544,7 @@ const deserializeAws_restJson1MetricDefinition = (output, context) => {
1556
1544
  ValueKey: __expectString(output.ValueKey),
1557
1545
  };
1558
1546
  };
1559
- const deserializeAws_restJson1MetricDefinitionIds = (output, context) => {
1547
+ const de_MetricDefinitionIds = (output, context) => {
1560
1548
  const retVal = (output || [])
1561
1549
  .filter((e) => e != null)
1562
1550
  .map((entry) => {
@@ -1567,11 +1555,9 @@ const deserializeAws_restJson1MetricDefinitionIds = (output, context) => {
1567
1555
  });
1568
1556
  return retVal;
1569
1557
  };
1570
- const deserializeAws_restJson1MetricDefinitionRequest = (output, context) => {
1558
+ const de_MetricDefinitionRequest = (output, context) => {
1571
1559
  return {
1572
- DimensionKeys: output.DimensionKeys != null
1573
- ? deserializeAws_restJson1DimensionKeysMap(output.DimensionKeys, context)
1574
- : undefined,
1560
+ DimensionKeys: output.DimensionKeys != null ? de_DimensionKeysMap(output.DimensionKeys, context) : undefined,
1575
1561
  EventPattern: __expectString(output.EventPattern),
1576
1562
  Name: __expectString(output.Name),
1577
1563
  Namespace: __expectString(output.Namespace),
@@ -1579,36 +1565,36 @@ const deserializeAws_restJson1MetricDefinitionRequest = (output, context) => {
1579
1565
  ValueKey: __expectString(output.ValueKey),
1580
1566
  };
1581
1567
  };
1582
- const deserializeAws_restJson1MetricDefinitions = (output, context) => {
1568
+ const de_MetricDefinitions = (output, context) => {
1583
1569
  const retVal = (output || [])
1584
1570
  .filter((e) => e != null)
1585
1571
  .map((entry) => {
1586
1572
  if (entry === null) {
1587
1573
  return null;
1588
1574
  }
1589
- return deserializeAws_restJson1MetricDefinition(entry, context);
1575
+ return de_MetricDefinition(entry, context);
1590
1576
  });
1591
1577
  return retVal;
1592
1578
  };
1593
- const deserializeAws_restJson1MetricDestinationSummary = (output, context) => {
1579
+ const de_MetricDestinationSummary = (output, context) => {
1594
1580
  return {
1595
1581
  Destination: __expectString(output.Destination),
1596
1582
  DestinationArn: __expectString(output.DestinationArn),
1597
1583
  IamRoleArn: __expectString(output.IamRoleArn),
1598
1584
  };
1599
1585
  };
1600
- const deserializeAws_restJson1MetricDestinationSummaryList = (output, context) => {
1586
+ const de_MetricDestinationSummaryList = (output, context) => {
1601
1587
  const retVal = (output || [])
1602
1588
  .filter((e) => e != null)
1603
1589
  .map((entry) => {
1604
1590
  if (entry === null) {
1605
1591
  return null;
1606
1592
  }
1607
- return deserializeAws_restJson1MetricDestinationSummary(entry, context);
1593
+ return de_MetricDestinationSummary(entry, context);
1608
1594
  });
1609
1595
  return retVal;
1610
1596
  };
1611
- const deserializeAws_restJson1Pages = (output, context) => {
1597
+ const de_Pages = (output, context) => {
1612
1598
  const retVal = (output || [])
1613
1599
  .filter((e) => e != null)
1614
1600
  .map((entry) => {
@@ -1619,7 +1605,7 @@ const deserializeAws_restJson1Pages = (output, context) => {
1619
1605
  });
1620
1606
  return retVal;
1621
1607
  };
1622
- const deserializeAws_restJson1TagMap = (output, context) => {
1608
+ const de_TagMap = (output, context) => {
1623
1609
  return Object.entries(output).reduce((acc, [key, value]) => {
1624
1610
  if (value === null) {
1625
1611
  return acc;
@@ -1628,7 +1614,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1628
1614
  return acc;
1629
1615
  }, {});
1630
1616
  };
1631
- const deserializeAws_restJson1Telemetries = (output, context) => {
1617
+ const de_Telemetries = (output, context) => {
1632
1618
  const retVal = (output || [])
1633
1619
  .filter((e) => e != null)
1634
1620
  .map((entry) => {