@aws-sdk/client-cleanrooms 3.310.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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { CleanRoomsServiceException as __BaseException } from "../models/CleanRoomsServiceException";
|
|
4
|
-
import { AccessDeniedException,
|
|
4
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_BatchGetSchemaCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {
|
|
@@ -11,9 +11,9 @@ export const se_BatchGetSchemaCommand = async (input, context) => {
|
|
|
11
11
|
"/collaborations/{collaborationIdentifier}/batch-schema";
|
|
12
12
|
resolvedPath = __resolvedPath(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify({
|
|
15
|
-
|
|
16
|
-
});
|
|
14
|
+
body = JSON.stringify(take(input, {
|
|
15
|
+
names: (_) => _json(_),
|
|
16
|
+
}));
|
|
17
17
|
return new __HttpRequest({
|
|
18
18
|
protocol,
|
|
19
19
|
hostname,
|
|
@@ -31,20 +31,16 @@ export const se_CreateCollaborationCommand = async (input, context) => {
|
|
|
31
31
|
};
|
|
32
32
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations";
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify({
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
...(input.name != null && { name: input.name }),
|
|
45
|
-
...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
|
|
46
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
47
|
-
});
|
|
34
|
+
body = JSON.stringify(take(input, {
|
|
35
|
+
creatorDisplayName: [],
|
|
36
|
+
creatorMemberAbilities: (_) => _json(_),
|
|
37
|
+
dataEncryptionMetadata: (_) => _json(_),
|
|
38
|
+
description: [],
|
|
39
|
+
members: (_) => _json(_),
|
|
40
|
+
name: [],
|
|
41
|
+
queryLogStatus: [],
|
|
42
|
+
tags: (_) => _json(_),
|
|
43
|
+
}));
|
|
48
44
|
return new __HttpRequest({
|
|
49
45
|
protocol,
|
|
50
46
|
hostname,
|
|
@@ -62,14 +58,14 @@ export const se_CreateConfiguredTableCommand = async (input, context) => {
|
|
|
62
58
|
};
|
|
63
59
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuredTables";
|
|
64
60
|
let body;
|
|
65
|
-
body = JSON.stringify({
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
});
|
|
61
|
+
body = JSON.stringify(take(input, {
|
|
62
|
+
allowedColumns: (_) => _json(_),
|
|
63
|
+
analysisMethod: [],
|
|
64
|
+
description: [],
|
|
65
|
+
name: [],
|
|
66
|
+
tableReference: (_) => _json(_),
|
|
67
|
+
tags: (_) => _json(_),
|
|
68
|
+
}));
|
|
73
69
|
return new __HttpRequest({
|
|
74
70
|
protocol,
|
|
75
71
|
hostname,
|
|
@@ -89,12 +85,10 @@ export const se_CreateConfiguredTableAnalysisRuleCommand = async (input, context
|
|
|
89
85
|
"/configuredTables/{configuredTableIdentifier}/analysisRule";
|
|
90
86
|
resolvedPath = __resolvedPath(resolvedPath, input, "configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
91
87
|
let body;
|
|
92
|
-
body = JSON.stringify({
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
...(input.analysisRuleType != null && { analysisRuleType: input.analysisRuleType }),
|
|
97
|
-
});
|
|
88
|
+
body = JSON.stringify(take(input, {
|
|
89
|
+
analysisRulePolicy: (_) => _json(_),
|
|
90
|
+
analysisRuleType: [],
|
|
91
|
+
}));
|
|
98
92
|
return new __HttpRequest({
|
|
99
93
|
protocol,
|
|
100
94
|
hostname,
|
|
@@ -114,13 +108,13 @@ export const se_CreateConfiguredTableAssociationCommand = async (input, context)
|
|
|
114
108
|
"/memberships/{membershipIdentifier}/configuredTableAssociations";
|
|
115
109
|
resolvedPath = __resolvedPath(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
116
110
|
let body;
|
|
117
|
-
body = JSON.stringify({
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
});
|
|
111
|
+
body = JSON.stringify(take(input, {
|
|
112
|
+
configuredTableIdentifier: [],
|
|
113
|
+
description: [],
|
|
114
|
+
name: [],
|
|
115
|
+
roleArn: [],
|
|
116
|
+
tags: (_) => _json(_),
|
|
117
|
+
}));
|
|
124
118
|
return new __HttpRequest({
|
|
125
119
|
protocol,
|
|
126
120
|
hostname,
|
|
@@ -138,11 +132,11 @@ export const se_CreateMembershipCommand = async (input, context) => {
|
|
|
138
132
|
};
|
|
139
133
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships";
|
|
140
134
|
let body;
|
|
141
|
-
body = JSON.stringify({
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
});
|
|
135
|
+
body = JSON.stringify(take(input, {
|
|
136
|
+
collaborationIdentifier: [],
|
|
137
|
+
queryLogStatus: [],
|
|
138
|
+
tags: (_) => _json(_),
|
|
139
|
+
}));
|
|
146
140
|
return new __HttpRequest({
|
|
147
141
|
protocol,
|
|
148
142
|
hostname,
|
|
@@ -573,13 +567,11 @@ export const se_StartProtectedQueryCommand = async (input, context) => {
|
|
|
573
567
|
"/memberships/{membershipIdentifier}/protectedQueries";
|
|
574
568
|
resolvedPath = __resolvedPath(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
575
569
|
let body;
|
|
576
|
-
body = JSON.stringify({
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
...(input.type != null && { type: input.type }),
|
|
582
|
-
});
|
|
570
|
+
body = JSON.stringify(take(input, {
|
|
571
|
+
resultConfiguration: (_) => _json(_),
|
|
572
|
+
sqlParameters: (_) => _json(_),
|
|
573
|
+
type: [],
|
|
574
|
+
}));
|
|
583
575
|
return new __HttpRequest({
|
|
584
576
|
protocol,
|
|
585
577
|
hostname,
|
|
@@ -598,9 +590,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
598
590
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
599
591
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
600
592
|
let body;
|
|
601
|
-
body = JSON.stringify({
|
|
602
|
-
|
|
603
|
-
});
|
|
593
|
+
body = JSON.stringify(take(input, {
|
|
594
|
+
tags: (_) => _json(_),
|
|
595
|
+
}));
|
|
604
596
|
return new __HttpRequest({
|
|
605
597
|
protocol,
|
|
606
598
|
hostname,
|
|
@@ -642,10 +634,10 @@ export const se_UpdateCollaborationCommand = async (input, context) => {
|
|
|
642
634
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations/{collaborationIdentifier}";
|
|
643
635
|
resolvedPath = __resolvedPath(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
644
636
|
let body;
|
|
645
|
-
body = JSON.stringify({
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
});
|
|
637
|
+
body = JSON.stringify(take(input, {
|
|
638
|
+
description: [],
|
|
639
|
+
name: [],
|
|
640
|
+
}));
|
|
649
641
|
return new __HttpRequest({
|
|
650
642
|
protocol,
|
|
651
643
|
hostname,
|
|
@@ -665,10 +657,10 @@ export const se_UpdateConfiguredTableCommand = async (input, context) => {
|
|
|
665
657
|
"/configuredTables/{configuredTableIdentifier}";
|
|
666
658
|
resolvedPath = __resolvedPath(resolvedPath, input, "configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
667
659
|
let body;
|
|
668
|
-
body = JSON.stringify({
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
});
|
|
660
|
+
body = JSON.stringify(take(input, {
|
|
661
|
+
description: [],
|
|
662
|
+
name: [],
|
|
663
|
+
}));
|
|
672
664
|
return new __HttpRequest({
|
|
673
665
|
protocol,
|
|
674
666
|
hostname,
|
|
@@ -689,11 +681,9 @@ export const se_UpdateConfiguredTableAnalysisRuleCommand = async (input, context
|
|
|
689
681
|
resolvedPath = __resolvedPath(resolvedPath, input, "configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
690
682
|
resolvedPath = __resolvedPath(resolvedPath, input, "analysisRuleType", () => input.analysisRuleType, "{analysisRuleType}", false);
|
|
691
683
|
let body;
|
|
692
|
-
body = JSON.stringify({
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}),
|
|
696
|
-
});
|
|
684
|
+
body = JSON.stringify(take(input, {
|
|
685
|
+
analysisRulePolicy: (_) => _json(_),
|
|
686
|
+
}));
|
|
697
687
|
return new __HttpRequest({
|
|
698
688
|
protocol,
|
|
699
689
|
hostname,
|
|
@@ -714,10 +704,10 @@ export const se_UpdateConfiguredTableAssociationCommand = async (input, context)
|
|
|
714
704
|
resolvedPath = __resolvedPath(resolvedPath, input, "configuredTableAssociationIdentifier", () => input.configuredTableAssociationIdentifier, "{configuredTableAssociationIdentifier}", false);
|
|
715
705
|
resolvedPath = __resolvedPath(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
716
706
|
let body;
|
|
717
|
-
body = JSON.stringify({
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
});
|
|
707
|
+
body = JSON.stringify(take(input, {
|
|
708
|
+
description: [],
|
|
709
|
+
roleArn: [],
|
|
710
|
+
}));
|
|
721
711
|
return new __HttpRequest({
|
|
722
712
|
protocol,
|
|
723
713
|
hostname,
|
|
@@ -736,9 +726,9 @@ export const se_UpdateMembershipCommand = async (input, context) => {
|
|
|
736
726
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships/{membershipIdentifier}";
|
|
737
727
|
resolvedPath = __resolvedPath(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
738
728
|
let body;
|
|
739
|
-
body = JSON.stringify({
|
|
740
|
-
|
|
741
|
-
});
|
|
729
|
+
body = JSON.stringify(take(input, {
|
|
730
|
+
queryLogStatus: [],
|
|
731
|
+
}));
|
|
742
732
|
return new __HttpRequest({
|
|
743
733
|
protocol,
|
|
744
734
|
hostname,
|
|
@@ -759,9 +749,9 @@ export const se_UpdateProtectedQueryCommand = async (input, context) => {
|
|
|
759
749
|
resolvedPath = __resolvedPath(resolvedPath, input, "membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
760
750
|
resolvedPath = __resolvedPath(resolvedPath, input, "protectedQueryIdentifier", () => input.protectedQueryIdentifier, "{protectedQueryIdentifier}", false);
|
|
761
751
|
let body;
|
|
762
|
-
body = JSON.stringify({
|
|
763
|
-
|
|
764
|
-
});
|
|
752
|
+
body = JSON.stringify(take(input, {
|
|
753
|
+
targetStatus: [],
|
|
754
|
+
}));
|
|
765
755
|
return new __HttpRequest({
|
|
766
756
|
protocol,
|
|
767
757
|
hostname,
|
|
@@ -780,12 +770,11 @@ export const de_BatchGetSchemaCommand = async (output, context) => {
|
|
|
780
770
|
$metadata: deserializeMetadata(output),
|
|
781
771
|
});
|
|
782
772
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
}
|
|
773
|
+
const doc = take(data, {
|
|
774
|
+
errors: _json,
|
|
775
|
+
schemas: (_) => de_SchemaList(_, context),
|
|
776
|
+
});
|
|
777
|
+
Object.assign(contents, doc);
|
|
789
778
|
return contents;
|
|
790
779
|
};
|
|
791
780
|
const de_BatchGetSchemaCommandError = async (output, context) => {
|
|
@@ -812,10 +801,9 @@ const de_BatchGetSchemaCommandError = async (output, context) => {
|
|
|
812
801
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
813
802
|
default:
|
|
814
803
|
const parsedBody = parsedOutput.body;
|
|
815
|
-
throwDefaultError({
|
|
804
|
+
return throwDefaultError({
|
|
816
805
|
output,
|
|
817
806
|
parsedBody,
|
|
818
|
-
exceptionCtor: __BaseException,
|
|
819
807
|
errorCode,
|
|
820
808
|
});
|
|
821
809
|
}
|
|
@@ -828,9 +816,10 @@ export const de_CreateCollaborationCommand = async (output, context) => {
|
|
|
828
816
|
$metadata: deserializeMetadata(output),
|
|
829
817
|
});
|
|
830
818
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
}
|
|
819
|
+
const doc = take(data, {
|
|
820
|
+
collaboration: (_) => de_Collaboration(_, context),
|
|
821
|
+
});
|
|
822
|
+
Object.assign(contents, doc);
|
|
834
823
|
return contents;
|
|
835
824
|
};
|
|
836
825
|
const de_CreateCollaborationCommandError = async (output, context) => {
|
|
@@ -857,10 +846,9 @@ const de_CreateCollaborationCommandError = async (output, context) => {
|
|
|
857
846
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
858
847
|
default:
|
|
859
848
|
const parsedBody = parsedOutput.body;
|
|
860
|
-
throwDefaultError({
|
|
849
|
+
return throwDefaultError({
|
|
861
850
|
output,
|
|
862
851
|
parsedBody,
|
|
863
|
-
exceptionCtor: __BaseException,
|
|
864
852
|
errorCode,
|
|
865
853
|
});
|
|
866
854
|
}
|
|
@@ -873,9 +861,10 @@ export const de_CreateConfiguredTableCommand = async (output, context) => {
|
|
|
873
861
|
$metadata: deserializeMetadata(output),
|
|
874
862
|
});
|
|
875
863
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
}
|
|
864
|
+
const doc = take(data, {
|
|
865
|
+
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
866
|
+
});
|
|
867
|
+
Object.assign(contents, doc);
|
|
879
868
|
return contents;
|
|
880
869
|
};
|
|
881
870
|
const de_CreateConfiguredTableCommandError = async (output, context) => {
|
|
@@ -908,10 +897,9 @@ const de_CreateConfiguredTableCommandError = async (output, context) => {
|
|
|
908
897
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
909
898
|
default:
|
|
910
899
|
const parsedBody = parsedOutput.body;
|
|
911
|
-
throwDefaultError({
|
|
900
|
+
return throwDefaultError({
|
|
912
901
|
output,
|
|
913
902
|
parsedBody,
|
|
914
|
-
exceptionCtor: __BaseException,
|
|
915
903
|
errorCode,
|
|
916
904
|
});
|
|
917
905
|
}
|
|
@@ -924,9 +912,10 @@ export const de_CreateConfiguredTableAnalysisRuleCommand = async (output, contex
|
|
|
924
912
|
$metadata: deserializeMetadata(output),
|
|
925
913
|
});
|
|
926
914
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
}
|
|
915
|
+
const doc = take(data, {
|
|
916
|
+
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
917
|
+
});
|
|
918
|
+
Object.assign(contents, doc);
|
|
930
919
|
return contents;
|
|
931
920
|
};
|
|
932
921
|
const de_CreateConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
@@ -956,10 +945,9 @@ const de_CreateConfiguredTableAnalysisRuleCommandError = async (output, context)
|
|
|
956
945
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
957
946
|
default:
|
|
958
947
|
const parsedBody = parsedOutput.body;
|
|
959
|
-
throwDefaultError({
|
|
948
|
+
return throwDefaultError({
|
|
960
949
|
output,
|
|
961
950
|
parsedBody,
|
|
962
|
-
exceptionCtor: __BaseException,
|
|
963
951
|
errorCode,
|
|
964
952
|
});
|
|
965
953
|
}
|
|
@@ -972,9 +960,10 @@ export const de_CreateConfiguredTableAssociationCommand = async (output, context
|
|
|
972
960
|
$metadata: deserializeMetadata(output),
|
|
973
961
|
});
|
|
974
962
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
}
|
|
963
|
+
const doc = take(data, {
|
|
964
|
+
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
965
|
+
});
|
|
966
|
+
Object.assign(contents, doc);
|
|
978
967
|
return contents;
|
|
979
968
|
};
|
|
980
969
|
const de_CreateConfiguredTableAssociationCommandError = async (output, context) => {
|
|
@@ -1007,10 +996,9 @@ const de_CreateConfiguredTableAssociationCommandError = async (output, context)
|
|
|
1007
996
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1008
997
|
default:
|
|
1009
998
|
const parsedBody = parsedOutput.body;
|
|
1010
|
-
throwDefaultError({
|
|
999
|
+
return throwDefaultError({
|
|
1011
1000
|
output,
|
|
1012
1001
|
parsedBody,
|
|
1013
|
-
exceptionCtor: __BaseException,
|
|
1014
1002
|
errorCode,
|
|
1015
1003
|
});
|
|
1016
1004
|
}
|
|
@@ -1023,9 +1011,10 @@ export const de_CreateMembershipCommand = async (output, context) => {
|
|
|
1023
1011
|
$metadata: deserializeMetadata(output),
|
|
1024
1012
|
});
|
|
1025
1013
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
}
|
|
1014
|
+
const doc = take(data, {
|
|
1015
|
+
membership: (_) => de_Membership(_, context),
|
|
1016
|
+
});
|
|
1017
|
+
Object.assign(contents, doc);
|
|
1029
1018
|
return contents;
|
|
1030
1019
|
};
|
|
1031
1020
|
const de_CreateMembershipCommandError = async (output, context) => {
|
|
@@ -1058,10 +1047,9 @@ const de_CreateMembershipCommandError = async (output, context) => {
|
|
|
1058
1047
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1059
1048
|
default:
|
|
1060
1049
|
const parsedBody = parsedOutput.body;
|
|
1061
|
-
throwDefaultError({
|
|
1050
|
+
return throwDefaultError({
|
|
1062
1051
|
output,
|
|
1063
1052
|
parsedBody,
|
|
1064
|
-
exceptionCtor: __BaseException,
|
|
1065
1053
|
errorCode,
|
|
1066
1054
|
});
|
|
1067
1055
|
}
|
|
@@ -1097,10 +1085,9 @@ const de_DeleteCollaborationCommandError = async (output, context) => {
|
|
|
1097
1085
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1098
1086
|
default:
|
|
1099
1087
|
const parsedBody = parsedOutput.body;
|
|
1100
|
-
throwDefaultError({
|
|
1088
|
+
return throwDefaultError({
|
|
1101
1089
|
output,
|
|
1102
1090
|
parsedBody,
|
|
1103
|
-
exceptionCtor: __BaseException,
|
|
1104
1091
|
errorCode,
|
|
1105
1092
|
});
|
|
1106
1093
|
}
|
|
@@ -1142,10 +1129,9 @@ const de_DeleteConfiguredTableCommandError = async (output, context) => {
|
|
|
1142
1129
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1143
1130
|
default:
|
|
1144
1131
|
const parsedBody = parsedOutput.body;
|
|
1145
|
-
throwDefaultError({
|
|
1132
|
+
return throwDefaultError({
|
|
1146
1133
|
output,
|
|
1147
1134
|
parsedBody,
|
|
1148
|
-
exceptionCtor: __BaseException,
|
|
1149
1135
|
errorCode,
|
|
1150
1136
|
});
|
|
1151
1137
|
}
|
|
@@ -1187,10 +1173,9 @@ const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context)
|
|
|
1187
1173
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1188
1174
|
default:
|
|
1189
1175
|
const parsedBody = parsedOutput.body;
|
|
1190
|
-
throwDefaultError({
|
|
1176
|
+
return throwDefaultError({
|
|
1191
1177
|
output,
|
|
1192
1178
|
parsedBody,
|
|
1193
|
-
exceptionCtor: __BaseException,
|
|
1194
1179
|
errorCode,
|
|
1195
1180
|
});
|
|
1196
1181
|
}
|
|
@@ -1232,10 +1217,9 @@ const de_DeleteConfiguredTableAssociationCommandError = async (output, context)
|
|
|
1232
1217
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1233
1218
|
default:
|
|
1234
1219
|
const parsedBody = parsedOutput.body;
|
|
1235
|
-
throwDefaultError({
|
|
1220
|
+
return throwDefaultError({
|
|
1236
1221
|
output,
|
|
1237
1222
|
parsedBody,
|
|
1238
|
-
exceptionCtor: __BaseException,
|
|
1239
1223
|
errorCode,
|
|
1240
1224
|
});
|
|
1241
1225
|
}
|
|
@@ -1277,10 +1261,9 @@ const de_DeleteMemberCommandError = async (output, context) => {
|
|
|
1277
1261
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1278
1262
|
default:
|
|
1279
1263
|
const parsedBody = parsedOutput.body;
|
|
1280
|
-
throwDefaultError({
|
|
1264
|
+
return throwDefaultError({
|
|
1281
1265
|
output,
|
|
1282
1266
|
parsedBody,
|
|
1283
|
-
exceptionCtor: __BaseException,
|
|
1284
1267
|
errorCode,
|
|
1285
1268
|
});
|
|
1286
1269
|
}
|
|
@@ -1322,10 +1305,9 @@ const de_DeleteMembershipCommandError = async (output, context) => {
|
|
|
1322
1305
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1323
1306
|
default:
|
|
1324
1307
|
const parsedBody = parsedOutput.body;
|
|
1325
|
-
throwDefaultError({
|
|
1308
|
+
return throwDefaultError({
|
|
1326
1309
|
output,
|
|
1327
1310
|
parsedBody,
|
|
1328
|
-
exceptionCtor: __BaseException,
|
|
1329
1311
|
errorCode,
|
|
1330
1312
|
});
|
|
1331
1313
|
}
|
|
@@ -1338,9 +1320,10 @@ export const de_GetCollaborationCommand = async (output, context) => {
|
|
|
1338
1320
|
$metadata: deserializeMetadata(output),
|
|
1339
1321
|
});
|
|
1340
1322
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
}
|
|
1323
|
+
const doc = take(data, {
|
|
1324
|
+
collaboration: (_) => de_Collaboration(_, context),
|
|
1325
|
+
});
|
|
1326
|
+
Object.assign(contents, doc);
|
|
1344
1327
|
return contents;
|
|
1345
1328
|
};
|
|
1346
1329
|
const de_GetCollaborationCommandError = async (output, context) => {
|
|
@@ -1364,10 +1347,9 @@ const de_GetCollaborationCommandError = async (output, context) => {
|
|
|
1364
1347
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1365
1348
|
default:
|
|
1366
1349
|
const parsedBody = parsedOutput.body;
|
|
1367
|
-
throwDefaultError({
|
|
1350
|
+
return throwDefaultError({
|
|
1368
1351
|
output,
|
|
1369
1352
|
parsedBody,
|
|
1370
|
-
exceptionCtor: __BaseException,
|
|
1371
1353
|
errorCode,
|
|
1372
1354
|
});
|
|
1373
1355
|
}
|
|
@@ -1380,9 +1362,10 @@ export const de_GetConfiguredTableCommand = async (output, context) => {
|
|
|
1380
1362
|
$metadata: deserializeMetadata(output),
|
|
1381
1363
|
});
|
|
1382
1364
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
}
|
|
1365
|
+
const doc = take(data, {
|
|
1366
|
+
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
1367
|
+
});
|
|
1368
|
+
Object.assign(contents, doc);
|
|
1386
1369
|
return contents;
|
|
1387
1370
|
};
|
|
1388
1371
|
const de_GetConfiguredTableCommandError = async (output, context) => {
|
|
@@ -1409,10 +1392,9 @@ const de_GetConfiguredTableCommandError = async (output, context) => {
|
|
|
1409
1392
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1410
1393
|
default:
|
|
1411
1394
|
const parsedBody = parsedOutput.body;
|
|
1412
|
-
throwDefaultError({
|
|
1395
|
+
return throwDefaultError({
|
|
1413
1396
|
output,
|
|
1414
1397
|
parsedBody,
|
|
1415
|
-
exceptionCtor: __BaseException,
|
|
1416
1398
|
errorCode,
|
|
1417
1399
|
});
|
|
1418
1400
|
}
|
|
@@ -1425,9 +1407,10 @@ export const de_GetConfiguredTableAnalysisRuleCommand = async (output, context)
|
|
|
1425
1407
|
$metadata: deserializeMetadata(output),
|
|
1426
1408
|
});
|
|
1427
1409
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
}
|
|
1410
|
+
const doc = take(data, {
|
|
1411
|
+
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
1412
|
+
});
|
|
1413
|
+
Object.assign(contents, doc);
|
|
1431
1414
|
return contents;
|
|
1432
1415
|
};
|
|
1433
1416
|
const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
@@ -1454,10 +1437,9 @@ const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) =>
|
|
|
1454
1437
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1455
1438
|
default:
|
|
1456
1439
|
const parsedBody = parsedOutput.body;
|
|
1457
|
-
throwDefaultError({
|
|
1440
|
+
return throwDefaultError({
|
|
1458
1441
|
output,
|
|
1459
1442
|
parsedBody,
|
|
1460
|
-
exceptionCtor: __BaseException,
|
|
1461
1443
|
errorCode,
|
|
1462
1444
|
});
|
|
1463
1445
|
}
|
|
@@ -1470,9 +1452,10 @@ export const de_GetConfiguredTableAssociationCommand = async (output, context) =
|
|
|
1470
1452
|
$metadata: deserializeMetadata(output),
|
|
1471
1453
|
});
|
|
1472
1454
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
}
|
|
1455
|
+
const doc = take(data, {
|
|
1456
|
+
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
1457
|
+
});
|
|
1458
|
+
Object.assign(contents, doc);
|
|
1476
1459
|
return contents;
|
|
1477
1460
|
};
|
|
1478
1461
|
const de_GetConfiguredTableAssociationCommandError = async (output, context) => {
|
|
@@ -1499,10 +1482,9 @@ const de_GetConfiguredTableAssociationCommandError = async (output, context) =>
|
|
|
1499
1482
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1500
1483
|
default:
|
|
1501
1484
|
const parsedBody = parsedOutput.body;
|
|
1502
|
-
throwDefaultError({
|
|
1485
|
+
return throwDefaultError({
|
|
1503
1486
|
output,
|
|
1504
1487
|
parsedBody,
|
|
1505
|
-
exceptionCtor: __BaseException,
|
|
1506
1488
|
errorCode,
|
|
1507
1489
|
});
|
|
1508
1490
|
}
|
|
@@ -1515,9 +1497,10 @@ export const de_GetMembershipCommand = async (output, context) => {
|
|
|
1515
1497
|
$metadata: deserializeMetadata(output),
|
|
1516
1498
|
});
|
|
1517
1499
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
}
|
|
1500
|
+
const doc = take(data, {
|
|
1501
|
+
membership: (_) => de_Membership(_, context),
|
|
1502
|
+
});
|
|
1503
|
+
Object.assign(contents, doc);
|
|
1521
1504
|
return contents;
|
|
1522
1505
|
};
|
|
1523
1506
|
const de_GetMembershipCommandError = async (output, context) => {
|
|
@@ -1544,10 +1527,9 @@ const de_GetMembershipCommandError = async (output, context) => {
|
|
|
1544
1527
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1545
1528
|
default:
|
|
1546
1529
|
const parsedBody = parsedOutput.body;
|
|
1547
|
-
throwDefaultError({
|
|
1530
|
+
return throwDefaultError({
|
|
1548
1531
|
output,
|
|
1549
1532
|
parsedBody,
|
|
1550
|
-
exceptionCtor: __BaseException,
|
|
1551
1533
|
errorCode,
|
|
1552
1534
|
});
|
|
1553
1535
|
}
|
|
@@ -1560,9 +1542,10 @@ export const de_GetProtectedQueryCommand = async (output, context) => {
|
|
|
1560
1542
|
$metadata: deserializeMetadata(output),
|
|
1561
1543
|
});
|
|
1562
1544
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
}
|
|
1545
|
+
const doc = take(data, {
|
|
1546
|
+
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
1547
|
+
});
|
|
1548
|
+
Object.assign(contents, doc);
|
|
1566
1549
|
return contents;
|
|
1567
1550
|
};
|
|
1568
1551
|
const de_GetProtectedQueryCommandError = async (output, context) => {
|
|
@@ -1589,10 +1572,9 @@ const de_GetProtectedQueryCommandError = async (output, context) => {
|
|
|
1589
1572
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1590
1573
|
default:
|
|
1591
1574
|
const parsedBody = parsedOutput.body;
|
|
1592
|
-
throwDefaultError({
|
|
1575
|
+
return throwDefaultError({
|
|
1593
1576
|
output,
|
|
1594
1577
|
parsedBody,
|
|
1595
|
-
exceptionCtor: __BaseException,
|
|
1596
1578
|
errorCode,
|
|
1597
1579
|
});
|
|
1598
1580
|
}
|
|
@@ -1605,9 +1587,10 @@ export const de_GetSchemaCommand = async (output, context) => {
|
|
|
1605
1587
|
$metadata: deserializeMetadata(output),
|
|
1606
1588
|
});
|
|
1607
1589
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
}
|
|
1590
|
+
const doc = take(data, {
|
|
1591
|
+
schema: (_) => de_Schema(_, context),
|
|
1592
|
+
});
|
|
1593
|
+
Object.assign(contents, doc);
|
|
1611
1594
|
return contents;
|
|
1612
1595
|
};
|
|
1613
1596
|
const de_GetSchemaCommandError = async (output, context) => {
|
|
@@ -1634,10 +1617,9 @@ const de_GetSchemaCommandError = async (output, context) => {
|
|
|
1634
1617
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1635
1618
|
default:
|
|
1636
1619
|
const parsedBody = parsedOutput.body;
|
|
1637
|
-
throwDefaultError({
|
|
1620
|
+
return throwDefaultError({
|
|
1638
1621
|
output,
|
|
1639
1622
|
parsedBody,
|
|
1640
|
-
exceptionCtor: __BaseException,
|
|
1641
1623
|
errorCode,
|
|
1642
1624
|
});
|
|
1643
1625
|
}
|
|
@@ -1650,9 +1632,10 @@ export const de_GetSchemaAnalysisRuleCommand = async (output, context) => {
|
|
|
1650
1632
|
$metadata: deserializeMetadata(output),
|
|
1651
1633
|
});
|
|
1652
1634
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
}
|
|
1635
|
+
const doc = take(data, {
|
|
1636
|
+
analysisRule: (_) => de_AnalysisRule(_, context),
|
|
1637
|
+
});
|
|
1638
|
+
Object.assign(contents, doc);
|
|
1656
1639
|
return contents;
|
|
1657
1640
|
};
|
|
1658
1641
|
const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
|
|
@@ -1679,10 +1662,9 @@ const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
|
|
|
1679
1662
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1680
1663
|
default:
|
|
1681
1664
|
const parsedBody = parsedOutput.body;
|
|
1682
|
-
throwDefaultError({
|
|
1665
|
+
return throwDefaultError({
|
|
1683
1666
|
output,
|
|
1684
1667
|
parsedBody,
|
|
1685
|
-
exceptionCtor: __BaseException,
|
|
1686
1668
|
errorCode,
|
|
1687
1669
|
});
|
|
1688
1670
|
}
|
|
@@ -1695,12 +1677,11 @@ export const de_ListCollaborationsCommand = async (output, context) => {
|
|
|
1695
1677
|
$metadata: deserializeMetadata(output),
|
|
1696
1678
|
});
|
|
1697
1679
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
}
|
|
1680
|
+
const doc = take(data, {
|
|
1681
|
+
collaborationList: (_) => de_CollaborationSummaryList(_, context),
|
|
1682
|
+
nextToken: __expectString,
|
|
1683
|
+
});
|
|
1684
|
+
Object.assign(contents, doc);
|
|
1704
1685
|
return contents;
|
|
1705
1686
|
};
|
|
1706
1687
|
const de_ListCollaborationsCommandError = async (output, context) => {
|
|
@@ -1724,10 +1705,9 @@ const de_ListCollaborationsCommandError = async (output, context) => {
|
|
|
1724
1705
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1725
1706
|
default:
|
|
1726
1707
|
const parsedBody = parsedOutput.body;
|
|
1727
|
-
throwDefaultError({
|
|
1708
|
+
return throwDefaultError({
|
|
1728
1709
|
output,
|
|
1729
1710
|
parsedBody,
|
|
1730
|
-
exceptionCtor: __BaseException,
|
|
1731
1711
|
errorCode,
|
|
1732
1712
|
});
|
|
1733
1713
|
}
|
|
@@ -1740,12 +1720,11 @@ export const de_ListConfiguredTableAssociationsCommand = async (output, context)
|
|
|
1740
1720
|
$metadata: deserializeMetadata(output),
|
|
1741
1721
|
});
|
|
1742
1722
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
}
|
|
1723
|
+
const doc = take(data, {
|
|
1724
|
+
configuredTableAssociationSummaries: (_) => de_ConfiguredTableAssociationSummaryList(_, context),
|
|
1725
|
+
nextToken: __expectString,
|
|
1726
|
+
});
|
|
1727
|
+
Object.assign(contents, doc);
|
|
1749
1728
|
return contents;
|
|
1750
1729
|
};
|
|
1751
1730
|
const de_ListConfiguredTableAssociationsCommandError = async (output, context) => {
|
|
@@ -1772,10 +1751,9 @@ const de_ListConfiguredTableAssociationsCommandError = async (output, context) =
|
|
|
1772
1751
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1773
1752
|
default:
|
|
1774
1753
|
const parsedBody = parsedOutput.body;
|
|
1775
|
-
throwDefaultError({
|
|
1754
|
+
return throwDefaultError({
|
|
1776
1755
|
output,
|
|
1777
1756
|
parsedBody,
|
|
1778
|
-
exceptionCtor: __BaseException,
|
|
1779
1757
|
errorCode,
|
|
1780
1758
|
});
|
|
1781
1759
|
}
|
|
@@ -1788,12 +1766,11 @@ export const de_ListConfiguredTablesCommand = async (output, context) => {
|
|
|
1788
1766
|
$metadata: deserializeMetadata(output),
|
|
1789
1767
|
});
|
|
1790
1768
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
}
|
|
1769
|
+
const doc = take(data, {
|
|
1770
|
+
configuredTableSummaries: (_) => de_ConfiguredTableSummaryList(_, context),
|
|
1771
|
+
nextToken: __expectString,
|
|
1772
|
+
});
|
|
1773
|
+
Object.assign(contents, doc);
|
|
1797
1774
|
return contents;
|
|
1798
1775
|
};
|
|
1799
1776
|
const de_ListConfiguredTablesCommandError = async (output, context) => {
|
|
@@ -1817,10 +1794,9 @@ const de_ListConfiguredTablesCommandError = async (output, context) => {
|
|
|
1817
1794
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1818
1795
|
default:
|
|
1819
1796
|
const parsedBody = parsedOutput.body;
|
|
1820
|
-
throwDefaultError({
|
|
1797
|
+
return throwDefaultError({
|
|
1821
1798
|
output,
|
|
1822
1799
|
parsedBody,
|
|
1823
|
-
exceptionCtor: __BaseException,
|
|
1824
1800
|
errorCode,
|
|
1825
1801
|
});
|
|
1826
1802
|
}
|
|
@@ -1833,12 +1809,11 @@ export const de_ListMembersCommand = async (output, context) => {
|
|
|
1833
1809
|
$metadata: deserializeMetadata(output),
|
|
1834
1810
|
});
|
|
1835
1811
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
}
|
|
1812
|
+
const doc = take(data, {
|
|
1813
|
+
memberSummaries: (_) => de_MemberSummaryList(_, context),
|
|
1814
|
+
nextToken: __expectString,
|
|
1815
|
+
});
|
|
1816
|
+
Object.assign(contents, doc);
|
|
1842
1817
|
return contents;
|
|
1843
1818
|
};
|
|
1844
1819
|
const de_ListMembersCommandError = async (output, context) => {
|
|
@@ -1865,10 +1840,9 @@ const de_ListMembersCommandError = async (output, context) => {
|
|
|
1865
1840
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1866
1841
|
default:
|
|
1867
1842
|
const parsedBody = parsedOutput.body;
|
|
1868
|
-
throwDefaultError({
|
|
1843
|
+
return throwDefaultError({
|
|
1869
1844
|
output,
|
|
1870
1845
|
parsedBody,
|
|
1871
|
-
exceptionCtor: __BaseException,
|
|
1872
1846
|
errorCode,
|
|
1873
1847
|
});
|
|
1874
1848
|
}
|
|
@@ -1881,12 +1855,11 @@ export const de_ListMembershipsCommand = async (output, context) => {
|
|
|
1881
1855
|
$metadata: deserializeMetadata(output),
|
|
1882
1856
|
});
|
|
1883
1857
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
}
|
|
1858
|
+
const doc = take(data, {
|
|
1859
|
+
membershipSummaries: (_) => de_MembershipSummaryList(_, context),
|
|
1860
|
+
nextToken: __expectString,
|
|
1861
|
+
});
|
|
1862
|
+
Object.assign(contents, doc);
|
|
1890
1863
|
return contents;
|
|
1891
1864
|
};
|
|
1892
1865
|
const de_ListMembershipsCommandError = async (output, context) => {
|
|
@@ -1910,10 +1883,9 @@ const de_ListMembershipsCommandError = async (output, context) => {
|
|
|
1910
1883
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1911
1884
|
default:
|
|
1912
1885
|
const parsedBody = parsedOutput.body;
|
|
1913
|
-
throwDefaultError({
|
|
1886
|
+
return throwDefaultError({
|
|
1914
1887
|
output,
|
|
1915
1888
|
parsedBody,
|
|
1916
|
-
exceptionCtor: __BaseException,
|
|
1917
1889
|
errorCode,
|
|
1918
1890
|
});
|
|
1919
1891
|
}
|
|
@@ -1926,12 +1898,11 @@ export const de_ListProtectedQueriesCommand = async (output, context) => {
|
|
|
1926
1898
|
$metadata: deserializeMetadata(output),
|
|
1927
1899
|
});
|
|
1928
1900
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
}
|
|
1901
|
+
const doc = take(data, {
|
|
1902
|
+
nextToken: __expectString,
|
|
1903
|
+
protectedQueries: (_) => de_ProtectedQuerySummaryList(_, context),
|
|
1904
|
+
});
|
|
1905
|
+
Object.assign(contents, doc);
|
|
1935
1906
|
return contents;
|
|
1936
1907
|
};
|
|
1937
1908
|
const de_ListProtectedQueriesCommandError = async (output, context) => {
|
|
@@ -1958,10 +1929,9 @@ const de_ListProtectedQueriesCommandError = async (output, context) => {
|
|
|
1958
1929
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1959
1930
|
default:
|
|
1960
1931
|
const parsedBody = parsedOutput.body;
|
|
1961
|
-
throwDefaultError({
|
|
1932
|
+
return throwDefaultError({
|
|
1962
1933
|
output,
|
|
1963
1934
|
parsedBody,
|
|
1964
|
-
exceptionCtor: __BaseException,
|
|
1965
1935
|
errorCode,
|
|
1966
1936
|
});
|
|
1967
1937
|
}
|
|
@@ -1974,12 +1944,11 @@ export const de_ListSchemasCommand = async (output, context) => {
|
|
|
1974
1944
|
$metadata: deserializeMetadata(output),
|
|
1975
1945
|
});
|
|
1976
1946
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
}
|
|
1947
|
+
const doc = take(data, {
|
|
1948
|
+
nextToken: __expectString,
|
|
1949
|
+
schemaSummaries: (_) => de_SchemaSummaryList(_, context),
|
|
1950
|
+
});
|
|
1951
|
+
Object.assign(contents, doc);
|
|
1983
1952
|
return contents;
|
|
1984
1953
|
};
|
|
1985
1954
|
const de_ListSchemasCommandError = async (output, context) => {
|
|
@@ -2006,10 +1975,9 @@ const de_ListSchemasCommandError = async (output, context) => {
|
|
|
2006
1975
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2007
1976
|
default:
|
|
2008
1977
|
const parsedBody = parsedOutput.body;
|
|
2009
|
-
throwDefaultError({
|
|
1978
|
+
return throwDefaultError({
|
|
2010
1979
|
output,
|
|
2011
1980
|
parsedBody,
|
|
2012
|
-
exceptionCtor: __BaseException,
|
|
2013
1981
|
errorCode,
|
|
2014
1982
|
});
|
|
2015
1983
|
}
|
|
@@ -2022,9 +1990,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2022
1990
|
$metadata: deserializeMetadata(output),
|
|
2023
1991
|
});
|
|
2024
1992
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
}
|
|
1993
|
+
const doc = take(data, {
|
|
1994
|
+
tags: _json,
|
|
1995
|
+
});
|
|
1996
|
+
Object.assign(contents, doc);
|
|
2028
1997
|
return contents;
|
|
2029
1998
|
};
|
|
2030
1999
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2042,10 +2011,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2042
2011
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2043
2012
|
default:
|
|
2044
2013
|
const parsedBody = parsedOutput.body;
|
|
2045
|
-
throwDefaultError({
|
|
2014
|
+
return throwDefaultError({
|
|
2046
2015
|
output,
|
|
2047
2016
|
parsedBody,
|
|
2048
|
-
exceptionCtor: __BaseException,
|
|
2049
2017
|
errorCode,
|
|
2050
2018
|
});
|
|
2051
2019
|
}
|
|
@@ -2058,9 +2026,10 @@ export const de_StartProtectedQueryCommand = async (output, context) => {
|
|
|
2058
2026
|
$metadata: deserializeMetadata(output),
|
|
2059
2027
|
});
|
|
2060
2028
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
}
|
|
2029
|
+
const doc = take(data, {
|
|
2030
|
+
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
2031
|
+
});
|
|
2032
|
+
Object.assign(contents, doc);
|
|
2064
2033
|
return contents;
|
|
2065
2034
|
};
|
|
2066
2035
|
const de_StartProtectedQueryCommandError = async (output, context) => {
|
|
@@ -2090,10 +2059,9 @@ const de_StartProtectedQueryCommandError = async (output, context) => {
|
|
|
2090
2059
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2091
2060
|
default:
|
|
2092
2061
|
const parsedBody = parsedOutput.body;
|
|
2093
|
-
throwDefaultError({
|
|
2062
|
+
return throwDefaultError({
|
|
2094
2063
|
output,
|
|
2095
2064
|
parsedBody,
|
|
2096
|
-
exceptionCtor: __BaseException,
|
|
2097
2065
|
errorCode,
|
|
2098
2066
|
});
|
|
2099
2067
|
}
|
|
@@ -2123,10 +2091,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2123
2091
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2124
2092
|
default:
|
|
2125
2093
|
const parsedBody = parsedOutput.body;
|
|
2126
|
-
throwDefaultError({
|
|
2094
|
+
return throwDefaultError({
|
|
2127
2095
|
output,
|
|
2128
2096
|
parsedBody,
|
|
2129
|
-
exceptionCtor: __BaseException,
|
|
2130
2097
|
errorCode,
|
|
2131
2098
|
});
|
|
2132
2099
|
}
|
|
@@ -2156,10 +2123,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2156
2123
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2157
2124
|
default:
|
|
2158
2125
|
const parsedBody = parsedOutput.body;
|
|
2159
|
-
throwDefaultError({
|
|
2126
|
+
return throwDefaultError({
|
|
2160
2127
|
output,
|
|
2161
2128
|
parsedBody,
|
|
2162
|
-
exceptionCtor: __BaseException,
|
|
2163
2129
|
errorCode,
|
|
2164
2130
|
});
|
|
2165
2131
|
}
|
|
@@ -2172,9 +2138,10 @@ export const de_UpdateCollaborationCommand = async (output, context) => {
|
|
|
2172
2138
|
$metadata: deserializeMetadata(output),
|
|
2173
2139
|
});
|
|
2174
2140
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
}
|
|
2141
|
+
const doc = take(data, {
|
|
2142
|
+
collaboration: (_) => de_Collaboration(_, context),
|
|
2143
|
+
});
|
|
2144
|
+
Object.assign(contents, doc);
|
|
2178
2145
|
return contents;
|
|
2179
2146
|
};
|
|
2180
2147
|
const de_UpdateCollaborationCommandError = async (output, context) => {
|
|
@@ -2198,10 +2165,9 @@ const de_UpdateCollaborationCommandError = async (output, context) => {
|
|
|
2198
2165
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2199
2166
|
default:
|
|
2200
2167
|
const parsedBody = parsedOutput.body;
|
|
2201
|
-
throwDefaultError({
|
|
2168
|
+
return throwDefaultError({
|
|
2202
2169
|
output,
|
|
2203
2170
|
parsedBody,
|
|
2204
|
-
exceptionCtor: __BaseException,
|
|
2205
2171
|
errorCode,
|
|
2206
2172
|
});
|
|
2207
2173
|
}
|
|
@@ -2214,9 +2180,10 @@ export const de_UpdateConfiguredTableCommand = async (output, context) => {
|
|
|
2214
2180
|
$metadata: deserializeMetadata(output),
|
|
2215
2181
|
});
|
|
2216
2182
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
}
|
|
2183
|
+
const doc = take(data, {
|
|
2184
|
+
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
2185
|
+
});
|
|
2186
|
+
Object.assign(contents, doc);
|
|
2220
2187
|
return contents;
|
|
2221
2188
|
};
|
|
2222
2189
|
const de_UpdateConfiguredTableCommandError = async (output, context) => {
|
|
@@ -2246,10 +2213,9 @@ const de_UpdateConfiguredTableCommandError = async (output, context) => {
|
|
|
2246
2213
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2247
2214
|
default:
|
|
2248
2215
|
const parsedBody = parsedOutput.body;
|
|
2249
|
-
throwDefaultError({
|
|
2216
|
+
return throwDefaultError({
|
|
2250
2217
|
output,
|
|
2251
2218
|
parsedBody,
|
|
2252
|
-
exceptionCtor: __BaseException,
|
|
2253
2219
|
errorCode,
|
|
2254
2220
|
});
|
|
2255
2221
|
}
|
|
@@ -2262,9 +2228,10 @@ export const de_UpdateConfiguredTableAnalysisRuleCommand = async (output, contex
|
|
|
2262
2228
|
$metadata: deserializeMetadata(output),
|
|
2263
2229
|
});
|
|
2264
2230
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
}
|
|
2231
|
+
const doc = take(data, {
|
|
2232
|
+
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
2233
|
+
});
|
|
2234
|
+
Object.assign(contents, doc);
|
|
2268
2235
|
return contents;
|
|
2269
2236
|
};
|
|
2270
2237
|
const de_UpdateConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
@@ -2294,10 +2261,9 @@ const de_UpdateConfiguredTableAnalysisRuleCommandError = async (output, context)
|
|
|
2294
2261
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2295
2262
|
default:
|
|
2296
2263
|
const parsedBody = parsedOutput.body;
|
|
2297
|
-
throwDefaultError({
|
|
2264
|
+
return throwDefaultError({
|
|
2298
2265
|
output,
|
|
2299
2266
|
parsedBody,
|
|
2300
|
-
exceptionCtor: __BaseException,
|
|
2301
2267
|
errorCode,
|
|
2302
2268
|
});
|
|
2303
2269
|
}
|
|
@@ -2310,9 +2276,10 @@ export const de_UpdateConfiguredTableAssociationCommand = async (output, context
|
|
|
2310
2276
|
$metadata: deserializeMetadata(output),
|
|
2311
2277
|
});
|
|
2312
2278
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
}
|
|
2279
|
+
const doc = take(data, {
|
|
2280
|
+
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
2281
|
+
});
|
|
2282
|
+
Object.assign(contents, doc);
|
|
2316
2283
|
return contents;
|
|
2317
2284
|
};
|
|
2318
2285
|
const de_UpdateConfiguredTableAssociationCommandError = async (output, context) => {
|
|
@@ -2342,10 +2309,9 @@ const de_UpdateConfiguredTableAssociationCommandError = async (output, context)
|
|
|
2342
2309
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2343
2310
|
default:
|
|
2344
2311
|
const parsedBody = parsedOutput.body;
|
|
2345
|
-
throwDefaultError({
|
|
2312
|
+
return throwDefaultError({
|
|
2346
2313
|
output,
|
|
2347
2314
|
parsedBody,
|
|
2348
|
-
exceptionCtor: __BaseException,
|
|
2349
2315
|
errorCode,
|
|
2350
2316
|
});
|
|
2351
2317
|
}
|
|
@@ -2358,9 +2324,10 @@ export const de_UpdateMembershipCommand = async (output, context) => {
|
|
|
2358
2324
|
$metadata: deserializeMetadata(output),
|
|
2359
2325
|
});
|
|
2360
2326
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
}
|
|
2327
|
+
const doc = take(data, {
|
|
2328
|
+
membership: (_) => de_Membership(_, context),
|
|
2329
|
+
});
|
|
2330
|
+
Object.assign(contents, doc);
|
|
2364
2331
|
return contents;
|
|
2365
2332
|
};
|
|
2366
2333
|
const de_UpdateMembershipCommandError = async (output, context) => {
|
|
@@ -2390,10 +2357,9 @@ const de_UpdateMembershipCommandError = async (output, context) => {
|
|
|
2390
2357
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2391
2358
|
default:
|
|
2392
2359
|
const parsedBody = parsedOutput.body;
|
|
2393
|
-
throwDefaultError({
|
|
2360
|
+
return throwDefaultError({
|
|
2394
2361
|
output,
|
|
2395
2362
|
parsedBody,
|
|
2396
|
-
exceptionCtor: __BaseException,
|
|
2397
2363
|
errorCode,
|
|
2398
2364
|
});
|
|
2399
2365
|
}
|
|
@@ -2406,9 +2372,10 @@ export const de_UpdateProtectedQueryCommand = async (output, context) => {
|
|
|
2406
2372
|
$metadata: deserializeMetadata(output),
|
|
2407
2373
|
});
|
|
2408
2374
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
}
|
|
2375
|
+
const doc = take(data, {
|
|
2376
|
+
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
2377
|
+
});
|
|
2378
|
+
Object.assign(contents, doc);
|
|
2412
2379
|
return contents;
|
|
2413
2380
|
};
|
|
2414
2381
|
const de_UpdateProtectedQueryCommandError = async (output, context) => {
|
|
@@ -2438,24 +2405,22 @@ const de_UpdateProtectedQueryCommandError = async (output, context) => {
|
|
|
2438
2405
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2439
2406
|
default:
|
|
2440
2407
|
const parsedBody = parsedOutput.body;
|
|
2441
|
-
throwDefaultError({
|
|
2408
|
+
return throwDefaultError({
|
|
2442
2409
|
output,
|
|
2443
2410
|
parsedBody,
|
|
2444
|
-
exceptionCtor: __BaseException,
|
|
2445
2411
|
errorCode,
|
|
2446
2412
|
});
|
|
2447
2413
|
}
|
|
2448
2414
|
};
|
|
2449
|
-
const
|
|
2415
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2450
2416
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2451
2417
|
const contents = map({});
|
|
2452
2418
|
const data = parsedOutput.body;
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
}
|
|
2419
|
+
const doc = take(data, {
|
|
2420
|
+
message: __expectString,
|
|
2421
|
+
reason: __expectString,
|
|
2422
|
+
});
|
|
2423
|
+
Object.assign(contents, doc);
|
|
2459
2424
|
const exception = new AccessDeniedException({
|
|
2460
2425
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2461
2426
|
...contents,
|
|
@@ -2465,18 +2430,13 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2465
2430
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2466
2431
|
const contents = map({});
|
|
2467
2432
|
const data = parsedOutput.body;
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
}
|
|
2474
|
-
|
|
2475
|
-
contents.resourceId = __expectString(data.resourceId);
|
|
2476
|
-
}
|
|
2477
|
-
if (data.resourceType != null) {
|
|
2478
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
2479
|
-
}
|
|
2433
|
+
const doc = take(data, {
|
|
2434
|
+
message: __expectString,
|
|
2435
|
+
reason: __expectString,
|
|
2436
|
+
resourceId: __expectString,
|
|
2437
|
+
resourceType: __expectString,
|
|
2438
|
+
});
|
|
2439
|
+
Object.assign(contents, doc);
|
|
2480
2440
|
const exception = new ConflictException({
|
|
2481
2441
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2482
2442
|
...contents,
|
|
@@ -2486,9 +2446,10 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2486
2446
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2487
2447
|
const contents = map({});
|
|
2488
2448
|
const data = parsedOutput.body;
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
}
|
|
2449
|
+
const doc = take(data, {
|
|
2450
|
+
message: __expectString,
|
|
2451
|
+
});
|
|
2452
|
+
Object.assign(contents, doc);
|
|
2492
2453
|
const exception = new InternalServerException({
|
|
2493
2454
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2494
2455
|
...contents,
|
|
@@ -2498,15 +2459,12 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2498
2459
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2499
2460
|
const contents = map({});
|
|
2500
2461
|
const data = parsedOutput.body;
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
if (data.resourceType != null) {
|
|
2508
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
2509
|
-
}
|
|
2462
|
+
const doc = take(data, {
|
|
2463
|
+
message: __expectString,
|
|
2464
|
+
resourceId: __expectString,
|
|
2465
|
+
resourceType: __expectString,
|
|
2466
|
+
});
|
|
2467
|
+
Object.assign(contents, doc);
|
|
2510
2468
|
const exception = new ResourceNotFoundException({
|
|
2511
2469
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2512
2470
|
...contents,
|
|
@@ -2516,15 +2474,12 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2516
2474
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2517
2475
|
const contents = map({});
|
|
2518
2476
|
const data = parsedOutput.body;
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
if (data.quotaValue != null) {
|
|
2526
|
-
contents.quotaValue = __limitedParseDouble(data.quotaValue);
|
|
2527
|
-
}
|
|
2477
|
+
const doc = take(data, {
|
|
2478
|
+
message: __expectString,
|
|
2479
|
+
quotaName: __expectString,
|
|
2480
|
+
quotaValue: __limitedParseDouble,
|
|
2481
|
+
});
|
|
2482
|
+
Object.assign(contents, doc);
|
|
2528
2483
|
const exception = new ServiceQuotaExceededException({
|
|
2529
2484
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2530
2485
|
...contents,
|
|
@@ -2534,9 +2489,10 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2534
2489
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2535
2490
|
const contents = map({});
|
|
2536
2491
|
const data = parsedOutput.body;
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
}
|
|
2492
|
+
const doc = take(data, {
|
|
2493
|
+
message: __expectString,
|
|
2494
|
+
});
|
|
2495
|
+
Object.assign(contents, doc);
|
|
2540
2496
|
const exception = new ThrottlingException({
|
|
2541
2497
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2542
2498
|
...contents,
|
|
@@ -2546,798 +2502,280 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2546
2502
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2547
2503
|
const contents = map({});
|
|
2548
2504
|
const data = parsedOutput.body;
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
if (data.reason != null) {
|
|
2556
|
-
contents.reason = __expectString(data.reason);
|
|
2557
|
-
}
|
|
2505
|
+
const doc = take(data, {
|
|
2506
|
+
fieldList: _json,
|
|
2507
|
+
message: __expectString,
|
|
2508
|
+
reason: __expectString,
|
|
2509
|
+
});
|
|
2510
|
+
Object.assign(contents, doc);
|
|
2558
2511
|
const exception = new ValidationException({
|
|
2559
2512
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2560
2513
|
...contents,
|
|
2561
2514
|
});
|
|
2562
2515
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2563
2516
|
};
|
|
2564
|
-
const se_AggregateColumn = (input, context) => {
|
|
2565
|
-
return {
|
|
2566
|
-
...(input.columnNames != null && { columnNames: se_AnalysisRuleColumnNameList(input.columnNames, context) }),
|
|
2567
|
-
...(input.function != null && { function: input.function }),
|
|
2568
|
-
};
|
|
2569
|
-
};
|
|
2570
|
-
const se_AggregateColumnList = (input, context) => {
|
|
2571
|
-
return input
|
|
2572
|
-
.filter((e) => e != null)
|
|
2573
|
-
.map((entry) => {
|
|
2574
|
-
return se_AggregateColumn(entry, context);
|
|
2575
|
-
});
|
|
2576
|
-
};
|
|
2577
|
-
const se_AggregationConstraint = (input, context) => {
|
|
2578
|
-
return {
|
|
2579
|
-
...(input.columnName != null && { columnName: input.columnName }),
|
|
2580
|
-
...(input.minimum != null && { minimum: input.minimum }),
|
|
2581
|
-
...(input.type != null && { type: input.type }),
|
|
2582
|
-
};
|
|
2583
|
-
};
|
|
2584
|
-
const se_AggregationConstraints = (input, context) => {
|
|
2585
|
-
return input
|
|
2586
|
-
.filter((e) => e != null)
|
|
2587
|
-
.map((entry) => {
|
|
2588
|
-
return se_AggregationConstraint(entry, context);
|
|
2589
|
-
});
|
|
2590
|
-
};
|
|
2591
|
-
const se_AllowedColumnList = (input, context) => {
|
|
2592
|
-
return input
|
|
2593
|
-
.filter((e) => e != null)
|
|
2594
|
-
.map((entry) => {
|
|
2595
|
-
return entry;
|
|
2596
|
-
});
|
|
2597
|
-
};
|
|
2598
|
-
const se_AnalysisRuleAggregation = (input, context) => {
|
|
2599
|
-
return {
|
|
2600
|
-
...(input.aggregateColumns != null && {
|
|
2601
|
-
aggregateColumns: se_AggregateColumnList(input.aggregateColumns, context),
|
|
2602
|
-
}),
|
|
2603
|
-
...(input.dimensionColumns != null && {
|
|
2604
|
-
dimensionColumns: se_AnalysisRuleColumnList(input.dimensionColumns, context),
|
|
2605
|
-
}),
|
|
2606
|
-
...(input.joinColumns != null && { joinColumns: se_AnalysisRuleColumnList(input.joinColumns, context) }),
|
|
2607
|
-
...(input.joinRequired != null && { joinRequired: input.joinRequired }),
|
|
2608
|
-
...(input.outputConstraints != null && {
|
|
2609
|
-
outputConstraints: se_AggregationConstraints(input.outputConstraints, context),
|
|
2610
|
-
}),
|
|
2611
|
-
...(input.scalarFunctions != null && { scalarFunctions: se_ScalarFunctionsList(input.scalarFunctions, context) }),
|
|
2612
|
-
};
|
|
2613
|
-
};
|
|
2614
|
-
const se_AnalysisRuleColumnList = (input, context) => {
|
|
2615
|
-
return input
|
|
2616
|
-
.filter((e) => e != null)
|
|
2617
|
-
.map((entry) => {
|
|
2618
|
-
return entry;
|
|
2619
|
-
});
|
|
2620
|
-
};
|
|
2621
|
-
const se_AnalysisRuleColumnNameList = (input, context) => {
|
|
2622
|
-
return input
|
|
2623
|
-
.filter((e) => e != null)
|
|
2624
|
-
.map((entry) => {
|
|
2625
|
-
return entry;
|
|
2626
|
-
});
|
|
2627
|
-
};
|
|
2628
|
-
const se_AnalysisRuleList = (input, context) => {
|
|
2629
|
-
return {
|
|
2630
|
-
...(input.joinColumns != null && { joinColumns: se_AnalysisRuleColumnList(input.joinColumns, context) }),
|
|
2631
|
-
...(input.listColumns != null && { listColumns: se_AnalysisRuleColumnList(input.listColumns, context) }),
|
|
2632
|
-
};
|
|
2633
|
-
};
|
|
2634
|
-
const se_ConfiguredTableAnalysisRulePolicy = (input, context) => {
|
|
2635
|
-
return ConfiguredTableAnalysisRulePolicy.visit(input, {
|
|
2636
|
-
v1: (value) => ({ v1: se_ConfiguredTableAnalysisRulePolicyV1(value, context) }),
|
|
2637
|
-
_: (name, value) => ({ name: value }),
|
|
2638
|
-
});
|
|
2639
|
-
};
|
|
2640
|
-
const se_ConfiguredTableAnalysisRulePolicyV1 = (input, context) => {
|
|
2641
|
-
return ConfiguredTableAnalysisRulePolicyV1.visit(input, {
|
|
2642
|
-
aggregation: (value) => ({ aggregation: se_AnalysisRuleAggregation(value, context) }),
|
|
2643
|
-
list: (value) => ({ list: se_AnalysisRuleList(value, context) }),
|
|
2644
|
-
_: (name, value) => ({ name: value }),
|
|
2645
|
-
});
|
|
2646
|
-
};
|
|
2647
|
-
const se_DataEncryptionMetadata = (input, context) => {
|
|
2648
|
-
return {
|
|
2649
|
-
...(input.allowCleartext != null && { allowCleartext: input.allowCleartext }),
|
|
2650
|
-
...(input.allowDuplicates != null && { allowDuplicates: input.allowDuplicates }),
|
|
2651
|
-
...(input.allowJoinsOnColumnsWithDifferentNames != null && {
|
|
2652
|
-
allowJoinsOnColumnsWithDifferentNames: input.allowJoinsOnColumnsWithDifferentNames,
|
|
2653
|
-
}),
|
|
2654
|
-
...(input.preserveNulls != null && { preserveNulls: input.preserveNulls }),
|
|
2655
|
-
};
|
|
2656
|
-
};
|
|
2657
|
-
const se_GlueTableReference = (input, context) => {
|
|
2658
|
-
return {
|
|
2659
|
-
...(input.databaseName != null && { databaseName: input.databaseName }),
|
|
2660
|
-
...(input.tableName != null && { tableName: input.tableName }),
|
|
2661
|
-
};
|
|
2662
|
-
};
|
|
2663
|
-
const se_MemberAbilities = (input, context) => {
|
|
2664
|
-
return input
|
|
2665
|
-
.filter((e) => e != null)
|
|
2666
|
-
.map((entry) => {
|
|
2667
|
-
return entry;
|
|
2668
|
-
});
|
|
2669
|
-
};
|
|
2670
|
-
const se_MemberList = (input, context) => {
|
|
2671
|
-
return input
|
|
2672
|
-
.filter((e) => e != null)
|
|
2673
|
-
.map((entry) => {
|
|
2674
|
-
return se_MemberSpecification(entry, context);
|
|
2675
|
-
});
|
|
2676
|
-
};
|
|
2677
|
-
const se_MemberSpecification = (input, context) => {
|
|
2678
|
-
return {
|
|
2679
|
-
...(input.accountId != null && { accountId: input.accountId }),
|
|
2680
|
-
...(input.displayName != null && { displayName: input.displayName }),
|
|
2681
|
-
...(input.memberAbilities != null && { memberAbilities: se_MemberAbilities(input.memberAbilities, context) }),
|
|
2682
|
-
};
|
|
2683
|
-
};
|
|
2684
|
-
const se_ProtectedQueryOutputConfiguration = (input, context) => {
|
|
2685
|
-
return ProtectedQueryOutputConfiguration.visit(input, {
|
|
2686
|
-
s3: (value) => ({ s3: se_ProtectedQueryS3OutputConfiguration(value, context) }),
|
|
2687
|
-
_: (name, value) => ({ name: value }),
|
|
2688
|
-
});
|
|
2689
|
-
};
|
|
2690
|
-
const se_ProtectedQueryResultConfiguration = (input, context) => {
|
|
2691
|
-
return {
|
|
2692
|
-
...(input.outputConfiguration != null && {
|
|
2693
|
-
outputConfiguration: se_ProtectedQueryOutputConfiguration(input.outputConfiguration, context),
|
|
2694
|
-
}),
|
|
2695
|
-
};
|
|
2696
|
-
};
|
|
2697
|
-
const se_ProtectedQueryS3OutputConfiguration = (input, context) => {
|
|
2698
|
-
return {
|
|
2699
|
-
...(input.bucket != null && { bucket: input.bucket }),
|
|
2700
|
-
...(input.keyPrefix != null && { keyPrefix: input.keyPrefix }),
|
|
2701
|
-
...(input.resultFormat != null && { resultFormat: input.resultFormat }),
|
|
2702
|
-
};
|
|
2703
|
-
};
|
|
2704
|
-
const se_ProtectedQuerySQLParameters = (input, context) => {
|
|
2705
|
-
return {
|
|
2706
|
-
...(input.queryString != null && { queryString: input.queryString }),
|
|
2707
|
-
};
|
|
2708
|
-
};
|
|
2709
|
-
const se_ScalarFunctionsList = (input, context) => {
|
|
2710
|
-
return input
|
|
2711
|
-
.filter((e) => e != null)
|
|
2712
|
-
.map((entry) => {
|
|
2713
|
-
return entry;
|
|
2714
|
-
});
|
|
2715
|
-
};
|
|
2716
|
-
const se_TableAliasList = (input, context) => {
|
|
2717
|
-
return input
|
|
2718
|
-
.filter((e) => e != null)
|
|
2719
|
-
.map((entry) => {
|
|
2720
|
-
return entry;
|
|
2721
|
-
});
|
|
2722
|
-
};
|
|
2723
|
-
const se_TableReference = (input, context) => {
|
|
2724
|
-
return TableReference.visit(input, {
|
|
2725
|
-
glue: (value) => ({ glue: se_GlueTableReference(value, context) }),
|
|
2726
|
-
_: (name, value) => ({ name: value }),
|
|
2727
|
-
});
|
|
2728
|
-
};
|
|
2729
|
-
const se_TagMap = (input, context) => {
|
|
2730
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2731
|
-
if (value === null) {
|
|
2732
|
-
return acc;
|
|
2733
|
-
}
|
|
2734
|
-
acc[key] = value;
|
|
2735
|
-
return acc;
|
|
2736
|
-
}, {});
|
|
2737
|
-
};
|
|
2738
|
-
const de_AggregateColumn = (output, context) => {
|
|
2739
|
-
return {
|
|
2740
|
-
columnNames: output.columnNames != null ? de_AnalysisRuleColumnNameList(output.columnNames, context) : undefined,
|
|
2741
|
-
function: __expectString(output.function),
|
|
2742
|
-
};
|
|
2743
|
-
};
|
|
2744
|
-
const de_AggregateColumnList = (output, context) => {
|
|
2745
|
-
const retVal = (output || [])
|
|
2746
|
-
.filter((e) => e != null)
|
|
2747
|
-
.map((entry) => {
|
|
2748
|
-
if (entry === null) {
|
|
2749
|
-
return null;
|
|
2750
|
-
}
|
|
2751
|
-
return de_AggregateColumn(entry, context);
|
|
2752
|
-
});
|
|
2753
|
-
return retVal;
|
|
2754
|
-
};
|
|
2755
|
-
const de_AggregationConstraint = (output, context) => {
|
|
2756
|
-
return {
|
|
2757
|
-
columnName: __expectString(output.columnName),
|
|
2758
|
-
minimum: __expectInt32(output.minimum),
|
|
2759
|
-
type: __expectString(output.type),
|
|
2760
|
-
};
|
|
2761
|
-
};
|
|
2762
|
-
const de_AggregationConstraints = (output, context) => {
|
|
2763
|
-
const retVal = (output || [])
|
|
2764
|
-
.filter((e) => e != null)
|
|
2765
|
-
.map((entry) => {
|
|
2766
|
-
if (entry === null) {
|
|
2767
|
-
return null;
|
|
2768
|
-
}
|
|
2769
|
-
return de_AggregationConstraint(entry, context);
|
|
2770
|
-
});
|
|
2771
|
-
return retVal;
|
|
2772
|
-
};
|
|
2773
|
-
const de_AllowedColumnList = (output, context) => {
|
|
2774
|
-
const retVal = (output || [])
|
|
2775
|
-
.filter((e) => e != null)
|
|
2776
|
-
.map((entry) => {
|
|
2777
|
-
if (entry === null) {
|
|
2778
|
-
return null;
|
|
2779
|
-
}
|
|
2780
|
-
return __expectString(entry);
|
|
2781
|
-
});
|
|
2782
|
-
return retVal;
|
|
2783
|
-
};
|
|
2784
2517
|
const de_AnalysisRule = (output, context) => {
|
|
2785
|
-
return {
|
|
2786
|
-
collaborationId: __expectString
|
|
2787
|
-
createTime:
|
|
2788
|
-
name: __expectString
|
|
2789
|
-
policy:
|
|
2790
|
-
type: __expectString
|
|
2791
|
-
updateTime:
|
|
2792
|
-
};
|
|
2793
|
-
};
|
|
2794
|
-
const de_AnalysisRuleAggregation = (output, context) => {
|
|
2795
|
-
return {
|
|
2796
|
-
aggregateColumns: output.aggregateColumns != null ? de_AggregateColumnList(output.aggregateColumns, context) : undefined,
|
|
2797
|
-
dimensionColumns: output.dimensionColumns != null ? de_AnalysisRuleColumnList(output.dimensionColumns, context) : undefined,
|
|
2798
|
-
joinColumns: output.joinColumns != null ? de_AnalysisRuleColumnList(output.joinColumns, context) : undefined,
|
|
2799
|
-
joinRequired: __expectString(output.joinRequired),
|
|
2800
|
-
outputConstraints: output.outputConstraints != null ? de_AggregationConstraints(output.outputConstraints, context) : undefined,
|
|
2801
|
-
scalarFunctions: output.scalarFunctions != null ? de_ScalarFunctionsList(output.scalarFunctions, context) : undefined,
|
|
2802
|
-
};
|
|
2803
|
-
};
|
|
2804
|
-
const de_AnalysisRuleColumnList = (output, context) => {
|
|
2805
|
-
const retVal = (output || [])
|
|
2806
|
-
.filter((e) => e != null)
|
|
2807
|
-
.map((entry) => {
|
|
2808
|
-
if (entry === null) {
|
|
2809
|
-
return null;
|
|
2810
|
-
}
|
|
2811
|
-
return __expectString(entry);
|
|
2812
|
-
});
|
|
2813
|
-
return retVal;
|
|
2814
|
-
};
|
|
2815
|
-
const de_AnalysisRuleColumnNameList = (output, context) => {
|
|
2816
|
-
const retVal = (output || [])
|
|
2817
|
-
.filter((e) => e != null)
|
|
2818
|
-
.map((entry) => {
|
|
2819
|
-
if (entry === null) {
|
|
2820
|
-
return null;
|
|
2821
|
-
}
|
|
2822
|
-
return __expectString(entry);
|
|
2823
|
-
});
|
|
2824
|
-
return retVal;
|
|
2825
|
-
};
|
|
2826
|
-
const de_AnalysisRuleList = (output, context) => {
|
|
2827
|
-
return {
|
|
2828
|
-
joinColumns: output.joinColumns != null ? de_AnalysisRuleColumnList(output.joinColumns, context) : undefined,
|
|
2829
|
-
listColumns: output.listColumns != null ? de_AnalysisRuleColumnList(output.listColumns, context) : undefined,
|
|
2830
|
-
};
|
|
2831
|
-
};
|
|
2832
|
-
const de_AnalysisRulePolicy = (output, context) => {
|
|
2833
|
-
if (output.v1 != null) {
|
|
2834
|
-
return {
|
|
2835
|
-
v1: de_AnalysisRulePolicyV1(__expectUnion(output.v1), context),
|
|
2836
|
-
};
|
|
2837
|
-
}
|
|
2838
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2839
|
-
};
|
|
2840
|
-
const de_AnalysisRulePolicyV1 = (output, context) => {
|
|
2841
|
-
if (output.aggregation != null) {
|
|
2842
|
-
return {
|
|
2843
|
-
aggregation: de_AnalysisRuleAggregation(output.aggregation, context),
|
|
2844
|
-
};
|
|
2845
|
-
}
|
|
2846
|
-
if (output.list != null) {
|
|
2847
|
-
return {
|
|
2848
|
-
list: de_AnalysisRuleList(output.list, context),
|
|
2849
|
-
};
|
|
2850
|
-
}
|
|
2851
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2852
|
-
};
|
|
2853
|
-
const de_AnalysisRuleTypeList = (output, context) => {
|
|
2854
|
-
const retVal = (output || [])
|
|
2855
|
-
.filter((e) => e != null)
|
|
2856
|
-
.map((entry) => {
|
|
2857
|
-
if (entry === null) {
|
|
2858
|
-
return null;
|
|
2859
|
-
}
|
|
2860
|
-
return __expectString(entry);
|
|
2861
|
-
});
|
|
2862
|
-
return retVal;
|
|
2863
|
-
};
|
|
2864
|
-
const de_BatchGetSchemaError = (output, context) => {
|
|
2865
|
-
return {
|
|
2866
|
-
code: __expectString(output.code),
|
|
2867
|
-
message: __expectString(output.message),
|
|
2868
|
-
name: __expectString(output.name),
|
|
2869
|
-
};
|
|
2870
|
-
};
|
|
2871
|
-
const de_BatchGetSchemaErrorList = (output, context) => {
|
|
2872
|
-
const retVal = (output || [])
|
|
2873
|
-
.filter((e) => e != null)
|
|
2874
|
-
.map((entry) => {
|
|
2875
|
-
if (entry === null) {
|
|
2876
|
-
return null;
|
|
2877
|
-
}
|
|
2878
|
-
return de_BatchGetSchemaError(entry, context);
|
|
2518
|
+
return take(output, {
|
|
2519
|
+
collaborationId: __expectString,
|
|
2520
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2521
|
+
name: __expectString,
|
|
2522
|
+
policy: (_) => _json(__expectUnion(_)),
|
|
2523
|
+
type: __expectString,
|
|
2524
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2879
2525
|
});
|
|
2880
|
-
return retVal;
|
|
2881
2526
|
};
|
|
2882
2527
|
const de_Collaboration = (output, context) => {
|
|
2883
|
-
return {
|
|
2884
|
-
arn: __expectString
|
|
2885
|
-
createTime:
|
|
2886
|
-
creatorAccountId: __expectString
|
|
2887
|
-
creatorDisplayName: __expectString
|
|
2888
|
-
dataEncryptionMetadata:
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
updateTime: output.updateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateTime))) : undefined,
|
|
2899
|
-
};
|
|
2528
|
+
return take(output, {
|
|
2529
|
+
arn: __expectString,
|
|
2530
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2531
|
+
creatorAccountId: __expectString,
|
|
2532
|
+
creatorDisplayName: __expectString,
|
|
2533
|
+
dataEncryptionMetadata: _json,
|
|
2534
|
+
description: __expectString,
|
|
2535
|
+
id: __expectString,
|
|
2536
|
+
memberStatus: __expectString,
|
|
2537
|
+
membershipArn: __expectString,
|
|
2538
|
+
membershipId: __expectString,
|
|
2539
|
+
name: __expectString,
|
|
2540
|
+
queryLogStatus: __expectString,
|
|
2541
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2542
|
+
});
|
|
2900
2543
|
};
|
|
2901
2544
|
const de_CollaborationSummary = (output, context) => {
|
|
2902
|
-
return {
|
|
2903
|
-
arn: __expectString
|
|
2904
|
-
createTime:
|
|
2905
|
-
creatorAccountId: __expectString
|
|
2906
|
-
creatorDisplayName: __expectString
|
|
2907
|
-
id: __expectString
|
|
2908
|
-
memberStatus: __expectString
|
|
2909
|
-
membershipArn: __expectString
|
|
2910
|
-
membershipId: __expectString
|
|
2911
|
-
name: __expectString
|
|
2912
|
-
updateTime:
|
|
2913
|
-
};
|
|
2545
|
+
return take(output, {
|
|
2546
|
+
arn: __expectString,
|
|
2547
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2548
|
+
creatorAccountId: __expectString,
|
|
2549
|
+
creatorDisplayName: __expectString,
|
|
2550
|
+
id: __expectString,
|
|
2551
|
+
memberStatus: __expectString,
|
|
2552
|
+
membershipArn: __expectString,
|
|
2553
|
+
membershipId: __expectString,
|
|
2554
|
+
name: __expectString,
|
|
2555
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2556
|
+
});
|
|
2914
2557
|
};
|
|
2915
2558
|
const de_CollaborationSummaryList = (output, context) => {
|
|
2916
2559
|
const retVal = (output || [])
|
|
2917
2560
|
.filter((e) => e != null)
|
|
2918
2561
|
.map((entry) => {
|
|
2919
|
-
if (entry === null) {
|
|
2920
|
-
return null;
|
|
2921
|
-
}
|
|
2922
2562
|
return de_CollaborationSummary(entry, context);
|
|
2923
2563
|
});
|
|
2924
2564
|
return retVal;
|
|
2925
2565
|
};
|
|
2926
|
-
const de_Column = (output, context) => {
|
|
2927
|
-
return {
|
|
2928
|
-
name: __expectString(output.name),
|
|
2929
|
-
type: __expectString(output.type),
|
|
2930
|
-
};
|
|
2931
|
-
};
|
|
2932
|
-
const de_ColumnList = (output, context) => {
|
|
2933
|
-
const retVal = (output || [])
|
|
2934
|
-
.filter((e) => e != null)
|
|
2935
|
-
.map((entry) => {
|
|
2936
|
-
if (entry === null) {
|
|
2937
|
-
return null;
|
|
2938
|
-
}
|
|
2939
|
-
return de_Column(entry, context);
|
|
2940
|
-
});
|
|
2941
|
-
return retVal;
|
|
2942
|
-
};
|
|
2943
2566
|
const de_ConfiguredTable = (output, context) => {
|
|
2944
|
-
return {
|
|
2945
|
-
allowedColumns:
|
|
2946
|
-
analysisMethod: __expectString
|
|
2947
|
-
analysisRuleTypes:
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
updateTime: output.updateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateTime))) : undefined,
|
|
2957
|
-
};
|
|
2567
|
+
return take(output, {
|
|
2568
|
+
allowedColumns: _json,
|
|
2569
|
+
analysisMethod: __expectString,
|
|
2570
|
+
analysisRuleTypes: _json,
|
|
2571
|
+
arn: __expectString,
|
|
2572
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2573
|
+
description: __expectString,
|
|
2574
|
+
id: __expectString,
|
|
2575
|
+
name: __expectString,
|
|
2576
|
+
tableReference: (_) => _json(__expectUnion(_)),
|
|
2577
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2578
|
+
});
|
|
2958
2579
|
};
|
|
2959
2580
|
const de_ConfiguredTableAnalysisRule = (output, context) => {
|
|
2960
|
-
return {
|
|
2961
|
-
configuredTableArn: __expectString
|
|
2962
|
-
configuredTableId: __expectString
|
|
2963
|
-
createTime:
|
|
2964
|
-
policy:
|
|
2965
|
-
type: __expectString
|
|
2966
|
-
updateTime:
|
|
2967
|
-
};
|
|
2968
|
-
};
|
|
2969
|
-
const de_ConfiguredTableAnalysisRulePolicy = (output, context) => {
|
|
2970
|
-
if (output.v1 != null) {
|
|
2971
|
-
return {
|
|
2972
|
-
v1: de_ConfiguredTableAnalysisRulePolicyV1(__expectUnion(output.v1), context),
|
|
2973
|
-
};
|
|
2974
|
-
}
|
|
2975
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2976
|
-
};
|
|
2977
|
-
const de_ConfiguredTableAnalysisRulePolicyV1 = (output, context) => {
|
|
2978
|
-
if (output.aggregation != null) {
|
|
2979
|
-
return {
|
|
2980
|
-
aggregation: de_AnalysisRuleAggregation(output.aggregation, context),
|
|
2981
|
-
};
|
|
2982
|
-
}
|
|
2983
|
-
if (output.list != null) {
|
|
2984
|
-
return {
|
|
2985
|
-
list: de_AnalysisRuleList(output.list, context),
|
|
2986
|
-
};
|
|
2987
|
-
}
|
|
2988
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2989
|
-
};
|
|
2990
|
-
const de_ConfiguredTableAnalysisRuleTypeList = (output, context) => {
|
|
2991
|
-
const retVal = (output || [])
|
|
2992
|
-
.filter((e) => e != null)
|
|
2993
|
-
.map((entry) => {
|
|
2994
|
-
if (entry === null) {
|
|
2995
|
-
return null;
|
|
2996
|
-
}
|
|
2997
|
-
return __expectString(entry);
|
|
2581
|
+
return take(output, {
|
|
2582
|
+
configuredTableArn: __expectString,
|
|
2583
|
+
configuredTableId: __expectString,
|
|
2584
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2585
|
+
policy: (_) => _json(__expectUnion(_)),
|
|
2586
|
+
type: __expectString,
|
|
2587
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2998
2588
|
});
|
|
2999
|
-
return retVal;
|
|
3000
2589
|
};
|
|
3001
2590
|
const de_ConfiguredTableAssociation = (output, context) => {
|
|
3002
|
-
return {
|
|
3003
|
-
arn: __expectString
|
|
3004
|
-
configuredTableArn: __expectString
|
|
3005
|
-
configuredTableId: __expectString
|
|
3006
|
-
createTime:
|
|
3007
|
-
description: __expectString
|
|
3008
|
-
id: __expectString
|
|
3009
|
-
membershipArn: __expectString
|
|
3010
|
-
membershipId: __expectString
|
|
3011
|
-
name: __expectString
|
|
3012
|
-
roleArn: __expectString
|
|
3013
|
-
updateTime:
|
|
3014
|
-
};
|
|
2591
|
+
return take(output, {
|
|
2592
|
+
arn: __expectString,
|
|
2593
|
+
configuredTableArn: __expectString,
|
|
2594
|
+
configuredTableId: __expectString,
|
|
2595
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2596
|
+
description: __expectString,
|
|
2597
|
+
id: __expectString,
|
|
2598
|
+
membershipArn: __expectString,
|
|
2599
|
+
membershipId: __expectString,
|
|
2600
|
+
name: __expectString,
|
|
2601
|
+
roleArn: __expectString,
|
|
2602
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2603
|
+
});
|
|
3015
2604
|
};
|
|
3016
2605
|
const de_ConfiguredTableAssociationSummary = (output, context) => {
|
|
3017
|
-
return {
|
|
3018
|
-
arn: __expectString
|
|
3019
|
-
configuredTableId: __expectString
|
|
3020
|
-
createTime:
|
|
3021
|
-
id: __expectString
|
|
3022
|
-
membershipArn: __expectString
|
|
3023
|
-
membershipId: __expectString
|
|
3024
|
-
name: __expectString
|
|
3025
|
-
updateTime:
|
|
3026
|
-
};
|
|
2606
|
+
return take(output, {
|
|
2607
|
+
arn: __expectString,
|
|
2608
|
+
configuredTableId: __expectString,
|
|
2609
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2610
|
+
id: __expectString,
|
|
2611
|
+
membershipArn: __expectString,
|
|
2612
|
+
membershipId: __expectString,
|
|
2613
|
+
name: __expectString,
|
|
2614
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2615
|
+
});
|
|
3027
2616
|
};
|
|
3028
2617
|
const de_ConfiguredTableAssociationSummaryList = (output, context) => {
|
|
3029
2618
|
const retVal = (output || [])
|
|
3030
2619
|
.filter((e) => e != null)
|
|
3031
2620
|
.map((entry) => {
|
|
3032
|
-
if (entry === null) {
|
|
3033
|
-
return null;
|
|
3034
|
-
}
|
|
3035
2621
|
return de_ConfiguredTableAssociationSummary(entry, context);
|
|
3036
2622
|
});
|
|
3037
2623
|
return retVal;
|
|
3038
2624
|
};
|
|
3039
2625
|
const de_ConfiguredTableSummary = (output, context) => {
|
|
3040
|
-
return {
|
|
3041
|
-
analysisMethod: __expectString
|
|
3042
|
-
analysisRuleTypes:
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
updateTime: output.updateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateTime))) : undefined,
|
|
3050
|
-
};
|
|
2626
|
+
return take(output, {
|
|
2627
|
+
analysisMethod: __expectString,
|
|
2628
|
+
analysisRuleTypes: _json,
|
|
2629
|
+
arn: __expectString,
|
|
2630
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2631
|
+
id: __expectString,
|
|
2632
|
+
name: __expectString,
|
|
2633
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2634
|
+
});
|
|
3051
2635
|
};
|
|
3052
2636
|
const de_ConfiguredTableSummaryList = (output, context) => {
|
|
3053
2637
|
const retVal = (output || [])
|
|
3054
2638
|
.filter((e) => e != null)
|
|
3055
2639
|
.map((entry) => {
|
|
3056
|
-
if (entry === null) {
|
|
3057
|
-
return null;
|
|
3058
|
-
}
|
|
3059
2640
|
return de_ConfiguredTableSummary(entry, context);
|
|
3060
2641
|
});
|
|
3061
2642
|
return retVal;
|
|
3062
2643
|
};
|
|
3063
|
-
const de_DataEncryptionMetadata = (output, context) => {
|
|
3064
|
-
return {
|
|
3065
|
-
allowCleartext: __expectBoolean(output.allowCleartext),
|
|
3066
|
-
allowDuplicates: __expectBoolean(output.allowDuplicates),
|
|
3067
|
-
allowJoinsOnColumnsWithDifferentNames: __expectBoolean(output.allowJoinsOnColumnsWithDifferentNames),
|
|
3068
|
-
preserveNulls: __expectBoolean(output.preserveNulls),
|
|
3069
|
-
};
|
|
3070
|
-
};
|
|
3071
|
-
const de_GlueTableReference = (output, context) => {
|
|
3072
|
-
return {
|
|
3073
|
-
databaseName: __expectString(output.databaseName),
|
|
3074
|
-
tableName: __expectString(output.tableName),
|
|
3075
|
-
};
|
|
3076
|
-
};
|
|
3077
|
-
const de_MemberAbilities = (output, context) => {
|
|
3078
|
-
const retVal = (output || [])
|
|
3079
|
-
.filter((e) => e != null)
|
|
3080
|
-
.map((entry) => {
|
|
3081
|
-
if (entry === null) {
|
|
3082
|
-
return null;
|
|
3083
|
-
}
|
|
3084
|
-
return __expectString(entry);
|
|
3085
|
-
});
|
|
3086
|
-
return retVal;
|
|
3087
|
-
};
|
|
3088
2644
|
const de_Membership = (output, context) => {
|
|
3089
|
-
return {
|
|
3090
|
-
arn: __expectString
|
|
3091
|
-
collaborationArn: __expectString
|
|
3092
|
-
collaborationCreatorAccountId: __expectString
|
|
3093
|
-
collaborationCreatorDisplayName: __expectString
|
|
3094
|
-
collaborationId: __expectString
|
|
3095
|
-
collaborationName: __expectString
|
|
3096
|
-
createTime:
|
|
3097
|
-
id: __expectString
|
|
3098
|
-
memberAbilities:
|
|
3099
|
-
queryLogStatus: __expectString
|
|
3100
|
-
status: __expectString
|
|
3101
|
-
updateTime:
|
|
3102
|
-
};
|
|
2645
|
+
return take(output, {
|
|
2646
|
+
arn: __expectString,
|
|
2647
|
+
collaborationArn: __expectString,
|
|
2648
|
+
collaborationCreatorAccountId: __expectString,
|
|
2649
|
+
collaborationCreatorDisplayName: __expectString,
|
|
2650
|
+
collaborationId: __expectString,
|
|
2651
|
+
collaborationName: __expectString,
|
|
2652
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2653
|
+
id: __expectString,
|
|
2654
|
+
memberAbilities: _json,
|
|
2655
|
+
queryLogStatus: __expectString,
|
|
2656
|
+
status: __expectString,
|
|
2657
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2658
|
+
});
|
|
3103
2659
|
};
|
|
3104
2660
|
const de_MembershipSummary = (output, context) => {
|
|
3105
|
-
return {
|
|
3106
|
-
arn: __expectString
|
|
3107
|
-
collaborationArn: __expectString
|
|
3108
|
-
collaborationCreatorAccountId: __expectString
|
|
3109
|
-
collaborationCreatorDisplayName: __expectString
|
|
3110
|
-
collaborationId: __expectString
|
|
3111
|
-
collaborationName: __expectString
|
|
3112
|
-
createTime:
|
|
3113
|
-
id: __expectString
|
|
3114
|
-
memberAbilities:
|
|
3115
|
-
status: __expectString
|
|
3116
|
-
updateTime:
|
|
3117
|
-
};
|
|
2661
|
+
return take(output, {
|
|
2662
|
+
arn: __expectString,
|
|
2663
|
+
collaborationArn: __expectString,
|
|
2664
|
+
collaborationCreatorAccountId: __expectString,
|
|
2665
|
+
collaborationCreatorDisplayName: __expectString,
|
|
2666
|
+
collaborationId: __expectString,
|
|
2667
|
+
collaborationName: __expectString,
|
|
2668
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2669
|
+
id: __expectString,
|
|
2670
|
+
memberAbilities: _json,
|
|
2671
|
+
status: __expectString,
|
|
2672
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2673
|
+
});
|
|
3118
2674
|
};
|
|
3119
2675
|
const de_MembershipSummaryList = (output, context) => {
|
|
3120
2676
|
const retVal = (output || [])
|
|
3121
2677
|
.filter((e) => e != null)
|
|
3122
2678
|
.map((entry) => {
|
|
3123
|
-
if (entry === null) {
|
|
3124
|
-
return null;
|
|
3125
|
-
}
|
|
3126
2679
|
return de_MembershipSummary(entry, context);
|
|
3127
2680
|
});
|
|
3128
2681
|
return retVal;
|
|
3129
2682
|
};
|
|
3130
2683
|
const de_MemberSummary = (output, context) => {
|
|
3131
|
-
return {
|
|
3132
|
-
abilities:
|
|
3133
|
-
accountId: __expectString
|
|
3134
|
-
createTime:
|
|
3135
|
-
displayName: __expectString
|
|
3136
|
-
membershipArn: __expectString
|
|
3137
|
-
membershipId: __expectString
|
|
3138
|
-
status: __expectString
|
|
3139
|
-
updateTime:
|
|
3140
|
-
};
|
|
2684
|
+
return take(output, {
|
|
2685
|
+
abilities: _json,
|
|
2686
|
+
accountId: __expectString,
|
|
2687
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2688
|
+
displayName: __expectString,
|
|
2689
|
+
membershipArn: __expectString,
|
|
2690
|
+
membershipId: __expectString,
|
|
2691
|
+
status: __expectString,
|
|
2692
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2693
|
+
});
|
|
3141
2694
|
};
|
|
3142
2695
|
const de_MemberSummaryList = (output, context) => {
|
|
3143
2696
|
const retVal = (output || [])
|
|
3144
2697
|
.filter((e) => e != null)
|
|
3145
2698
|
.map((entry) => {
|
|
3146
|
-
if (entry === null) {
|
|
3147
|
-
return null;
|
|
3148
|
-
}
|
|
3149
2699
|
return de_MemberSummary(entry, context);
|
|
3150
2700
|
});
|
|
3151
2701
|
return retVal;
|
|
3152
2702
|
};
|
|
3153
2703
|
const de_ProtectedQuery = (output, context) => {
|
|
3154
|
-
return {
|
|
3155
|
-
createTime:
|
|
3156
|
-
error:
|
|
3157
|
-
id: __expectString
|
|
3158
|
-
membershipArn: __expectString
|
|
3159
|
-
membershipId: __expectString
|
|
3160
|
-
result:
|
|
3161
|
-
resultConfiguration:
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
status: __expectString(output.status),
|
|
3167
|
-
};
|
|
3168
|
-
};
|
|
3169
|
-
const de_ProtectedQueryError = (output, context) => {
|
|
3170
|
-
return {
|
|
3171
|
-
code: __expectString(output.code),
|
|
3172
|
-
message: __expectString(output.message),
|
|
3173
|
-
};
|
|
3174
|
-
};
|
|
3175
|
-
const de_ProtectedQueryOutput = (output, context) => {
|
|
3176
|
-
if (output.s3 != null) {
|
|
3177
|
-
return {
|
|
3178
|
-
s3: de_ProtectedQueryS3Output(output.s3, context),
|
|
3179
|
-
};
|
|
3180
|
-
}
|
|
3181
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3182
|
-
};
|
|
3183
|
-
const de_ProtectedQueryOutputConfiguration = (output, context) => {
|
|
3184
|
-
if (output.s3 != null) {
|
|
3185
|
-
return {
|
|
3186
|
-
s3: de_ProtectedQueryS3OutputConfiguration(output.s3, context),
|
|
3187
|
-
};
|
|
3188
|
-
}
|
|
3189
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3190
|
-
};
|
|
3191
|
-
const de_ProtectedQueryResult = (output, context) => {
|
|
3192
|
-
return {
|
|
3193
|
-
output: output.output != null ? de_ProtectedQueryOutput(__expectUnion(output.output), context) : undefined,
|
|
3194
|
-
};
|
|
3195
|
-
};
|
|
3196
|
-
const de_ProtectedQueryResultConfiguration = (output, context) => {
|
|
3197
|
-
return {
|
|
3198
|
-
outputConfiguration: output.outputConfiguration != null
|
|
3199
|
-
? de_ProtectedQueryOutputConfiguration(__expectUnion(output.outputConfiguration), context)
|
|
3200
|
-
: undefined,
|
|
3201
|
-
};
|
|
3202
|
-
};
|
|
3203
|
-
const de_ProtectedQueryS3Output = (output, context) => {
|
|
3204
|
-
return {
|
|
3205
|
-
location: __expectString(output.location),
|
|
3206
|
-
};
|
|
3207
|
-
};
|
|
3208
|
-
const de_ProtectedQueryS3OutputConfiguration = (output, context) => {
|
|
3209
|
-
return {
|
|
3210
|
-
bucket: __expectString(output.bucket),
|
|
3211
|
-
keyPrefix: __expectString(output.keyPrefix),
|
|
3212
|
-
resultFormat: __expectString(output.resultFormat),
|
|
3213
|
-
};
|
|
3214
|
-
};
|
|
3215
|
-
const de_ProtectedQuerySQLParameters = (output, context) => {
|
|
3216
|
-
return {
|
|
3217
|
-
queryString: __expectString(output.queryString),
|
|
3218
|
-
};
|
|
3219
|
-
};
|
|
3220
|
-
const de_ProtectedQueryStatistics = (output, context) => {
|
|
3221
|
-
return {
|
|
3222
|
-
totalDurationInMillis: __expectLong(output.totalDurationInMillis),
|
|
3223
|
-
};
|
|
2704
|
+
return take(output, {
|
|
2705
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2706
|
+
error: _json,
|
|
2707
|
+
id: __expectString,
|
|
2708
|
+
membershipArn: __expectString,
|
|
2709
|
+
membershipId: __expectString,
|
|
2710
|
+
result: _json,
|
|
2711
|
+
resultConfiguration: _json,
|
|
2712
|
+
sqlParameters: _json,
|
|
2713
|
+
statistics: _json,
|
|
2714
|
+
status: __expectString,
|
|
2715
|
+
});
|
|
3224
2716
|
};
|
|
3225
2717
|
const de_ProtectedQuerySummary = (output, context) => {
|
|
3226
|
-
return {
|
|
3227
|
-
createTime:
|
|
3228
|
-
id: __expectString
|
|
3229
|
-
membershipArn: __expectString
|
|
3230
|
-
membershipId: __expectString
|
|
3231
|
-
status: __expectString
|
|
3232
|
-
};
|
|
2718
|
+
return take(output, {
|
|
2719
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2720
|
+
id: __expectString,
|
|
2721
|
+
membershipArn: __expectString,
|
|
2722
|
+
membershipId: __expectString,
|
|
2723
|
+
status: __expectString,
|
|
2724
|
+
});
|
|
3233
2725
|
};
|
|
3234
2726
|
const de_ProtectedQuerySummaryList = (output, context) => {
|
|
3235
2727
|
const retVal = (output || [])
|
|
3236
2728
|
.filter((e) => e != null)
|
|
3237
2729
|
.map((entry) => {
|
|
3238
|
-
if (entry === null) {
|
|
3239
|
-
return null;
|
|
3240
|
-
}
|
|
3241
2730
|
return de_ProtectedQuerySummary(entry, context);
|
|
3242
2731
|
});
|
|
3243
2732
|
return retVal;
|
|
3244
2733
|
};
|
|
3245
|
-
const de_ScalarFunctionsList = (output, context) => {
|
|
3246
|
-
const retVal = (output || [])
|
|
3247
|
-
.filter((e) => e != null)
|
|
3248
|
-
.map((entry) => {
|
|
3249
|
-
if (entry === null) {
|
|
3250
|
-
return null;
|
|
3251
|
-
}
|
|
3252
|
-
return __expectString(entry);
|
|
3253
|
-
});
|
|
3254
|
-
return retVal;
|
|
3255
|
-
};
|
|
3256
2734
|
const de_Schema = (output, context) => {
|
|
3257
|
-
return {
|
|
3258
|
-
analysisMethod: __expectString
|
|
3259
|
-
analysisRuleTypes:
|
|
3260
|
-
collaborationArn: __expectString
|
|
3261
|
-
collaborationId: __expectString
|
|
3262
|
-
columns:
|
|
3263
|
-
createTime:
|
|
3264
|
-
creatorAccountId: __expectString
|
|
3265
|
-
description: __expectString
|
|
3266
|
-
name: __expectString
|
|
3267
|
-
partitionKeys:
|
|
3268
|
-
type: __expectString
|
|
3269
|
-
updateTime:
|
|
3270
|
-
};
|
|
2735
|
+
return take(output, {
|
|
2736
|
+
analysisMethod: __expectString,
|
|
2737
|
+
analysisRuleTypes: _json,
|
|
2738
|
+
collaborationArn: __expectString,
|
|
2739
|
+
collaborationId: __expectString,
|
|
2740
|
+
columns: _json,
|
|
2741
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2742
|
+
creatorAccountId: __expectString,
|
|
2743
|
+
description: __expectString,
|
|
2744
|
+
name: __expectString,
|
|
2745
|
+
partitionKeys: _json,
|
|
2746
|
+
type: __expectString,
|
|
2747
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2748
|
+
});
|
|
3271
2749
|
};
|
|
3272
2750
|
const de_SchemaList = (output, context) => {
|
|
3273
2751
|
const retVal = (output || [])
|
|
3274
2752
|
.filter((e) => e != null)
|
|
3275
2753
|
.map((entry) => {
|
|
3276
|
-
if (entry === null) {
|
|
3277
|
-
return null;
|
|
3278
|
-
}
|
|
3279
2754
|
return de_Schema(entry, context);
|
|
3280
2755
|
});
|
|
3281
2756
|
return retVal;
|
|
3282
2757
|
};
|
|
3283
2758
|
const de_SchemaSummary = (output, context) => {
|
|
3284
|
-
return {
|
|
3285
|
-
analysisMethod: __expectString
|
|
3286
|
-
analysisRuleTypes:
|
|
3287
|
-
collaborationArn: __expectString
|
|
3288
|
-
collaborationId: __expectString
|
|
3289
|
-
createTime:
|
|
3290
|
-
creatorAccountId: __expectString
|
|
3291
|
-
name: __expectString
|
|
3292
|
-
type: __expectString
|
|
3293
|
-
updateTime:
|
|
3294
|
-
};
|
|
2759
|
+
return take(output, {
|
|
2760
|
+
analysisMethod: __expectString,
|
|
2761
|
+
analysisRuleTypes: _json,
|
|
2762
|
+
collaborationArn: __expectString,
|
|
2763
|
+
collaborationId: __expectString,
|
|
2764
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2765
|
+
creatorAccountId: __expectString,
|
|
2766
|
+
name: __expectString,
|
|
2767
|
+
type: __expectString,
|
|
2768
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2769
|
+
});
|
|
3295
2770
|
};
|
|
3296
2771
|
const de_SchemaSummaryList = (output, context) => {
|
|
3297
2772
|
const retVal = (output || [])
|
|
3298
2773
|
.filter((e) => e != null)
|
|
3299
2774
|
.map((entry) => {
|
|
3300
|
-
if (entry === null) {
|
|
3301
|
-
return null;
|
|
3302
|
-
}
|
|
3303
2775
|
return de_SchemaSummary(entry, context);
|
|
3304
2776
|
});
|
|
3305
2777
|
return retVal;
|
|
3306
2778
|
};
|
|
3307
|
-
const de_TableReference = (output, context) => {
|
|
3308
|
-
if (output.glue != null) {
|
|
3309
|
-
return {
|
|
3310
|
-
glue: de_GlueTableReference(output.glue, context),
|
|
3311
|
-
};
|
|
3312
|
-
}
|
|
3313
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3314
|
-
};
|
|
3315
|
-
const de_TagMap = (output, context) => {
|
|
3316
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3317
|
-
if (value === null) {
|
|
3318
|
-
return acc;
|
|
3319
|
-
}
|
|
3320
|
-
acc[key] = __expectString(value);
|
|
3321
|
-
return acc;
|
|
3322
|
-
}, {});
|
|
3323
|
-
};
|
|
3324
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
3325
|
-
return {
|
|
3326
|
-
message: __expectString(output.message),
|
|
3327
|
-
name: __expectString(output.name),
|
|
3328
|
-
};
|
|
3329
|
-
};
|
|
3330
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
3331
|
-
const retVal = (output || [])
|
|
3332
|
-
.filter((e) => e != null)
|
|
3333
|
-
.map((entry) => {
|
|
3334
|
-
if (entry === null) {
|
|
3335
|
-
return null;
|
|
3336
|
-
}
|
|
3337
|
-
return de_ValidationExceptionField(entry, context);
|
|
3338
|
-
});
|
|
3339
|
-
return retVal;
|
|
3340
|
-
};
|
|
3341
2779
|
const deserializeMetadata = (output) => ({
|
|
3342
2780
|
httpStatusCode: output.statusCode,
|
|
3343
2781
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|