@aws-sdk/client-cleanrooms 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 +484 -1046
- package/dist-es/protocols/Aws_restJson1.js +434 -996
- package/package.json +6 -6
|
@@ -15,9 +15,9 @@ const se_BatchGetSchemaCommand = async (input, context) => {
|
|
|
15
15
|
"/collaborations/{collaborationIdentifier}/batch-schema";
|
|
16
16
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
17
17
|
let body;
|
|
18
|
-
body = JSON.stringify({
|
|
19
|
-
|
|
20
|
-
});
|
|
18
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
|
+
names: (_) => (0, smithy_client_1._json)(_),
|
|
20
|
+
}));
|
|
21
21
|
return new protocol_http_1.HttpRequest({
|
|
22
22
|
protocol,
|
|
23
23
|
hostname,
|
|
@@ -36,20 +36,16 @@ const se_CreateCollaborationCommand = async (input, context) => {
|
|
|
36
36
|
};
|
|
37
37
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations";
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
...(input.name != null && { name: input.name }),
|
|
50
|
-
...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
|
|
51
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
52
|
-
});
|
|
39
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
40
|
+
creatorDisplayName: [],
|
|
41
|
+
creatorMemberAbilities: (_) => (0, smithy_client_1._json)(_),
|
|
42
|
+
dataEncryptionMetadata: (_) => (0, smithy_client_1._json)(_),
|
|
43
|
+
description: [],
|
|
44
|
+
members: (_) => (0, smithy_client_1._json)(_),
|
|
45
|
+
name: [],
|
|
46
|
+
queryLogStatus: [],
|
|
47
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
48
|
+
}));
|
|
53
49
|
return new protocol_http_1.HttpRequest({
|
|
54
50
|
protocol,
|
|
55
51
|
hostname,
|
|
@@ -68,14 +64,14 @@ const se_CreateConfiguredTableCommand = async (input, context) => {
|
|
|
68
64
|
};
|
|
69
65
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuredTables";
|
|
70
66
|
let body;
|
|
71
|
-
body = JSON.stringify({
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
});
|
|
67
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
68
|
+
allowedColumns: (_) => (0, smithy_client_1._json)(_),
|
|
69
|
+
analysisMethod: [],
|
|
70
|
+
description: [],
|
|
71
|
+
name: [],
|
|
72
|
+
tableReference: (_) => (0, smithy_client_1._json)(_),
|
|
73
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
74
|
+
}));
|
|
79
75
|
return new protocol_http_1.HttpRequest({
|
|
80
76
|
protocol,
|
|
81
77
|
hostname,
|
|
@@ -96,12 +92,10 @@ const se_CreateConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
|
96
92
|
"/configuredTables/{configuredTableIdentifier}/analysisRule";
|
|
97
93
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
98
94
|
let body;
|
|
99
|
-
body = JSON.stringify({
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
...(input.analysisRuleType != null && { analysisRuleType: input.analysisRuleType }),
|
|
104
|
-
});
|
|
95
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
96
|
+
analysisRulePolicy: (_) => (0, smithy_client_1._json)(_),
|
|
97
|
+
analysisRuleType: [],
|
|
98
|
+
}));
|
|
105
99
|
return new protocol_http_1.HttpRequest({
|
|
106
100
|
protocol,
|
|
107
101
|
hostname,
|
|
@@ -122,13 +116,13 @@ const se_CreateConfiguredTableAssociationCommand = async (input, context) => {
|
|
|
122
116
|
"/memberships/{membershipIdentifier}/configuredTableAssociations";
|
|
123
117
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
124
118
|
let body;
|
|
125
|
-
body = JSON.stringify({
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
});
|
|
119
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
120
|
+
configuredTableIdentifier: [],
|
|
121
|
+
description: [],
|
|
122
|
+
name: [],
|
|
123
|
+
roleArn: [],
|
|
124
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
125
|
+
}));
|
|
132
126
|
return new protocol_http_1.HttpRequest({
|
|
133
127
|
protocol,
|
|
134
128
|
hostname,
|
|
@@ -147,11 +141,11 @@ const se_CreateMembershipCommand = async (input, context) => {
|
|
|
147
141
|
};
|
|
148
142
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships";
|
|
149
143
|
let body;
|
|
150
|
-
body = JSON.stringify({
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
});
|
|
144
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
145
|
+
collaborationIdentifier: [],
|
|
146
|
+
queryLogStatus: [],
|
|
147
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
148
|
+
}));
|
|
155
149
|
return new protocol_http_1.HttpRequest({
|
|
156
150
|
protocol,
|
|
157
151
|
hostname,
|
|
@@ -424,7 +418,7 @@ const se_ListCollaborationsCommand = async (input, context) => {
|
|
|
424
418
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
425
419
|
const headers = {};
|
|
426
420
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations";
|
|
427
|
-
const query = map({
|
|
421
|
+
const query = (0, smithy_client_1.map)({
|
|
428
422
|
nextToken: [, input.nextToken],
|
|
429
423
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
430
424
|
memberStatus: [, input.memberStatus],
|
|
@@ -448,7 +442,7 @@ const se_ListConfiguredTableAssociationsCommand = async (input, context) => {
|
|
|
448
442
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
449
443
|
"/memberships/{membershipIdentifier}/configuredTableAssociations";
|
|
450
444
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
451
|
-
const query = map({
|
|
445
|
+
const query = (0, smithy_client_1.map)({
|
|
452
446
|
nextToken: [, input.nextToken],
|
|
453
447
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
454
448
|
});
|
|
@@ -469,7 +463,7 @@ const se_ListConfiguredTablesCommand = async (input, context) => {
|
|
|
469
463
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
470
464
|
const headers = {};
|
|
471
465
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuredTables";
|
|
472
|
-
const query = map({
|
|
466
|
+
const query = (0, smithy_client_1.map)({
|
|
473
467
|
nextToken: [, input.nextToken],
|
|
474
468
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
475
469
|
});
|
|
@@ -492,7 +486,7 @@ const se_ListMembersCommand = async (input, context) => {
|
|
|
492
486
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
493
487
|
"/collaborations/{collaborationIdentifier}/members";
|
|
494
488
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
495
|
-
const query = map({
|
|
489
|
+
const query = (0, smithy_client_1.map)({
|
|
496
490
|
nextToken: [, input.nextToken],
|
|
497
491
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
498
492
|
});
|
|
@@ -513,7 +507,7 @@ const se_ListMembershipsCommand = async (input, context) => {
|
|
|
513
507
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
514
508
|
const headers = {};
|
|
515
509
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships";
|
|
516
|
-
const query = map({
|
|
510
|
+
const query = (0, smithy_client_1.map)({
|
|
517
511
|
nextToken: [, input.nextToken],
|
|
518
512
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
519
513
|
status: [, input.status],
|
|
@@ -537,7 +531,7 @@ const se_ListProtectedQueriesCommand = async (input, context) => {
|
|
|
537
531
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
538
532
|
"/memberships/{membershipIdentifier}/protectedQueries";
|
|
539
533
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
540
|
-
const query = map({
|
|
534
|
+
const query = (0, smithy_client_1.map)({
|
|
541
535
|
status: [, input.status],
|
|
542
536
|
nextToken: [, input.nextToken],
|
|
543
537
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -561,7 +555,7 @@ const se_ListSchemasCommand = async (input, context) => {
|
|
|
561
555
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
562
556
|
"/collaborations/{collaborationIdentifier}/schemas";
|
|
563
557
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
564
|
-
const query = map({
|
|
558
|
+
const query = (0, smithy_client_1.map)({
|
|
565
559
|
schemaType: [, input.schemaType],
|
|
566
560
|
nextToken: [, input.nextToken],
|
|
567
561
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -605,13 +599,11 @@ const se_StartProtectedQueryCommand = async (input, context) => {
|
|
|
605
599
|
"/memberships/{membershipIdentifier}/protectedQueries";
|
|
606
600
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
607
601
|
let body;
|
|
608
|
-
body = JSON.stringify({
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
...(input.type != null && { type: input.type }),
|
|
614
|
-
});
|
|
602
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
603
|
+
resultConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
604
|
+
sqlParameters: (_) => (0, smithy_client_1._json)(_),
|
|
605
|
+
type: [],
|
|
606
|
+
}));
|
|
615
607
|
return new protocol_http_1.HttpRequest({
|
|
616
608
|
protocol,
|
|
617
609
|
hostname,
|
|
@@ -631,9 +623,9 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
631
623
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
632
624
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
633
625
|
let body;
|
|
634
|
-
body = JSON.stringify({
|
|
635
|
-
|
|
636
|
-
});
|
|
626
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
627
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
628
|
+
}));
|
|
637
629
|
return new protocol_http_1.HttpRequest({
|
|
638
630
|
protocol,
|
|
639
631
|
hostname,
|
|
@@ -650,7 +642,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
650
642
|
const headers = {};
|
|
651
643
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
652
644
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
653
|
-
const query = map({
|
|
645
|
+
const query = (0, smithy_client_1.map)({
|
|
654
646
|
tagKeys: [
|
|
655
647
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
656
648
|
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
@@ -677,10 +669,10 @@ const se_UpdateCollaborationCommand = async (input, context) => {
|
|
|
677
669
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations/{collaborationIdentifier}";
|
|
678
670
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
679
671
|
let body;
|
|
680
|
-
body = JSON.stringify({
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
});
|
|
672
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
673
|
+
description: [],
|
|
674
|
+
name: [],
|
|
675
|
+
}));
|
|
684
676
|
return new protocol_http_1.HttpRequest({
|
|
685
677
|
protocol,
|
|
686
678
|
hostname,
|
|
@@ -701,10 +693,10 @@ const se_UpdateConfiguredTableCommand = async (input, context) => {
|
|
|
701
693
|
"/configuredTables/{configuredTableIdentifier}";
|
|
702
694
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
703
695
|
let body;
|
|
704
|
-
body = JSON.stringify({
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
});
|
|
696
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
697
|
+
description: [],
|
|
698
|
+
name: [],
|
|
699
|
+
}));
|
|
708
700
|
return new protocol_http_1.HttpRequest({
|
|
709
701
|
protocol,
|
|
710
702
|
hostname,
|
|
@@ -726,11 +718,9 @@ const se_UpdateConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
|
726
718
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
727
719
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "analysisRuleType", () => input.analysisRuleType, "{analysisRuleType}", false);
|
|
728
720
|
let body;
|
|
729
|
-
body = JSON.stringify({
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
}),
|
|
733
|
-
});
|
|
721
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
722
|
+
analysisRulePolicy: (_) => (0, smithy_client_1._json)(_),
|
|
723
|
+
}));
|
|
734
724
|
return new protocol_http_1.HttpRequest({
|
|
735
725
|
protocol,
|
|
736
726
|
hostname,
|
|
@@ -752,10 +742,10 @@ const se_UpdateConfiguredTableAssociationCommand = async (input, context) => {
|
|
|
752
742
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configuredTableAssociationIdentifier", () => input.configuredTableAssociationIdentifier, "{configuredTableAssociationIdentifier}", false);
|
|
753
743
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
754
744
|
let body;
|
|
755
|
-
body = JSON.stringify({
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
});
|
|
745
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
746
|
+
description: [],
|
|
747
|
+
roleArn: [],
|
|
748
|
+
}));
|
|
759
749
|
return new protocol_http_1.HttpRequest({
|
|
760
750
|
protocol,
|
|
761
751
|
hostname,
|
|
@@ -775,9 +765,9 @@ const se_UpdateMembershipCommand = async (input, context) => {
|
|
|
775
765
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships/{membershipIdentifier}";
|
|
776
766
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
777
767
|
let body;
|
|
778
|
-
body = JSON.stringify({
|
|
779
|
-
|
|
780
|
-
});
|
|
768
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
769
|
+
queryLogStatus: [],
|
|
770
|
+
}));
|
|
781
771
|
return new protocol_http_1.HttpRequest({
|
|
782
772
|
protocol,
|
|
783
773
|
hostname,
|
|
@@ -799,9 +789,9 @@ const se_UpdateProtectedQueryCommand = async (input, context) => {
|
|
|
799
789
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
800
790
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "protectedQueryIdentifier", () => input.protectedQueryIdentifier, "{protectedQueryIdentifier}", false);
|
|
801
791
|
let body;
|
|
802
|
-
body = JSON.stringify({
|
|
803
|
-
|
|
804
|
-
});
|
|
792
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
793
|
+
targetStatus: [],
|
|
794
|
+
}));
|
|
805
795
|
return new protocol_http_1.HttpRequest({
|
|
806
796
|
protocol,
|
|
807
797
|
hostname,
|
|
@@ -817,16 +807,15 @@ const de_BatchGetSchemaCommand = async (output, context) => {
|
|
|
817
807
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
818
808
|
return de_BatchGetSchemaCommandError(output, context);
|
|
819
809
|
}
|
|
820
|
-
const contents = map({
|
|
810
|
+
const contents = (0, smithy_client_1.map)({
|
|
821
811
|
$metadata: deserializeMetadata(output),
|
|
822
812
|
});
|
|
823
813
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
}
|
|
814
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
815
|
+
errors: smithy_client_1._json,
|
|
816
|
+
schemas: (_) => de_SchemaList(_, context),
|
|
817
|
+
});
|
|
818
|
+
Object.assign(contents, doc);
|
|
830
819
|
return contents;
|
|
831
820
|
};
|
|
832
821
|
exports.de_BatchGetSchemaCommand = de_BatchGetSchemaCommand;
|
|
@@ -854,10 +843,9 @@ const de_BatchGetSchemaCommandError = async (output, context) => {
|
|
|
854
843
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
855
844
|
default:
|
|
856
845
|
const parsedBody = parsedOutput.body;
|
|
857
|
-
|
|
846
|
+
return throwDefaultError({
|
|
858
847
|
output,
|
|
859
848
|
parsedBody,
|
|
860
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
861
849
|
errorCode,
|
|
862
850
|
});
|
|
863
851
|
}
|
|
@@ -866,13 +854,14 @@ const de_CreateCollaborationCommand = async (output, context) => {
|
|
|
866
854
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
867
855
|
return de_CreateCollaborationCommandError(output, context);
|
|
868
856
|
}
|
|
869
|
-
const contents = map({
|
|
857
|
+
const contents = (0, smithy_client_1.map)({
|
|
870
858
|
$metadata: deserializeMetadata(output),
|
|
871
859
|
});
|
|
872
860
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
}
|
|
861
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
862
|
+
collaboration: (_) => de_Collaboration(_, context),
|
|
863
|
+
});
|
|
864
|
+
Object.assign(contents, doc);
|
|
876
865
|
return contents;
|
|
877
866
|
};
|
|
878
867
|
exports.de_CreateCollaborationCommand = de_CreateCollaborationCommand;
|
|
@@ -900,10 +889,9 @@ const de_CreateCollaborationCommandError = async (output, context) => {
|
|
|
900
889
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
901
890
|
default:
|
|
902
891
|
const parsedBody = parsedOutput.body;
|
|
903
|
-
|
|
892
|
+
return throwDefaultError({
|
|
904
893
|
output,
|
|
905
894
|
parsedBody,
|
|
906
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
907
895
|
errorCode,
|
|
908
896
|
});
|
|
909
897
|
}
|
|
@@ -912,13 +900,14 @@ const de_CreateConfiguredTableCommand = async (output, context) => {
|
|
|
912
900
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
913
901
|
return de_CreateConfiguredTableCommandError(output, context);
|
|
914
902
|
}
|
|
915
|
-
const contents = map({
|
|
903
|
+
const contents = (0, smithy_client_1.map)({
|
|
916
904
|
$metadata: deserializeMetadata(output),
|
|
917
905
|
});
|
|
918
906
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
}
|
|
907
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
908
|
+
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
909
|
+
});
|
|
910
|
+
Object.assign(contents, doc);
|
|
922
911
|
return contents;
|
|
923
912
|
};
|
|
924
913
|
exports.de_CreateConfiguredTableCommand = de_CreateConfiguredTableCommand;
|
|
@@ -952,10 +941,9 @@ const de_CreateConfiguredTableCommandError = async (output, context) => {
|
|
|
952
941
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
953
942
|
default:
|
|
954
943
|
const parsedBody = parsedOutput.body;
|
|
955
|
-
|
|
944
|
+
return throwDefaultError({
|
|
956
945
|
output,
|
|
957
946
|
parsedBody,
|
|
958
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
959
947
|
errorCode,
|
|
960
948
|
});
|
|
961
949
|
}
|
|
@@ -964,13 +952,14 @@ const de_CreateConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
|
964
952
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
965
953
|
return de_CreateConfiguredTableAnalysisRuleCommandError(output, context);
|
|
966
954
|
}
|
|
967
|
-
const contents = map({
|
|
955
|
+
const contents = (0, smithy_client_1.map)({
|
|
968
956
|
$metadata: deserializeMetadata(output),
|
|
969
957
|
});
|
|
970
958
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
}
|
|
959
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
960
|
+
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
961
|
+
});
|
|
962
|
+
Object.assign(contents, doc);
|
|
974
963
|
return contents;
|
|
975
964
|
};
|
|
976
965
|
exports.de_CreateConfiguredTableAnalysisRuleCommand = de_CreateConfiguredTableAnalysisRuleCommand;
|
|
@@ -1001,10 +990,9 @@ const de_CreateConfiguredTableAnalysisRuleCommandError = async (output, context)
|
|
|
1001
990
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1002
991
|
default:
|
|
1003
992
|
const parsedBody = parsedOutput.body;
|
|
1004
|
-
|
|
993
|
+
return throwDefaultError({
|
|
1005
994
|
output,
|
|
1006
995
|
parsedBody,
|
|
1007
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1008
996
|
errorCode,
|
|
1009
997
|
});
|
|
1010
998
|
}
|
|
@@ -1013,13 +1001,14 @@ const de_CreateConfiguredTableAssociationCommand = async (output, context) => {
|
|
|
1013
1001
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1014
1002
|
return de_CreateConfiguredTableAssociationCommandError(output, context);
|
|
1015
1003
|
}
|
|
1016
|
-
const contents = map({
|
|
1004
|
+
const contents = (0, smithy_client_1.map)({
|
|
1017
1005
|
$metadata: deserializeMetadata(output),
|
|
1018
1006
|
});
|
|
1019
1007
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
}
|
|
1008
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1009
|
+
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
1010
|
+
});
|
|
1011
|
+
Object.assign(contents, doc);
|
|
1023
1012
|
return contents;
|
|
1024
1013
|
};
|
|
1025
1014
|
exports.de_CreateConfiguredTableAssociationCommand = de_CreateConfiguredTableAssociationCommand;
|
|
@@ -1053,10 +1042,9 @@ const de_CreateConfiguredTableAssociationCommandError = async (output, context)
|
|
|
1053
1042
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1054
1043
|
default:
|
|
1055
1044
|
const parsedBody = parsedOutput.body;
|
|
1056
|
-
|
|
1045
|
+
return throwDefaultError({
|
|
1057
1046
|
output,
|
|
1058
1047
|
parsedBody,
|
|
1059
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1060
1048
|
errorCode,
|
|
1061
1049
|
});
|
|
1062
1050
|
}
|
|
@@ -1065,13 +1053,14 @@ const de_CreateMembershipCommand = async (output, context) => {
|
|
|
1065
1053
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1066
1054
|
return de_CreateMembershipCommandError(output, context);
|
|
1067
1055
|
}
|
|
1068
|
-
const contents = map({
|
|
1056
|
+
const contents = (0, smithy_client_1.map)({
|
|
1069
1057
|
$metadata: deserializeMetadata(output),
|
|
1070
1058
|
});
|
|
1071
1059
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
}
|
|
1060
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1061
|
+
membership: (_) => de_Membership(_, context),
|
|
1062
|
+
});
|
|
1063
|
+
Object.assign(contents, doc);
|
|
1075
1064
|
return contents;
|
|
1076
1065
|
};
|
|
1077
1066
|
exports.de_CreateMembershipCommand = de_CreateMembershipCommand;
|
|
@@ -1105,10 +1094,9 @@ const de_CreateMembershipCommandError = async (output, context) => {
|
|
|
1105
1094
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1106
1095
|
default:
|
|
1107
1096
|
const parsedBody = parsedOutput.body;
|
|
1108
|
-
|
|
1097
|
+
return throwDefaultError({
|
|
1109
1098
|
output,
|
|
1110
1099
|
parsedBody,
|
|
1111
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1112
1100
|
errorCode,
|
|
1113
1101
|
});
|
|
1114
1102
|
}
|
|
@@ -1117,7 +1105,7 @@ const de_DeleteCollaborationCommand = async (output, context) => {
|
|
|
1117
1105
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1118
1106
|
return de_DeleteCollaborationCommandError(output, context);
|
|
1119
1107
|
}
|
|
1120
|
-
const contents = map({
|
|
1108
|
+
const contents = (0, smithy_client_1.map)({
|
|
1121
1109
|
$metadata: deserializeMetadata(output),
|
|
1122
1110
|
});
|
|
1123
1111
|
await collectBody(output.body, context);
|
|
@@ -1145,10 +1133,9 @@ const de_DeleteCollaborationCommandError = async (output, context) => {
|
|
|
1145
1133
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1146
1134
|
default:
|
|
1147
1135
|
const parsedBody = parsedOutput.body;
|
|
1148
|
-
|
|
1136
|
+
return throwDefaultError({
|
|
1149
1137
|
output,
|
|
1150
1138
|
parsedBody,
|
|
1151
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1152
1139
|
errorCode,
|
|
1153
1140
|
});
|
|
1154
1141
|
}
|
|
@@ -1157,7 +1144,7 @@ const de_DeleteConfiguredTableCommand = async (output, context) => {
|
|
|
1157
1144
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1158
1145
|
return de_DeleteConfiguredTableCommandError(output, context);
|
|
1159
1146
|
}
|
|
1160
|
-
const contents = map({
|
|
1147
|
+
const contents = (0, smithy_client_1.map)({
|
|
1161
1148
|
$metadata: deserializeMetadata(output),
|
|
1162
1149
|
});
|
|
1163
1150
|
await collectBody(output.body, context);
|
|
@@ -1191,10 +1178,9 @@ const de_DeleteConfiguredTableCommandError = async (output, context) => {
|
|
|
1191
1178
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1192
1179
|
default:
|
|
1193
1180
|
const parsedBody = parsedOutput.body;
|
|
1194
|
-
|
|
1181
|
+
return throwDefaultError({
|
|
1195
1182
|
output,
|
|
1196
1183
|
parsedBody,
|
|
1197
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1198
1184
|
errorCode,
|
|
1199
1185
|
});
|
|
1200
1186
|
}
|
|
@@ -1203,7 +1189,7 @@ const de_DeleteConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
|
1203
1189
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1204
1190
|
return de_DeleteConfiguredTableAnalysisRuleCommandError(output, context);
|
|
1205
1191
|
}
|
|
1206
|
-
const contents = map({
|
|
1192
|
+
const contents = (0, smithy_client_1.map)({
|
|
1207
1193
|
$metadata: deserializeMetadata(output),
|
|
1208
1194
|
});
|
|
1209
1195
|
await collectBody(output.body, context);
|
|
@@ -1237,10 +1223,9 @@ const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context)
|
|
|
1237
1223
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1238
1224
|
default:
|
|
1239
1225
|
const parsedBody = parsedOutput.body;
|
|
1240
|
-
|
|
1226
|
+
return throwDefaultError({
|
|
1241
1227
|
output,
|
|
1242
1228
|
parsedBody,
|
|
1243
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1244
1229
|
errorCode,
|
|
1245
1230
|
});
|
|
1246
1231
|
}
|
|
@@ -1249,7 +1234,7 @@ const de_DeleteConfiguredTableAssociationCommand = async (output, context) => {
|
|
|
1249
1234
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1250
1235
|
return de_DeleteConfiguredTableAssociationCommandError(output, context);
|
|
1251
1236
|
}
|
|
1252
|
-
const contents = map({
|
|
1237
|
+
const contents = (0, smithy_client_1.map)({
|
|
1253
1238
|
$metadata: deserializeMetadata(output),
|
|
1254
1239
|
});
|
|
1255
1240
|
await collectBody(output.body, context);
|
|
@@ -1283,10 +1268,9 @@ const de_DeleteConfiguredTableAssociationCommandError = async (output, context)
|
|
|
1283
1268
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1284
1269
|
default:
|
|
1285
1270
|
const parsedBody = parsedOutput.body;
|
|
1286
|
-
|
|
1271
|
+
return throwDefaultError({
|
|
1287
1272
|
output,
|
|
1288
1273
|
parsedBody,
|
|
1289
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1290
1274
|
errorCode,
|
|
1291
1275
|
});
|
|
1292
1276
|
}
|
|
@@ -1295,7 +1279,7 @@ const de_DeleteMemberCommand = async (output, context) => {
|
|
|
1295
1279
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1296
1280
|
return de_DeleteMemberCommandError(output, context);
|
|
1297
1281
|
}
|
|
1298
|
-
const contents = map({
|
|
1282
|
+
const contents = (0, smithy_client_1.map)({
|
|
1299
1283
|
$metadata: deserializeMetadata(output),
|
|
1300
1284
|
});
|
|
1301
1285
|
await collectBody(output.body, context);
|
|
@@ -1329,10 +1313,9 @@ const de_DeleteMemberCommandError = async (output, context) => {
|
|
|
1329
1313
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1330
1314
|
default:
|
|
1331
1315
|
const parsedBody = parsedOutput.body;
|
|
1332
|
-
|
|
1316
|
+
return throwDefaultError({
|
|
1333
1317
|
output,
|
|
1334
1318
|
parsedBody,
|
|
1335
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1336
1319
|
errorCode,
|
|
1337
1320
|
});
|
|
1338
1321
|
}
|
|
@@ -1341,7 +1324,7 @@ const de_DeleteMembershipCommand = async (output, context) => {
|
|
|
1341
1324
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1342
1325
|
return de_DeleteMembershipCommandError(output, context);
|
|
1343
1326
|
}
|
|
1344
|
-
const contents = map({
|
|
1327
|
+
const contents = (0, smithy_client_1.map)({
|
|
1345
1328
|
$metadata: deserializeMetadata(output),
|
|
1346
1329
|
});
|
|
1347
1330
|
await collectBody(output.body, context);
|
|
@@ -1375,10 +1358,9 @@ const de_DeleteMembershipCommandError = async (output, context) => {
|
|
|
1375
1358
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1376
1359
|
default:
|
|
1377
1360
|
const parsedBody = parsedOutput.body;
|
|
1378
|
-
|
|
1361
|
+
return throwDefaultError({
|
|
1379
1362
|
output,
|
|
1380
1363
|
parsedBody,
|
|
1381
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1382
1364
|
errorCode,
|
|
1383
1365
|
});
|
|
1384
1366
|
}
|
|
@@ -1387,13 +1369,14 @@ const de_GetCollaborationCommand = async (output, context) => {
|
|
|
1387
1369
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1388
1370
|
return de_GetCollaborationCommandError(output, context);
|
|
1389
1371
|
}
|
|
1390
|
-
const contents = map({
|
|
1372
|
+
const contents = (0, smithy_client_1.map)({
|
|
1391
1373
|
$metadata: deserializeMetadata(output),
|
|
1392
1374
|
});
|
|
1393
1375
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
}
|
|
1376
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1377
|
+
collaboration: (_) => de_Collaboration(_, context),
|
|
1378
|
+
});
|
|
1379
|
+
Object.assign(contents, doc);
|
|
1397
1380
|
return contents;
|
|
1398
1381
|
};
|
|
1399
1382
|
exports.de_GetCollaborationCommand = de_GetCollaborationCommand;
|
|
@@ -1418,10 +1401,9 @@ const de_GetCollaborationCommandError = async (output, context) => {
|
|
|
1418
1401
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1419
1402
|
default:
|
|
1420
1403
|
const parsedBody = parsedOutput.body;
|
|
1421
|
-
|
|
1404
|
+
return throwDefaultError({
|
|
1422
1405
|
output,
|
|
1423
1406
|
parsedBody,
|
|
1424
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1425
1407
|
errorCode,
|
|
1426
1408
|
});
|
|
1427
1409
|
}
|
|
@@ -1430,13 +1412,14 @@ const de_GetConfiguredTableCommand = async (output, context) => {
|
|
|
1430
1412
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1431
1413
|
return de_GetConfiguredTableCommandError(output, context);
|
|
1432
1414
|
}
|
|
1433
|
-
const contents = map({
|
|
1415
|
+
const contents = (0, smithy_client_1.map)({
|
|
1434
1416
|
$metadata: deserializeMetadata(output),
|
|
1435
1417
|
});
|
|
1436
1418
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
}
|
|
1419
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1420
|
+
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
1421
|
+
});
|
|
1422
|
+
Object.assign(contents, doc);
|
|
1440
1423
|
return contents;
|
|
1441
1424
|
};
|
|
1442
1425
|
exports.de_GetConfiguredTableCommand = de_GetConfiguredTableCommand;
|
|
@@ -1464,10 +1447,9 @@ const de_GetConfiguredTableCommandError = async (output, context) => {
|
|
|
1464
1447
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1465
1448
|
default:
|
|
1466
1449
|
const parsedBody = parsedOutput.body;
|
|
1467
|
-
|
|
1450
|
+
return throwDefaultError({
|
|
1468
1451
|
output,
|
|
1469
1452
|
parsedBody,
|
|
1470
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1471
1453
|
errorCode,
|
|
1472
1454
|
});
|
|
1473
1455
|
}
|
|
@@ -1476,13 +1458,14 @@ const de_GetConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
|
1476
1458
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1477
1459
|
return de_GetConfiguredTableAnalysisRuleCommandError(output, context);
|
|
1478
1460
|
}
|
|
1479
|
-
const contents = map({
|
|
1461
|
+
const contents = (0, smithy_client_1.map)({
|
|
1480
1462
|
$metadata: deserializeMetadata(output),
|
|
1481
1463
|
});
|
|
1482
1464
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
}
|
|
1465
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1466
|
+
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
1467
|
+
});
|
|
1468
|
+
Object.assign(contents, doc);
|
|
1486
1469
|
return contents;
|
|
1487
1470
|
};
|
|
1488
1471
|
exports.de_GetConfiguredTableAnalysisRuleCommand = de_GetConfiguredTableAnalysisRuleCommand;
|
|
@@ -1510,10 +1493,9 @@ const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) =>
|
|
|
1510
1493
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1511
1494
|
default:
|
|
1512
1495
|
const parsedBody = parsedOutput.body;
|
|
1513
|
-
|
|
1496
|
+
return throwDefaultError({
|
|
1514
1497
|
output,
|
|
1515
1498
|
parsedBody,
|
|
1516
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1517
1499
|
errorCode,
|
|
1518
1500
|
});
|
|
1519
1501
|
}
|
|
@@ -1522,13 +1504,14 @@ const de_GetConfiguredTableAssociationCommand = async (output, context) => {
|
|
|
1522
1504
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1523
1505
|
return de_GetConfiguredTableAssociationCommandError(output, context);
|
|
1524
1506
|
}
|
|
1525
|
-
const contents = map({
|
|
1507
|
+
const contents = (0, smithy_client_1.map)({
|
|
1526
1508
|
$metadata: deserializeMetadata(output),
|
|
1527
1509
|
});
|
|
1528
1510
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
}
|
|
1511
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1512
|
+
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
1513
|
+
});
|
|
1514
|
+
Object.assign(contents, doc);
|
|
1532
1515
|
return contents;
|
|
1533
1516
|
};
|
|
1534
1517
|
exports.de_GetConfiguredTableAssociationCommand = de_GetConfiguredTableAssociationCommand;
|
|
@@ -1556,10 +1539,9 @@ const de_GetConfiguredTableAssociationCommandError = async (output, context) =>
|
|
|
1556
1539
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1557
1540
|
default:
|
|
1558
1541
|
const parsedBody = parsedOutput.body;
|
|
1559
|
-
|
|
1542
|
+
return throwDefaultError({
|
|
1560
1543
|
output,
|
|
1561
1544
|
parsedBody,
|
|
1562
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1563
1545
|
errorCode,
|
|
1564
1546
|
});
|
|
1565
1547
|
}
|
|
@@ -1568,13 +1550,14 @@ const de_GetMembershipCommand = async (output, context) => {
|
|
|
1568
1550
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1569
1551
|
return de_GetMembershipCommandError(output, context);
|
|
1570
1552
|
}
|
|
1571
|
-
const contents = map({
|
|
1553
|
+
const contents = (0, smithy_client_1.map)({
|
|
1572
1554
|
$metadata: deserializeMetadata(output),
|
|
1573
1555
|
});
|
|
1574
1556
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
}
|
|
1557
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1558
|
+
membership: (_) => de_Membership(_, context),
|
|
1559
|
+
});
|
|
1560
|
+
Object.assign(contents, doc);
|
|
1578
1561
|
return contents;
|
|
1579
1562
|
};
|
|
1580
1563
|
exports.de_GetMembershipCommand = de_GetMembershipCommand;
|
|
@@ -1602,10 +1585,9 @@ const de_GetMembershipCommandError = async (output, context) => {
|
|
|
1602
1585
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1603
1586
|
default:
|
|
1604
1587
|
const parsedBody = parsedOutput.body;
|
|
1605
|
-
|
|
1588
|
+
return throwDefaultError({
|
|
1606
1589
|
output,
|
|
1607
1590
|
parsedBody,
|
|
1608
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1609
1591
|
errorCode,
|
|
1610
1592
|
});
|
|
1611
1593
|
}
|
|
@@ -1614,13 +1596,14 @@ const de_GetProtectedQueryCommand = async (output, context) => {
|
|
|
1614
1596
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1615
1597
|
return de_GetProtectedQueryCommandError(output, context);
|
|
1616
1598
|
}
|
|
1617
|
-
const contents = map({
|
|
1599
|
+
const contents = (0, smithy_client_1.map)({
|
|
1618
1600
|
$metadata: deserializeMetadata(output),
|
|
1619
1601
|
});
|
|
1620
1602
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
}
|
|
1603
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1604
|
+
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
1605
|
+
});
|
|
1606
|
+
Object.assign(contents, doc);
|
|
1624
1607
|
return contents;
|
|
1625
1608
|
};
|
|
1626
1609
|
exports.de_GetProtectedQueryCommand = de_GetProtectedQueryCommand;
|
|
@@ -1648,10 +1631,9 @@ const de_GetProtectedQueryCommandError = async (output, context) => {
|
|
|
1648
1631
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1649
1632
|
default:
|
|
1650
1633
|
const parsedBody = parsedOutput.body;
|
|
1651
|
-
|
|
1634
|
+
return throwDefaultError({
|
|
1652
1635
|
output,
|
|
1653
1636
|
parsedBody,
|
|
1654
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1655
1637
|
errorCode,
|
|
1656
1638
|
});
|
|
1657
1639
|
}
|
|
@@ -1660,13 +1642,14 @@ const de_GetSchemaCommand = async (output, context) => {
|
|
|
1660
1642
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1661
1643
|
return de_GetSchemaCommandError(output, context);
|
|
1662
1644
|
}
|
|
1663
|
-
const contents = map({
|
|
1645
|
+
const contents = (0, smithy_client_1.map)({
|
|
1664
1646
|
$metadata: deserializeMetadata(output),
|
|
1665
1647
|
});
|
|
1666
1648
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
}
|
|
1649
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1650
|
+
schema: (_) => de_Schema(_, context),
|
|
1651
|
+
});
|
|
1652
|
+
Object.assign(contents, doc);
|
|
1670
1653
|
return contents;
|
|
1671
1654
|
};
|
|
1672
1655
|
exports.de_GetSchemaCommand = de_GetSchemaCommand;
|
|
@@ -1694,10 +1677,9 @@ const de_GetSchemaCommandError = async (output, context) => {
|
|
|
1694
1677
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1695
1678
|
default:
|
|
1696
1679
|
const parsedBody = parsedOutput.body;
|
|
1697
|
-
|
|
1680
|
+
return throwDefaultError({
|
|
1698
1681
|
output,
|
|
1699
1682
|
parsedBody,
|
|
1700
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1701
1683
|
errorCode,
|
|
1702
1684
|
});
|
|
1703
1685
|
}
|
|
@@ -1706,13 +1688,14 @@ const de_GetSchemaAnalysisRuleCommand = async (output, context) => {
|
|
|
1706
1688
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1707
1689
|
return de_GetSchemaAnalysisRuleCommandError(output, context);
|
|
1708
1690
|
}
|
|
1709
|
-
const contents = map({
|
|
1691
|
+
const contents = (0, smithy_client_1.map)({
|
|
1710
1692
|
$metadata: deserializeMetadata(output),
|
|
1711
1693
|
});
|
|
1712
1694
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
}
|
|
1695
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1696
|
+
analysisRule: (_) => de_AnalysisRule(_, context),
|
|
1697
|
+
});
|
|
1698
|
+
Object.assign(contents, doc);
|
|
1716
1699
|
return contents;
|
|
1717
1700
|
};
|
|
1718
1701
|
exports.de_GetSchemaAnalysisRuleCommand = de_GetSchemaAnalysisRuleCommand;
|
|
@@ -1740,10 +1723,9 @@ const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
|
|
|
1740
1723
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1741
1724
|
default:
|
|
1742
1725
|
const parsedBody = parsedOutput.body;
|
|
1743
|
-
|
|
1726
|
+
return throwDefaultError({
|
|
1744
1727
|
output,
|
|
1745
1728
|
parsedBody,
|
|
1746
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1747
1729
|
errorCode,
|
|
1748
1730
|
});
|
|
1749
1731
|
}
|
|
@@ -1752,16 +1734,15 @@ const de_ListCollaborationsCommand = async (output, context) => {
|
|
|
1752
1734
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1753
1735
|
return de_ListCollaborationsCommandError(output, context);
|
|
1754
1736
|
}
|
|
1755
|
-
const contents = map({
|
|
1737
|
+
const contents = (0, smithy_client_1.map)({
|
|
1756
1738
|
$metadata: deserializeMetadata(output),
|
|
1757
1739
|
});
|
|
1758
1740
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
}
|
|
1741
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1742
|
+
collaborationList: (_) => de_CollaborationSummaryList(_, context),
|
|
1743
|
+
nextToken: smithy_client_1.expectString,
|
|
1744
|
+
});
|
|
1745
|
+
Object.assign(contents, doc);
|
|
1765
1746
|
return contents;
|
|
1766
1747
|
};
|
|
1767
1748
|
exports.de_ListCollaborationsCommand = de_ListCollaborationsCommand;
|
|
@@ -1786,10 +1767,9 @@ const de_ListCollaborationsCommandError = async (output, context) => {
|
|
|
1786
1767
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1787
1768
|
default:
|
|
1788
1769
|
const parsedBody = parsedOutput.body;
|
|
1789
|
-
|
|
1770
|
+
return throwDefaultError({
|
|
1790
1771
|
output,
|
|
1791
1772
|
parsedBody,
|
|
1792
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1793
1773
|
errorCode,
|
|
1794
1774
|
});
|
|
1795
1775
|
}
|
|
@@ -1798,16 +1778,15 @@ const de_ListConfiguredTableAssociationsCommand = async (output, context) => {
|
|
|
1798
1778
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1799
1779
|
return de_ListConfiguredTableAssociationsCommandError(output, context);
|
|
1800
1780
|
}
|
|
1801
|
-
const contents = map({
|
|
1781
|
+
const contents = (0, smithy_client_1.map)({
|
|
1802
1782
|
$metadata: deserializeMetadata(output),
|
|
1803
1783
|
});
|
|
1804
1784
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
}
|
|
1785
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1786
|
+
configuredTableAssociationSummaries: (_) => de_ConfiguredTableAssociationSummaryList(_, context),
|
|
1787
|
+
nextToken: smithy_client_1.expectString,
|
|
1788
|
+
});
|
|
1789
|
+
Object.assign(contents, doc);
|
|
1811
1790
|
return contents;
|
|
1812
1791
|
};
|
|
1813
1792
|
exports.de_ListConfiguredTableAssociationsCommand = de_ListConfiguredTableAssociationsCommand;
|
|
@@ -1835,10 +1814,9 @@ const de_ListConfiguredTableAssociationsCommandError = async (output, context) =
|
|
|
1835
1814
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1836
1815
|
default:
|
|
1837
1816
|
const parsedBody = parsedOutput.body;
|
|
1838
|
-
|
|
1817
|
+
return throwDefaultError({
|
|
1839
1818
|
output,
|
|
1840
1819
|
parsedBody,
|
|
1841
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1842
1820
|
errorCode,
|
|
1843
1821
|
});
|
|
1844
1822
|
}
|
|
@@ -1847,16 +1825,15 @@ const de_ListConfiguredTablesCommand = async (output, context) => {
|
|
|
1847
1825
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1848
1826
|
return de_ListConfiguredTablesCommandError(output, context);
|
|
1849
1827
|
}
|
|
1850
|
-
const contents = map({
|
|
1828
|
+
const contents = (0, smithy_client_1.map)({
|
|
1851
1829
|
$metadata: deserializeMetadata(output),
|
|
1852
1830
|
});
|
|
1853
1831
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
}
|
|
1832
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1833
|
+
configuredTableSummaries: (_) => de_ConfiguredTableSummaryList(_, context),
|
|
1834
|
+
nextToken: smithy_client_1.expectString,
|
|
1835
|
+
});
|
|
1836
|
+
Object.assign(contents, doc);
|
|
1860
1837
|
return contents;
|
|
1861
1838
|
};
|
|
1862
1839
|
exports.de_ListConfiguredTablesCommand = de_ListConfiguredTablesCommand;
|
|
@@ -1881,10 +1858,9 @@ const de_ListConfiguredTablesCommandError = async (output, context) => {
|
|
|
1881
1858
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1882
1859
|
default:
|
|
1883
1860
|
const parsedBody = parsedOutput.body;
|
|
1884
|
-
|
|
1861
|
+
return throwDefaultError({
|
|
1885
1862
|
output,
|
|
1886
1863
|
parsedBody,
|
|
1887
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1888
1864
|
errorCode,
|
|
1889
1865
|
});
|
|
1890
1866
|
}
|
|
@@ -1893,16 +1869,15 @@ const de_ListMembersCommand = async (output, context) => {
|
|
|
1893
1869
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1894
1870
|
return de_ListMembersCommandError(output, context);
|
|
1895
1871
|
}
|
|
1896
|
-
const contents = map({
|
|
1872
|
+
const contents = (0, smithy_client_1.map)({
|
|
1897
1873
|
$metadata: deserializeMetadata(output),
|
|
1898
1874
|
});
|
|
1899
1875
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
}
|
|
1876
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1877
|
+
memberSummaries: (_) => de_MemberSummaryList(_, context),
|
|
1878
|
+
nextToken: smithy_client_1.expectString,
|
|
1879
|
+
});
|
|
1880
|
+
Object.assign(contents, doc);
|
|
1906
1881
|
return contents;
|
|
1907
1882
|
};
|
|
1908
1883
|
exports.de_ListMembersCommand = de_ListMembersCommand;
|
|
@@ -1930,10 +1905,9 @@ const de_ListMembersCommandError = async (output, context) => {
|
|
|
1930
1905
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1931
1906
|
default:
|
|
1932
1907
|
const parsedBody = parsedOutput.body;
|
|
1933
|
-
|
|
1908
|
+
return throwDefaultError({
|
|
1934
1909
|
output,
|
|
1935
1910
|
parsedBody,
|
|
1936
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1937
1911
|
errorCode,
|
|
1938
1912
|
});
|
|
1939
1913
|
}
|
|
@@ -1942,16 +1916,15 @@ const de_ListMembershipsCommand = async (output, context) => {
|
|
|
1942
1916
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1943
1917
|
return de_ListMembershipsCommandError(output, context);
|
|
1944
1918
|
}
|
|
1945
|
-
const contents = map({
|
|
1919
|
+
const contents = (0, smithy_client_1.map)({
|
|
1946
1920
|
$metadata: deserializeMetadata(output),
|
|
1947
1921
|
});
|
|
1948
1922
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
}
|
|
1923
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1924
|
+
membershipSummaries: (_) => de_MembershipSummaryList(_, context),
|
|
1925
|
+
nextToken: smithy_client_1.expectString,
|
|
1926
|
+
});
|
|
1927
|
+
Object.assign(contents, doc);
|
|
1955
1928
|
return contents;
|
|
1956
1929
|
};
|
|
1957
1930
|
exports.de_ListMembershipsCommand = de_ListMembershipsCommand;
|
|
@@ -1976,10 +1949,9 @@ const de_ListMembershipsCommandError = async (output, context) => {
|
|
|
1976
1949
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1977
1950
|
default:
|
|
1978
1951
|
const parsedBody = parsedOutput.body;
|
|
1979
|
-
|
|
1952
|
+
return throwDefaultError({
|
|
1980
1953
|
output,
|
|
1981
1954
|
parsedBody,
|
|
1982
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
1983
1955
|
errorCode,
|
|
1984
1956
|
});
|
|
1985
1957
|
}
|
|
@@ -1988,16 +1960,15 @@ const de_ListProtectedQueriesCommand = async (output, context) => {
|
|
|
1988
1960
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1989
1961
|
return de_ListProtectedQueriesCommandError(output, context);
|
|
1990
1962
|
}
|
|
1991
|
-
const contents = map({
|
|
1963
|
+
const contents = (0, smithy_client_1.map)({
|
|
1992
1964
|
$metadata: deserializeMetadata(output),
|
|
1993
1965
|
});
|
|
1994
1966
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
}
|
|
1967
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1968
|
+
nextToken: smithy_client_1.expectString,
|
|
1969
|
+
protectedQueries: (_) => de_ProtectedQuerySummaryList(_, context),
|
|
1970
|
+
});
|
|
1971
|
+
Object.assign(contents, doc);
|
|
2001
1972
|
return contents;
|
|
2002
1973
|
};
|
|
2003
1974
|
exports.de_ListProtectedQueriesCommand = de_ListProtectedQueriesCommand;
|
|
@@ -2025,10 +1996,9 @@ const de_ListProtectedQueriesCommandError = async (output, context) => {
|
|
|
2025
1996
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2026
1997
|
default:
|
|
2027
1998
|
const parsedBody = parsedOutput.body;
|
|
2028
|
-
|
|
1999
|
+
return throwDefaultError({
|
|
2029
2000
|
output,
|
|
2030
2001
|
parsedBody,
|
|
2031
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2032
2002
|
errorCode,
|
|
2033
2003
|
});
|
|
2034
2004
|
}
|
|
@@ -2037,16 +2007,15 @@ const de_ListSchemasCommand = async (output, context) => {
|
|
|
2037
2007
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2038
2008
|
return de_ListSchemasCommandError(output, context);
|
|
2039
2009
|
}
|
|
2040
|
-
const contents = map({
|
|
2010
|
+
const contents = (0, smithy_client_1.map)({
|
|
2041
2011
|
$metadata: deserializeMetadata(output),
|
|
2042
2012
|
});
|
|
2043
2013
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
}
|
|
2014
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2015
|
+
nextToken: smithy_client_1.expectString,
|
|
2016
|
+
schemaSummaries: (_) => de_SchemaSummaryList(_, context),
|
|
2017
|
+
});
|
|
2018
|
+
Object.assign(contents, doc);
|
|
2050
2019
|
return contents;
|
|
2051
2020
|
};
|
|
2052
2021
|
exports.de_ListSchemasCommand = de_ListSchemasCommand;
|
|
@@ -2074,10 +2043,9 @@ const de_ListSchemasCommandError = async (output, context) => {
|
|
|
2074
2043
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2075
2044
|
default:
|
|
2076
2045
|
const parsedBody = parsedOutput.body;
|
|
2077
|
-
|
|
2046
|
+
return throwDefaultError({
|
|
2078
2047
|
output,
|
|
2079
2048
|
parsedBody,
|
|
2080
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2081
2049
|
errorCode,
|
|
2082
2050
|
});
|
|
2083
2051
|
}
|
|
@@ -2086,13 +2054,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2086
2054
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2087
2055
|
return de_ListTagsForResourceCommandError(output, context);
|
|
2088
2056
|
}
|
|
2089
|
-
const contents = map({
|
|
2057
|
+
const contents = (0, smithy_client_1.map)({
|
|
2090
2058
|
$metadata: deserializeMetadata(output),
|
|
2091
2059
|
});
|
|
2092
2060
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
}
|
|
2061
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2062
|
+
tags: smithy_client_1._json,
|
|
2063
|
+
});
|
|
2064
|
+
Object.assign(contents, doc);
|
|
2096
2065
|
return contents;
|
|
2097
2066
|
};
|
|
2098
2067
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -2111,10 +2080,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2111
2080
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2112
2081
|
default:
|
|
2113
2082
|
const parsedBody = parsedOutput.body;
|
|
2114
|
-
|
|
2083
|
+
return throwDefaultError({
|
|
2115
2084
|
output,
|
|
2116
2085
|
parsedBody,
|
|
2117
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2118
2086
|
errorCode,
|
|
2119
2087
|
});
|
|
2120
2088
|
}
|
|
@@ -2123,13 +2091,14 @@ const de_StartProtectedQueryCommand = async (output, context) => {
|
|
|
2123
2091
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2124
2092
|
return de_StartProtectedQueryCommandError(output, context);
|
|
2125
2093
|
}
|
|
2126
|
-
const contents = map({
|
|
2094
|
+
const contents = (0, smithy_client_1.map)({
|
|
2127
2095
|
$metadata: deserializeMetadata(output),
|
|
2128
2096
|
});
|
|
2129
2097
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
}
|
|
2098
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2099
|
+
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
2100
|
+
});
|
|
2101
|
+
Object.assign(contents, doc);
|
|
2133
2102
|
return contents;
|
|
2134
2103
|
};
|
|
2135
2104
|
exports.de_StartProtectedQueryCommand = de_StartProtectedQueryCommand;
|
|
@@ -2160,10 +2129,9 @@ const de_StartProtectedQueryCommandError = async (output, context) => {
|
|
|
2160
2129
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2161
2130
|
default:
|
|
2162
2131
|
const parsedBody = parsedOutput.body;
|
|
2163
|
-
|
|
2132
|
+
return throwDefaultError({
|
|
2164
2133
|
output,
|
|
2165
2134
|
parsedBody,
|
|
2166
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2167
2135
|
errorCode,
|
|
2168
2136
|
});
|
|
2169
2137
|
}
|
|
@@ -2172,7 +2140,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2172
2140
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2173
2141
|
return de_TagResourceCommandError(output, context);
|
|
2174
2142
|
}
|
|
2175
|
-
const contents = map({
|
|
2143
|
+
const contents = (0, smithy_client_1.map)({
|
|
2176
2144
|
$metadata: deserializeMetadata(output),
|
|
2177
2145
|
});
|
|
2178
2146
|
await collectBody(output.body, context);
|
|
@@ -2194,10 +2162,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2194
2162
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2195
2163
|
default:
|
|
2196
2164
|
const parsedBody = parsedOutput.body;
|
|
2197
|
-
|
|
2165
|
+
return throwDefaultError({
|
|
2198
2166
|
output,
|
|
2199
2167
|
parsedBody,
|
|
2200
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2201
2168
|
errorCode,
|
|
2202
2169
|
});
|
|
2203
2170
|
}
|
|
@@ -2206,7 +2173,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2206
2173
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2207
2174
|
return de_UntagResourceCommandError(output, context);
|
|
2208
2175
|
}
|
|
2209
|
-
const contents = map({
|
|
2176
|
+
const contents = (0, smithy_client_1.map)({
|
|
2210
2177
|
$metadata: deserializeMetadata(output),
|
|
2211
2178
|
});
|
|
2212
2179
|
await collectBody(output.body, context);
|
|
@@ -2228,10 +2195,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2228
2195
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2229
2196
|
default:
|
|
2230
2197
|
const parsedBody = parsedOutput.body;
|
|
2231
|
-
|
|
2198
|
+
return throwDefaultError({
|
|
2232
2199
|
output,
|
|
2233
2200
|
parsedBody,
|
|
2234
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2235
2201
|
errorCode,
|
|
2236
2202
|
});
|
|
2237
2203
|
}
|
|
@@ -2240,13 +2206,14 @@ const de_UpdateCollaborationCommand = async (output, context) => {
|
|
|
2240
2206
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2241
2207
|
return de_UpdateCollaborationCommandError(output, context);
|
|
2242
2208
|
}
|
|
2243
|
-
const contents = map({
|
|
2209
|
+
const contents = (0, smithy_client_1.map)({
|
|
2244
2210
|
$metadata: deserializeMetadata(output),
|
|
2245
2211
|
});
|
|
2246
2212
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
}
|
|
2213
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2214
|
+
collaboration: (_) => de_Collaboration(_, context),
|
|
2215
|
+
});
|
|
2216
|
+
Object.assign(contents, doc);
|
|
2250
2217
|
return contents;
|
|
2251
2218
|
};
|
|
2252
2219
|
exports.de_UpdateCollaborationCommand = de_UpdateCollaborationCommand;
|
|
@@ -2271,10 +2238,9 @@ const de_UpdateCollaborationCommandError = async (output, context) => {
|
|
|
2271
2238
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2272
2239
|
default:
|
|
2273
2240
|
const parsedBody = parsedOutput.body;
|
|
2274
|
-
|
|
2241
|
+
return throwDefaultError({
|
|
2275
2242
|
output,
|
|
2276
2243
|
parsedBody,
|
|
2277
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2278
2244
|
errorCode,
|
|
2279
2245
|
});
|
|
2280
2246
|
}
|
|
@@ -2283,13 +2249,14 @@ const de_UpdateConfiguredTableCommand = async (output, context) => {
|
|
|
2283
2249
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2284
2250
|
return de_UpdateConfiguredTableCommandError(output, context);
|
|
2285
2251
|
}
|
|
2286
|
-
const contents = map({
|
|
2252
|
+
const contents = (0, smithy_client_1.map)({
|
|
2287
2253
|
$metadata: deserializeMetadata(output),
|
|
2288
2254
|
});
|
|
2289
2255
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
}
|
|
2256
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2257
|
+
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
2258
|
+
});
|
|
2259
|
+
Object.assign(contents, doc);
|
|
2293
2260
|
return contents;
|
|
2294
2261
|
};
|
|
2295
2262
|
exports.de_UpdateConfiguredTableCommand = de_UpdateConfiguredTableCommand;
|
|
@@ -2320,10 +2287,9 @@ const de_UpdateConfiguredTableCommandError = async (output, context) => {
|
|
|
2320
2287
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2321
2288
|
default:
|
|
2322
2289
|
const parsedBody = parsedOutput.body;
|
|
2323
|
-
|
|
2290
|
+
return throwDefaultError({
|
|
2324
2291
|
output,
|
|
2325
2292
|
parsedBody,
|
|
2326
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2327
2293
|
errorCode,
|
|
2328
2294
|
});
|
|
2329
2295
|
}
|
|
@@ -2332,13 +2298,14 @@ const de_UpdateConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
|
2332
2298
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2333
2299
|
return de_UpdateConfiguredTableAnalysisRuleCommandError(output, context);
|
|
2334
2300
|
}
|
|
2335
|
-
const contents = map({
|
|
2301
|
+
const contents = (0, smithy_client_1.map)({
|
|
2336
2302
|
$metadata: deserializeMetadata(output),
|
|
2337
2303
|
});
|
|
2338
2304
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
}
|
|
2305
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2306
|
+
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
2307
|
+
});
|
|
2308
|
+
Object.assign(contents, doc);
|
|
2342
2309
|
return contents;
|
|
2343
2310
|
};
|
|
2344
2311
|
exports.de_UpdateConfiguredTableAnalysisRuleCommand = de_UpdateConfiguredTableAnalysisRuleCommand;
|
|
@@ -2369,10 +2336,9 @@ const de_UpdateConfiguredTableAnalysisRuleCommandError = async (output, context)
|
|
|
2369
2336
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2370
2337
|
default:
|
|
2371
2338
|
const parsedBody = parsedOutput.body;
|
|
2372
|
-
|
|
2339
|
+
return throwDefaultError({
|
|
2373
2340
|
output,
|
|
2374
2341
|
parsedBody,
|
|
2375
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2376
2342
|
errorCode,
|
|
2377
2343
|
});
|
|
2378
2344
|
}
|
|
@@ -2381,13 +2347,14 @@ const de_UpdateConfiguredTableAssociationCommand = async (output, context) => {
|
|
|
2381
2347
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2382
2348
|
return de_UpdateConfiguredTableAssociationCommandError(output, context);
|
|
2383
2349
|
}
|
|
2384
|
-
const contents = map({
|
|
2350
|
+
const contents = (0, smithy_client_1.map)({
|
|
2385
2351
|
$metadata: deserializeMetadata(output),
|
|
2386
2352
|
});
|
|
2387
2353
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
}
|
|
2354
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2355
|
+
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
2356
|
+
});
|
|
2357
|
+
Object.assign(contents, doc);
|
|
2391
2358
|
return contents;
|
|
2392
2359
|
};
|
|
2393
2360
|
exports.de_UpdateConfiguredTableAssociationCommand = de_UpdateConfiguredTableAssociationCommand;
|
|
@@ -2418,10 +2385,9 @@ const de_UpdateConfiguredTableAssociationCommandError = async (output, context)
|
|
|
2418
2385
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2419
2386
|
default:
|
|
2420
2387
|
const parsedBody = parsedOutput.body;
|
|
2421
|
-
|
|
2388
|
+
return throwDefaultError({
|
|
2422
2389
|
output,
|
|
2423
2390
|
parsedBody,
|
|
2424
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2425
2391
|
errorCode,
|
|
2426
2392
|
});
|
|
2427
2393
|
}
|
|
@@ -2430,13 +2396,14 @@ const de_UpdateMembershipCommand = async (output, context) => {
|
|
|
2430
2396
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2431
2397
|
return de_UpdateMembershipCommandError(output, context);
|
|
2432
2398
|
}
|
|
2433
|
-
const contents = map({
|
|
2399
|
+
const contents = (0, smithy_client_1.map)({
|
|
2434
2400
|
$metadata: deserializeMetadata(output),
|
|
2435
2401
|
});
|
|
2436
2402
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
}
|
|
2403
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2404
|
+
membership: (_) => de_Membership(_, context),
|
|
2405
|
+
});
|
|
2406
|
+
Object.assign(contents, doc);
|
|
2440
2407
|
return contents;
|
|
2441
2408
|
};
|
|
2442
2409
|
exports.de_UpdateMembershipCommand = de_UpdateMembershipCommand;
|
|
@@ -2467,10 +2434,9 @@ const de_UpdateMembershipCommandError = async (output, context) => {
|
|
|
2467
2434
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2468
2435
|
default:
|
|
2469
2436
|
const parsedBody = parsedOutput.body;
|
|
2470
|
-
|
|
2437
|
+
return throwDefaultError({
|
|
2471
2438
|
output,
|
|
2472
2439
|
parsedBody,
|
|
2473
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2474
2440
|
errorCode,
|
|
2475
2441
|
});
|
|
2476
2442
|
}
|
|
@@ -2479,13 +2445,14 @@ const de_UpdateProtectedQueryCommand = async (output, context) => {
|
|
|
2479
2445
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2480
2446
|
return de_UpdateProtectedQueryCommandError(output, context);
|
|
2481
2447
|
}
|
|
2482
|
-
const contents = map({
|
|
2448
|
+
const contents = (0, smithy_client_1.map)({
|
|
2483
2449
|
$metadata: deserializeMetadata(output),
|
|
2484
2450
|
});
|
|
2485
2451
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
}
|
|
2452
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2453
|
+
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
2454
|
+
});
|
|
2455
|
+
Object.assign(contents, doc);
|
|
2489
2456
|
return contents;
|
|
2490
2457
|
};
|
|
2491
2458
|
exports.de_UpdateProtectedQueryCommand = de_UpdateProtectedQueryCommand;
|
|
@@ -2516,24 +2483,22 @@ const de_UpdateProtectedQueryCommandError = async (output, context) => {
|
|
|
2516
2483
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2517
2484
|
default:
|
|
2518
2485
|
const parsedBody = parsedOutput.body;
|
|
2519
|
-
|
|
2486
|
+
return throwDefaultError({
|
|
2520
2487
|
output,
|
|
2521
2488
|
parsedBody,
|
|
2522
|
-
exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
|
|
2523
2489
|
errorCode,
|
|
2524
2490
|
});
|
|
2525
2491
|
}
|
|
2526
2492
|
};
|
|
2527
|
-
const
|
|
2493
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(CleanRoomsServiceException_1.CleanRoomsServiceException);
|
|
2528
2494
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2529
|
-
const contents = map({});
|
|
2495
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2530
2496
|
const data = parsedOutput.body;
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
}
|
|
2497
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2498
|
+
message: smithy_client_1.expectString,
|
|
2499
|
+
reason: smithy_client_1.expectString,
|
|
2500
|
+
});
|
|
2501
|
+
Object.assign(contents, doc);
|
|
2537
2502
|
const exception = new models_0_1.AccessDeniedException({
|
|
2538
2503
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2539
2504
|
...contents,
|
|
@@ -2541,20 +2506,15 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2541
2506
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2542
2507
|
};
|
|
2543
2508
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2544
|
-
const contents = map({});
|
|
2509
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2545
2510
|
const data = parsedOutput.body;
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
}
|
|
2552
|
-
|
|
2553
|
-
contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
|
|
2554
|
-
}
|
|
2555
|
-
if (data.resourceType != null) {
|
|
2556
|
-
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
2557
|
-
}
|
|
2511
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2512
|
+
message: smithy_client_1.expectString,
|
|
2513
|
+
reason: smithy_client_1.expectString,
|
|
2514
|
+
resourceId: smithy_client_1.expectString,
|
|
2515
|
+
resourceType: smithy_client_1.expectString,
|
|
2516
|
+
});
|
|
2517
|
+
Object.assign(contents, doc);
|
|
2558
2518
|
const exception = new models_0_1.ConflictException({
|
|
2559
2519
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2560
2520
|
...contents,
|
|
@@ -2562,11 +2522,12 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2562
2522
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2563
2523
|
};
|
|
2564
2524
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2565
|
-
const contents = map({});
|
|
2525
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2566
2526
|
const data = parsedOutput.body;
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
}
|
|
2527
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2528
|
+
message: smithy_client_1.expectString,
|
|
2529
|
+
});
|
|
2530
|
+
Object.assign(contents, doc);
|
|
2570
2531
|
const exception = new models_0_1.InternalServerException({
|
|
2571
2532
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2572
2533
|
...contents,
|
|
@@ -2574,17 +2535,14 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2574
2535
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2575
2536
|
};
|
|
2576
2537
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2577
|
-
const contents = map({});
|
|
2538
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2578
2539
|
const data = parsedOutput.body;
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
if (data.resourceType != null) {
|
|
2586
|
-
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
2587
|
-
}
|
|
2540
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2541
|
+
message: smithy_client_1.expectString,
|
|
2542
|
+
resourceId: smithy_client_1.expectString,
|
|
2543
|
+
resourceType: smithy_client_1.expectString,
|
|
2544
|
+
});
|
|
2545
|
+
Object.assign(contents, doc);
|
|
2588
2546
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2589
2547
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2590
2548
|
...contents,
|
|
@@ -2592,17 +2550,14 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2592
2550
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2593
2551
|
};
|
|
2594
2552
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2595
|
-
const contents = map({});
|
|
2553
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2596
2554
|
const data = parsedOutput.body;
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
if (data.quotaValue != null) {
|
|
2604
|
-
contents.quotaValue = (0, smithy_client_1.limitedParseDouble)(data.quotaValue);
|
|
2605
|
-
}
|
|
2555
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2556
|
+
message: smithy_client_1.expectString,
|
|
2557
|
+
quotaName: smithy_client_1.expectString,
|
|
2558
|
+
quotaValue: smithy_client_1.limitedParseDouble,
|
|
2559
|
+
});
|
|
2560
|
+
Object.assign(contents, doc);
|
|
2606
2561
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
2607
2562
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2608
2563
|
...contents,
|
|
@@ -2610,11 +2565,12 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2610
2565
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2611
2566
|
};
|
|
2612
2567
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2613
|
-
const contents = map({});
|
|
2568
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2614
2569
|
const data = parsedOutput.body;
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
}
|
|
2570
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2571
|
+
message: smithy_client_1.expectString,
|
|
2572
|
+
});
|
|
2573
|
+
Object.assign(contents, doc);
|
|
2618
2574
|
const exception = new models_0_1.ThrottlingException({
|
|
2619
2575
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2620
2576
|
...contents,
|
|
@@ -2622,800 +2578,282 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2622
2578
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2623
2579
|
};
|
|
2624
2580
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2625
|
-
const contents = map({});
|
|
2581
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2626
2582
|
const data = parsedOutput.body;
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
if (data.reason != null) {
|
|
2634
|
-
contents.reason = (0, smithy_client_1.expectString)(data.reason);
|
|
2635
|
-
}
|
|
2583
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2584
|
+
fieldList: smithy_client_1._json,
|
|
2585
|
+
message: smithy_client_1.expectString,
|
|
2586
|
+
reason: smithy_client_1.expectString,
|
|
2587
|
+
});
|
|
2588
|
+
Object.assign(contents, doc);
|
|
2636
2589
|
const exception = new models_0_1.ValidationException({
|
|
2637
2590
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2638
2591
|
...contents,
|
|
2639
2592
|
});
|
|
2640
2593
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2641
2594
|
};
|
|
2642
|
-
const se_AggregateColumn = (input, context) => {
|
|
2643
|
-
return {
|
|
2644
|
-
...(input.columnNames != null && { columnNames: se_AnalysisRuleColumnNameList(input.columnNames, context) }),
|
|
2645
|
-
...(input.function != null && { function: input.function }),
|
|
2646
|
-
};
|
|
2647
|
-
};
|
|
2648
|
-
const se_AggregateColumnList = (input, context) => {
|
|
2649
|
-
return input
|
|
2650
|
-
.filter((e) => e != null)
|
|
2651
|
-
.map((entry) => {
|
|
2652
|
-
return se_AggregateColumn(entry, context);
|
|
2653
|
-
});
|
|
2654
|
-
};
|
|
2655
|
-
const se_AggregationConstraint = (input, context) => {
|
|
2656
|
-
return {
|
|
2657
|
-
...(input.columnName != null && { columnName: input.columnName }),
|
|
2658
|
-
...(input.minimum != null && { minimum: input.minimum }),
|
|
2659
|
-
...(input.type != null && { type: input.type }),
|
|
2660
|
-
};
|
|
2661
|
-
};
|
|
2662
|
-
const se_AggregationConstraints = (input, context) => {
|
|
2663
|
-
return input
|
|
2664
|
-
.filter((e) => e != null)
|
|
2665
|
-
.map((entry) => {
|
|
2666
|
-
return se_AggregationConstraint(entry, context);
|
|
2667
|
-
});
|
|
2668
|
-
};
|
|
2669
|
-
const se_AllowedColumnList = (input, context) => {
|
|
2670
|
-
return input
|
|
2671
|
-
.filter((e) => e != null)
|
|
2672
|
-
.map((entry) => {
|
|
2673
|
-
return entry;
|
|
2674
|
-
});
|
|
2675
|
-
};
|
|
2676
|
-
const se_AnalysisRuleAggregation = (input, context) => {
|
|
2677
|
-
return {
|
|
2678
|
-
...(input.aggregateColumns != null && {
|
|
2679
|
-
aggregateColumns: se_AggregateColumnList(input.aggregateColumns, context),
|
|
2680
|
-
}),
|
|
2681
|
-
...(input.dimensionColumns != null && {
|
|
2682
|
-
dimensionColumns: se_AnalysisRuleColumnList(input.dimensionColumns, context),
|
|
2683
|
-
}),
|
|
2684
|
-
...(input.joinColumns != null && { joinColumns: se_AnalysisRuleColumnList(input.joinColumns, context) }),
|
|
2685
|
-
...(input.joinRequired != null && { joinRequired: input.joinRequired }),
|
|
2686
|
-
...(input.outputConstraints != null && {
|
|
2687
|
-
outputConstraints: se_AggregationConstraints(input.outputConstraints, context),
|
|
2688
|
-
}),
|
|
2689
|
-
...(input.scalarFunctions != null && { scalarFunctions: se_ScalarFunctionsList(input.scalarFunctions, context) }),
|
|
2690
|
-
};
|
|
2691
|
-
};
|
|
2692
|
-
const se_AnalysisRuleColumnList = (input, context) => {
|
|
2693
|
-
return input
|
|
2694
|
-
.filter((e) => e != null)
|
|
2695
|
-
.map((entry) => {
|
|
2696
|
-
return entry;
|
|
2697
|
-
});
|
|
2698
|
-
};
|
|
2699
|
-
const se_AnalysisRuleColumnNameList = (input, context) => {
|
|
2700
|
-
return input
|
|
2701
|
-
.filter((e) => e != null)
|
|
2702
|
-
.map((entry) => {
|
|
2703
|
-
return entry;
|
|
2704
|
-
});
|
|
2705
|
-
};
|
|
2706
|
-
const se_AnalysisRuleList = (input, context) => {
|
|
2707
|
-
return {
|
|
2708
|
-
...(input.joinColumns != null && { joinColumns: se_AnalysisRuleColumnList(input.joinColumns, context) }),
|
|
2709
|
-
...(input.listColumns != null && { listColumns: se_AnalysisRuleColumnList(input.listColumns, context) }),
|
|
2710
|
-
};
|
|
2711
|
-
};
|
|
2712
|
-
const se_ConfiguredTableAnalysisRulePolicy = (input, context) => {
|
|
2713
|
-
return models_0_1.ConfiguredTableAnalysisRulePolicy.visit(input, {
|
|
2714
|
-
v1: (value) => ({ v1: se_ConfiguredTableAnalysisRulePolicyV1(value, context) }),
|
|
2715
|
-
_: (name, value) => ({ name: value }),
|
|
2716
|
-
});
|
|
2717
|
-
};
|
|
2718
|
-
const se_ConfiguredTableAnalysisRulePolicyV1 = (input, context) => {
|
|
2719
|
-
return models_0_1.ConfiguredTableAnalysisRulePolicyV1.visit(input, {
|
|
2720
|
-
aggregation: (value) => ({ aggregation: se_AnalysisRuleAggregation(value, context) }),
|
|
2721
|
-
list: (value) => ({ list: se_AnalysisRuleList(value, context) }),
|
|
2722
|
-
_: (name, value) => ({ name: value }),
|
|
2723
|
-
});
|
|
2724
|
-
};
|
|
2725
|
-
const se_DataEncryptionMetadata = (input, context) => {
|
|
2726
|
-
return {
|
|
2727
|
-
...(input.allowCleartext != null && { allowCleartext: input.allowCleartext }),
|
|
2728
|
-
...(input.allowDuplicates != null && { allowDuplicates: input.allowDuplicates }),
|
|
2729
|
-
...(input.allowJoinsOnColumnsWithDifferentNames != null && {
|
|
2730
|
-
allowJoinsOnColumnsWithDifferentNames: input.allowJoinsOnColumnsWithDifferentNames,
|
|
2731
|
-
}),
|
|
2732
|
-
...(input.preserveNulls != null && { preserveNulls: input.preserveNulls }),
|
|
2733
|
-
};
|
|
2734
|
-
};
|
|
2735
|
-
const se_GlueTableReference = (input, context) => {
|
|
2736
|
-
return {
|
|
2737
|
-
...(input.databaseName != null && { databaseName: input.databaseName }),
|
|
2738
|
-
...(input.tableName != null && { tableName: input.tableName }),
|
|
2739
|
-
};
|
|
2740
|
-
};
|
|
2741
|
-
const se_MemberAbilities = (input, context) => {
|
|
2742
|
-
return input
|
|
2743
|
-
.filter((e) => e != null)
|
|
2744
|
-
.map((entry) => {
|
|
2745
|
-
return entry;
|
|
2746
|
-
});
|
|
2747
|
-
};
|
|
2748
|
-
const se_MemberList = (input, context) => {
|
|
2749
|
-
return input
|
|
2750
|
-
.filter((e) => e != null)
|
|
2751
|
-
.map((entry) => {
|
|
2752
|
-
return se_MemberSpecification(entry, context);
|
|
2753
|
-
});
|
|
2754
|
-
};
|
|
2755
|
-
const se_MemberSpecification = (input, context) => {
|
|
2756
|
-
return {
|
|
2757
|
-
...(input.accountId != null && { accountId: input.accountId }),
|
|
2758
|
-
...(input.displayName != null && { displayName: input.displayName }),
|
|
2759
|
-
...(input.memberAbilities != null && { memberAbilities: se_MemberAbilities(input.memberAbilities, context) }),
|
|
2760
|
-
};
|
|
2761
|
-
};
|
|
2762
|
-
const se_ProtectedQueryOutputConfiguration = (input, context) => {
|
|
2763
|
-
return models_0_1.ProtectedQueryOutputConfiguration.visit(input, {
|
|
2764
|
-
s3: (value) => ({ s3: se_ProtectedQueryS3OutputConfiguration(value, context) }),
|
|
2765
|
-
_: (name, value) => ({ name: value }),
|
|
2766
|
-
});
|
|
2767
|
-
};
|
|
2768
|
-
const se_ProtectedQueryResultConfiguration = (input, context) => {
|
|
2769
|
-
return {
|
|
2770
|
-
...(input.outputConfiguration != null && {
|
|
2771
|
-
outputConfiguration: se_ProtectedQueryOutputConfiguration(input.outputConfiguration, context),
|
|
2772
|
-
}),
|
|
2773
|
-
};
|
|
2774
|
-
};
|
|
2775
|
-
const se_ProtectedQueryS3OutputConfiguration = (input, context) => {
|
|
2776
|
-
return {
|
|
2777
|
-
...(input.bucket != null && { bucket: input.bucket }),
|
|
2778
|
-
...(input.keyPrefix != null && { keyPrefix: input.keyPrefix }),
|
|
2779
|
-
...(input.resultFormat != null && { resultFormat: input.resultFormat }),
|
|
2780
|
-
};
|
|
2781
|
-
};
|
|
2782
|
-
const se_ProtectedQuerySQLParameters = (input, context) => {
|
|
2783
|
-
return {
|
|
2784
|
-
...(input.queryString != null && { queryString: input.queryString }),
|
|
2785
|
-
};
|
|
2786
|
-
};
|
|
2787
|
-
const se_ScalarFunctionsList = (input, context) => {
|
|
2788
|
-
return input
|
|
2789
|
-
.filter((e) => e != null)
|
|
2790
|
-
.map((entry) => {
|
|
2791
|
-
return entry;
|
|
2792
|
-
});
|
|
2793
|
-
};
|
|
2794
|
-
const se_TableAliasList = (input, context) => {
|
|
2795
|
-
return input
|
|
2796
|
-
.filter((e) => e != null)
|
|
2797
|
-
.map((entry) => {
|
|
2798
|
-
return entry;
|
|
2799
|
-
});
|
|
2800
|
-
};
|
|
2801
|
-
const se_TableReference = (input, context) => {
|
|
2802
|
-
return models_0_1.TableReference.visit(input, {
|
|
2803
|
-
glue: (value) => ({ glue: se_GlueTableReference(value, context) }),
|
|
2804
|
-
_: (name, value) => ({ name: value }),
|
|
2805
|
-
});
|
|
2806
|
-
};
|
|
2807
|
-
const se_TagMap = (input, context) => {
|
|
2808
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2809
|
-
if (value === null) {
|
|
2810
|
-
return acc;
|
|
2811
|
-
}
|
|
2812
|
-
acc[key] = value;
|
|
2813
|
-
return acc;
|
|
2814
|
-
}, {});
|
|
2815
|
-
};
|
|
2816
|
-
const de_AggregateColumn = (output, context) => {
|
|
2817
|
-
return {
|
|
2818
|
-
columnNames: output.columnNames != null ? de_AnalysisRuleColumnNameList(output.columnNames, context) : undefined,
|
|
2819
|
-
function: (0, smithy_client_1.expectString)(output.function),
|
|
2820
|
-
};
|
|
2821
|
-
};
|
|
2822
|
-
const de_AggregateColumnList = (output, context) => {
|
|
2823
|
-
const retVal = (output || [])
|
|
2824
|
-
.filter((e) => e != null)
|
|
2825
|
-
.map((entry) => {
|
|
2826
|
-
if (entry === null) {
|
|
2827
|
-
return null;
|
|
2828
|
-
}
|
|
2829
|
-
return de_AggregateColumn(entry, context);
|
|
2830
|
-
});
|
|
2831
|
-
return retVal;
|
|
2832
|
-
};
|
|
2833
|
-
const de_AggregationConstraint = (output, context) => {
|
|
2834
|
-
return {
|
|
2835
|
-
columnName: (0, smithy_client_1.expectString)(output.columnName),
|
|
2836
|
-
minimum: (0, smithy_client_1.expectInt32)(output.minimum),
|
|
2837
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
2838
|
-
};
|
|
2839
|
-
};
|
|
2840
|
-
const de_AggregationConstraints = (output, context) => {
|
|
2841
|
-
const retVal = (output || [])
|
|
2842
|
-
.filter((e) => e != null)
|
|
2843
|
-
.map((entry) => {
|
|
2844
|
-
if (entry === null) {
|
|
2845
|
-
return null;
|
|
2846
|
-
}
|
|
2847
|
-
return de_AggregationConstraint(entry, context);
|
|
2848
|
-
});
|
|
2849
|
-
return retVal;
|
|
2850
|
-
};
|
|
2851
|
-
const de_AllowedColumnList = (output, context) => {
|
|
2852
|
-
const retVal = (output || [])
|
|
2853
|
-
.filter((e) => e != null)
|
|
2854
|
-
.map((entry) => {
|
|
2855
|
-
if (entry === null) {
|
|
2856
|
-
return null;
|
|
2857
|
-
}
|
|
2858
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2859
|
-
});
|
|
2860
|
-
return retVal;
|
|
2861
|
-
};
|
|
2862
2595
|
const de_AnalysisRule = (output, context) => {
|
|
2863
|
-
return {
|
|
2864
|
-
collaborationId:
|
|
2865
|
-
createTime:
|
|
2866
|
-
name:
|
|
2867
|
-
policy:
|
|
2868
|
-
type:
|
|
2869
|
-
updateTime:
|
|
2870
|
-
};
|
|
2871
|
-
};
|
|
2872
|
-
const de_AnalysisRuleAggregation = (output, context) => {
|
|
2873
|
-
return {
|
|
2874
|
-
aggregateColumns: output.aggregateColumns != null ? de_AggregateColumnList(output.aggregateColumns, context) : undefined,
|
|
2875
|
-
dimensionColumns: output.dimensionColumns != null ? de_AnalysisRuleColumnList(output.dimensionColumns, context) : undefined,
|
|
2876
|
-
joinColumns: output.joinColumns != null ? de_AnalysisRuleColumnList(output.joinColumns, context) : undefined,
|
|
2877
|
-
joinRequired: (0, smithy_client_1.expectString)(output.joinRequired),
|
|
2878
|
-
outputConstraints: output.outputConstraints != null ? de_AggregationConstraints(output.outputConstraints, context) : undefined,
|
|
2879
|
-
scalarFunctions: output.scalarFunctions != null ? de_ScalarFunctionsList(output.scalarFunctions, context) : undefined,
|
|
2880
|
-
};
|
|
2881
|
-
};
|
|
2882
|
-
const de_AnalysisRuleColumnList = (output, context) => {
|
|
2883
|
-
const retVal = (output || [])
|
|
2884
|
-
.filter((e) => e != null)
|
|
2885
|
-
.map((entry) => {
|
|
2886
|
-
if (entry === null) {
|
|
2887
|
-
return null;
|
|
2888
|
-
}
|
|
2889
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2890
|
-
});
|
|
2891
|
-
return retVal;
|
|
2892
|
-
};
|
|
2893
|
-
const de_AnalysisRuleColumnNameList = (output, context) => {
|
|
2894
|
-
const retVal = (output || [])
|
|
2895
|
-
.filter((e) => e != null)
|
|
2896
|
-
.map((entry) => {
|
|
2897
|
-
if (entry === null) {
|
|
2898
|
-
return null;
|
|
2899
|
-
}
|
|
2900
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2901
|
-
});
|
|
2902
|
-
return retVal;
|
|
2903
|
-
};
|
|
2904
|
-
const de_AnalysisRuleList = (output, context) => {
|
|
2905
|
-
return {
|
|
2906
|
-
joinColumns: output.joinColumns != null ? de_AnalysisRuleColumnList(output.joinColumns, context) : undefined,
|
|
2907
|
-
listColumns: output.listColumns != null ? de_AnalysisRuleColumnList(output.listColumns, context) : undefined,
|
|
2908
|
-
};
|
|
2909
|
-
};
|
|
2910
|
-
const de_AnalysisRulePolicy = (output, context) => {
|
|
2911
|
-
if (output.v1 != null) {
|
|
2912
|
-
return {
|
|
2913
|
-
v1: de_AnalysisRulePolicyV1((0, smithy_client_1.expectUnion)(output.v1), context),
|
|
2914
|
-
};
|
|
2915
|
-
}
|
|
2916
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2917
|
-
};
|
|
2918
|
-
const de_AnalysisRulePolicyV1 = (output, context) => {
|
|
2919
|
-
if (output.aggregation != null) {
|
|
2920
|
-
return {
|
|
2921
|
-
aggregation: de_AnalysisRuleAggregation(output.aggregation, context),
|
|
2922
|
-
};
|
|
2923
|
-
}
|
|
2924
|
-
if (output.list != null) {
|
|
2925
|
-
return {
|
|
2926
|
-
list: de_AnalysisRuleList(output.list, context),
|
|
2927
|
-
};
|
|
2928
|
-
}
|
|
2929
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2930
|
-
};
|
|
2931
|
-
const de_AnalysisRuleTypeList = (output, context) => {
|
|
2932
|
-
const retVal = (output || [])
|
|
2933
|
-
.filter((e) => e != null)
|
|
2934
|
-
.map((entry) => {
|
|
2935
|
-
if (entry === null) {
|
|
2936
|
-
return null;
|
|
2937
|
-
}
|
|
2938
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2939
|
-
});
|
|
2940
|
-
return retVal;
|
|
2941
|
-
};
|
|
2942
|
-
const de_BatchGetSchemaError = (output, context) => {
|
|
2943
|
-
return {
|
|
2944
|
-
code: (0, smithy_client_1.expectString)(output.code),
|
|
2945
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2946
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2947
|
-
};
|
|
2948
|
-
};
|
|
2949
|
-
const de_BatchGetSchemaErrorList = (output, context) => {
|
|
2950
|
-
const retVal = (output || [])
|
|
2951
|
-
.filter((e) => e != null)
|
|
2952
|
-
.map((entry) => {
|
|
2953
|
-
if (entry === null) {
|
|
2954
|
-
return null;
|
|
2955
|
-
}
|
|
2956
|
-
return de_BatchGetSchemaError(entry, context);
|
|
2596
|
+
return (0, smithy_client_1.take)(output, {
|
|
2597
|
+
collaborationId: smithy_client_1.expectString,
|
|
2598
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2599
|
+
name: smithy_client_1.expectString,
|
|
2600
|
+
policy: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
2601
|
+
type: smithy_client_1.expectString,
|
|
2602
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2957
2603
|
});
|
|
2958
|
-
return retVal;
|
|
2959
2604
|
};
|
|
2960
2605
|
const de_Collaboration = (output, context) => {
|
|
2961
|
-
return {
|
|
2962
|
-
arn:
|
|
2963
|
-
createTime:
|
|
2964
|
-
creatorAccountId:
|
|
2965
|
-
creatorDisplayName:
|
|
2966
|
-
dataEncryptionMetadata:
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
2977
|
-
};
|
|
2606
|
+
return (0, smithy_client_1.take)(output, {
|
|
2607
|
+
arn: smithy_client_1.expectString,
|
|
2608
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2609
|
+
creatorAccountId: smithy_client_1.expectString,
|
|
2610
|
+
creatorDisplayName: smithy_client_1.expectString,
|
|
2611
|
+
dataEncryptionMetadata: smithy_client_1._json,
|
|
2612
|
+
description: smithy_client_1.expectString,
|
|
2613
|
+
id: smithy_client_1.expectString,
|
|
2614
|
+
memberStatus: smithy_client_1.expectString,
|
|
2615
|
+
membershipArn: smithy_client_1.expectString,
|
|
2616
|
+
membershipId: smithy_client_1.expectString,
|
|
2617
|
+
name: smithy_client_1.expectString,
|
|
2618
|
+
queryLogStatus: smithy_client_1.expectString,
|
|
2619
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2620
|
+
});
|
|
2978
2621
|
};
|
|
2979
2622
|
const de_CollaborationSummary = (output, context) => {
|
|
2980
|
-
return {
|
|
2981
|
-
arn:
|
|
2982
|
-
createTime:
|
|
2983
|
-
creatorAccountId:
|
|
2984
|
-
creatorDisplayName:
|
|
2985
|
-
id:
|
|
2986
|
-
memberStatus:
|
|
2987
|
-
membershipArn:
|
|
2988
|
-
membershipId:
|
|
2989
|
-
name:
|
|
2990
|
-
updateTime:
|
|
2991
|
-
};
|
|
2623
|
+
return (0, smithy_client_1.take)(output, {
|
|
2624
|
+
arn: smithy_client_1.expectString,
|
|
2625
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2626
|
+
creatorAccountId: smithy_client_1.expectString,
|
|
2627
|
+
creatorDisplayName: smithy_client_1.expectString,
|
|
2628
|
+
id: smithy_client_1.expectString,
|
|
2629
|
+
memberStatus: smithy_client_1.expectString,
|
|
2630
|
+
membershipArn: smithy_client_1.expectString,
|
|
2631
|
+
membershipId: smithy_client_1.expectString,
|
|
2632
|
+
name: smithy_client_1.expectString,
|
|
2633
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2634
|
+
});
|
|
2992
2635
|
};
|
|
2993
2636
|
const de_CollaborationSummaryList = (output, context) => {
|
|
2994
2637
|
const retVal = (output || [])
|
|
2995
2638
|
.filter((e) => e != null)
|
|
2996
2639
|
.map((entry) => {
|
|
2997
|
-
if (entry === null) {
|
|
2998
|
-
return null;
|
|
2999
|
-
}
|
|
3000
2640
|
return de_CollaborationSummary(entry, context);
|
|
3001
2641
|
});
|
|
3002
2642
|
return retVal;
|
|
3003
2643
|
};
|
|
3004
|
-
const de_Column = (output, context) => {
|
|
3005
|
-
return {
|
|
3006
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3007
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3008
|
-
};
|
|
3009
|
-
};
|
|
3010
|
-
const de_ColumnList = (output, context) => {
|
|
3011
|
-
const retVal = (output || [])
|
|
3012
|
-
.filter((e) => e != null)
|
|
3013
|
-
.map((entry) => {
|
|
3014
|
-
if (entry === null) {
|
|
3015
|
-
return null;
|
|
3016
|
-
}
|
|
3017
|
-
return de_Column(entry, context);
|
|
3018
|
-
});
|
|
3019
|
-
return retVal;
|
|
3020
|
-
};
|
|
3021
2644
|
const de_ConfiguredTable = (output, context) => {
|
|
3022
|
-
return {
|
|
3023
|
-
allowedColumns:
|
|
3024
|
-
analysisMethod:
|
|
3025
|
-
analysisRuleTypes:
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3035
|
-
};
|
|
2645
|
+
return (0, smithy_client_1.take)(output, {
|
|
2646
|
+
allowedColumns: smithy_client_1._json,
|
|
2647
|
+
analysisMethod: smithy_client_1.expectString,
|
|
2648
|
+
analysisRuleTypes: smithy_client_1._json,
|
|
2649
|
+
arn: smithy_client_1.expectString,
|
|
2650
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2651
|
+
description: smithy_client_1.expectString,
|
|
2652
|
+
id: smithy_client_1.expectString,
|
|
2653
|
+
name: smithy_client_1.expectString,
|
|
2654
|
+
tableReference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
2655
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2656
|
+
});
|
|
3036
2657
|
};
|
|
3037
2658
|
const de_ConfiguredTableAnalysisRule = (output, context) => {
|
|
3038
|
-
return {
|
|
3039
|
-
configuredTableArn:
|
|
3040
|
-
configuredTableId:
|
|
3041
|
-
createTime:
|
|
3042
|
-
policy:
|
|
3043
|
-
type:
|
|
3044
|
-
updateTime:
|
|
3045
|
-
};
|
|
3046
|
-
};
|
|
3047
|
-
const de_ConfiguredTableAnalysisRulePolicy = (output, context) => {
|
|
3048
|
-
if (output.v1 != null) {
|
|
3049
|
-
return {
|
|
3050
|
-
v1: de_ConfiguredTableAnalysisRulePolicyV1((0, smithy_client_1.expectUnion)(output.v1), context),
|
|
3051
|
-
};
|
|
3052
|
-
}
|
|
3053
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3054
|
-
};
|
|
3055
|
-
const de_ConfiguredTableAnalysisRulePolicyV1 = (output, context) => {
|
|
3056
|
-
if (output.aggregation != null) {
|
|
3057
|
-
return {
|
|
3058
|
-
aggregation: de_AnalysisRuleAggregation(output.aggregation, context),
|
|
3059
|
-
};
|
|
3060
|
-
}
|
|
3061
|
-
if (output.list != null) {
|
|
3062
|
-
return {
|
|
3063
|
-
list: de_AnalysisRuleList(output.list, context),
|
|
3064
|
-
};
|
|
3065
|
-
}
|
|
3066
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3067
|
-
};
|
|
3068
|
-
const de_ConfiguredTableAnalysisRuleTypeList = (output, context) => {
|
|
3069
|
-
const retVal = (output || [])
|
|
3070
|
-
.filter((e) => e != null)
|
|
3071
|
-
.map((entry) => {
|
|
3072
|
-
if (entry === null) {
|
|
3073
|
-
return null;
|
|
3074
|
-
}
|
|
3075
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2659
|
+
return (0, smithy_client_1.take)(output, {
|
|
2660
|
+
configuredTableArn: smithy_client_1.expectString,
|
|
2661
|
+
configuredTableId: smithy_client_1.expectString,
|
|
2662
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2663
|
+
policy: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
2664
|
+
type: smithy_client_1.expectString,
|
|
2665
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3076
2666
|
});
|
|
3077
|
-
return retVal;
|
|
3078
2667
|
};
|
|
3079
2668
|
const de_ConfiguredTableAssociation = (output, context) => {
|
|
3080
|
-
return {
|
|
3081
|
-
arn:
|
|
3082
|
-
configuredTableArn:
|
|
3083
|
-
configuredTableId:
|
|
3084
|
-
createTime:
|
|
3085
|
-
description:
|
|
3086
|
-
id:
|
|
3087
|
-
membershipArn:
|
|
3088
|
-
membershipId:
|
|
3089
|
-
name:
|
|
3090
|
-
roleArn:
|
|
3091
|
-
updateTime:
|
|
3092
|
-
};
|
|
2669
|
+
return (0, smithy_client_1.take)(output, {
|
|
2670
|
+
arn: smithy_client_1.expectString,
|
|
2671
|
+
configuredTableArn: smithy_client_1.expectString,
|
|
2672
|
+
configuredTableId: smithy_client_1.expectString,
|
|
2673
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2674
|
+
description: smithy_client_1.expectString,
|
|
2675
|
+
id: smithy_client_1.expectString,
|
|
2676
|
+
membershipArn: smithy_client_1.expectString,
|
|
2677
|
+
membershipId: smithy_client_1.expectString,
|
|
2678
|
+
name: smithy_client_1.expectString,
|
|
2679
|
+
roleArn: smithy_client_1.expectString,
|
|
2680
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2681
|
+
});
|
|
3093
2682
|
};
|
|
3094
2683
|
const de_ConfiguredTableAssociationSummary = (output, context) => {
|
|
3095
|
-
return {
|
|
3096
|
-
arn:
|
|
3097
|
-
configuredTableId:
|
|
3098
|
-
createTime:
|
|
3099
|
-
id:
|
|
3100
|
-
membershipArn:
|
|
3101
|
-
membershipId:
|
|
3102
|
-
name:
|
|
3103
|
-
updateTime:
|
|
3104
|
-
};
|
|
2684
|
+
return (0, smithy_client_1.take)(output, {
|
|
2685
|
+
arn: smithy_client_1.expectString,
|
|
2686
|
+
configuredTableId: smithy_client_1.expectString,
|
|
2687
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2688
|
+
id: smithy_client_1.expectString,
|
|
2689
|
+
membershipArn: smithy_client_1.expectString,
|
|
2690
|
+
membershipId: smithy_client_1.expectString,
|
|
2691
|
+
name: smithy_client_1.expectString,
|
|
2692
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2693
|
+
});
|
|
3105
2694
|
};
|
|
3106
2695
|
const de_ConfiguredTableAssociationSummaryList = (output, context) => {
|
|
3107
2696
|
const retVal = (output || [])
|
|
3108
2697
|
.filter((e) => e != null)
|
|
3109
2698
|
.map((entry) => {
|
|
3110
|
-
if (entry === null) {
|
|
3111
|
-
return null;
|
|
3112
|
-
}
|
|
3113
2699
|
return de_ConfiguredTableAssociationSummary(entry, context);
|
|
3114
2700
|
});
|
|
3115
2701
|
return retVal;
|
|
3116
2702
|
};
|
|
3117
2703
|
const de_ConfiguredTableSummary = (output, context) => {
|
|
3118
|
-
return {
|
|
3119
|
-
analysisMethod:
|
|
3120
|
-
analysisRuleTypes:
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3128
|
-
};
|
|
2704
|
+
return (0, smithy_client_1.take)(output, {
|
|
2705
|
+
analysisMethod: smithy_client_1.expectString,
|
|
2706
|
+
analysisRuleTypes: smithy_client_1._json,
|
|
2707
|
+
arn: smithy_client_1.expectString,
|
|
2708
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2709
|
+
id: smithy_client_1.expectString,
|
|
2710
|
+
name: smithy_client_1.expectString,
|
|
2711
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2712
|
+
});
|
|
3129
2713
|
};
|
|
3130
2714
|
const de_ConfiguredTableSummaryList = (output, context) => {
|
|
3131
2715
|
const retVal = (output || [])
|
|
3132
2716
|
.filter((e) => e != null)
|
|
3133
2717
|
.map((entry) => {
|
|
3134
|
-
if (entry === null) {
|
|
3135
|
-
return null;
|
|
3136
|
-
}
|
|
3137
2718
|
return de_ConfiguredTableSummary(entry, context);
|
|
3138
2719
|
});
|
|
3139
2720
|
return retVal;
|
|
3140
2721
|
};
|
|
3141
|
-
const de_DataEncryptionMetadata = (output, context) => {
|
|
3142
|
-
return {
|
|
3143
|
-
allowCleartext: (0, smithy_client_1.expectBoolean)(output.allowCleartext),
|
|
3144
|
-
allowDuplicates: (0, smithy_client_1.expectBoolean)(output.allowDuplicates),
|
|
3145
|
-
allowJoinsOnColumnsWithDifferentNames: (0, smithy_client_1.expectBoolean)(output.allowJoinsOnColumnsWithDifferentNames),
|
|
3146
|
-
preserveNulls: (0, smithy_client_1.expectBoolean)(output.preserveNulls),
|
|
3147
|
-
};
|
|
3148
|
-
};
|
|
3149
|
-
const de_GlueTableReference = (output, context) => {
|
|
3150
|
-
return {
|
|
3151
|
-
databaseName: (0, smithy_client_1.expectString)(output.databaseName),
|
|
3152
|
-
tableName: (0, smithy_client_1.expectString)(output.tableName),
|
|
3153
|
-
};
|
|
3154
|
-
};
|
|
3155
|
-
const de_MemberAbilities = (output, context) => {
|
|
3156
|
-
const retVal = (output || [])
|
|
3157
|
-
.filter((e) => e != null)
|
|
3158
|
-
.map((entry) => {
|
|
3159
|
-
if (entry === null) {
|
|
3160
|
-
return null;
|
|
3161
|
-
}
|
|
3162
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3163
|
-
});
|
|
3164
|
-
return retVal;
|
|
3165
|
-
};
|
|
3166
2722
|
const de_Membership = (output, context) => {
|
|
3167
|
-
return {
|
|
3168
|
-
arn:
|
|
3169
|
-
collaborationArn:
|
|
3170
|
-
collaborationCreatorAccountId:
|
|
3171
|
-
collaborationCreatorDisplayName:
|
|
3172
|
-
collaborationId:
|
|
3173
|
-
collaborationName:
|
|
3174
|
-
createTime:
|
|
3175
|
-
id:
|
|
3176
|
-
memberAbilities:
|
|
3177
|
-
queryLogStatus:
|
|
3178
|
-
status:
|
|
3179
|
-
updateTime:
|
|
3180
|
-
};
|
|
2723
|
+
return (0, smithy_client_1.take)(output, {
|
|
2724
|
+
arn: smithy_client_1.expectString,
|
|
2725
|
+
collaborationArn: smithy_client_1.expectString,
|
|
2726
|
+
collaborationCreatorAccountId: smithy_client_1.expectString,
|
|
2727
|
+
collaborationCreatorDisplayName: smithy_client_1.expectString,
|
|
2728
|
+
collaborationId: smithy_client_1.expectString,
|
|
2729
|
+
collaborationName: smithy_client_1.expectString,
|
|
2730
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2731
|
+
id: smithy_client_1.expectString,
|
|
2732
|
+
memberAbilities: smithy_client_1._json,
|
|
2733
|
+
queryLogStatus: smithy_client_1.expectString,
|
|
2734
|
+
status: smithy_client_1.expectString,
|
|
2735
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2736
|
+
});
|
|
3181
2737
|
};
|
|
3182
2738
|
const de_MembershipSummary = (output, context) => {
|
|
3183
|
-
return {
|
|
3184
|
-
arn:
|
|
3185
|
-
collaborationArn:
|
|
3186
|
-
collaborationCreatorAccountId:
|
|
3187
|
-
collaborationCreatorDisplayName:
|
|
3188
|
-
collaborationId:
|
|
3189
|
-
collaborationName:
|
|
3190
|
-
createTime:
|
|
3191
|
-
id:
|
|
3192
|
-
memberAbilities:
|
|
3193
|
-
status:
|
|
3194
|
-
updateTime:
|
|
3195
|
-
};
|
|
2739
|
+
return (0, smithy_client_1.take)(output, {
|
|
2740
|
+
arn: smithy_client_1.expectString,
|
|
2741
|
+
collaborationArn: smithy_client_1.expectString,
|
|
2742
|
+
collaborationCreatorAccountId: smithy_client_1.expectString,
|
|
2743
|
+
collaborationCreatorDisplayName: smithy_client_1.expectString,
|
|
2744
|
+
collaborationId: smithy_client_1.expectString,
|
|
2745
|
+
collaborationName: smithy_client_1.expectString,
|
|
2746
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2747
|
+
id: smithy_client_1.expectString,
|
|
2748
|
+
memberAbilities: smithy_client_1._json,
|
|
2749
|
+
status: smithy_client_1.expectString,
|
|
2750
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2751
|
+
});
|
|
3196
2752
|
};
|
|
3197
2753
|
const de_MembershipSummaryList = (output, context) => {
|
|
3198
2754
|
const retVal = (output || [])
|
|
3199
2755
|
.filter((e) => e != null)
|
|
3200
2756
|
.map((entry) => {
|
|
3201
|
-
if (entry === null) {
|
|
3202
|
-
return null;
|
|
3203
|
-
}
|
|
3204
2757
|
return de_MembershipSummary(entry, context);
|
|
3205
2758
|
});
|
|
3206
2759
|
return retVal;
|
|
3207
2760
|
};
|
|
3208
2761
|
const de_MemberSummary = (output, context) => {
|
|
3209
|
-
return {
|
|
3210
|
-
abilities:
|
|
3211
|
-
accountId:
|
|
3212
|
-
createTime:
|
|
3213
|
-
displayName:
|
|
3214
|
-
membershipArn:
|
|
3215
|
-
membershipId:
|
|
3216
|
-
status:
|
|
3217
|
-
updateTime:
|
|
3218
|
-
};
|
|
2762
|
+
return (0, smithy_client_1.take)(output, {
|
|
2763
|
+
abilities: smithy_client_1._json,
|
|
2764
|
+
accountId: smithy_client_1.expectString,
|
|
2765
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2766
|
+
displayName: smithy_client_1.expectString,
|
|
2767
|
+
membershipArn: smithy_client_1.expectString,
|
|
2768
|
+
membershipId: smithy_client_1.expectString,
|
|
2769
|
+
status: smithy_client_1.expectString,
|
|
2770
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2771
|
+
});
|
|
3219
2772
|
};
|
|
3220
2773
|
const de_MemberSummaryList = (output, context) => {
|
|
3221
2774
|
const retVal = (output || [])
|
|
3222
2775
|
.filter((e) => e != null)
|
|
3223
2776
|
.map((entry) => {
|
|
3224
|
-
if (entry === null) {
|
|
3225
|
-
return null;
|
|
3226
|
-
}
|
|
3227
2777
|
return de_MemberSummary(entry, context);
|
|
3228
2778
|
});
|
|
3229
2779
|
return retVal;
|
|
3230
2780
|
};
|
|
3231
2781
|
const de_ProtectedQuery = (output, context) => {
|
|
3232
|
-
return {
|
|
3233
|
-
createTime:
|
|
3234
|
-
error:
|
|
3235
|
-
id:
|
|
3236
|
-
membershipArn:
|
|
3237
|
-
membershipId:
|
|
3238
|
-
result:
|
|
3239
|
-
resultConfiguration:
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3245
|
-
};
|
|
3246
|
-
};
|
|
3247
|
-
const de_ProtectedQueryError = (output, context) => {
|
|
3248
|
-
return {
|
|
3249
|
-
code: (0, smithy_client_1.expectString)(output.code),
|
|
3250
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3251
|
-
};
|
|
3252
|
-
};
|
|
3253
|
-
const de_ProtectedQueryOutput = (output, context) => {
|
|
3254
|
-
if (output.s3 != null) {
|
|
3255
|
-
return {
|
|
3256
|
-
s3: de_ProtectedQueryS3Output(output.s3, context),
|
|
3257
|
-
};
|
|
3258
|
-
}
|
|
3259
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3260
|
-
};
|
|
3261
|
-
const de_ProtectedQueryOutputConfiguration = (output, context) => {
|
|
3262
|
-
if (output.s3 != null) {
|
|
3263
|
-
return {
|
|
3264
|
-
s3: de_ProtectedQueryS3OutputConfiguration(output.s3, context),
|
|
3265
|
-
};
|
|
3266
|
-
}
|
|
3267
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3268
|
-
};
|
|
3269
|
-
const de_ProtectedQueryResult = (output, context) => {
|
|
3270
|
-
return {
|
|
3271
|
-
output: output.output != null ? de_ProtectedQueryOutput((0, smithy_client_1.expectUnion)(output.output), context) : undefined,
|
|
3272
|
-
};
|
|
3273
|
-
};
|
|
3274
|
-
const de_ProtectedQueryResultConfiguration = (output, context) => {
|
|
3275
|
-
return {
|
|
3276
|
-
outputConfiguration: output.outputConfiguration != null
|
|
3277
|
-
? de_ProtectedQueryOutputConfiguration((0, smithy_client_1.expectUnion)(output.outputConfiguration), context)
|
|
3278
|
-
: undefined,
|
|
3279
|
-
};
|
|
3280
|
-
};
|
|
3281
|
-
const de_ProtectedQueryS3Output = (output, context) => {
|
|
3282
|
-
return {
|
|
3283
|
-
location: (0, smithy_client_1.expectString)(output.location),
|
|
3284
|
-
};
|
|
3285
|
-
};
|
|
3286
|
-
const de_ProtectedQueryS3OutputConfiguration = (output, context) => {
|
|
3287
|
-
return {
|
|
3288
|
-
bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
3289
|
-
keyPrefix: (0, smithy_client_1.expectString)(output.keyPrefix),
|
|
3290
|
-
resultFormat: (0, smithy_client_1.expectString)(output.resultFormat),
|
|
3291
|
-
};
|
|
3292
|
-
};
|
|
3293
|
-
const de_ProtectedQuerySQLParameters = (output, context) => {
|
|
3294
|
-
return {
|
|
3295
|
-
queryString: (0, smithy_client_1.expectString)(output.queryString),
|
|
3296
|
-
};
|
|
3297
|
-
};
|
|
3298
|
-
const de_ProtectedQueryStatistics = (output, context) => {
|
|
3299
|
-
return {
|
|
3300
|
-
totalDurationInMillis: (0, smithy_client_1.expectLong)(output.totalDurationInMillis),
|
|
3301
|
-
};
|
|
2782
|
+
return (0, smithy_client_1.take)(output, {
|
|
2783
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2784
|
+
error: smithy_client_1._json,
|
|
2785
|
+
id: smithy_client_1.expectString,
|
|
2786
|
+
membershipArn: smithy_client_1.expectString,
|
|
2787
|
+
membershipId: smithy_client_1.expectString,
|
|
2788
|
+
result: smithy_client_1._json,
|
|
2789
|
+
resultConfiguration: smithy_client_1._json,
|
|
2790
|
+
sqlParameters: smithy_client_1._json,
|
|
2791
|
+
statistics: smithy_client_1._json,
|
|
2792
|
+
status: smithy_client_1.expectString,
|
|
2793
|
+
});
|
|
3302
2794
|
};
|
|
3303
2795
|
const de_ProtectedQuerySummary = (output, context) => {
|
|
3304
|
-
return {
|
|
3305
|
-
createTime:
|
|
3306
|
-
id:
|
|
3307
|
-
membershipArn:
|
|
3308
|
-
membershipId:
|
|
3309
|
-
status:
|
|
3310
|
-
};
|
|
2796
|
+
return (0, smithy_client_1.take)(output, {
|
|
2797
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2798
|
+
id: smithy_client_1.expectString,
|
|
2799
|
+
membershipArn: smithy_client_1.expectString,
|
|
2800
|
+
membershipId: smithy_client_1.expectString,
|
|
2801
|
+
status: smithy_client_1.expectString,
|
|
2802
|
+
});
|
|
3311
2803
|
};
|
|
3312
2804
|
const de_ProtectedQuerySummaryList = (output, context) => {
|
|
3313
2805
|
const retVal = (output || [])
|
|
3314
2806
|
.filter((e) => e != null)
|
|
3315
2807
|
.map((entry) => {
|
|
3316
|
-
if (entry === null) {
|
|
3317
|
-
return null;
|
|
3318
|
-
}
|
|
3319
2808
|
return de_ProtectedQuerySummary(entry, context);
|
|
3320
2809
|
});
|
|
3321
2810
|
return retVal;
|
|
3322
2811
|
};
|
|
3323
|
-
const de_ScalarFunctionsList = (output, context) => {
|
|
3324
|
-
const retVal = (output || [])
|
|
3325
|
-
.filter((e) => e != null)
|
|
3326
|
-
.map((entry) => {
|
|
3327
|
-
if (entry === null) {
|
|
3328
|
-
return null;
|
|
3329
|
-
}
|
|
3330
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3331
|
-
});
|
|
3332
|
-
return retVal;
|
|
3333
|
-
};
|
|
3334
2812
|
const de_Schema = (output, context) => {
|
|
3335
|
-
return {
|
|
3336
|
-
analysisMethod:
|
|
3337
|
-
analysisRuleTypes:
|
|
3338
|
-
collaborationArn:
|
|
3339
|
-
collaborationId:
|
|
3340
|
-
columns:
|
|
3341
|
-
createTime:
|
|
3342
|
-
creatorAccountId:
|
|
3343
|
-
description:
|
|
3344
|
-
name:
|
|
3345
|
-
partitionKeys:
|
|
3346
|
-
type:
|
|
3347
|
-
updateTime:
|
|
3348
|
-
};
|
|
2813
|
+
return (0, smithy_client_1.take)(output, {
|
|
2814
|
+
analysisMethod: smithy_client_1.expectString,
|
|
2815
|
+
analysisRuleTypes: smithy_client_1._json,
|
|
2816
|
+
collaborationArn: smithy_client_1.expectString,
|
|
2817
|
+
collaborationId: smithy_client_1.expectString,
|
|
2818
|
+
columns: smithy_client_1._json,
|
|
2819
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2820
|
+
creatorAccountId: smithy_client_1.expectString,
|
|
2821
|
+
description: smithy_client_1.expectString,
|
|
2822
|
+
name: smithy_client_1.expectString,
|
|
2823
|
+
partitionKeys: smithy_client_1._json,
|
|
2824
|
+
type: smithy_client_1.expectString,
|
|
2825
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2826
|
+
});
|
|
3349
2827
|
};
|
|
3350
2828
|
const de_SchemaList = (output, context) => {
|
|
3351
2829
|
const retVal = (output || [])
|
|
3352
2830
|
.filter((e) => e != null)
|
|
3353
2831
|
.map((entry) => {
|
|
3354
|
-
if (entry === null) {
|
|
3355
|
-
return null;
|
|
3356
|
-
}
|
|
3357
2832
|
return de_Schema(entry, context);
|
|
3358
2833
|
});
|
|
3359
2834
|
return retVal;
|
|
3360
2835
|
};
|
|
3361
2836
|
const de_SchemaSummary = (output, context) => {
|
|
3362
|
-
return {
|
|
3363
|
-
analysisMethod:
|
|
3364
|
-
analysisRuleTypes:
|
|
3365
|
-
collaborationArn:
|
|
3366
|
-
collaborationId:
|
|
3367
|
-
createTime:
|
|
3368
|
-
creatorAccountId:
|
|
3369
|
-
name:
|
|
3370
|
-
type:
|
|
3371
|
-
updateTime:
|
|
3372
|
-
};
|
|
2837
|
+
return (0, smithy_client_1.take)(output, {
|
|
2838
|
+
analysisMethod: smithy_client_1.expectString,
|
|
2839
|
+
analysisRuleTypes: smithy_client_1._json,
|
|
2840
|
+
collaborationArn: smithy_client_1.expectString,
|
|
2841
|
+
collaborationId: smithy_client_1.expectString,
|
|
2842
|
+
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2843
|
+
creatorAccountId: smithy_client_1.expectString,
|
|
2844
|
+
name: smithy_client_1.expectString,
|
|
2845
|
+
type: smithy_client_1.expectString,
|
|
2846
|
+
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2847
|
+
});
|
|
3373
2848
|
};
|
|
3374
2849
|
const de_SchemaSummaryList = (output, context) => {
|
|
3375
2850
|
const retVal = (output || [])
|
|
3376
2851
|
.filter((e) => e != null)
|
|
3377
2852
|
.map((entry) => {
|
|
3378
|
-
if (entry === null) {
|
|
3379
|
-
return null;
|
|
3380
|
-
}
|
|
3381
2853
|
return de_SchemaSummary(entry, context);
|
|
3382
2854
|
});
|
|
3383
2855
|
return retVal;
|
|
3384
2856
|
};
|
|
3385
|
-
const de_TableReference = (output, context) => {
|
|
3386
|
-
if (output.glue != null) {
|
|
3387
|
-
return {
|
|
3388
|
-
glue: de_GlueTableReference(output.glue, context),
|
|
3389
|
-
};
|
|
3390
|
-
}
|
|
3391
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3392
|
-
};
|
|
3393
|
-
const de_TagMap = (output, context) => {
|
|
3394
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3395
|
-
if (value === null) {
|
|
3396
|
-
return acc;
|
|
3397
|
-
}
|
|
3398
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3399
|
-
return acc;
|
|
3400
|
-
}, {});
|
|
3401
|
-
};
|
|
3402
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
3403
|
-
return {
|
|
3404
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3405
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3406
|
-
};
|
|
3407
|
-
};
|
|
3408
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
3409
|
-
const retVal = (output || [])
|
|
3410
|
-
.filter((e) => e != null)
|
|
3411
|
-
.map((entry) => {
|
|
3412
|
-
if (entry === null) {
|
|
3413
|
-
return null;
|
|
3414
|
-
}
|
|
3415
|
-
return de_ValidationExceptionField(entry, context);
|
|
3416
|
-
});
|
|
3417
|
-
return retVal;
|
|
3418
|
-
};
|
|
3419
2857
|
const deserializeMetadata = (output) => ({
|
|
3420
2858
|
httpStatusCode: output.statusCode,
|
|
3421
2859
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|