@aws-sdk/client-rum 3.312.0 → 3.315.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.
- package/dist-cjs/protocols/Aws_restJson1.js +209 -543
- package/dist-es/protocols/Aws_restJson1.js +180 -514
- package/package.json +6 -6
|
@@ -13,13 +13,11 @@ const se_BatchCreateRumMetricDefinitionsCommand = async (input, context) => {
|
|
|
13
13
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
14
14
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
15
15
|
let body;
|
|
16
|
-
body = JSON.stringify({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}),
|
|
22
|
-
});
|
|
16
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
|
+
Destination: [],
|
|
18
|
+
DestinationArn: [],
|
|
19
|
+
MetricDefinitions: (_) => (0, smithy_client_1._json)(_),
|
|
20
|
+
}));
|
|
23
21
|
return new protocol_http_1.HttpRequest({
|
|
24
22
|
protocol,
|
|
25
23
|
hostname,
|
|
@@ -36,7 +34,7 @@ const se_BatchDeleteRumMetricDefinitionsCommand = async (input, context) => {
|
|
|
36
34
|
const headers = {};
|
|
37
35
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
38
36
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
39
|
-
const query = map({
|
|
37
|
+
const query = (0, smithy_client_1.map)({
|
|
40
38
|
destination: [, (0, smithy_client_1.expectNonNull)(input.Destination, `Destination`)],
|
|
41
39
|
destinationArn: [, input.DestinationArn],
|
|
42
40
|
metricDefinitionIds: [
|
|
@@ -62,7 +60,7 @@ const se_BatchGetRumMetricDefinitionsCommand = async (input, context) => {
|
|
|
62
60
|
const headers = {};
|
|
63
61
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
64
62
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
65
|
-
const query = map({
|
|
63
|
+
const query = (0, smithy_client_1.map)({
|
|
66
64
|
destination: [, (0, smithy_client_1.expectNonNull)(input.Destination, `Destination`)],
|
|
67
65
|
destinationArn: [, input.DestinationArn],
|
|
68
66
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
@@ -88,16 +86,14 @@ const se_CreateAppMonitorCommand = async (input, context) => {
|
|
|
88
86
|
};
|
|
89
87
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitor";
|
|
90
88
|
let body;
|
|
91
|
-
body = JSON.stringify({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
100
|
-
});
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
90
|
+
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
91
|
+
CustomEvents: (_) => (0, smithy_client_1._json)(_),
|
|
92
|
+
CwLogEnabled: [],
|
|
93
|
+
Domain: [],
|
|
94
|
+
Name: [],
|
|
95
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
96
|
+
}));
|
|
101
97
|
return new protocol_http_1.HttpRequest({
|
|
102
98
|
protocol,
|
|
103
99
|
hostname,
|
|
@@ -132,7 +128,7 @@ const se_DeleteRumMetricsDestinationCommand = async (input, context) => {
|
|
|
132
128
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
133
129
|
"/rummetrics/{AppMonitorName}/metricsdestination";
|
|
134
130
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
135
|
-
const query = map({
|
|
131
|
+
const query = (0, smithy_client_1.map)({
|
|
136
132
|
destination: [, (0, smithy_client_1.expectNonNull)(input.Destination, `Destination`)],
|
|
137
133
|
destinationArn: [, input.DestinationArn],
|
|
138
134
|
});
|
|
@@ -174,12 +170,12 @@ const se_GetAppMonitorDataCommand = async (input, context) => {
|
|
|
174
170
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitor/{Name}/data";
|
|
175
171
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
176
172
|
let body;
|
|
177
|
-
body = JSON.stringify({
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
});
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
174
|
+
Filters: (_) => (0, smithy_client_1._json)(_),
|
|
175
|
+
MaxResults: [],
|
|
176
|
+
NextToken: [],
|
|
177
|
+
TimeRange: (_) => (0, smithy_client_1._json)(_),
|
|
178
|
+
}));
|
|
183
179
|
return new protocol_http_1.HttpRequest({
|
|
184
180
|
protocol,
|
|
185
181
|
hostname,
|
|
@@ -195,7 +191,7 @@ const se_ListAppMonitorsCommand = async (input, context) => {
|
|
|
195
191
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
196
192
|
const headers = {};
|
|
197
193
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitors";
|
|
198
|
-
const query = map({
|
|
194
|
+
const query = (0, smithy_client_1.map)({
|
|
199
195
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
200
196
|
nextToken: [, input.NextToken],
|
|
201
197
|
});
|
|
@@ -218,7 +214,7 @@ const se_ListRumMetricsDestinationsCommand = async (input, context) => {
|
|
|
218
214
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
219
215
|
"/rummetrics/{AppMonitorName}/metricsdestination";
|
|
220
216
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
221
|
-
const query = map({
|
|
217
|
+
const query = (0, smithy_client_1.map)({
|
|
222
218
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
223
219
|
nextToken: [, input.NextToken],
|
|
224
220
|
});
|
|
@@ -260,14 +256,12 @@ const se_PutRumEventsCommand = async (input, context) => {
|
|
|
260
256
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitors/{Id}";
|
|
261
257
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
262
258
|
let body;
|
|
263
|
-
body = JSON.stringify({
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
...(input.UserDetails != null && { UserDetails: se_UserDetails(input.UserDetails, context) }),
|
|
270
|
-
});
|
|
259
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
260
|
+
AppMonitorDetails: (_) => (0, smithy_client_1._json)(_),
|
|
261
|
+
BatchId: [],
|
|
262
|
+
RumEvents: (_) => se_RumEventList(_, context),
|
|
263
|
+
UserDetails: (_) => (0, smithy_client_1._json)(_),
|
|
264
|
+
}));
|
|
271
265
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
272
266
|
if (context.disableHostPrefix !== true) {
|
|
273
267
|
resolvedHostname = "dataplane." + resolvedHostname;
|
|
@@ -295,11 +289,11 @@ const se_PutRumMetricsDestinationCommand = async (input, context) => {
|
|
|
295
289
|
"/rummetrics/{AppMonitorName}/metricsdestination";
|
|
296
290
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
297
291
|
let body;
|
|
298
|
-
body = JSON.stringify({
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
});
|
|
292
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
293
|
+
Destination: [],
|
|
294
|
+
DestinationArn: [],
|
|
295
|
+
IamRoleArn: [],
|
|
296
|
+
}));
|
|
303
297
|
return new protocol_http_1.HttpRequest({
|
|
304
298
|
protocol,
|
|
305
299
|
hostname,
|
|
@@ -319,9 +313,9 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
319
313
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
320
314
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
321
315
|
let body;
|
|
322
|
-
body = JSON.stringify({
|
|
323
|
-
|
|
324
|
-
});
|
|
316
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
317
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
318
|
+
}));
|
|
325
319
|
return new protocol_http_1.HttpRequest({
|
|
326
320
|
protocol,
|
|
327
321
|
hostname,
|
|
@@ -338,7 +332,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
338
332
|
const headers = {};
|
|
339
333
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
340
334
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
341
|
-
const query = map({
|
|
335
|
+
const query = (0, smithy_client_1.map)({
|
|
342
336
|
tagKeys: [
|
|
343
337
|
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
344
338
|
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
@@ -365,14 +359,12 @@ const se_UpdateAppMonitorCommand = async (input, context) => {
|
|
|
365
359
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/appmonitor/{Name}";
|
|
366
360
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
367
361
|
let body;
|
|
368
|
-
body = JSON.stringify({
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
...(input.Domain != null && { Domain: input.Domain }),
|
|
375
|
-
});
|
|
362
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
363
|
+
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
364
|
+
CustomEvents: (_) => (0, smithy_client_1._json)(_),
|
|
365
|
+
CwLogEnabled: [],
|
|
366
|
+
Domain: [],
|
|
367
|
+
}));
|
|
376
368
|
return new protocol_http_1.HttpRequest({
|
|
377
369
|
protocol,
|
|
378
370
|
hostname,
|
|
@@ -392,14 +384,12 @@ const se_UpdateRumMetricDefinitionCommand = async (input, context) => {
|
|
|
392
384
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
393
385
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
394
386
|
let body;
|
|
395
|
-
body = JSON.stringify({
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
...(input.MetricDefinitionId != null && { MetricDefinitionId: input.MetricDefinitionId }),
|
|
402
|
-
});
|
|
387
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
388
|
+
Destination: [],
|
|
389
|
+
DestinationArn: [],
|
|
390
|
+
MetricDefinition: (_) => (0, smithy_client_1._json)(_),
|
|
391
|
+
MetricDefinitionId: [],
|
|
392
|
+
}));
|
|
403
393
|
return new protocol_http_1.HttpRequest({
|
|
404
394
|
protocol,
|
|
405
395
|
hostname,
|
|
@@ -415,16 +405,15 @@ const de_BatchCreateRumMetricDefinitionsCommand = async (output, context) => {
|
|
|
415
405
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
416
406
|
return de_BatchCreateRumMetricDefinitionsCommandError(output, context);
|
|
417
407
|
}
|
|
418
|
-
const contents = map({
|
|
408
|
+
const contents = (0, smithy_client_1.map)({
|
|
419
409
|
$metadata: deserializeMetadata(output),
|
|
420
410
|
});
|
|
421
411
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
}
|
|
412
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
413
|
+
Errors: smithy_client_1._json,
|
|
414
|
+
MetricDefinitions: smithy_client_1._json,
|
|
415
|
+
});
|
|
416
|
+
Object.assign(contents, doc);
|
|
428
417
|
return contents;
|
|
429
418
|
};
|
|
430
419
|
exports.de_BatchCreateRumMetricDefinitionsCommand = de_BatchCreateRumMetricDefinitionsCommand;
|
|
@@ -458,10 +447,9 @@ const de_BatchCreateRumMetricDefinitionsCommandError = async (output, context) =
|
|
|
458
447
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
459
448
|
default:
|
|
460
449
|
const parsedBody = parsedOutput.body;
|
|
461
|
-
|
|
450
|
+
return throwDefaultError({
|
|
462
451
|
output,
|
|
463
452
|
parsedBody,
|
|
464
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
465
453
|
errorCode,
|
|
466
454
|
});
|
|
467
455
|
}
|
|
@@ -470,16 +458,15 @@ const de_BatchDeleteRumMetricDefinitionsCommand = async (output, context) => {
|
|
|
470
458
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
471
459
|
return de_BatchDeleteRumMetricDefinitionsCommandError(output, context);
|
|
472
460
|
}
|
|
473
|
-
const contents = map({
|
|
461
|
+
const contents = (0, smithy_client_1.map)({
|
|
474
462
|
$metadata: deserializeMetadata(output),
|
|
475
463
|
});
|
|
476
464
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
}
|
|
465
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
466
|
+
Errors: smithy_client_1._json,
|
|
467
|
+
MetricDefinitionIds: smithy_client_1._json,
|
|
468
|
+
});
|
|
469
|
+
Object.assign(contents, doc);
|
|
483
470
|
return contents;
|
|
484
471
|
};
|
|
485
472
|
exports.de_BatchDeleteRumMetricDefinitionsCommand = de_BatchDeleteRumMetricDefinitionsCommand;
|
|
@@ -510,10 +497,9 @@ const de_BatchDeleteRumMetricDefinitionsCommandError = async (output, context) =
|
|
|
510
497
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
511
498
|
default:
|
|
512
499
|
const parsedBody = parsedOutput.body;
|
|
513
|
-
|
|
500
|
+
return throwDefaultError({
|
|
514
501
|
output,
|
|
515
502
|
parsedBody,
|
|
516
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
517
503
|
errorCode,
|
|
518
504
|
});
|
|
519
505
|
}
|
|
@@ -522,16 +508,15 @@ const de_BatchGetRumMetricDefinitionsCommand = async (output, context) => {
|
|
|
522
508
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
523
509
|
return de_BatchGetRumMetricDefinitionsCommandError(output, context);
|
|
524
510
|
}
|
|
525
|
-
const contents = map({
|
|
511
|
+
const contents = (0, smithy_client_1.map)({
|
|
526
512
|
$metadata: deserializeMetadata(output),
|
|
527
513
|
});
|
|
528
514
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
}
|
|
515
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
516
|
+
MetricDefinitions: smithy_client_1._json,
|
|
517
|
+
NextToken: smithy_client_1.expectString,
|
|
518
|
+
});
|
|
519
|
+
Object.assign(contents, doc);
|
|
535
520
|
return contents;
|
|
536
521
|
};
|
|
537
522
|
exports.de_BatchGetRumMetricDefinitionsCommand = de_BatchGetRumMetricDefinitionsCommand;
|
|
@@ -556,10 +541,9 @@ const de_BatchGetRumMetricDefinitionsCommandError = async (output, context) => {
|
|
|
556
541
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
557
542
|
default:
|
|
558
543
|
const parsedBody = parsedOutput.body;
|
|
559
|
-
|
|
544
|
+
return throwDefaultError({
|
|
560
545
|
output,
|
|
561
546
|
parsedBody,
|
|
562
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
563
547
|
errorCode,
|
|
564
548
|
});
|
|
565
549
|
}
|
|
@@ -568,13 +552,14 @@ const de_CreateAppMonitorCommand = async (output, context) => {
|
|
|
568
552
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
569
553
|
return de_CreateAppMonitorCommandError(output, context);
|
|
570
554
|
}
|
|
571
|
-
const contents = map({
|
|
555
|
+
const contents = (0, smithy_client_1.map)({
|
|
572
556
|
$metadata: deserializeMetadata(output),
|
|
573
557
|
});
|
|
574
558
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
}
|
|
559
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
560
|
+
Id: smithy_client_1.expectString,
|
|
561
|
+
});
|
|
562
|
+
Object.assign(contents, doc);
|
|
578
563
|
return contents;
|
|
579
564
|
};
|
|
580
565
|
exports.de_CreateAppMonitorCommand = de_CreateAppMonitorCommand;
|
|
@@ -608,10 +593,9 @@ const de_CreateAppMonitorCommandError = async (output, context) => {
|
|
|
608
593
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
609
594
|
default:
|
|
610
595
|
const parsedBody = parsedOutput.body;
|
|
611
|
-
|
|
596
|
+
return throwDefaultError({
|
|
612
597
|
output,
|
|
613
598
|
parsedBody,
|
|
614
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
615
599
|
errorCode,
|
|
616
600
|
});
|
|
617
601
|
}
|
|
@@ -620,7 +604,7 @@ const de_DeleteAppMonitorCommand = async (output, context) => {
|
|
|
620
604
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
621
605
|
return de_DeleteAppMonitorCommandError(output, context);
|
|
622
606
|
}
|
|
623
|
-
const contents = map({
|
|
607
|
+
const contents = (0, smithy_client_1.map)({
|
|
624
608
|
$metadata: deserializeMetadata(output),
|
|
625
609
|
});
|
|
626
610
|
await collectBody(output.body, context);
|
|
@@ -654,10 +638,9 @@ const de_DeleteAppMonitorCommandError = async (output, context) => {
|
|
|
654
638
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
655
639
|
default:
|
|
656
640
|
const parsedBody = parsedOutput.body;
|
|
657
|
-
|
|
641
|
+
return throwDefaultError({
|
|
658
642
|
output,
|
|
659
643
|
parsedBody,
|
|
660
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
661
644
|
errorCode,
|
|
662
645
|
});
|
|
663
646
|
}
|
|
@@ -666,7 +649,7 @@ const de_DeleteRumMetricsDestinationCommand = async (output, context) => {
|
|
|
666
649
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
667
650
|
return de_DeleteRumMetricsDestinationCommandError(output, context);
|
|
668
651
|
}
|
|
669
|
-
const contents = map({
|
|
652
|
+
const contents = (0, smithy_client_1.map)({
|
|
670
653
|
$metadata: deserializeMetadata(output),
|
|
671
654
|
});
|
|
672
655
|
await collectBody(output.body, context);
|
|
@@ -700,10 +683,9 @@ const de_DeleteRumMetricsDestinationCommandError = async (output, context) => {
|
|
|
700
683
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
701
684
|
default:
|
|
702
685
|
const parsedBody = parsedOutput.body;
|
|
703
|
-
|
|
686
|
+
return throwDefaultError({
|
|
704
687
|
output,
|
|
705
688
|
parsedBody,
|
|
706
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
707
689
|
errorCode,
|
|
708
690
|
});
|
|
709
691
|
}
|
|
@@ -712,13 +694,14 @@ const de_GetAppMonitorCommand = async (output, context) => {
|
|
|
712
694
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
713
695
|
return de_GetAppMonitorCommandError(output, context);
|
|
714
696
|
}
|
|
715
|
-
const contents = map({
|
|
697
|
+
const contents = (0, smithy_client_1.map)({
|
|
716
698
|
$metadata: deserializeMetadata(output),
|
|
717
699
|
});
|
|
718
700
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
}
|
|
701
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
702
|
+
AppMonitor: (_) => de_AppMonitor(_, context),
|
|
703
|
+
});
|
|
704
|
+
Object.assign(contents, doc);
|
|
722
705
|
return contents;
|
|
723
706
|
};
|
|
724
707
|
exports.de_GetAppMonitorCommand = de_GetAppMonitorCommand;
|
|
@@ -746,10 +729,9 @@ const de_GetAppMonitorCommandError = async (output, context) => {
|
|
|
746
729
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
747
730
|
default:
|
|
748
731
|
const parsedBody = parsedOutput.body;
|
|
749
|
-
|
|
732
|
+
return throwDefaultError({
|
|
750
733
|
output,
|
|
751
734
|
parsedBody,
|
|
752
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
753
735
|
errorCode,
|
|
754
736
|
});
|
|
755
737
|
}
|
|
@@ -758,16 +740,15 @@ const de_GetAppMonitorDataCommand = async (output, context) => {
|
|
|
758
740
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
741
|
return de_GetAppMonitorDataCommandError(output, context);
|
|
760
742
|
}
|
|
761
|
-
const contents = map({
|
|
743
|
+
const contents = (0, smithy_client_1.map)({
|
|
762
744
|
$metadata: deserializeMetadata(output),
|
|
763
745
|
});
|
|
764
746
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
}
|
|
747
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
748
|
+
Events: smithy_client_1._json,
|
|
749
|
+
NextToken: smithy_client_1.expectString,
|
|
750
|
+
});
|
|
751
|
+
Object.assign(contents, doc);
|
|
771
752
|
return contents;
|
|
772
753
|
};
|
|
773
754
|
exports.de_GetAppMonitorDataCommand = de_GetAppMonitorDataCommand;
|
|
@@ -795,10 +776,9 @@ const de_GetAppMonitorDataCommandError = async (output, context) => {
|
|
|
795
776
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
796
777
|
default:
|
|
797
778
|
const parsedBody = parsedOutput.body;
|
|
798
|
-
|
|
779
|
+
return throwDefaultError({
|
|
799
780
|
output,
|
|
800
781
|
parsedBody,
|
|
801
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
802
782
|
errorCode,
|
|
803
783
|
});
|
|
804
784
|
}
|
|
@@ -807,16 +787,15 @@ const de_ListAppMonitorsCommand = async (output, context) => {
|
|
|
807
787
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
788
|
return de_ListAppMonitorsCommandError(output, context);
|
|
809
789
|
}
|
|
810
|
-
const contents = map({
|
|
790
|
+
const contents = (0, smithy_client_1.map)({
|
|
811
791
|
$metadata: deserializeMetadata(output),
|
|
812
792
|
});
|
|
813
793
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
}
|
|
794
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
795
|
+
AppMonitorSummaries: smithy_client_1._json,
|
|
796
|
+
NextToken: smithy_client_1.expectString,
|
|
797
|
+
});
|
|
798
|
+
Object.assign(contents, doc);
|
|
820
799
|
return contents;
|
|
821
800
|
};
|
|
822
801
|
exports.de_ListAppMonitorsCommand = de_ListAppMonitorsCommand;
|
|
@@ -841,10 +820,9 @@ const de_ListAppMonitorsCommandError = async (output, context) => {
|
|
|
841
820
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
842
821
|
default:
|
|
843
822
|
const parsedBody = parsedOutput.body;
|
|
844
|
-
|
|
823
|
+
return throwDefaultError({
|
|
845
824
|
output,
|
|
846
825
|
parsedBody,
|
|
847
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
848
826
|
errorCode,
|
|
849
827
|
});
|
|
850
828
|
}
|
|
@@ -853,16 +831,15 @@ const de_ListRumMetricsDestinationsCommand = async (output, context) => {
|
|
|
853
831
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
854
832
|
return de_ListRumMetricsDestinationsCommandError(output, context);
|
|
855
833
|
}
|
|
856
|
-
const contents = map({
|
|
834
|
+
const contents = (0, smithy_client_1.map)({
|
|
857
835
|
$metadata: deserializeMetadata(output),
|
|
858
836
|
});
|
|
859
837
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
}
|
|
838
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
839
|
+
Destinations: smithy_client_1._json,
|
|
840
|
+
NextToken: smithy_client_1.expectString,
|
|
841
|
+
});
|
|
842
|
+
Object.assign(contents, doc);
|
|
866
843
|
return contents;
|
|
867
844
|
};
|
|
868
845
|
exports.de_ListRumMetricsDestinationsCommand = de_ListRumMetricsDestinationsCommand;
|
|
@@ -887,10 +864,9 @@ const de_ListRumMetricsDestinationsCommandError = async (output, context) => {
|
|
|
887
864
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
888
865
|
default:
|
|
889
866
|
const parsedBody = parsedOutput.body;
|
|
890
|
-
|
|
867
|
+
return throwDefaultError({
|
|
891
868
|
output,
|
|
892
869
|
parsedBody,
|
|
893
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
894
870
|
errorCode,
|
|
895
871
|
});
|
|
896
872
|
}
|
|
@@ -899,16 +875,15 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
899
875
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
900
876
|
return de_ListTagsForResourceCommandError(output, context);
|
|
901
877
|
}
|
|
902
|
-
const contents = map({
|
|
878
|
+
const contents = (0, smithy_client_1.map)({
|
|
903
879
|
$metadata: deserializeMetadata(output),
|
|
904
880
|
});
|
|
905
881
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}
|
|
882
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
883
|
+
ResourceArn: smithy_client_1.expectString,
|
|
884
|
+
Tags: smithy_client_1._json,
|
|
885
|
+
});
|
|
886
|
+
Object.assign(contents, doc);
|
|
912
887
|
return contents;
|
|
913
888
|
};
|
|
914
889
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -930,10 +905,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
930
905
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
931
906
|
default:
|
|
932
907
|
const parsedBody = parsedOutput.body;
|
|
933
|
-
|
|
908
|
+
return throwDefaultError({
|
|
934
909
|
output,
|
|
935
910
|
parsedBody,
|
|
936
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
937
911
|
errorCode,
|
|
938
912
|
});
|
|
939
913
|
}
|
|
@@ -942,7 +916,7 @@ const de_PutRumEventsCommand = async (output, context) => {
|
|
|
942
916
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
943
917
|
return de_PutRumEventsCommandError(output, context);
|
|
944
918
|
}
|
|
945
|
-
const contents = map({
|
|
919
|
+
const contents = (0, smithy_client_1.map)({
|
|
946
920
|
$metadata: deserializeMetadata(output),
|
|
947
921
|
});
|
|
948
922
|
await collectBody(output.body, context);
|
|
@@ -973,10 +947,9 @@ const de_PutRumEventsCommandError = async (output, context) => {
|
|
|
973
947
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
974
948
|
default:
|
|
975
949
|
const parsedBody = parsedOutput.body;
|
|
976
|
-
|
|
950
|
+
return throwDefaultError({
|
|
977
951
|
output,
|
|
978
952
|
parsedBody,
|
|
979
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
980
953
|
errorCode,
|
|
981
954
|
});
|
|
982
955
|
}
|
|
@@ -985,7 +958,7 @@ const de_PutRumMetricsDestinationCommand = async (output, context) => {
|
|
|
985
958
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
959
|
return de_PutRumMetricsDestinationCommandError(output, context);
|
|
987
960
|
}
|
|
988
|
-
const contents = map({
|
|
961
|
+
const contents = (0, smithy_client_1.map)({
|
|
989
962
|
$metadata: deserializeMetadata(output),
|
|
990
963
|
});
|
|
991
964
|
await collectBody(output.body, context);
|
|
@@ -1019,10 +992,9 @@ const de_PutRumMetricsDestinationCommandError = async (output, context) => {
|
|
|
1019
992
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1020
993
|
default:
|
|
1021
994
|
const parsedBody = parsedOutput.body;
|
|
1022
|
-
|
|
995
|
+
return throwDefaultError({
|
|
1023
996
|
output,
|
|
1024
997
|
parsedBody,
|
|
1025
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
1026
998
|
errorCode,
|
|
1027
999
|
});
|
|
1028
1000
|
}
|
|
@@ -1031,7 +1003,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1031
1003
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1032
1004
|
return de_TagResourceCommandError(output, context);
|
|
1033
1005
|
}
|
|
1034
|
-
const contents = map({
|
|
1006
|
+
const contents = (0, smithy_client_1.map)({
|
|
1035
1007
|
$metadata: deserializeMetadata(output),
|
|
1036
1008
|
});
|
|
1037
1009
|
await collectBody(output.body, context);
|
|
@@ -1056,10 +1028,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1056
1028
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1057
1029
|
default:
|
|
1058
1030
|
const parsedBody = parsedOutput.body;
|
|
1059
|
-
|
|
1031
|
+
return throwDefaultError({
|
|
1060
1032
|
output,
|
|
1061
1033
|
parsedBody,
|
|
1062
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
1063
1034
|
errorCode,
|
|
1064
1035
|
});
|
|
1065
1036
|
}
|
|
@@ -1068,7 +1039,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1068
1039
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1069
1040
|
return de_UntagResourceCommandError(output, context);
|
|
1070
1041
|
}
|
|
1071
|
-
const contents = map({
|
|
1042
|
+
const contents = (0, smithy_client_1.map)({
|
|
1072
1043
|
$metadata: deserializeMetadata(output),
|
|
1073
1044
|
});
|
|
1074
1045
|
await collectBody(output.body, context);
|
|
@@ -1093,10 +1064,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1093
1064
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1094
1065
|
default:
|
|
1095
1066
|
const parsedBody = parsedOutput.body;
|
|
1096
|
-
|
|
1067
|
+
return throwDefaultError({
|
|
1097
1068
|
output,
|
|
1098
1069
|
parsedBody,
|
|
1099
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
1100
1070
|
errorCode,
|
|
1101
1071
|
});
|
|
1102
1072
|
}
|
|
@@ -1105,7 +1075,7 @@ const de_UpdateAppMonitorCommand = async (output, context) => {
|
|
|
1105
1075
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1106
1076
|
return de_UpdateAppMonitorCommandError(output, context);
|
|
1107
1077
|
}
|
|
1108
|
-
const contents = map({
|
|
1078
|
+
const contents = (0, smithy_client_1.map)({
|
|
1109
1079
|
$metadata: deserializeMetadata(output),
|
|
1110
1080
|
});
|
|
1111
1081
|
await collectBody(output.body, context);
|
|
@@ -1139,10 +1109,9 @@ const de_UpdateAppMonitorCommandError = async (output, context) => {
|
|
|
1139
1109
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1140
1110
|
default:
|
|
1141
1111
|
const parsedBody = parsedOutput.body;
|
|
1142
|
-
|
|
1112
|
+
return throwDefaultError({
|
|
1143
1113
|
output,
|
|
1144
1114
|
parsedBody,
|
|
1145
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
1146
1115
|
errorCode,
|
|
1147
1116
|
});
|
|
1148
1117
|
}
|
|
@@ -1151,7 +1120,7 @@ const de_UpdateRumMetricDefinitionCommand = async (output, context) => {
|
|
|
1151
1120
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1152
1121
|
return de_UpdateRumMetricDefinitionCommandError(output, context);
|
|
1153
1122
|
}
|
|
1154
|
-
const contents = map({
|
|
1123
|
+
const contents = (0, smithy_client_1.map)({
|
|
1155
1124
|
$metadata: deserializeMetadata(output),
|
|
1156
1125
|
});
|
|
1157
1126
|
await collectBody(output.body, context);
|
|
@@ -1188,21 +1157,21 @@ const de_UpdateRumMetricDefinitionCommandError = async (output, context) => {
|
|
|
1188
1157
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1189
1158
|
default:
|
|
1190
1159
|
const parsedBody = parsedOutput.body;
|
|
1191
|
-
|
|
1160
|
+
return throwDefaultError({
|
|
1192
1161
|
output,
|
|
1193
1162
|
parsedBody,
|
|
1194
|
-
exceptionCtor: RUMServiceException_1.RUMServiceException,
|
|
1195
1163
|
errorCode,
|
|
1196
1164
|
});
|
|
1197
1165
|
}
|
|
1198
1166
|
};
|
|
1199
|
-
const
|
|
1167
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(RUMServiceException_1.RUMServiceException);
|
|
1200
1168
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1201
|
-
const contents = map({});
|
|
1169
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1202
1170
|
const data = parsedOutput.body;
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
}
|
|
1171
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1172
|
+
message: smithy_client_1.expectString,
|
|
1173
|
+
});
|
|
1174
|
+
Object.assign(contents, doc);
|
|
1206
1175
|
const exception = new models_0_1.AccessDeniedException({
|
|
1207
1176
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1208
1177
|
...contents,
|
|
@@ -1210,17 +1179,14 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1210
1179
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1211
1180
|
};
|
|
1212
1181
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1213
|
-
const contents = map({});
|
|
1182
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1214
1183
|
const data = parsedOutput.body;
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
if (data.resourceType != null) {
|
|
1222
|
-
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
1223
|
-
}
|
|
1184
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1185
|
+
message: smithy_client_1.expectString,
|
|
1186
|
+
resourceName: smithy_client_1.expectString,
|
|
1187
|
+
resourceType: smithy_client_1.expectString,
|
|
1188
|
+
});
|
|
1189
|
+
Object.assign(contents, doc);
|
|
1224
1190
|
const exception = new models_0_1.ConflictException({
|
|
1225
1191
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1226
1192
|
...contents,
|
|
@@ -1228,16 +1194,17 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1228
1194
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1229
1195
|
};
|
|
1230
1196
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1231
|
-
const contents = map({
|
|
1197
|
+
const contents = (0, smithy_client_1.map)({
|
|
1232
1198
|
retryAfterSeconds: [
|
|
1233
1199
|
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
1234
1200
|
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
1235
1201
|
],
|
|
1236
1202
|
});
|
|
1237
1203
|
const data = parsedOutput.body;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
}
|
|
1204
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1205
|
+
message: smithy_client_1.expectString,
|
|
1206
|
+
});
|
|
1207
|
+
Object.assign(contents, doc);
|
|
1241
1208
|
const exception = new models_0_1.InternalServerException({
|
|
1242
1209
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1243
1210
|
...contents,
|
|
@@ -1245,17 +1212,14 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1245
1212
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1246
1213
|
};
|
|
1247
1214
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1248
|
-
const contents = map({});
|
|
1215
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1249
1216
|
const data = parsedOutput.body;
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
if (data.resourceType != null) {
|
|
1257
|
-
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
1258
|
-
}
|
|
1217
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1218
|
+
message: smithy_client_1.expectString,
|
|
1219
|
+
resourceName: smithy_client_1.expectString,
|
|
1220
|
+
resourceType: smithy_client_1.expectString,
|
|
1221
|
+
});
|
|
1222
|
+
Object.assign(contents, doc);
|
|
1259
1223
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1260
1224
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1261
1225
|
...contents,
|
|
@@ -1263,11 +1227,12 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1263
1227
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1264
1228
|
};
|
|
1265
1229
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1266
|
-
const contents = map({});
|
|
1230
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1267
1231
|
const data = parsedOutput.body;
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
}
|
|
1232
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1233
|
+
message: smithy_client_1.expectString,
|
|
1234
|
+
});
|
|
1235
|
+
Object.assign(contents, doc);
|
|
1271
1236
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1272
1237
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1273
1238
|
...contents,
|
|
@@ -1275,22 +1240,19 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1275
1240
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1276
1241
|
};
|
|
1277
1242
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1278
|
-
const contents = map({
|
|
1243
|
+
const contents = (0, smithy_client_1.map)({
|
|
1279
1244
|
retryAfterSeconds: [
|
|
1280
1245
|
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
1281
1246
|
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
1282
1247
|
],
|
|
1283
1248
|
});
|
|
1284
1249
|
const data = parsedOutput.body;
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
if (data.serviceCode != null) {
|
|
1292
|
-
contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
|
|
1293
|
-
}
|
|
1250
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1251
|
+
message: smithy_client_1.expectString,
|
|
1252
|
+
quotaCode: smithy_client_1.expectString,
|
|
1253
|
+
serviceCode: smithy_client_1.expectString,
|
|
1254
|
+
});
|
|
1255
|
+
Object.assign(contents, doc);
|
|
1294
1256
|
const exception = new models_0_1.ThrottlingException({
|
|
1295
1257
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1296
1258
|
...contents,
|
|
@@ -1298,11 +1260,12 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1298
1260
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1299
1261
|
};
|
|
1300
1262
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1301
|
-
const contents = map({});
|
|
1263
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1302
1264
|
const data = parsedOutput.body;
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
}
|
|
1265
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1266
|
+
message: smithy_client_1.expectString,
|
|
1267
|
+
});
|
|
1268
|
+
Object.assign(contents, doc);
|
|
1306
1269
|
const exception = new models_0_1.ValidationException({
|
|
1307
1270
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1308
1271
|
...contents,
|
|
@@ -1310,98 +1273,26 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1310
1273
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1311
1274
|
};
|
|
1312
1275
|
const se_AppMonitorConfiguration = (input, context) => {
|
|
1313
|
-
return {
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
};
|
|
1324
|
-
};
|
|
1325
|
-
const se_AppMonitorDetails = (input, context) => {
|
|
1326
|
-
return {
|
|
1327
|
-
...(input.id != null && { id: input.id }),
|
|
1328
|
-
...(input.name != null && { name: input.name }),
|
|
1329
|
-
...(input.version != null && { version: input.version }),
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1332
|
-
const se_CustomEvents = (input, context) => {
|
|
1333
|
-
return {
|
|
1334
|
-
...(input.Status != null && { Status: input.Status }),
|
|
1335
|
-
};
|
|
1336
|
-
};
|
|
1337
|
-
const se_DimensionKeysMap = (input, context) => {
|
|
1338
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1339
|
-
if (value === null) {
|
|
1340
|
-
return acc;
|
|
1341
|
-
}
|
|
1342
|
-
acc[key] = value;
|
|
1343
|
-
return acc;
|
|
1344
|
-
}, {});
|
|
1345
|
-
};
|
|
1346
|
-
const se_FavoritePages = (input, context) => {
|
|
1347
|
-
return input
|
|
1348
|
-
.filter((e) => e != null)
|
|
1349
|
-
.map((entry) => {
|
|
1350
|
-
return entry;
|
|
1351
|
-
});
|
|
1352
|
-
};
|
|
1353
|
-
const se_MetricDefinitionRequest = (input, context) => {
|
|
1354
|
-
return {
|
|
1355
|
-
...(input.DimensionKeys != null && { DimensionKeys: se_DimensionKeysMap(input.DimensionKeys, context) }),
|
|
1356
|
-
...(input.EventPattern != null && { EventPattern: input.EventPattern }),
|
|
1357
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1358
|
-
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
1359
|
-
...(input.UnitLabel != null && { UnitLabel: input.UnitLabel }),
|
|
1360
|
-
...(input.ValueKey != null && { ValueKey: input.ValueKey }),
|
|
1361
|
-
};
|
|
1362
|
-
};
|
|
1363
|
-
const se_MetricDefinitionsRequest = (input, context) => {
|
|
1364
|
-
return input
|
|
1365
|
-
.filter((e) => e != null)
|
|
1366
|
-
.map((entry) => {
|
|
1367
|
-
return se_MetricDefinitionRequest(entry, context);
|
|
1368
|
-
});
|
|
1369
|
-
};
|
|
1370
|
-
const se_Pages = (input, context) => {
|
|
1371
|
-
return input
|
|
1372
|
-
.filter((e) => e != null)
|
|
1373
|
-
.map((entry) => {
|
|
1374
|
-
return entry;
|
|
1375
|
-
});
|
|
1376
|
-
};
|
|
1377
|
-
const se_QueryFilter = (input, context) => {
|
|
1378
|
-
return {
|
|
1379
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1380
|
-
...(input.Values != null && { Values: se_QueryFilterValueList(input.Values, context) }),
|
|
1381
|
-
};
|
|
1382
|
-
};
|
|
1383
|
-
const se_QueryFilters = (input, context) => {
|
|
1384
|
-
return input
|
|
1385
|
-
.filter((e) => e != null)
|
|
1386
|
-
.map((entry) => {
|
|
1387
|
-
return se_QueryFilter(entry, context);
|
|
1388
|
-
});
|
|
1389
|
-
};
|
|
1390
|
-
const se_QueryFilterValueList = (input, context) => {
|
|
1391
|
-
return input
|
|
1392
|
-
.filter((e) => e != null)
|
|
1393
|
-
.map((entry) => {
|
|
1394
|
-
return entry;
|
|
1276
|
+
return (0, smithy_client_1.take)(input, {
|
|
1277
|
+
AllowCookies: [],
|
|
1278
|
+
EnableXRay: [],
|
|
1279
|
+
ExcludedPages: smithy_client_1._json,
|
|
1280
|
+
FavoritePages: smithy_client_1._json,
|
|
1281
|
+
GuestRoleArn: [],
|
|
1282
|
+
IdentityPoolId: [],
|
|
1283
|
+
IncludedPages: smithy_client_1._json,
|
|
1284
|
+
SessionSampleRate: smithy_client_1.serializeFloat,
|
|
1285
|
+
Telemetries: smithy_client_1._json,
|
|
1395
1286
|
});
|
|
1396
1287
|
};
|
|
1397
1288
|
const se_RumEvent = (input, context) => {
|
|
1398
|
-
return {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
};
|
|
1289
|
+
return (0, smithy_client_1.take)(input, {
|
|
1290
|
+
details: smithy_client_1.LazyJsonString.fromObject,
|
|
1291
|
+
id: [],
|
|
1292
|
+
metadata: smithy_client_1.LazyJsonString.fromObject,
|
|
1293
|
+
timestamp: (_) => Math.round(_.getTime() / 1000),
|
|
1294
|
+
type: [],
|
|
1295
|
+
});
|
|
1405
1296
|
};
|
|
1406
1297
|
const se_RumEventList = (input, context) => {
|
|
1407
1298
|
return input
|
|
@@ -1410,257 +1301,32 @@ const se_RumEventList = (input, context) => {
|
|
|
1410
1301
|
return se_RumEvent(entry, context);
|
|
1411
1302
|
});
|
|
1412
1303
|
};
|
|
1413
|
-
const se_TagMap = (input, context) => {
|
|
1414
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1415
|
-
if (value === null) {
|
|
1416
|
-
return acc;
|
|
1417
|
-
}
|
|
1418
|
-
acc[key] = value;
|
|
1419
|
-
return acc;
|
|
1420
|
-
}, {});
|
|
1421
|
-
};
|
|
1422
|
-
const se_Telemetries = (input, context) => {
|
|
1423
|
-
return input
|
|
1424
|
-
.filter((e) => e != null)
|
|
1425
|
-
.map((entry) => {
|
|
1426
|
-
return entry;
|
|
1427
|
-
});
|
|
1428
|
-
};
|
|
1429
|
-
const se_TimeRange = (input, context) => {
|
|
1430
|
-
return {
|
|
1431
|
-
...(input.After != null && { After: input.After }),
|
|
1432
|
-
...(input.Before != null && { Before: input.Before }),
|
|
1433
|
-
};
|
|
1434
|
-
};
|
|
1435
|
-
const se_UserDetails = (input, context) => {
|
|
1436
|
-
return {
|
|
1437
|
-
...(input.sessionId != null && { sessionId: input.sessionId }),
|
|
1438
|
-
...(input.userId != null && { userId: input.userId }),
|
|
1439
|
-
};
|
|
1440
|
-
};
|
|
1441
1304
|
const de_AppMonitor = (output, context) => {
|
|
1442
|
-
return {
|
|
1443
|
-
AppMonitorConfiguration:
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
1454
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
1455
|
-
};
|
|
1456
|
-
};
|
|
1457
|
-
const de_AppMonitorConfiguration = (output, context) => {
|
|
1458
|
-
return {
|
|
1459
|
-
AllowCookies: (0, smithy_client_1.expectBoolean)(output.AllowCookies),
|
|
1460
|
-
EnableXRay: (0, smithy_client_1.expectBoolean)(output.EnableXRay),
|
|
1461
|
-
ExcludedPages: output.ExcludedPages != null ? de_Pages(output.ExcludedPages, context) : undefined,
|
|
1462
|
-
FavoritePages: output.FavoritePages != null ? de_FavoritePages(output.FavoritePages, context) : undefined,
|
|
1463
|
-
GuestRoleArn: (0, smithy_client_1.expectString)(output.GuestRoleArn),
|
|
1464
|
-
IdentityPoolId: (0, smithy_client_1.expectString)(output.IdentityPoolId),
|
|
1465
|
-
IncludedPages: output.IncludedPages != null ? de_Pages(output.IncludedPages, context) : undefined,
|
|
1466
|
-
SessionSampleRate: (0, smithy_client_1.limitedParseDouble)(output.SessionSampleRate),
|
|
1467
|
-
Telemetries: output.Telemetries != null ? de_Telemetries(output.Telemetries, context) : undefined,
|
|
1468
|
-
};
|
|
1469
|
-
};
|
|
1470
|
-
const de_AppMonitorSummary = (output, context) => {
|
|
1471
|
-
return {
|
|
1472
|
-
Created: (0, smithy_client_1.expectString)(output.Created),
|
|
1473
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
1474
|
-
LastModified: (0, smithy_client_1.expectString)(output.LastModified),
|
|
1475
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1476
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
1477
|
-
};
|
|
1478
|
-
};
|
|
1479
|
-
const de_AppMonitorSummaryList = (output, context) => {
|
|
1480
|
-
const retVal = (output || [])
|
|
1481
|
-
.filter((e) => e != null)
|
|
1482
|
-
.map((entry) => {
|
|
1483
|
-
if (entry === null) {
|
|
1484
|
-
return null;
|
|
1485
|
-
}
|
|
1486
|
-
return de_AppMonitorSummary(entry, context);
|
|
1305
|
+
return (0, smithy_client_1.take)(output, {
|
|
1306
|
+
AppMonitorConfiguration: (_) => de_AppMonitorConfiguration(_, context),
|
|
1307
|
+
Created: smithy_client_1.expectString,
|
|
1308
|
+
CustomEvents: smithy_client_1._json,
|
|
1309
|
+
DataStorage: smithy_client_1._json,
|
|
1310
|
+
Domain: smithy_client_1.expectString,
|
|
1311
|
+
Id: smithy_client_1.expectString,
|
|
1312
|
+
LastModified: smithy_client_1.expectString,
|
|
1313
|
+
Name: smithy_client_1.expectString,
|
|
1314
|
+
State: smithy_client_1.expectString,
|
|
1315
|
+
Tags: smithy_client_1._json,
|
|
1487
1316
|
});
|
|
1488
|
-
return retVal;
|
|
1489
|
-
};
|
|
1490
|
-
const de_BatchCreateRumMetricDefinitionsError = (output, context) => {
|
|
1491
|
-
return {
|
|
1492
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
1493
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
1494
|
-
MetricDefinition: output.MetricDefinition != null ? de_MetricDefinitionRequest(output.MetricDefinition, context) : undefined,
|
|
1495
|
-
};
|
|
1496
|
-
};
|
|
1497
|
-
const de_BatchCreateRumMetricDefinitionsErrors = (output, context) => {
|
|
1498
|
-
const retVal = (output || [])
|
|
1499
|
-
.filter((e) => e != null)
|
|
1500
|
-
.map((entry) => {
|
|
1501
|
-
if (entry === null) {
|
|
1502
|
-
return null;
|
|
1503
|
-
}
|
|
1504
|
-
return de_BatchCreateRumMetricDefinitionsError(entry, context);
|
|
1505
|
-
});
|
|
1506
|
-
return retVal;
|
|
1507
|
-
};
|
|
1508
|
-
const de_BatchDeleteRumMetricDefinitionsError = (output, context) => {
|
|
1509
|
-
return {
|
|
1510
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
1511
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
1512
|
-
MetricDefinitionId: (0, smithy_client_1.expectString)(output.MetricDefinitionId),
|
|
1513
|
-
};
|
|
1514
|
-
};
|
|
1515
|
-
const de_BatchDeleteRumMetricDefinitionsErrors = (output, context) => {
|
|
1516
|
-
const retVal = (output || [])
|
|
1517
|
-
.filter((e) => e != null)
|
|
1518
|
-
.map((entry) => {
|
|
1519
|
-
if (entry === null) {
|
|
1520
|
-
return null;
|
|
1521
|
-
}
|
|
1522
|
-
return de_BatchDeleteRumMetricDefinitionsError(entry, context);
|
|
1523
|
-
});
|
|
1524
|
-
return retVal;
|
|
1525
|
-
};
|
|
1526
|
-
const de_CustomEvents = (output, context) => {
|
|
1527
|
-
return {
|
|
1528
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1531
|
-
const de_CwLog = (output, context) => {
|
|
1532
|
-
return {
|
|
1533
|
-
CwLogEnabled: (0, smithy_client_1.expectBoolean)(output.CwLogEnabled),
|
|
1534
|
-
CwLogGroup: (0, smithy_client_1.expectString)(output.CwLogGroup),
|
|
1535
|
-
};
|
|
1536
1317
|
};
|
|
1537
|
-
const
|
|
1538
|
-
return {
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
return acc;
|
|
1549
|
-
}, {});
|
|
1550
|
-
};
|
|
1551
|
-
const de_EventDataList = (output, context) => {
|
|
1552
|
-
const retVal = (output || [])
|
|
1553
|
-
.filter((e) => e != null)
|
|
1554
|
-
.map((entry) => {
|
|
1555
|
-
if (entry === null) {
|
|
1556
|
-
return null;
|
|
1557
|
-
}
|
|
1558
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1559
|
-
});
|
|
1560
|
-
return retVal;
|
|
1561
|
-
};
|
|
1562
|
-
const de_FavoritePages = (output, context) => {
|
|
1563
|
-
const retVal = (output || [])
|
|
1564
|
-
.filter((e) => e != null)
|
|
1565
|
-
.map((entry) => {
|
|
1566
|
-
if (entry === null) {
|
|
1567
|
-
return null;
|
|
1568
|
-
}
|
|
1569
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1570
|
-
});
|
|
1571
|
-
return retVal;
|
|
1572
|
-
};
|
|
1573
|
-
const de_MetricDefinition = (output, context) => {
|
|
1574
|
-
return {
|
|
1575
|
-
DimensionKeys: output.DimensionKeys != null ? de_DimensionKeysMap(output.DimensionKeys, context) : undefined,
|
|
1576
|
-
EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
|
|
1577
|
-
MetricDefinitionId: (0, smithy_client_1.expectString)(output.MetricDefinitionId),
|
|
1578
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1579
|
-
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
1580
|
-
UnitLabel: (0, smithy_client_1.expectString)(output.UnitLabel),
|
|
1581
|
-
ValueKey: (0, smithy_client_1.expectString)(output.ValueKey),
|
|
1582
|
-
};
|
|
1583
|
-
};
|
|
1584
|
-
const de_MetricDefinitionIds = (output, context) => {
|
|
1585
|
-
const retVal = (output || [])
|
|
1586
|
-
.filter((e) => e != null)
|
|
1587
|
-
.map((entry) => {
|
|
1588
|
-
if (entry === null) {
|
|
1589
|
-
return null;
|
|
1590
|
-
}
|
|
1591
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1592
|
-
});
|
|
1593
|
-
return retVal;
|
|
1594
|
-
};
|
|
1595
|
-
const de_MetricDefinitionRequest = (output, context) => {
|
|
1596
|
-
return {
|
|
1597
|
-
DimensionKeys: output.DimensionKeys != null ? de_DimensionKeysMap(output.DimensionKeys, context) : undefined,
|
|
1598
|
-
EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
|
|
1599
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1600
|
-
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
1601
|
-
UnitLabel: (0, smithy_client_1.expectString)(output.UnitLabel),
|
|
1602
|
-
ValueKey: (0, smithy_client_1.expectString)(output.ValueKey),
|
|
1603
|
-
};
|
|
1604
|
-
};
|
|
1605
|
-
const de_MetricDefinitions = (output, context) => {
|
|
1606
|
-
const retVal = (output || [])
|
|
1607
|
-
.filter((e) => e != null)
|
|
1608
|
-
.map((entry) => {
|
|
1609
|
-
if (entry === null) {
|
|
1610
|
-
return null;
|
|
1611
|
-
}
|
|
1612
|
-
return de_MetricDefinition(entry, context);
|
|
1613
|
-
});
|
|
1614
|
-
return retVal;
|
|
1615
|
-
};
|
|
1616
|
-
const de_MetricDestinationSummary = (output, context) => {
|
|
1617
|
-
return {
|
|
1618
|
-
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
1619
|
-
DestinationArn: (0, smithy_client_1.expectString)(output.DestinationArn),
|
|
1620
|
-
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
1621
|
-
};
|
|
1622
|
-
};
|
|
1623
|
-
const de_MetricDestinationSummaryList = (output, context) => {
|
|
1624
|
-
const retVal = (output || [])
|
|
1625
|
-
.filter((e) => e != null)
|
|
1626
|
-
.map((entry) => {
|
|
1627
|
-
if (entry === null) {
|
|
1628
|
-
return null;
|
|
1629
|
-
}
|
|
1630
|
-
return de_MetricDestinationSummary(entry, context);
|
|
1631
|
-
});
|
|
1632
|
-
return retVal;
|
|
1633
|
-
};
|
|
1634
|
-
const de_Pages = (output, context) => {
|
|
1635
|
-
const retVal = (output || [])
|
|
1636
|
-
.filter((e) => e != null)
|
|
1637
|
-
.map((entry) => {
|
|
1638
|
-
if (entry === null) {
|
|
1639
|
-
return null;
|
|
1640
|
-
}
|
|
1641
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1642
|
-
});
|
|
1643
|
-
return retVal;
|
|
1644
|
-
};
|
|
1645
|
-
const de_TagMap = (output, context) => {
|
|
1646
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1647
|
-
if (value === null) {
|
|
1648
|
-
return acc;
|
|
1649
|
-
}
|
|
1650
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1651
|
-
return acc;
|
|
1652
|
-
}, {});
|
|
1653
|
-
};
|
|
1654
|
-
const de_Telemetries = (output, context) => {
|
|
1655
|
-
const retVal = (output || [])
|
|
1656
|
-
.filter((e) => e != null)
|
|
1657
|
-
.map((entry) => {
|
|
1658
|
-
if (entry === null) {
|
|
1659
|
-
return null;
|
|
1660
|
-
}
|
|
1661
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1318
|
+
const de_AppMonitorConfiguration = (output, context) => {
|
|
1319
|
+
return (0, smithy_client_1.take)(output, {
|
|
1320
|
+
AllowCookies: smithy_client_1.expectBoolean,
|
|
1321
|
+
EnableXRay: smithy_client_1.expectBoolean,
|
|
1322
|
+
ExcludedPages: smithy_client_1._json,
|
|
1323
|
+
FavoritePages: smithy_client_1._json,
|
|
1324
|
+
GuestRoleArn: smithy_client_1.expectString,
|
|
1325
|
+
IdentityPoolId: smithy_client_1.expectString,
|
|
1326
|
+
IncludedPages: smithy_client_1._json,
|
|
1327
|
+
SessionSampleRate: smithy_client_1.limitedParseDouble,
|
|
1328
|
+
Telemetries: smithy_client_1._json,
|
|
1662
1329
|
});
|
|
1663
|
-
return retVal;
|
|
1664
1330
|
};
|
|
1665
1331
|
const deserializeMetadata = (output) => ({
|
|
1666
1332
|
httpStatusCode: output.statusCode,
|