@aws-sdk/client-amp 3.312.0 → 3.316.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/Amp.js +25 -294
- package/dist-cjs/protocols/Aws_restJson1.js +249 -359
- package/dist-es/Amp.js +25 -294
- package/dist-es/protocols/Aws_restJson1.js +215 -325
- package/dist-types/Amp.d.ts +28 -47
- package/dist-types/ts3.4/Amp.d.ts +2 -1
- package/package.json +6 -6
|
@@ -15,10 +15,10 @@ const se_CreateAlertManagerDefinitionCommand = async (input, context) => {
|
|
|
15
15
|
"/workspaces/{workspaceId}/alertmanager/definition";
|
|
16
16
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
17
17
|
let body;
|
|
18
|
-
body = JSON.stringify({
|
|
19
|
-
clientToken:
|
|
20
|
-
|
|
21
|
-
});
|
|
18
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
20
|
+
data: (_) => context.base64Encoder(_),
|
|
21
|
+
}));
|
|
22
22
|
return new protocol_http_1.HttpRequest({
|
|
23
23
|
protocol,
|
|
24
24
|
hostname,
|
|
@@ -38,10 +38,10 @@ const se_CreateLoggingConfigurationCommand = async (input, context) => {
|
|
|
38
38
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/logging";
|
|
39
39
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
40
40
|
let body;
|
|
41
|
-
body = JSON.stringify({
|
|
42
|
-
clientToken:
|
|
43
|
-
|
|
44
|
-
});
|
|
41
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
42
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
43
|
+
logGroupArn: [],
|
|
44
|
+
}));
|
|
45
45
|
return new protocol_http_1.HttpRequest({
|
|
46
46
|
protocol,
|
|
47
47
|
hostname,
|
|
@@ -62,12 +62,12 @@ const se_CreateRuleGroupsNamespaceCommand = async (input, context) => {
|
|
|
62
62
|
"/workspaces/{workspaceId}/rulegroupsnamespaces";
|
|
63
63
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify({
|
|
66
|
-
clientToken:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
});
|
|
65
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
66
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
67
|
+
data: (_) => context.base64Encoder(_),
|
|
68
|
+
name: [],
|
|
69
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
70
|
+
}));
|
|
71
71
|
return new protocol_http_1.HttpRequest({
|
|
72
72
|
protocol,
|
|
73
73
|
hostname,
|
|
@@ -86,11 +86,11 @@ const se_CreateWorkspaceCommand = async (input, context) => {
|
|
|
86
86
|
};
|
|
87
87
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces";
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify({
|
|
90
|
-
|
|
91
|
-
clientToken:
|
|
92
|
-
|
|
93
|
-
});
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
90
|
+
alias: [],
|
|
91
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
92
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
93
|
+
}));
|
|
94
94
|
return new protocol_http_1.HttpRequest({
|
|
95
95
|
protocol,
|
|
96
96
|
hostname,
|
|
@@ -108,7 +108,7 @@ const se_DeleteAlertManagerDefinitionCommand = async (input, context) => {
|
|
|
108
108
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
109
109
|
"/workspaces/{workspaceId}/alertmanager/definition";
|
|
110
110
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
111
|
-
const query = map({
|
|
111
|
+
const query = (0, smithy_client_1.map)({
|
|
112
112
|
clientToken: [, input.clientToken ?? (0, uuid_1.v4)()],
|
|
113
113
|
});
|
|
114
114
|
let body;
|
|
@@ -129,7 +129,7 @@ const se_DeleteLoggingConfigurationCommand = async (input, context) => {
|
|
|
129
129
|
const headers = {};
|
|
130
130
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/logging";
|
|
131
131
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
132
|
-
const query = map({
|
|
132
|
+
const query = (0, smithy_client_1.map)({
|
|
133
133
|
clientToken: [, input.clientToken ?? (0, uuid_1.v4)()],
|
|
134
134
|
});
|
|
135
135
|
let body;
|
|
@@ -152,7 +152,7 @@ const se_DeleteRuleGroupsNamespaceCommand = async (input, context) => {
|
|
|
152
152
|
"/workspaces/{workspaceId}/rulegroupsnamespaces/{name}";
|
|
153
153
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
154
154
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
155
|
-
const query = map({
|
|
155
|
+
const query = (0, smithy_client_1.map)({
|
|
156
156
|
clientToken: [, input.clientToken ?? (0, uuid_1.v4)()],
|
|
157
157
|
});
|
|
158
158
|
let body;
|
|
@@ -173,7 +173,7 @@ const se_DeleteWorkspaceCommand = async (input, context) => {
|
|
|
173
173
|
const headers = {};
|
|
174
174
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}";
|
|
175
175
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
176
|
-
const query = map({
|
|
176
|
+
const query = (0, smithy_client_1.map)({
|
|
177
177
|
clientToken: [, input.clientToken ?? (0, uuid_1.v4)()],
|
|
178
178
|
});
|
|
179
179
|
let body;
|
|
@@ -266,7 +266,7 @@ const se_ListRuleGroupsNamespacesCommand = async (input, context) => {
|
|
|
266
266
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
267
267
|
"/workspaces/{workspaceId}/rulegroupsnamespaces";
|
|
268
268
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
269
|
-
const query = map({
|
|
269
|
+
const query = (0, smithy_client_1.map)({
|
|
270
270
|
name: [, input.name],
|
|
271
271
|
nextToken: [, input.nextToken],
|
|
272
272
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -305,7 +305,7 @@ const se_ListWorkspacesCommand = async (input, context) => {
|
|
|
305
305
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
306
306
|
const headers = {};
|
|
307
307
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces";
|
|
308
|
-
const query = map({
|
|
308
|
+
const query = (0, smithy_client_1.map)({
|
|
309
309
|
nextToken: [, input.nextToken],
|
|
310
310
|
alias: [, input.alias],
|
|
311
311
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -332,10 +332,10 @@ const se_PutAlertManagerDefinitionCommand = async (input, context) => {
|
|
|
332
332
|
"/workspaces/{workspaceId}/alertmanager/definition";
|
|
333
333
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify({
|
|
336
|
-
clientToken:
|
|
337
|
-
|
|
338
|
-
});
|
|
335
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
336
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
337
|
+
data: (_) => context.base64Encoder(_),
|
|
338
|
+
}));
|
|
339
339
|
return new protocol_http_1.HttpRequest({
|
|
340
340
|
protocol,
|
|
341
341
|
hostname,
|
|
@@ -357,10 +357,10 @@ const se_PutRuleGroupsNamespaceCommand = async (input, context) => {
|
|
|
357
357
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
358
358
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
359
359
|
let body;
|
|
360
|
-
body = JSON.stringify({
|
|
361
|
-
clientToken:
|
|
362
|
-
|
|
363
|
-
});
|
|
360
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
361
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
362
|
+
data: (_) => context.base64Encoder(_),
|
|
363
|
+
}));
|
|
364
364
|
return new protocol_http_1.HttpRequest({
|
|
365
365
|
protocol,
|
|
366
366
|
hostname,
|
|
@@ -380,9 +380,9 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
380
380
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
381
381
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
382
382
|
let body;
|
|
383
|
-
body = JSON.stringify({
|
|
384
|
-
|
|
385
|
-
});
|
|
383
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
384
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
385
|
+
}));
|
|
386
386
|
return new protocol_http_1.HttpRequest({
|
|
387
387
|
protocol,
|
|
388
388
|
hostname,
|
|
@@ -399,7 +399,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
399
399
|
const headers = {};
|
|
400
400
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
401
401
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
402
|
-
const query = map({
|
|
402
|
+
const query = (0, smithy_client_1.map)({
|
|
403
403
|
tagKeys: [
|
|
404
404
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
405
405
|
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
@@ -426,10 +426,10 @@ const se_UpdateLoggingConfigurationCommand = async (input, context) => {
|
|
|
426
426
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/logging";
|
|
427
427
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
428
428
|
let body;
|
|
429
|
-
body = JSON.stringify({
|
|
430
|
-
clientToken:
|
|
431
|
-
|
|
432
|
-
});
|
|
429
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
430
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
431
|
+
logGroupArn: [],
|
|
432
|
+
}));
|
|
433
433
|
return new protocol_http_1.HttpRequest({
|
|
434
434
|
protocol,
|
|
435
435
|
hostname,
|
|
@@ -449,10 +449,10 @@ const se_UpdateWorkspaceAliasCommand = async (input, context) => {
|
|
|
449
449
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/alias";
|
|
450
450
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
451
451
|
let body;
|
|
452
|
-
body = JSON.stringify({
|
|
453
|
-
|
|
454
|
-
clientToken:
|
|
455
|
-
});
|
|
452
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
453
|
+
alias: [],
|
|
454
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
455
|
+
}));
|
|
456
456
|
return new protocol_http_1.HttpRequest({
|
|
457
457
|
protocol,
|
|
458
458
|
hostname,
|
|
@@ -468,13 +468,14 @@ const de_CreateAlertManagerDefinitionCommand = async (output, context) => {
|
|
|
468
468
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
469
469
|
return de_CreateAlertManagerDefinitionCommandError(output, context);
|
|
470
470
|
}
|
|
471
|
-
const contents = map({
|
|
471
|
+
const contents = (0, smithy_client_1.map)({
|
|
472
472
|
$metadata: deserializeMetadata(output),
|
|
473
473
|
});
|
|
474
474
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
}
|
|
475
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
476
|
+
status: smithy_client_1._json,
|
|
477
|
+
});
|
|
478
|
+
Object.assign(contents, doc);
|
|
478
479
|
return contents;
|
|
479
480
|
};
|
|
480
481
|
exports.de_CreateAlertManagerDefinitionCommand = de_CreateAlertManagerDefinitionCommand;
|
|
@@ -508,10 +509,9 @@ const de_CreateAlertManagerDefinitionCommandError = async (output, context) => {
|
|
|
508
509
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
509
510
|
default:
|
|
510
511
|
const parsedBody = parsedOutput.body;
|
|
511
|
-
|
|
512
|
+
return throwDefaultError({
|
|
512
513
|
output,
|
|
513
514
|
parsedBody,
|
|
514
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
515
515
|
errorCode,
|
|
516
516
|
});
|
|
517
517
|
}
|
|
@@ -520,13 +520,14 @@ const de_CreateLoggingConfigurationCommand = async (output, context) => {
|
|
|
520
520
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
521
521
|
return de_CreateLoggingConfigurationCommandError(output, context);
|
|
522
522
|
}
|
|
523
|
-
const contents = map({
|
|
523
|
+
const contents = (0, smithy_client_1.map)({
|
|
524
524
|
$metadata: deserializeMetadata(output),
|
|
525
525
|
});
|
|
526
526
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
}
|
|
527
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
528
|
+
status: smithy_client_1._json,
|
|
529
|
+
});
|
|
530
|
+
Object.assign(contents, doc);
|
|
530
531
|
return contents;
|
|
531
532
|
};
|
|
532
533
|
exports.de_CreateLoggingConfigurationCommand = de_CreateLoggingConfigurationCommand;
|
|
@@ -551,10 +552,9 @@ const de_CreateLoggingConfigurationCommandError = async (output, context) => {
|
|
|
551
552
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
552
553
|
default:
|
|
553
554
|
const parsedBody = parsedOutput.body;
|
|
554
|
-
|
|
555
|
+
return throwDefaultError({
|
|
555
556
|
output,
|
|
556
557
|
parsedBody,
|
|
557
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
558
558
|
errorCode,
|
|
559
559
|
});
|
|
560
560
|
}
|
|
@@ -563,22 +563,17 @@ const de_CreateRuleGroupsNamespaceCommand = async (output, context) => {
|
|
|
563
563
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
564
564
|
return de_CreateRuleGroupsNamespaceCommandError(output, context);
|
|
565
565
|
}
|
|
566
|
-
const contents = map({
|
|
566
|
+
const contents = (0, smithy_client_1.map)({
|
|
567
567
|
$metadata: deserializeMetadata(output),
|
|
568
568
|
});
|
|
569
569
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
contents.status = de_RuleGroupsNamespaceStatus(data.status, context);
|
|
578
|
-
}
|
|
579
|
-
if (data.tags != null) {
|
|
580
|
-
contents.tags = de_TagMap(data.tags, context);
|
|
581
|
-
}
|
|
570
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
571
|
+
arn: smithy_client_1.expectString,
|
|
572
|
+
name: smithy_client_1.expectString,
|
|
573
|
+
status: smithy_client_1._json,
|
|
574
|
+
tags: smithy_client_1._json,
|
|
575
|
+
});
|
|
576
|
+
Object.assign(contents, doc);
|
|
582
577
|
return contents;
|
|
583
578
|
};
|
|
584
579
|
exports.de_CreateRuleGroupsNamespaceCommand = de_CreateRuleGroupsNamespaceCommand;
|
|
@@ -612,10 +607,9 @@ const de_CreateRuleGroupsNamespaceCommandError = async (output, context) => {
|
|
|
612
607
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
613
608
|
default:
|
|
614
609
|
const parsedBody = parsedOutput.body;
|
|
615
|
-
|
|
610
|
+
return throwDefaultError({
|
|
616
611
|
output,
|
|
617
612
|
parsedBody,
|
|
618
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
619
613
|
errorCode,
|
|
620
614
|
});
|
|
621
615
|
}
|
|
@@ -624,22 +618,17 @@ const de_CreateWorkspaceCommand = async (output, context) => {
|
|
|
624
618
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
625
619
|
return de_CreateWorkspaceCommandError(output, context);
|
|
626
620
|
}
|
|
627
|
-
const contents = map({
|
|
621
|
+
const contents = (0, smithy_client_1.map)({
|
|
628
622
|
$metadata: deserializeMetadata(output),
|
|
629
623
|
});
|
|
630
624
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
contents.tags = de_TagMap(data.tags, context);
|
|
639
|
-
}
|
|
640
|
-
if (data.workspaceId != null) {
|
|
641
|
-
contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
|
|
642
|
-
}
|
|
625
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
626
|
+
arn: smithy_client_1.expectString,
|
|
627
|
+
status: smithy_client_1._json,
|
|
628
|
+
tags: smithy_client_1._json,
|
|
629
|
+
workspaceId: smithy_client_1.expectString,
|
|
630
|
+
});
|
|
631
|
+
Object.assign(contents, doc);
|
|
643
632
|
return contents;
|
|
644
633
|
};
|
|
645
634
|
exports.de_CreateWorkspaceCommand = de_CreateWorkspaceCommand;
|
|
@@ -670,10 +659,9 @@ const de_CreateWorkspaceCommandError = async (output, context) => {
|
|
|
670
659
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
671
660
|
default:
|
|
672
661
|
const parsedBody = parsedOutput.body;
|
|
673
|
-
|
|
662
|
+
return throwDefaultError({
|
|
674
663
|
output,
|
|
675
664
|
parsedBody,
|
|
676
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
677
665
|
errorCode,
|
|
678
666
|
});
|
|
679
667
|
}
|
|
@@ -682,7 +670,7 @@ const de_DeleteAlertManagerDefinitionCommand = async (output, context) => {
|
|
|
682
670
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
683
671
|
return de_DeleteAlertManagerDefinitionCommandError(output, context);
|
|
684
672
|
}
|
|
685
|
-
const contents = map({
|
|
673
|
+
const contents = (0, smithy_client_1.map)({
|
|
686
674
|
$metadata: deserializeMetadata(output),
|
|
687
675
|
});
|
|
688
676
|
await collectBody(output.body, context);
|
|
@@ -716,10 +704,9 @@ const de_DeleteAlertManagerDefinitionCommandError = async (output, context) => {
|
|
|
716
704
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
717
705
|
default:
|
|
718
706
|
const parsedBody = parsedOutput.body;
|
|
719
|
-
|
|
707
|
+
return throwDefaultError({
|
|
720
708
|
output,
|
|
721
709
|
parsedBody,
|
|
722
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
723
710
|
errorCode,
|
|
724
711
|
});
|
|
725
712
|
}
|
|
@@ -728,7 +715,7 @@ const de_DeleteLoggingConfigurationCommand = async (output, context) => {
|
|
|
728
715
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
729
716
|
return de_DeleteLoggingConfigurationCommandError(output, context);
|
|
730
717
|
}
|
|
731
|
-
const contents = map({
|
|
718
|
+
const contents = (0, smithy_client_1.map)({
|
|
732
719
|
$metadata: deserializeMetadata(output),
|
|
733
720
|
});
|
|
734
721
|
await collectBody(output.body, context);
|
|
@@ -759,10 +746,9 @@ const de_DeleteLoggingConfigurationCommandError = async (output, context) => {
|
|
|
759
746
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
760
747
|
default:
|
|
761
748
|
const parsedBody = parsedOutput.body;
|
|
762
|
-
|
|
749
|
+
return throwDefaultError({
|
|
763
750
|
output,
|
|
764
751
|
parsedBody,
|
|
765
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
766
752
|
errorCode,
|
|
767
753
|
});
|
|
768
754
|
}
|
|
@@ -771,7 +757,7 @@ const de_DeleteRuleGroupsNamespaceCommand = async (output, context) => {
|
|
|
771
757
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
772
758
|
return de_DeleteRuleGroupsNamespaceCommandError(output, context);
|
|
773
759
|
}
|
|
774
|
-
const contents = map({
|
|
760
|
+
const contents = (0, smithy_client_1.map)({
|
|
775
761
|
$metadata: deserializeMetadata(output),
|
|
776
762
|
});
|
|
777
763
|
await collectBody(output.body, context);
|
|
@@ -805,10 +791,9 @@ const de_DeleteRuleGroupsNamespaceCommandError = async (output, context) => {
|
|
|
805
791
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
806
792
|
default:
|
|
807
793
|
const parsedBody = parsedOutput.body;
|
|
808
|
-
|
|
794
|
+
return throwDefaultError({
|
|
809
795
|
output,
|
|
810
796
|
parsedBody,
|
|
811
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
812
797
|
errorCode,
|
|
813
798
|
});
|
|
814
799
|
}
|
|
@@ -817,7 +802,7 @@ const de_DeleteWorkspaceCommand = async (output, context) => {
|
|
|
817
802
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
818
803
|
return de_DeleteWorkspaceCommandError(output, context);
|
|
819
804
|
}
|
|
820
|
-
const contents = map({
|
|
805
|
+
const contents = (0, smithy_client_1.map)({
|
|
821
806
|
$metadata: deserializeMetadata(output),
|
|
822
807
|
});
|
|
823
808
|
await collectBody(output.body, context);
|
|
@@ -851,10 +836,9 @@ const de_DeleteWorkspaceCommandError = async (output, context) => {
|
|
|
851
836
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
852
837
|
default:
|
|
853
838
|
const parsedBody = parsedOutput.body;
|
|
854
|
-
|
|
839
|
+
return throwDefaultError({
|
|
855
840
|
output,
|
|
856
841
|
parsedBody,
|
|
857
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
858
842
|
errorCode,
|
|
859
843
|
});
|
|
860
844
|
}
|
|
@@ -863,13 +847,14 @@ const de_DescribeAlertManagerDefinitionCommand = async (output, context) => {
|
|
|
863
847
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
864
848
|
return de_DescribeAlertManagerDefinitionCommandError(output, context);
|
|
865
849
|
}
|
|
866
|
-
const contents = map({
|
|
850
|
+
const contents = (0, smithy_client_1.map)({
|
|
867
851
|
$metadata: deserializeMetadata(output),
|
|
868
852
|
});
|
|
869
853
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
}
|
|
854
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
855
|
+
alertManagerDefinition: (_) => de_AlertManagerDefinitionDescription(_, context),
|
|
856
|
+
});
|
|
857
|
+
Object.assign(contents, doc);
|
|
873
858
|
return contents;
|
|
874
859
|
};
|
|
875
860
|
exports.de_DescribeAlertManagerDefinitionCommand = de_DescribeAlertManagerDefinitionCommand;
|
|
@@ -897,10 +882,9 @@ const de_DescribeAlertManagerDefinitionCommandError = async (output, context) =>
|
|
|
897
882
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
898
883
|
default:
|
|
899
884
|
const parsedBody = parsedOutput.body;
|
|
900
|
-
|
|
885
|
+
return throwDefaultError({
|
|
901
886
|
output,
|
|
902
887
|
parsedBody,
|
|
903
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
904
888
|
errorCode,
|
|
905
889
|
});
|
|
906
890
|
}
|
|
@@ -909,13 +893,14 @@ const de_DescribeLoggingConfigurationCommand = async (output, context) => {
|
|
|
909
893
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
910
894
|
return de_DescribeLoggingConfigurationCommandError(output, context);
|
|
911
895
|
}
|
|
912
|
-
const contents = map({
|
|
896
|
+
const contents = (0, smithy_client_1.map)({
|
|
913
897
|
$metadata: deserializeMetadata(output),
|
|
914
898
|
});
|
|
915
899
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
}
|
|
900
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
901
|
+
loggingConfiguration: (_) => de_LoggingConfigurationMetadata(_, context),
|
|
902
|
+
});
|
|
903
|
+
Object.assign(contents, doc);
|
|
919
904
|
return contents;
|
|
920
905
|
};
|
|
921
906
|
exports.de_DescribeLoggingConfigurationCommand = de_DescribeLoggingConfigurationCommand;
|
|
@@ -940,10 +925,9 @@ const de_DescribeLoggingConfigurationCommandError = async (output, context) => {
|
|
|
940
925
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
941
926
|
default:
|
|
942
927
|
const parsedBody = parsedOutput.body;
|
|
943
|
-
|
|
928
|
+
return throwDefaultError({
|
|
944
929
|
output,
|
|
945
930
|
parsedBody,
|
|
946
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
947
931
|
errorCode,
|
|
948
932
|
});
|
|
949
933
|
}
|
|
@@ -952,13 +936,14 @@ const de_DescribeRuleGroupsNamespaceCommand = async (output, context) => {
|
|
|
952
936
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
953
937
|
return de_DescribeRuleGroupsNamespaceCommandError(output, context);
|
|
954
938
|
}
|
|
955
|
-
const contents = map({
|
|
939
|
+
const contents = (0, smithy_client_1.map)({
|
|
956
940
|
$metadata: deserializeMetadata(output),
|
|
957
941
|
});
|
|
958
942
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
}
|
|
943
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
944
|
+
ruleGroupsNamespace: (_) => de_RuleGroupsNamespaceDescription(_, context),
|
|
945
|
+
});
|
|
946
|
+
Object.assign(contents, doc);
|
|
962
947
|
return contents;
|
|
963
948
|
};
|
|
964
949
|
exports.de_DescribeRuleGroupsNamespaceCommand = de_DescribeRuleGroupsNamespaceCommand;
|
|
@@ -986,10 +971,9 @@ const de_DescribeRuleGroupsNamespaceCommandError = async (output, context) => {
|
|
|
986
971
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
987
972
|
default:
|
|
988
973
|
const parsedBody = parsedOutput.body;
|
|
989
|
-
|
|
974
|
+
return throwDefaultError({
|
|
990
975
|
output,
|
|
991
976
|
parsedBody,
|
|
992
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
993
977
|
errorCode,
|
|
994
978
|
});
|
|
995
979
|
}
|
|
@@ -998,13 +982,14 @@ const de_DescribeWorkspaceCommand = async (output, context) => {
|
|
|
998
982
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
999
983
|
return de_DescribeWorkspaceCommandError(output, context);
|
|
1000
984
|
}
|
|
1001
|
-
const contents = map({
|
|
985
|
+
const contents = (0, smithy_client_1.map)({
|
|
1002
986
|
$metadata: deserializeMetadata(output),
|
|
1003
987
|
});
|
|
1004
988
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
}
|
|
989
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
990
|
+
workspace: (_) => de_WorkspaceDescription(_, context),
|
|
991
|
+
});
|
|
992
|
+
Object.assign(contents, doc);
|
|
1008
993
|
return contents;
|
|
1009
994
|
};
|
|
1010
995
|
exports.de_DescribeWorkspaceCommand = de_DescribeWorkspaceCommand;
|
|
@@ -1032,10 +1017,9 @@ const de_DescribeWorkspaceCommandError = async (output, context) => {
|
|
|
1032
1017
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1033
1018
|
default:
|
|
1034
1019
|
const parsedBody = parsedOutput.body;
|
|
1035
|
-
|
|
1020
|
+
return throwDefaultError({
|
|
1036
1021
|
output,
|
|
1037
1022
|
parsedBody,
|
|
1038
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1039
1023
|
errorCode,
|
|
1040
1024
|
});
|
|
1041
1025
|
}
|
|
@@ -1044,16 +1028,15 @@ const de_ListRuleGroupsNamespacesCommand = async (output, context) => {
|
|
|
1044
1028
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1045
1029
|
return de_ListRuleGroupsNamespacesCommandError(output, context);
|
|
1046
1030
|
}
|
|
1047
|
-
const contents = map({
|
|
1031
|
+
const contents = (0, smithy_client_1.map)({
|
|
1048
1032
|
$metadata: deserializeMetadata(output),
|
|
1049
1033
|
});
|
|
1050
1034
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
}
|
|
1035
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1036
|
+
nextToken: smithy_client_1.expectString,
|
|
1037
|
+
ruleGroupsNamespaces: (_) => de_RuleGroupsNamespaceSummaryList(_, context),
|
|
1038
|
+
});
|
|
1039
|
+
Object.assign(contents, doc);
|
|
1057
1040
|
return contents;
|
|
1058
1041
|
};
|
|
1059
1042
|
exports.de_ListRuleGroupsNamespacesCommand = de_ListRuleGroupsNamespacesCommand;
|
|
@@ -1081,10 +1064,9 @@ const de_ListRuleGroupsNamespacesCommandError = async (output, context) => {
|
|
|
1081
1064
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1082
1065
|
default:
|
|
1083
1066
|
const parsedBody = parsedOutput.body;
|
|
1084
|
-
|
|
1067
|
+
return throwDefaultError({
|
|
1085
1068
|
output,
|
|
1086
1069
|
parsedBody,
|
|
1087
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1088
1070
|
errorCode,
|
|
1089
1071
|
});
|
|
1090
1072
|
}
|
|
@@ -1093,13 +1075,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1093
1075
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1094
1076
|
return de_ListTagsForResourceCommandError(output, context);
|
|
1095
1077
|
}
|
|
1096
|
-
const contents = map({
|
|
1078
|
+
const contents = (0, smithy_client_1.map)({
|
|
1097
1079
|
$metadata: deserializeMetadata(output),
|
|
1098
1080
|
});
|
|
1099
1081
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
}
|
|
1082
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1083
|
+
tags: smithy_client_1._json,
|
|
1084
|
+
});
|
|
1085
|
+
Object.assign(contents, doc);
|
|
1103
1086
|
return contents;
|
|
1104
1087
|
};
|
|
1105
1088
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -1127,10 +1110,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1127
1110
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1128
1111
|
default:
|
|
1129
1112
|
const parsedBody = parsedOutput.body;
|
|
1130
|
-
|
|
1113
|
+
return throwDefaultError({
|
|
1131
1114
|
output,
|
|
1132
1115
|
parsedBody,
|
|
1133
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1134
1116
|
errorCode,
|
|
1135
1117
|
});
|
|
1136
1118
|
}
|
|
@@ -1139,16 +1121,15 @@ const de_ListWorkspacesCommand = async (output, context) => {
|
|
|
1139
1121
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1140
1122
|
return de_ListWorkspacesCommandError(output, context);
|
|
1141
1123
|
}
|
|
1142
|
-
const contents = map({
|
|
1124
|
+
const contents = (0, smithy_client_1.map)({
|
|
1143
1125
|
$metadata: deserializeMetadata(output),
|
|
1144
1126
|
});
|
|
1145
1127
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
}
|
|
1128
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1129
|
+
nextToken: smithy_client_1.expectString,
|
|
1130
|
+
workspaces: (_) => de_WorkspaceSummaryList(_, context),
|
|
1131
|
+
});
|
|
1132
|
+
Object.assign(contents, doc);
|
|
1152
1133
|
return contents;
|
|
1153
1134
|
};
|
|
1154
1135
|
exports.de_ListWorkspacesCommand = de_ListWorkspacesCommand;
|
|
@@ -1173,10 +1154,9 @@ const de_ListWorkspacesCommandError = async (output, context) => {
|
|
|
1173
1154
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1174
1155
|
default:
|
|
1175
1156
|
const parsedBody = parsedOutput.body;
|
|
1176
|
-
|
|
1157
|
+
return throwDefaultError({
|
|
1177
1158
|
output,
|
|
1178
1159
|
parsedBody,
|
|
1179
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1180
1160
|
errorCode,
|
|
1181
1161
|
});
|
|
1182
1162
|
}
|
|
@@ -1185,13 +1165,14 @@ const de_PutAlertManagerDefinitionCommand = async (output, context) => {
|
|
|
1185
1165
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1186
1166
|
return de_PutAlertManagerDefinitionCommandError(output, context);
|
|
1187
1167
|
}
|
|
1188
|
-
const contents = map({
|
|
1168
|
+
const contents = (0, smithy_client_1.map)({
|
|
1189
1169
|
$metadata: deserializeMetadata(output),
|
|
1190
1170
|
});
|
|
1191
1171
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
}
|
|
1172
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1173
|
+
status: smithy_client_1._json,
|
|
1174
|
+
});
|
|
1175
|
+
Object.assign(contents, doc);
|
|
1195
1176
|
return contents;
|
|
1196
1177
|
};
|
|
1197
1178
|
exports.de_PutAlertManagerDefinitionCommand = de_PutAlertManagerDefinitionCommand;
|
|
@@ -1225,10 +1206,9 @@ const de_PutAlertManagerDefinitionCommandError = async (output, context) => {
|
|
|
1225
1206
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1226
1207
|
default:
|
|
1227
1208
|
const parsedBody = parsedOutput.body;
|
|
1228
|
-
|
|
1209
|
+
return throwDefaultError({
|
|
1229
1210
|
output,
|
|
1230
1211
|
parsedBody,
|
|
1231
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1232
1212
|
errorCode,
|
|
1233
1213
|
});
|
|
1234
1214
|
}
|
|
@@ -1237,22 +1217,17 @@ const de_PutRuleGroupsNamespaceCommand = async (output, context) => {
|
|
|
1237
1217
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1238
1218
|
return de_PutRuleGroupsNamespaceCommandError(output, context);
|
|
1239
1219
|
}
|
|
1240
|
-
const contents = map({
|
|
1220
|
+
const contents = (0, smithy_client_1.map)({
|
|
1241
1221
|
$metadata: deserializeMetadata(output),
|
|
1242
1222
|
});
|
|
1243
1223
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
contents.status = de_RuleGroupsNamespaceStatus(data.status, context);
|
|
1252
|
-
}
|
|
1253
|
-
if (data.tags != null) {
|
|
1254
|
-
contents.tags = de_TagMap(data.tags, context);
|
|
1255
|
-
}
|
|
1224
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1225
|
+
arn: smithy_client_1.expectString,
|
|
1226
|
+
name: smithy_client_1.expectString,
|
|
1227
|
+
status: smithy_client_1._json,
|
|
1228
|
+
tags: smithy_client_1._json,
|
|
1229
|
+
});
|
|
1230
|
+
Object.assign(contents, doc);
|
|
1256
1231
|
return contents;
|
|
1257
1232
|
};
|
|
1258
1233
|
exports.de_PutRuleGroupsNamespaceCommand = de_PutRuleGroupsNamespaceCommand;
|
|
@@ -1286,10 +1261,9 @@ const de_PutRuleGroupsNamespaceCommandError = async (output, context) => {
|
|
|
1286
1261
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1287
1262
|
default:
|
|
1288
1263
|
const parsedBody = parsedOutput.body;
|
|
1289
|
-
|
|
1264
|
+
return throwDefaultError({
|
|
1290
1265
|
output,
|
|
1291
1266
|
parsedBody,
|
|
1292
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1293
1267
|
errorCode,
|
|
1294
1268
|
});
|
|
1295
1269
|
}
|
|
@@ -1298,7 +1272,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1298
1272
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1299
1273
|
return de_TagResourceCommandError(output, context);
|
|
1300
1274
|
}
|
|
1301
|
-
const contents = map({
|
|
1275
|
+
const contents = (0, smithy_client_1.map)({
|
|
1302
1276
|
$metadata: deserializeMetadata(output),
|
|
1303
1277
|
});
|
|
1304
1278
|
await collectBody(output.body, context);
|
|
@@ -1329,10 +1303,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1329
1303
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1330
1304
|
default:
|
|
1331
1305
|
const parsedBody = parsedOutput.body;
|
|
1332
|
-
|
|
1306
|
+
return throwDefaultError({
|
|
1333
1307
|
output,
|
|
1334
1308
|
parsedBody,
|
|
1335
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1336
1309
|
errorCode,
|
|
1337
1310
|
});
|
|
1338
1311
|
}
|
|
@@ -1341,7 +1314,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1341
1314
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1342
1315
|
return de_UntagResourceCommandError(output, context);
|
|
1343
1316
|
}
|
|
1344
|
-
const contents = map({
|
|
1317
|
+
const contents = (0, smithy_client_1.map)({
|
|
1345
1318
|
$metadata: deserializeMetadata(output),
|
|
1346
1319
|
});
|
|
1347
1320
|
await collectBody(output.body, context);
|
|
@@ -1372,10 +1345,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1372
1345
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1373
1346
|
default:
|
|
1374
1347
|
const parsedBody = parsedOutput.body;
|
|
1375
|
-
|
|
1348
|
+
return throwDefaultError({
|
|
1376
1349
|
output,
|
|
1377
1350
|
parsedBody,
|
|
1378
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1379
1351
|
errorCode,
|
|
1380
1352
|
});
|
|
1381
1353
|
}
|
|
@@ -1384,13 +1356,14 @@ const de_UpdateLoggingConfigurationCommand = async (output, context) => {
|
|
|
1384
1356
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1385
1357
|
return de_UpdateLoggingConfigurationCommandError(output, context);
|
|
1386
1358
|
}
|
|
1387
|
-
const contents = map({
|
|
1359
|
+
const contents = (0, smithy_client_1.map)({
|
|
1388
1360
|
$metadata: deserializeMetadata(output),
|
|
1389
1361
|
});
|
|
1390
1362
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
}
|
|
1363
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1364
|
+
status: smithy_client_1._json,
|
|
1365
|
+
});
|
|
1366
|
+
Object.assign(contents, doc);
|
|
1394
1367
|
return contents;
|
|
1395
1368
|
};
|
|
1396
1369
|
exports.de_UpdateLoggingConfigurationCommand = de_UpdateLoggingConfigurationCommand;
|
|
@@ -1418,10 +1391,9 @@ const de_UpdateLoggingConfigurationCommandError = async (output, context) => {
|
|
|
1418
1391
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1419
1392
|
default:
|
|
1420
1393
|
const parsedBody = parsedOutput.body;
|
|
1421
|
-
|
|
1394
|
+
return throwDefaultError({
|
|
1422
1395
|
output,
|
|
1423
1396
|
parsedBody,
|
|
1424
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1425
1397
|
errorCode,
|
|
1426
1398
|
});
|
|
1427
1399
|
}
|
|
@@ -1430,7 +1402,7 @@ const de_UpdateWorkspaceAliasCommand = async (output, context) => {
|
|
|
1430
1402
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1431
1403
|
return de_UpdateWorkspaceAliasCommandError(output, context);
|
|
1432
1404
|
}
|
|
1433
|
-
const contents = map({
|
|
1405
|
+
const contents = (0, smithy_client_1.map)({
|
|
1434
1406
|
$metadata: deserializeMetadata(output),
|
|
1435
1407
|
});
|
|
1436
1408
|
await collectBody(output.body, context);
|
|
@@ -1467,21 +1439,21 @@ const de_UpdateWorkspaceAliasCommandError = async (output, context) => {
|
|
|
1467
1439
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1468
1440
|
default:
|
|
1469
1441
|
const parsedBody = parsedOutput.body;
|
|
1470
|
-
|
|
1442
|
+
return throwDefaultError({
|
|
1471
1443
|
output,
|
|
1472
1444
|
parsedBody,
|
|
1473
|
-
exceptionCtor: AmpServiceException_1.AmpServiceException,
|
|
1474
1445
|
errorCode,
|
|
1475
1446
|
});
|
|
1476
1447
|
}
|
|
1477
1448
|
};
|
|
1478
|
-
const
|
|
1449
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(AmpServiceException_1.AmpServiceException);
|
|
1479
1450
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1480
|
-
const contents = map({});
|
|
1451
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1481
1452
|
const data = parsedOutput.body;
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
}
|
|
1453
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1454
|
+
message: smithy_client_1.expectString,
|
|
1455
|
+
});
|
|
1456
|
+
Object.assign(contents, doc);
|
|
1485
1457
|
const exception = new models_0_1.AccessDeniedException({
|
|
1486
1458
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1487
1459
|
...contents,
|
|
@@ -1489,17 +1461,14 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1489
1461
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1490
1462
|
};
|
|
1491
1463
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1492
|
-
const contents = map({});
|
|
1464
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1493
1465
|
const data = parsedOutput.body;
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
if (data.resourceType != null) {
|
|
1501
|
-
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
1502
|
-
}
|
|
1466
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1467
|
+
message: smithy_client_1.expectString,
|
|
1468
|
+
resourceId: smithy_client_1.expectString,
|
|
1469
|
+
resourceType: smithy_client_1.expectString,
|
|
1470
|
+
});
|
|
1471
|
+
Object.assign(contents, doc);
|
|
1503
1472
|
const exception = new models_0_1.ConflictException({
|
|
1504
1473
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1505
1474
|
...contents,
|
|
@@ -1507,16 +1476,17 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1507
1476
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1508
1477
|
};
|
|
1509
1478
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1510
|
-
const contents = map({
|
|
1479
|
+
const contents = (0, smithy_client_1.map)({
|
|
1511
1480
|
retryAfterSeconds: [
|
|
1512
1481
|
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
1513
1482
|
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
1514
1483
|
],
|
|
1515
1484
|
});
|
|
1516
1485
|
const data = parsedOutput.body;
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
}
|
|
1486
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1487
|
+
message: smithy_client_1.expectString,
|
|
1488
|
+
});
|
|
1489
|
+
Object.assign(contents, doc);
|
|
1520
1490
|
const exception = new models_0_1.InternalServerException({
|
|
1521
1491
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1522
1492
|
...contents,
|
|
@@ -1524,17 +1494,14 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1524
1494
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1525
1495
|
};
|
|
1526
1496
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1527
|
-
const contents = map({});
|
|
1497
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1528
1498
|
const data = parsedOutput.body;
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
if (data.resourceType != null) {
|
|
1536
|
-
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
1537
|
-
}
|
|
1499
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1500
|
+
message: smithy_client_1.expectString,
|
|
1501
|
+
resourceId: smithy_client_1.expectString,
|
|
1502
|
+
resourceType: smithy_client_1.expectString,
|
|
1503
|
+
});
|
|
1504
|
+
Object.assign(contents, doc);
|
|
1538
1505
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1539
1506
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1540
1507
|
...contents,
|
|
@@ -1542,23 +1509,16 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1542
1509
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1543
1510
|
};
|
|
1544
1511
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1545
|
-
const contents = map({});
|
|
1512
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1546
1513
|
const data = parsedOutput.body;
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
}
|
|
1556
|
-
if (data.resourceType != null) {
|
|
1557
|
-
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
1558
|
-
}
|
|
1559
|
-
if (data.serviceCode != null) {
|
|
1560
|
-
contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
|
|
1561
|
-
}
|
|
1514
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1515
|
+
message: smithy_client_1.expectString,
|
|
1516
|
+
quotaCode: smithy_client_1.expectString,
|
|
1517
|
+
resourceId: smithy_client_1.expectString,
|
|
1518
|
+
resourceType: smithy_client_1.expectString,
|
|
1519
|
+
serviceCode: smithy_client_1.expectString,
|
|
1520
|
+
});
|
|
1521
|
+
Object.assign(contents, doc);
|
|
1562
1522
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1563
1523
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1564
1524
|
...contents,
|
|
@@ -1566,22 +1526,19 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1566
1526
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1567
1527
|
};
|
|
1568
1528
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1569
|
-
const contents = map({
|
|
1529
|
+
const contents = (0, smithy_client_1.map)({
|
|
1570
1530
|
retryAfterSeconds: [
|
|
1571
1531
|
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
1572
1532
|
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
1573
1533
|
],
|
|
1574
1534
|
});
|
|
1575
1535
|
const data = parsedOutput.body;
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
if (data.serviceCode != null) {
|
|
1583
|
-
contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
|
|
1584
|
-
}
|
|
1536
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1537
|
+
message: smithy_client_1.expectString,
|
|
1538
|
+
quotaCode: smithy_client_1.expectString,
|
|
1539
|
+
serviceCode: smithy_client_1.expectString,
|
|
1540
|
+
});
|
|
1541
|
+
Object.assign(contents, doc);
|
|
1585
1542
|
const exception = new models_0_1.ThrottlingException({
|
|
1586
1543
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1587
1544
|
...contents,
|
|
@@ -1589,158 +1546,91 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1589
1546
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1590
1547
|
};
|
|
1591
1548
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1592
|
-
const contents = map({});
|
|
1549
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1593
1550
|
const data = parsedOutput.body;
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
if (data.reason != null) {
|
|
1601
|
-
contents.reason = (0, smithy_client_1.expectString)(data.reason);
|
|
1602
|
-
}
|
|
1551
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1552
|
+
fieldList: smithy_client_1._json,
|
|
1553
|
+
message: smithy_client_1.expectString,
|
|
1554
|
+
reason: smithy_client_1.expectString,
|
|
1555
|
+
});
|
|
1556
|
+
Object.assign(contents, doc);
|
|
1603
1557
|
const exception = new models_0_1.ValidationException({
|
|
1604
1558
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1605
1559
|
...contents,
|
|
1606
1560
|
});
|
|
1607
1561
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1608
1562
|
};
|
|
1609
|
-
const se_TagMap = (input, context) => {
|
|
1610
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1611
|
-
if (value === null) {
|
|
1612
|
-
return acc;
|
|
1613
|
-
}
|
|
1614
|
-
acc[key] = value;
|
|
1615
|
-
return acc;
|
|
1616
|
-
}, {});
|
|
1617
|
-
};
|
|
1618
1563
|
const de_AlertManagerDefinitionDescription = (output, context) => {
|
|
1619
|
-
return {
|
|
1620
|
-
createdAt:
|
|
1621
|
-
data:
|
|
1622
|
-
modifiedAt:
|
|
1623
|
-
status:
|
|
1624
|
-
};
|
|
1625
|
-
};
|
|
1626
|
-
const de_AlertManagerDefinitionStatus = (output, context) => {
|
|
1627
|
-
return {
|
|
1628
|
-
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
1629
|
-
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
1630
|
-
};
|
|
1564
|
+
return (0, smithy_client_1.take)(output, {
|
|
1565
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1566
|
+
data: context.base64Decoder,
|
|
1567
|
+
modifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1568
|
+
status: smithy_client_1._json,
|
|
1569
|
+
});
|
|
1631
1570
|
};
|
|
1632
1571
|
const de_LoggingConfigurationMetadata = (output, context) => {
|
|
1633
|
-
return {
|
|
1634
|
-
createdAt:
|
|
1635
|
-
logGroupArn:
|
|
1636
|
-
modifiedAt:
|
|
1637
|
-
status:
|
|
1638
|
-
workspace:
|
|
1639
|
-
};
|
|
1640
|
-
};
|
|
1641
|
-
const de_LoggingConfigurationStatus = (output, context) => {
|
|
1642
|
-
return {
|
|
1643
|
-
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
1644
|
-
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
1645
|
-
};
|
|
1572
|
+
return (0, smithy_client_1.take)(output, {
|
|
1573
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1574
|
+
logGroupArn: smithy_client_1.expectString,
|
|
1575
|
+
modifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1576
|
+
status: smithy_client_1._json,
|
|
1577
|
+
workspace: smithy_client_1.expectString,
|
|
1578
|
+
});
|
|
1646
1579
|
};
|
|
1647
1580
|
const de_RuleGroupsNamespaceDescription = (output, context) => {
|
|
1648
|
-
return {
|
|
1649
|
-
arn:
|
|
1650
|
-
createdAt:
|
|
1651
|
-
data:
|
|
1652
|
-
modifiedAt:
|
|
1653
|
-
name:
|
|
1654
|
-
status:
|
|
1655
|
-
tags:
|
|
1656
|
-
};
|
|
1657
|
-
};
|
|
1658
|
-
const de_RuleGroupsNamespaceStatus = (output, context) => {
|
|
1659
|
-
return {
|
|
1660
|
-
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
1661
|
-
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
1662
|
-
};
|
|
1581
|
+
return (0, smithy_client_1.take)(output, {
|
|
1582
|
+
arn: smithy_client_1.expectString,
|
|
1583
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1584
|
+
data: context.base64Decoder,
|
|
1585
|
+
modifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1586
|
+
name: smithy_client_1.expectString,
|
|
1587
|
+
status: smithy_client_1._json,
|
|
1588
|
+
tags: smithy_client_1._json,
|
|
1589
|
+
});
|
|
1663
1590
|
};
|
|
1664
1591
|
const de_RuleGroupsNamespaceSummary = (output, context) => {
|
|
1665
|
-
return {
|
|
1666
|
-
arn:
|
|
1667
|
-
createdAt:
|
|
1668
|
-
modifiedAt:
|
|
1669
|
-
name:
|
|
1670
|
-
status:
|
|
1671
|
-
tags:
|
|
1672
|
-
};
|
|
1592
|
+
return (0, smithy_client_1.take)(output, {
|
|
1593
|
+
arn: smithy_client_1.expectString,
|
|
1594
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1595
|
+
modifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1596
|
+
name: smithy_client_1.expectString,
|
|
1597
|
+
status: smithy_client_1._json,
|
|
1598
|
+
tags: smithy_client_1._json,
|
|
1599
|
+
});
|
|
1673
1600
|
};
|
|
1674
1601
|
const de_RuleGroupsNamespaceSummaryList = (output, context) => {
|
|
1675
1602
|
const retVal = (output || [])
|
|
1676
1603
|
.filter((e) => e != null)
|
|
1677
1604
|
.map((entry) => {
|
|
1678
|
-
if (entry === null) {
|
|
1679
|
-
return null;
|
|
1680
|
-
}
|
|
1681
1605
|
return de_RuleGroupsNamespaceSummary(entry, context);
|
|
1682
1606
|
});
|
|
1683
1607
|
return retVal;
|
|
1684
1608
|
};
|
|
1685
|
-
const de_TagMap = (output, context) => {
|
|
1686
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1687
|
-
if (value === null) {
|
|
1688
|
-
return acc;
|
|
1689
|
-
}
|
|
1690
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1691
|
-
return acc;
|
|
1692
|
-
}, {});
|
|
1693
|
-
};
|
|
1694
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
1695
|
-
return {
|
|
1696
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1697
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
1698
|
-
};
|
|
1699
|
-
};
|
|
1700
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
1701
|
-
const retVal = (output || [])
|
|
1702
|
-
.filter((e) => e != null)
|
|
1703
|
-
.map((entry) => {
|
|
1704
|
-
if (entry === null) {
|
|
1705
|
-
return null;
|
|
1706
|
-
}
|
|
1707
|
-
return de_ValidationExceptionField(entry, context);
|
|
1708
|
-
});
|
|
1709
|
-
return retVal;
|
|
1710
|
-
};
|
|
1711
1609
|
const de_WorkspaceDescription = (output, context) => {
|
|
1712
|
-
return {
|
|
1713
|
-
alias:
|
|
1714
|
-
arn:
|
|
1715
|
-
createdAt:
|
|
1716
|
-
prometheusEndpoint:
|
|
1717
|
-
status:
|
|
1718
|
-
tags:
|
|
1719
|
-
workspaceId:
|
|
1720
|
-
};
|
|
1721
|
-
};
|
|
1722
|
-
const de_WorkspaceStatus = (output, context) => {
|
|
1723
|
-
return {
|
|
1724
|
-
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
1725
|
-
};
|
|
1610
|
+
return (0, smithy_client_1.take)(output, {
|
|
1611
|
+
alias: smithy_client_1.expectString,
|
|
1612
|
+
arn: smithy_client_1.expectString,
|
|
1613
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1614
|
+
prometheusEndpoint: smithy_client_1.expectString,
|
|
1615
|
+
status: smithy_client_1._json,
|
|
1616
|
+
tags: smithy_client_1._json,
|
|
1617
|
+
workspaceId: smithy_client_1.expectString,
|
|
1618
|
+
});
|
|
1726
1619
|
};
|
|
1727
1620
|
const de_WorkspaceSummary = (output, context) => {
|
|
1728
|
-
return {
|
|
1729
|
-
alias:
|
|
1730
|
-
arn:
|
|
1731
|
-
createdAt:
|
|
1732
|
-
status:
|
|
1733
|
-
tags:
|
|
1734
|
-
workspaceId:
|
|
1735
|
-
};
|
|
1621
|
+
return (0, smithy_client_1.take)(output, {
|
|
1622
|
+
alias: smithy_client_1.expectString,
|
|
1623
|
+
arn: smithy_client_1.expectString,
|
|
1624
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1625
|
+
status: smithy_client_1._json,
|
|
1626
|
+
tags: smithy_client_1._json,
|
|
1627
|
+
workspaceId: smithy_client_1.expectString,
|
|
1628
|
+
});
|
|
1736
1629
|
};
|
|
1737
1630
|
const de_WorkspaceSummaryList = (output, context) => {
|
|
1738
1631
|
const retVal = (output || [])
|
|
1739
1632
|
.filter((e) => e != null)
|
|
1740
1633
|
.map((entry) => {
|
|
1741
|
-
if (entry === null) {
|
|
1742
|
-
return null;
|
|
1743
|
-
}
|
|
1744
1634
|
return de_WorkspaceSummary(entry, context);
|
|
1745
1635
|
});
|
|
1746
1636
|
return retVal;
|