@aws-sdk/client-cleanrooms 3.489.0 → 3.495.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/CleanRooms.js +1 -135
- package/dist-cjs/CleanRoomsClient.js +1 -43
- package/dist-cjs/commands/BatchGetCollaborationAnalysisTemplateCommand.js +1 -29
- package/dist-cjs/commands/BatchGetSchemaCommand.js +1 -28
- package/dist-cjs/commands/CreateAnalysisTemplateCommand.js +1 -29
- package/dist-cjs/commands/CreateCollaborationCommand.js +1 -28
- package/dist-cjs/commands/CreateConfiguredAudienceModelAssociationCommand.js +1 -28
- package/dist-cjs/commands/CreateConfiguredTableAnalysisRuleCommand.js +1 -28
- package/dist-cjs/commands/CreateConfiguredTableAssociationCommand.js +1 -28
- package/dist-cjs/commands/CreateConfiguredTableCommand.js +1 -28
- package/dist-cjs/commands/CreateMembershipCommand.js +1 -28
- package/dist-cjs/commands/CreatePrivacyBudgetTemplateCommand.js +1 -28
- package/dist-cjs/commands/DeleteAnalysisTemplateCommand.js +1 -28
- package/dist-cjs/commands/DeleteCollaborationCommand.js +1 -28
- package/dist-cjs/commands/DeleteConfiguredAudienceModelAssociationCommand.js +1 -28
- package/dist-cjs/commands/DeleteConfiguredTableAnalysisRuleCommand.js +1 -28
- package/dist-cjs/commands/DeleteConfiguredTableAssociationCommand.js +1 -28
- package/dist-cjs/commands/DeleteConfiguredTableCommand.js +1 -28
- package/dist-cjs/commands/DeleteMemberCommand.js +1 -28
- package/dist-cjs/commands/DeleteMembershipCommand.js +1 -28
- package/dist-cjs/commands/DeletePrivacyBudgetTemplateCommand.js +1 -28
- package/dist-cjs/commands/GetAnalysisTemplateCommand.js +1 -29
- package/dist-cjs/commands/GetCollaborationAnalysisTemplateCommand.js +1 -29
- package/dist-cjs/commands/GetCollaborationCommand.js +1 -28
- package/dist-cjs/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +1 -28
- package/dist-cjs/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +1 -28
- package/dist-cjs/commands/GetConfiguredAudienceModelAssociationCommand.js +1 -28
- package/dist-cjs/commands/GetConfiguredTableAnalysisRuleCommand.js +1 -28
- package/dist-cjs/commands/GetConfiguredTableAssociationCommand.js +1 -28
- package/dist-cjs/commands/GetConfiguredTableCommand.js +1 -28
- package/dist-cjs/commands/GetMembershipCommand.js +1 -28
- package/dist-cjs/commands/GetPrivacyBudgetTemplateCommand.js +1 -28
- package/dist-cjs/commands/GetProtectedQueryCommand.js +1 -29
- package/dist-cjs/commands/GetSchemaAnalysisRuleCommand.js +1 -28
- package/dist-cjs/commands/GetSchemaCommand.js +1 -28
- package/dist-cjs/commands/ListAnalysisTemplatesCommand.js +1 -28
- package/dist-cjs/commands/ListCollaborationAnalysisTemplatesCommand.js +1 -28
- package/dist-cjs/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +1 -28
- package/dist-cjs/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +1 -28
- package/dist-cjs/commands/ListCollaborationPrivacyBudgetsCommand.js +1 -28
- package/dist-cjs/commands/ListCollaborationsCommand.js +1 -28
- package/dist-cjs/commands/ListConfiguredAudienceModelAssociationsCommand.js +1 -28
- package/dist-cjs/commands/ListConfiguredTableAssociationsCommand.js +1 -28
- package/dist-cjs/commands/ListConfiguredTablesCommand.js +1 -28
- package/dist-cjs/commands/ListMembersCommand.js +1 -28
- package/dist-cjs/commands/ListMembershipsCommand.js +1 -28
- package/dist-cjs/commands/ListPrivacyBudgetTemplatesCommand.js +1 -28
- package/dist-cjs/commands/ListPrivacyBudgetsCommand.js +1 -28
- package/dist-cjs/commands/ListProtectedQueriesCommand.js +1 -28
- package/dist-cjs/commands/ListSchemasCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PreviewPrivacyImpactCommand.js +1 -28
- package/dist-cjs/commands/StartProtectedQueryCommand.js +1 -29
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAnalysisTemplateCommand.js +1 -29
- package/dist-cjs/commands/UpdateCollaborationCommand.js +1 -28
- package/dist-cjs/commands/UpdateConfiguredAudienceModelAssociationCommand.js +1 -28
- package/dist-cjs/commands/UpdateConfiguredTableAnalysisRuleCommand.js +1 -28
- package/dist-cjs/commands/UpdateConfiguredTableAssociationCommand.js +1 -28
- package/dist-cjs/commands/UpdateConfiguredTableCommand.js +1 -28
- package/dist-cjs/commands/UpdateMembershipCommand.js +1 -28
- package/dist-cjs/commands/UpdatePrivacyBudgetTemplateCommand.js +1 -28
- package/dist-cjs/commands/UpdateProtectedQueryCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -65
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +6493 -11
- package/dist-cjs/models/CleanRoomsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -475
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAnalysisTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListCollaborationAnalysisTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListCollaborationConfiguredAudienceModelAssociationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListCollaborationPrivacyBudgetTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListCollaborationPrivacyBudgetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListCollaborationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListConfiguredAudienceModelAssociationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListConfiguredTableAssociationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListConfiguredTablesPaginator.js +1 -7
- package/dist-cjs/pagination/ListMembersPaginator.js +1 -7
- package/dist-cjs/pagination/ListMembershipsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPrivacyBudgetTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListPrivacyBudgetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListProtectedQueriesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSchemasPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -19
- package/dist-cjs/protocols/Aws_restJson1.js +1 -4449
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,4449 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.se_PreviewPrivacyImpactCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSchemasCommand = exports.se_ListProtectedQueriesCommand = exports.se_ListPrivacyBudgetTemplatesCommand = exports.se_ListPrivacyBudgetsCommand = exports.se_ListMembershipsCommand = exports.se_ListMembersCommand = exports.se_ListConfiguredTablesCommand = exports.se_ListConfiguredTableAssociationsCommand = exports.se_ListConfiguredAudienceModelAssociationsCommand = exports.se_ListCollaborationsCommand = exports.se_ListCollaborationPrivacyBudgetTemplatesCommand = exports.se_ListCollaborationPrivacyBudgetsCommand = exports.se_ListCollaborationConfiguredAudienceModelAssociationsCommand = exports.se_ListCollaborationAnalysisTemplatesCommand = exports.se_ListAnalysisTemplatesCommand = exports.se_GetSchemaAnalysisRuleCommand = exports.se_GetSchemaCommand = exports.se_GetProtectedQueryCommand = exports.se_GetPrivacyBudgetTemplateCommand = exports.se_GetMembershipCommand = exports.se_GetConfiguredTableAssociationCommand = exports.se_GetConfiguredTableAnalysisRuleCommand = exports.se_GetConfiguredTableCommand = exports.se_GetConfiguredAudienceModelAssociationCommand = exports.se_GetCollaborationPrivacyBudgetTemplateCommand = exports.se_GetCollaborationConfiguredAudienceModelAssociationCommand = exports.se_GetCollaborationAnalysisTemplateCommand = exports.se_GetCollaborationCommand = exports.se_GetAnalysisTemplateCommand = exports.se_DeletePrivacyBudgetTemplateCommand = exports.se_DeleteMembershipCommand = exports.se_DeleteMemberCommand = exports.se_DeleteConfiguredTableAssociationCommand = exports.se_DeleteConfiguredTableAnalysisRuleCommand = exports.se_DeleteConfiguredTableCommand = exports.se_DeleteConfiguredAudienceModelAssociationCommand = exports.se_DeleteCollaborationCommand = exports.se_DeleteAnalysisTemplateCommand = exports.se_CreatePrivacyBudgetTemplateCommand = exports.se_CreateMembershipCommand = exports.se_CreateConfiguredTableAssociationCommand = exports.se_CreateConfiguredTableAnalysisRuleCommand = exports.se_CreateConfiguredTableCommand = exports.se_CreateConfiguredAudienceModelAssociationCommand = exports.se_CreateCollaborationCommand = exports.se_CreateAnalysisTemplateCommand = exports.se_BatchGetSchemaCommand = exports.se_BatchGetCollaborationAnalysisTemplateCommand = void 0;
|
|
4
|
-
exports.de_ListCollaborationPrivacyBudgetTemplatesCommand = exports.de_ListCollaborationPrivacyBudgetsCommand = exports.de_ListCollaborationConfiguredAudienceModelAssociationsCommand = exports.de_ListCollaborationAnalysisTemplatesCommand = exports.de_ListAnalysisTemplatesCommand = exports.de_GetSchemaAnalysisRuleCommand = exports.de_GetSchemaCommand = exports.de_GetProtectedQueryCommand = exports.de_GetPrivacyBudgetTemplateCommand = exports.de_GetMembershipCommand = exports.de_GetConfiguredTableAssociationCommand = exports.de_GetConfiguredTableAnalysisRuleCommand = exports.de_GetConfiguredTableCommand = exports.de_GetConfiguredAudienceModelAssociationCommand = exports.de_GetCollaborationPrivacyBudgetTemplateCommand = exports.de_GetCollaborationConfiguredAudienceModelAssociationCommand = exports.de_GetCollaborationAnalysisTemplateCommand = exports.de_GetCollaborationCommand = exports.de_GetAnalysisTemplateCommand = exports.de_DeletePrivacyBudgetTemplateCommand = exports.de_DeleteMembershipCommand = exports.de_DeleteMemberCommand = exports.de_DeleteConfiguredTableAssociationCommand = exports.de_DeleteConfiguredTableAnalysisRuleCommand = exports.de_DeleteConfiguredTableCommand = exports.de_DeleteConfiguredAudienceModelAssociationCommand = exports.de_DeleteCollaborationCommand = exports.de_DeleteAnalysisTemplateCommand = exports.de_CreatePrivacyBudgetTemplateCommand = exports.de_CreateMembershipCommand = exports.de_CreateConfiguredTableAssociationCommand = exports.de_CreateConfiguredTableAnalysisRuleCommand = exports.de_CreateConfiguredTableCommand = exports.de_CreateConfiguredAudienceModelAssociationCommand = exports.de_CreateCollaborationCommand = exports.de_CreateAnalysisTemplateCommand = exports.de_BatchGetSchemaCommand = exports.de_BatchGetCollaborationAnalysisTemplateCommand = exports.se_UpdateProtectedQueryCommand = exports.se_UpdatePrivacyBudgetTemplateCommand = exports.se_UpdateMembershipCommand = exports.se_UpdateConfiguredTableAssociationCommand = exports.se_UpdateConfiguredTableAnalysisRuleCommand = exports.se_UpdateConfiguredTableCommand = exports.se_UpdateConfiguredAudienceModelAssociationCommand = exports.se_UpdateCollaborationCommand = exports.se_UpdateAnalysisTemplateCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartProtectedQueryCommand = void 0;
|
|
5
|
-
exports.de_UpdateProtectedQueryCommand = exports.de_UpdatePrivacyBudgetTemplateCommand = exports.de_UpdateMembershipCommand = exports.de_UpdateConfiguredTableAssociationCommand = exports.de_UpdateConfiguredTableAnalysisRuleCommand = exports.de_UpdateConfiguredTableCommand = exports.de_UpdateConfiguredAudienceModelAssociationCommand = exports.de_UpdateCollaborationCommand = exports.de_UpdateAnalysisTemplateCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartProtectedQueryCommand = exports.de_PreviewPrivacyImpactCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSchemasCommand = exports.de_ListProtectedQueriesCommand = exports.de_ListPrivacyBudgetTemplatesCommand = exports.de_ListPrivacyBudgetsCommand = exports.de_ListMembershipsCommand = exports.de_ListMembersCommand = exports.de_ListConfiguredTablesCommand = exports.de_ListConfiguredTableAssociationsCommand = exports.de_ListConfiguredAudienceModelAssociationsCommand = exports.de_ListCollaborationsCommand = void 0;
|
|
6
|
-
const core_1 = require("@aws-sdk/core");
|
|
7
|
-
const core_2 = require("@smithy/core");
|
|
8
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
|
-
const CleanRoomsServiceException_1 = require("../models/CleanRoomsServiceException");
|
|
10
|
-
const models_0_1 = require("../models/models_0");
|
|
11
|
-
const se_BatchGetCollaborationAnalysisTemplateCommand = async (input, context) => {
|
|
12
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
13
|
-
const headers = {
|
|
14
|
-
"content-type": "application/json",
|
|
15
|
-
};
|
|
16
|
-
b.bp("/collaborations/{collaborationIdentifier}/batch-analysistemplates");
|
|
17
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
18
|
-
let body;
|
|
19
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
20
|
-
analysisTemplateArns: (_) => (0, smithy_client_1._json)(_),
|
|
21
|
-
}));
|
|
22
|
-
b.m("POST").h(headers).b(body);
|
|
23
|
-
return b.build();
|
|
24
|
-
};
|
|
25
|
-
exports.se_BatchGetCollaborationAnalysisTemplateCommand = se_BatchGetCollaborationAnalysisTemplateCommand;
|
|
26
|
-
const se_BatchGetSchemaCommand = async (input, context) => {
|
|
27
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
28
|
-
const headers = {
|
|
29
|
-
"content-type": "application/json",
|
|
30
|
-
};
|
|
31
|
-
b.bp("/collaborations/{collaborationIdentifier}/batch-schema");
|
|
32
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
33
|
-
let body;
|
|
34
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
35
|
-
names: (_) => (0, smithy_client_1._json)(_),
|
|
36
|
-
}));
|
|
37
|
-
b.m("POST").h(headers).b(body);
|
|
38
|
-
return b.build();
|
|
39
|
-
};
|
|
40
|
-
exports.se_BatchGetSchemaCommand = se_BatchGetSchemaCommand;
|
|
41
|
-
const se_CreateAnalysisTemplateCommand = async (input, context) => {
|
|
42
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
43
|
-
const headers = {
|
|
44
|
-
"content-type": "application/json",
|
|
45
|
-
};
|
|
46
|
-
b.bp("/memberships/{membershipIdentifier}/analysistemplates");
|
|
47
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
48
|
-
let body;
|
|
49
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
50
|
-
analysisParameters: (_) => (0, smithy_client_1._json)(_),
|
|
51
|
-
description: [],
|
|
52
|
-
format: [],
|
|
53
|
-
name: [],
|
|
54
|
-
source: (_) => (0, smithy_client_1._json)(_),
|
|
55
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
56
|
-
}));
|
|
57
|
-
b.m("POST").h(headers).b(body);
|
|
58
|
-
return b.build();
|
|
59
|
-
};
|
|
60
|
-
exports.se_CreateAnalysisTemplateCommand = se_CreateAnalysisTemplateCommand;
|
|
61
|
-
const se_CreateCollaborationCommand = async (input, context) => {
|
|
62
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
63
|
-
const headers = {
|
|
64
|
-
"content-type": "application/json",
|
|
65
|
-
};
|
|
66
|
-
b.bp("/collaborations");
|
|
67
|
-
let body;
|
|
68
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
69
|
-
creatorDisplayName: [],
|
|
70
|
-
creatorMemberAbilities: (_) => (0, smithy_client_1._json)(_),
|
|
71
|
-
creatorPaymentConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
72
|
-
dataEncryptionMetadata: (_) => (0, smithy_client_1._json)(_),
|
|
73
|
-
description: [],
|
|
74
|
-
members: (_) => (0, smithy_client_1._json)(_),
|
|
75
|
-
name: [],
|
|
76
|
-
queryLogStatus: [],
|
|
77
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
78
|
-
}));
|
|
79
|
-
b.m("POST").h(headers).b(body);
|
|
80
|
-
return b.build();
|
|
81
|
-
};
|
|
82
|
-
exports.se_CreateCollaborationCommand = se_CreateCollaborationCommand;
|
|
83
|
-
const se_CreateConfiguredAudienceModelAssociationCommand = async (input, context) => {
|
|
84
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
85
|
-
const headers = {
|
|
86
|
-
"content-type": "application/json",
|
|
87
|
-
};
|
|
88
|
-
b.bp("/memberships/{membershipIdentifier}/configuredaudiencemodelassociations");
|
|
89
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
90
|
-
let body;
|
|
91
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
92
|
-
configuredAudienceModelArn: [],
|
|
93
|
-
configuredAudienceModelAssociationName: [],
|
|
94
|
-
description: [],
|
|
95
|
-
manageResourcePolicies: [],
|
|
96
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
97
|
-
}));
|
|
98
|
-
b.m("POST").h(headers).b(body);
|
|
99
|
-
return b.build();
|
|
100
|
-
};
|
|
101
|
-
exports.se_CreateConfiguredAudienceModelAssociationCommand = se_CreateConfiguredAudienceModelAssociationCommand;
|
|
102
|
-
const se_CreateConfiguredTableCommand = async (input, context) => {
|
|
103
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
104
|
-
const headers = {
|
|
105
|
-
"content-type": "application/json",
|
|
106
|
-
};
|
|
107
|
-
b.bp("/configuredTables");
|
|
108
|
-
let body;
|
|
109
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
110
|
-
allowedColumns: (_) => (0, smithy_client_1._json)(_),
|
|
111
|
-
analysisMethod: [],
|
|
112
|
-
description: [],
|
|
113
|
-
name: [],
|
|
114
|
-
tableReference: (_) => (0, smithy_client_1._json)(_),
|
|
115
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
116
|
-
}));
|
|
117
|
-
b.m("POST").h(headers).b(body);
|
|
118
|
-
return b.build();
|
|
119
|
-
};
|
|
120
|
-
exports.se_CreateConfiguredTableCommand = se_CreateConfiguredTableCommand;
|
|
121
|
-
const se_CreateConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
122
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
123
|
-
const headers = {
|
|
124
|
-
"content-type": "application/json",
|
|
125
|
-
};
|
|
126
|
-
b.bp("/configuredTables/{configuredTableIdentifier}/analysisRule");
|
|
127
|
-
b.p("configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
130
|
-
analysisRulePolicy: (_) => (0, smithy_client_1._json)(_),
|
|
131
|
-
analysisRuleType: [],
|
|
132
|
-
}));
|
|
133
|
-
b.m("POST").h(headers).b(body);
|
|
134
|
-
return b.build();
|
|
135
|
-
};
|
|
136
|
-
exports.se_CreateConfiguredTableAnalysisRuleCommand = se_CreateConfiguredTableAnalysisRuleCommand;
|
|
137
|
-
const se_CreateConfiguredTableAssociationCommand = async (input, context) => {
|
|
138
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
139
|
-
const headers = {
|
|
140
|
-
"content-type": "application/json",
|
|
141
|
-
};
|
|
142
|
-
b.bp("/memberships/{membershipIdentifier}/configuredTableAssociations");
|
|
143
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
144
|
-
let body;
|
|
145
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
146
|
-
configuredTableIdentifier: [],
|
|
147
|
-
description: [],
|
|
148
|
-
name: [],
|
|
149
|
-
roleArn: [],
|
|
150
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
151
|
-
}));
|
|
152
|
-
b.m("POST").h(headers).b(body);
|
|
153
|
-
return b.build();
|
|
154
|
-
};
|
|
155
|
-
exports.se_CreateConfiguredTableAssociationCommand = se_CreateConfiguredTableAssociationCommand;
|
|
156
|
-
const se_CreateMembershipCommand = async (input, context) => {
|
|
157
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
158
|
-
const headers = {
|
|
159
|
-
"content-type": "application/json",
|
|
160
|
-
};
|
|
161
|
-
b.bp("/memberships");
|
|
162
|
-
let body;
|
|
163
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
164
|
-
collaborationIdentifier: [],
|
|
165
|
-
defaultResultConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
166
|
-
paymentConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
167
|
-
queryLogStatus: [],
|
|
168
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
169
|
-
}));
|
|
170
|
-
b.m("POST").h(headers).b(body);
|
|
171
|
-
return b.build();
|
|
172
|
-
};
|
|
173
|
-
exports.se_CreateMembershipCommand = se_CreateMembershipCommand;
|
|
174
|
-
const se_CreatePrivacyBudgetTemplateCommand = async (input, context) => {
|
|
175
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
176
|
-
const headers = {
|
|
177
|
-
"content-type": "application/json",
|
|
178
|
-
};
|
|
179
|
-
b.bp("/memberships/{membershipIdentifier}/privacybudgettemplates");
|
|
180
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
181
|
-
let body;
|
|
182
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
183
|
-
autoRefresh: [],
|
|
184
|
-
parameters: (_) => (0, smithy_client_1._json)(_),
|
|
185
|
-
privacyBudgetType: [],
|
|
186
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
187
|
-
}));
|
|
188
|
-
b.m("POST").h(headers).b(body);
|
|
189
|
-
return b.build();
|
|
190
|
-
};
|
|
191
|
-
exports.se_CreatePrivacyBudgetTemplateCommand = se_CreatePrivacyBudgetTemplateCommand;
|
|
192
|
-
const se_DeleteAnalysisTemplateCommand = async (input, context) => {
|
|
193
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
194
|
-
const headers = {};
|
|
195
|
-
b.bp("/memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}");
|
|
196
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
197
|
-
b.p("analysisTemplateIdentifier", () => input.analysisTemplateIdentifier, "{analysisTemplateIdentifier}", false);
|
|
198
|
-
let body;
|
|
199
|
-
b.m("DELETE").h(headers).b(body);
|
|
200
|
-
return b.build();
|
|
201
|
-
};
|
|
202
|
-
exports.se_DeleteAnalysisTemplateCommand = se_DeleteAnalysisTemplateCommand;
|
|
203
|
-
const se_DeleteCollaborationCommand = async (input, context) => {
|
|
204
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
205
|
-
const headers = {};
|
|
206
|
-
b.bp("/collaborations/{collaborationIdentifier}");
|
|
207
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
208
|
-
let body;
|
|
209
|
-
b.m("DELETE").h(headers).b(body);
|
|
210
|
-
return b.build();
|
|
211
|
-
};
|
|
212
|
-
exports.se_DeleteCollaborationCommand = se_DeleteCollaborationCommand;
|
|
213
|
-
const se_DeleteConfiguredAudienceModelAssociationCommand = async (input, context) => {
|
|
214
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
215
|
-
const headers = {};
|
|
216
|
-
b.bp("/memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}");
|
|
217
|
-
b.p("configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
|
|
218
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
219
|
-
let body;
|
|
220
|
-
b.m("DELETE").h(headers).b(body);
|
|
221
|
-
return b.build();
|
|
222
|
-
};
|
|
223
|
-
exports.se_DeleteConfiguredAudienceModelAssociationCommand = se_DeleteConfiguredAudienceModelAssociationCommand;
|
|
224
|
-
const se_DeleteConfiguredTableCommand = async (input, context) => {
|
|
225
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
226
|
-
const headers = {};
|
|
227
|
-
b.bp("/configuredTables/{configuredTableIdentifier}");
|
|
228
|
-
b.p("configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
229
|
-
let body;
|
|
230
|
-
b.m("DELETE").h(headers).b(body);
|
|
231
|
-
return b.build();
|
|
232
|
-
};
|
|
233
|
-
exports.se_DeleteConfiguredTableCommand = se_DeleteConfiguredTableCommand;
|
|
234
|
-
const se_DeleteConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
235
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
236
|
-
const headers = {};
|
|
237
|
-
b.bp("/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}");
|
|
238
|
-
b.p("configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
239
|
-
b.p("analysisRuleType", () => input.analysisRuleType, "{analysisRuleType}", false);
|
|
240
|
-
let body;
|
|
241
|
-
b.m("DELETE").h(headers).b(body);
|
|
242
|
-
return b.build();
|
|
243
|
-
};
|
|
244
|
-
exports.se_DeleteConfiguredTableAnalysisRuleCommand = se_DeleteConfiguredTableAnalysisRuleCommand;
|
|
245
|
-
const se_DeleteConfiguredTableAssociationCommand = async (input, context) => {
|
|
246
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
247
|
-
const headers = {};
|
|
248
|
-
b.bp("/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}");
|
|
249
|
-
b.p("configuredTableAssociationIdentifier", () => input.configuredTableAssociationIdentifier, "{configuredTableAssociationIdentifier}", false);
|
|
250
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
251
|
-
let body;
|
|
252
|
-
b.m("DELETE").h(headers).b(body);
|
|
253
|
-
return b.build();
|
|
254
|
-
};
|
|
255
|
-
exports.se_DeleteConfiguredTableAssociationCommand = se_DeleteConfiguredTableAssociationCommand;
|
|
256
|
-
const se_DeleteMemberCommand = async (input, context) => {
|
|
257
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
258
|
-
const headers = {};
|
|
259
|
-
b.bp("/collaborations/{collaborationIdentifier}/member/{accountId}");
|
|
260
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
261
|
-
b.p("accountId", () => input.accountId, "{accountId}", false);
|
|
262
|
-
let body;
|
|
263
|
-
b.m("DELETE").h(headers).b(body);
|
|
264
|
-
return b.build();
|
|
265
|
-
};
|
|
266
|
-
exports.se_DeleteMemberCommand = se_DeleteMemberCommand;
|
|
267
|
-
const se_DeleteMembershipCommand = async (input, context) => {
|
|
268
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
269
|
-
const headers = {};
|
|
270
|
-
b.bp("/memberships/{membershipIdentifier}");
|
|
271
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
272
|
-
let body;
|
|
273
|
-
b.m("DELETE").h(headers).b(body);
|
|
274
|
-
return b.build();
|
|
275
|
-
};
|
|
276
|
-
exports.se_DeleteMembershipCommand = se_DeleteMembershipCommand;
|
|
277
|
-
const se_DeletePrivacyBudgetTemplateCommand = async (input, context) => {
|
|
278
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
279
|
-
const headers = {};
|
|
280
|
-
b.bp("/memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}");
|
|
281
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
282
|
-
b.p("privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
|
|
283
|
-
let body;
|
|
284
|
-
b.m("DELETE").h(headers).b(body);
|
|
285
|
-
return b.build();
|
|
286
|
-
};
|
|
287
|
-
exports.se_DeletePrivacyBudgetTemplateCommand = se_DeletePrivacyBudgetTemplateCommand;
|
|
288
|
-
const se_GetAnalysisTemplateCommand = async (input, context) => {
|
|
289
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
290
|
-
const headers = {};
|
|
291
|
-
b.bp("/memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}");
|
|
292
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
293
|
-
b.p("analysisTemplateIdentifier", () => input.analysisTemplateIdentifier, "{analysisTemplateIdentifier}", false);
|
|
294
|
-
let body;
|
|
295
|
-
b.m("GET").h(headers).b(body);
|
|
296
|
-
return b.build();
|
|
297
|
-
};
|
|
298
|
-
exports.se_GetAnalysisTemplateCommand = se_GetAnalysisTemplateCommand;
|
|
299
|
-
const se_GetCollaborationCommand = async (input, context) => {
|
|
300
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
301
|
-
const headers = {};
|
|
302
|
-
b.bp("/collaborations/{collaborationIdentifier}");
|
|
303
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
304
|
-
let body;
|
|
305
|
-
b.m("GET").h(headers).b(body);
|
|
306
|
-
return b.build();
|
|
307
|
-
};
|
|
308
|
-
exports.se_GetCollaborationCommand = se_GetCollaborationCommand;
|
|
309
|
-
const se_GetCollaborationAnalysisTemplateCommand = async (input, context) => {
|
|
310
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
311
|
-
const headers = {};
|
|
312
|
-
b.bp("/collaborations/{collaborationIdentifier}/analysistemplates/{analysisTemplateArn}");
|
|
313
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
314
|
-
b.p("analysisTemplateArn", () => input.analysisTemplateArn, "{analysisTemplateArn}", false);
|
|
315
|
-
let body;
|
|
316
|
-
b.m("GET").h(headers).b(body);
|
|
317
|
-
return b.build();
|
|
318
|
-
};
|
|
319
|
-
exports.se_GetCollaborationAnalysisTemplateCommand = se_GetCollaborationAnalysisTemplateCommand;
|
|
320
|
-
const se_GetCollaborationConfiguredAudienceModelAssociationCommand = async (input, context) => {
|
|
321
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
322
|
-
const headers = {};
|
|
323
|
-
b.bp("/collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}");
|
|
324
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
325
|
-
b.p("configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
|
|
326
|
-
let body;
|
|
327
|
-
b.m("GET").h(headers).b(body);
|
|
328
|
-
return b.build();
|
|
329
|
-
};
|
|
330
|
-
exports.se_GetCollaborationConfiguredAudienceModelAssociationCommand = se_GetCollaborationConfiguredAudienceModelAssociationCommand;
|
|
331
|
-
const se_GetCollaborationPrivacyBudgetTemplateCommand = async (input, context) => {
|
|
332
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
333
|
-
const headers = {};
|
|
334
|
-
b.bp("/collaborations/{collaborationIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}");
|
|
335
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
336
|
-
b.p("privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
|
|
337
|
-
let body;
|
|
338
|
-
b.m("GET").h(headers).b(body);
|
|
339
|
-
return b.build();
|
|
340
|
-
};
|
|
341
|
-
exports.se_GetCollaborationPrivacyBudgetTemplateCommand = se_GetCollaborationPrivacyBudgetTemplateCommand;
|
|
342
|
-
const se_GetConfiguredAudienceModelAssociationCommand = async (input, context) => {
|
|
343
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
344
|
-
const headers = {};
|
|
345
|
-
b.bp("/memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}");
|
|
346
|
-
b.p("configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
|
|
347
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
348
|
-
let body;
|
|
349
|
-
b.m("GET").h(headers).b(body);
|
|
350
|
-
return b.build();
|
|
351
|
-
};
|
|
352
|
-
exports.se_GetConfiguredAudienceModelAssociationCommand = se_GetConfiguredAudienceModelAssociationCommand;
|
|
353
|
-
const se_GetConfiguredTableCommand = async (input, context) => {
|
|
354
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
355
|
-
const headers = {};
|
|
356
|
-
b.bp("/configuredTables/{configuredTableIdentifier}");
|
|
357
|
-
b.p("configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
358
|
-
let body;
|
|
359
|
-
b.m("GET").h(headers).b(body);
|
|
360
|
-
return b.build();
|
|
361
|
-
};
|
|
362
|
-
exports.se_GetConfiguredTableCommand = se_GetConfiguredTableCommand;
|
|
363
|
-
const se_GetConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
364
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
365
|
-
const headers = {};
|
|
366
|
-
b.bp("/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}");
|
|
367
|
-
b.p("configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
368
|
-
b.p("analysisRuleType", () => input.analysisRuleType, "{analysisRuleType}", false);
|
|
369
|
-
let body;
|
|
370
|
-
b.m("GET").h(headers).b(body);
|
|
371
|
-
return b.build();
|
|
372
|
-
};
|
|
373
|
-
exports.se_GetConfiguredTableAnalysisRuleCommand = se_GetConfiguredTableAnalysisRuleCommand;
|
|
374
|
-
const se_GetConfiguredTableAssociationCommand = async (input, context) => {
|
|
375
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
376
|
-
const headers = {};
|
|
377
|
-
b.bp("/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}");
|
|
378
|
-
b.p("configuredTableAssociationIdentifier", () => input.configuredTableAssociationIdentifier, "{configuredTableAssociationIdentifier}", false);
|
|
379
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
380
|
-
let body;
|
|
381
|
-
b.m("GET").h(headers).b(body);
|
|
382
|
-
return b.build();
|
|
383
|
-
};
|
|
384
|
-
exports.se_GetConfiguredTableAssociationCommand = se_GetConfiguredTableAssociationCommand;
|
|
385
|
-
const se_GetMembershipCommand = async (input, context) => {
|
|
386
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
387
|
-
const headers = {};
|
|
388
|
-
b.bp("/memberships/{membershipIdentifier}");
|
|
389
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
390
|
-
let body;
|
|
391
|
-
b.m("GET").h(headers).b(body);
|
|
392
|
-
return b.build();
|
|
393
|
-
};
|
|
394
|
-
exports.se_GetMembershipCommand = se_GetMembershipCommand;
|
|
395
|
-
const se_GetPrivacyBudgetTemplateCommand = async (input, context) => {
|
|
396
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
397
|
-
const headers = {};
|
|
398
|
-
b.bp("/memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}");
|
|
399
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
400
|
-
b.p("privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
|
|
401
|
-
let body;
|
|
402
|
-
b.m("GET").h(headers).b(body);
|
|
403
|
-
return b.build();
|
|
404
|
-
};
|
|
405
|
-
exports.se_GetPrivacyBudgetTemplateCommand = se_GetPrivacyBudgetTemplateCommand;
|
|
406
|
-
const se_GetProtectedQueryCommand = async (input, context) => {
|
|
407
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
408
|
-
const headers = {};
|
|
409
|
-
b.bp("/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}");
|
|
410
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
411
|
-
b.p("protectedQueryIdentifier", () => input.protectedQueryIdentifier, "{protectedQueryIdentifier}", false);
|
|
412
|
-
let body;
|
|
413
|
-
b.m("GET").h(headers).b(body);
|
|
414
|
-
return b.build();
|
|
415
|
-
};
|
|
416
|
-
exports.se_GetProtectedQueryCommand = se_GetProtectedQueryCommand;
|
|
417
|
-
const se_GetSchemaCommand = async (input, context) => {
|
|
418
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
419
|
-
const headers = {};
|
|
420
|
-
b.bp("/collaborations/{collaborationIdentifier}/schemas/{name}");
|
|
421
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
422
|
-
b.p("name", () => input.name, "{name}", false);
|
|
423
|
-
let body;
|
|
424
|
-
b.m("GET").h(headers).b(body);
|
|
425
|
-
return b.build();
|
|
426
|
-
};
|
|
427
|
-
exports.se_GetSchemaCommand = se_GetSchemaCommand;
|
|
428
|
-
const se_GetSchemaAnalysisRuleCommand = async (input, context) => {
|
|
429
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
430
|
-
const headers = {};
|
|
431
|
-
b.bp("/collaborations/{collaborationIdentifier}/schemas/{name}/analysisRule/{type}");
|
|
432
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
433
|
-
b.p("name", () => input.name, "{name}", false);
|
|
434
|
-
b.p("type", () => input.type, "{type}", false);
|
|
435
|
-
let body;
|
|
436
|
-
b.m("GET").h(headers).b(body);
|
|
437
|
-
return b.build();
|
|
438
|
-
};
|
|
439
|
-
exports.se_GetSchemaAnalysisRuleCommand = se_GetSchemaAnalysisRuleCommand;
|
|
440
|
-
const se_ListAnalysisTemplatesCommand = async (input, context) => {
|
|
441
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
442
|
-
const headers = {};
|
|
443
|
-
b.bp("/memberships/{membershipIdentifier}/analysistemplates");
|
|
444
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
445
|
-
const query = (0, smithy_client_1.map)({
|
|
446
|
-
[_nT]: [, input[_nT]],
|
|
447
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
448
|
-
});
|
|
449
|
-
let body;
|
|
450
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
451
|
-
return b.build();
|
|
452
|
-
};
|
|
453
|
-
exports.se_ListAnalysisTemplatesCommand = se_ListAnalysisTemplatesCommand;
|
|
454
|
-
const se_ListCollaborationAnalysisTemplatesCommand = async (input, context) => {
|
|
455
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
456
|
-
const headers = {};
|
|
457
|
-
b.bp("/collaborations/{collaborationIdentifier}/analysistemplates");
|
|
458
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
459
|
-
const query = (0, smithy_client_1.map)({
|
|
460
|
-
[_nT]: [, input[_nT]],
|
|
461
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
462
|
-
});
|
|
463
|
-
let body;
|
|
464
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
465
|
-
return b.build();
|
|
466
|
-
};
|
|
467
|
-
exports.se_ListCollaborationAnalysisTemplatesCommand = se_ListCollaborationAnalysisTemplatesCommand;
|
|
468
|
-
const se_ListCollaborationConfiguredAudienceModelAssociationsCommand = async (input, context) => {
|
|
469
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
470
|
-
const headers = {};
|
|
471
|
-
b.bp("/collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations");
|
|
472
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
473
|
-
const query = (0, smithy_client_1.map)({
|
|
474
|
-
[_nT]: [, input[_nT]],
|
|
475
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
476
|
-
});
|
|
477
|
-
let body;
|
|
478
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
479
|
-
return b.build();
|
|
480
|
-
};
|
|
481
|
-
exports.se_ListCollaborationConfiguredAudienceModelAssociationsCommand = se_ListCollaborationConfiguredAudienceModelAssociationsCommand;
|
|
482
|
-
const se_ListCollaborationPrivacyBudgetsCommand = async (input, context) => {
|
|
483
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
484
|
-
const headers = {};
|
|
485
|
-
b.bp("/collaborations/{collaborationIdentifier}/privacybudgets");
|
|
486
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
487
|
-
const query = (0, smithy_client_1.map)({
|
|
488
|
-
[_pBT]: [, (0, smithy_client_1.expectNonNull)(input[_pBT], `privacyBudgetType`)],
|
|
489
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
490
|
-
[_nT]: [, input[_nT]],
|
|
491
|
-
});
|
|
492
|
-
let body;
|
|
493
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
494
|
-
return b.build();
|
|
495
|
-
};
|
|
496
|
-
exports.se_ListCollaborationPrivacyBudgetsCommand = se_ListCollaborationPrivacyBudgetsCommand;
|
|
497
|
-
const se_ListCollaborationPrivacyBudgetTemplatesCommand = async (input, context) => {
|
|
498
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
499
|
-
const headers = {};
|
|
500
|
-
b.bp("/collaborations/{collaborationIdentifier}/privacybudgettemplates");
|
|
501
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
502
|
-
const query = (0, smithy_client_1.map)({
|
|
503
|
-
[_nT]: [, input[_nT]],
|
|
504
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
505
|
-
});
|
|
506
|
-
let body;
|
|
507
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
508
|
-
return b.build();
|
|
509
|
-
};
|
|
510
|
-
exports.se_ListCollaborationPrivacyBudgetTemplatesCommand = se_ListCollaborationPrivacyBudgetTemplatesCommand;
|
|
511
|
-
const se_ListCollaborationsCommand = async (input, context) => {
|
|
512
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
513
|
-
const headers = {};
|
|
514
|
-
b.bp("/collaborations");
|
|
515
|
-
const query = (0, smithy_client_1.map)({
|
|
516
|
-
[_nT]: [, input[_nT]],
|
|
517
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
518
|
-
[_mS]: [, input[_mS]],
|
|
519
|
-
});
|
|
520
|
-
let body;
|
|
521
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
522
|
-
return b.build();
|
|
523
|
-
};
|
|
524
|
-
exports.se_ListCollaborationsCommand = se_ListCollaborationsCommand;
|
|
525
|
-
const se_ListConfiguredAudienceModelAssociationsCommand = async (input, context) => {
|
|
526
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
527
|
-
const headers = {};
|
|
528
|
-
b.bp("/memberships/{membershipIdentifier}/configuredaudiencemodelassociations");
|
|
529
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
530
|
-
const query = (0, smithy_client_1.map)({
|
|
531
|
-
[_nT]: [, input[_nT]],
|
|
532
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
533
|
-
});
|
|
534
|
-
let body;
|
|
535
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
536
|
-
return b.build();
|
|
537
|
-
};
|
|
538
|
-
exports.se_ListConfiguredAudienceModelAssociationsCommand = se_ListConfiguredAudienceModelAssociationsCommand;
|
|
539
|
-
const se_ListConfiguredTableAssociationsCommand = async (input, context) => {
|
|
540
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
541
|
-
const headers = {};
|
|
542
|
-
b.bp("/memberships/{membershipIdentifier}/configuredTableAssociations");
|
|
543
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
544
|
-
const query = (0, smithy_client_1.map)({
|
|
545
|
-
[_nT]: [, input[_nT]],
|
|
546
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
547
|
-
});
|
|
548
|
-
let body;
|
|
549
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
550
|
-
return b.build();
|
|
551
|
-
};
|
|
552
|
-
exports.se_ListConfiguredTableAssociationsCommand = se_ListConfiguredTableAssociationsCommand;
|
|
553
|
-
const se_ListConfiguredTablesCommand = async (input, context) => {
|
|
554
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
555
|
-
const headers = {};
|
|
556
|
-
b.bp("/configuredTables");
|
|
557
|
-
const query = (0, smithy_client_1.map)({
|
|
558
|
-
[_nT]: [, input[_nT]],
|
|
559
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
560
|
-
});
|
|
561
|
-
let body;
|
|
562
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
563
|
-
return b.build();
|
|
564
|
-
};
|
|
565
|
-
exports.se_ListConfiguredTablesCommand = se_ListConfiguredTablesCommand;
|
|
566
|
-
const se_ListMembersCommand = async (input, context) => {
|
|
567
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
568
|
-
const headers = {};
|
|
569
|
-
b.bp("/collaborations/{collaborationIdentifier}/members");
|
|
570
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
571
|
-
const query = (0, smithy_client_1.map)({
|
|
572
|
-
[_nT]: [, input[_nT]],
|
|
573
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
574
|
-
});
|
|
575
|
-
let body;
|
|
576
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
577
|
-
return b.build();
|
|
578
|
-
};
|
|
579
|
-
exports.se_ListMembersCommand = se_ListMembersCommand;
|
|
580
|
-
const se_ListMembershipsCommand = async (input, context) => {
|
|
581
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
582
|
-
const headers = {};
|
|
583
|
-
b.bp("/memberships");
|
|
584
|
-
const query = (0, smithy_client_1.map)({
|
|
585
|
-
[_nT]: [, input[_nT]],
|
|
586
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
587
|
-
[_s]: [, input[_s]],
|
|
588
|
-
});
|
|
589
|
-
let body;
|
|
590
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
591
|
-
return b.build();
|
|
592
|
-
};
|
|
593
|
-
exports.se_ListMembershipsCommand = se_ListMembershipsCommand;
|
|
594
|
-
const se_ListPrivacyBudgetsCommand = async (input, context) => {
|
|
595
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
596
|
-
const headers = {};
|
|
597
|
-
b.bp("/memberships/{membershipIdentifier}/privacybudgets");
|
|
598
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
599
|
-
const query = (0, smithy_client_1.map)({
|
|
600
|
-
[_pBT]: [, (0, smithy_client_1.expectNonNull)(input[_pBT], `privacyBudgetType`)],
|
|
601
|
-
[_nT]: [, input[_nT]],
|
|
602
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
603
|
-
});
|
|
604
|
-
let body;
|
|
605
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
606
|
-
return b.build();
|
|
607
|
-
};
|
|
608
|
-
exports.se_ListPrivacyBudgetsCommand = se_ListPrivacyBudgetsCommand;
|
|
609
|
-
const se_ListPrivacyBudgetTemplatesCommand = async (input, context) => {
|
|
610
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
611
|
-
const headers = {};
|
|
612
|
-
b.bp("/memberships/{membershipIdentifier}/privacybudgettemplates");
|
|
613
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
614
|
-
const query = (0, smithy_client_1.map)({
|
|
615
|
-
[_nT]: [, input[_nT]],
|
|
616
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
617
|
-
});
|
|
618
|
-
let body;
|
|
619
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
620
|
-
return b.build();
|
|
621
|
-
};
|
|
622
|
-
exports.se_ListPrivacyBudgetTemplatesCommand = se_ListPrivacyBudgetTemplatesCommand;
|
|
623
|
-
const se_ListProtectedQueriesCommand = async (input, context) => {
|
|
624
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
625
|
-
const headers = {};
|
|
626
|
-
b.bp("/memberships/{membershipIdentifier}/protectedQueries");
|
|
627
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
628
|
-
const query = (0, smithy_client_1.map)({
|
|
629
|
-
[_s]: [, input[_s]],
|
|
630
|
-
[_nT]: [, input[_nT]],
|
|
631
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
632
|
-
});
|
|
633
|
-
let body;
|
|
634
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
635
|
-
return b.build();
|
|
636
|
-
};
|
|
637
|
-
exports.se_ListProtectedQueriesCommand = se_ListProtectedQueriesCommand;
|
|
638
|
-
const se_ListSchemasCommand = async (input, context) => {
|
|
639
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
640
|
-
const headers = {};
|
|
641
|
-
b.bp("/collaborations/{collaborationIdentifier}/schemas");
|
|
642
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
643
|
-
const query = (0, smithy_client_1.map)({
|
|
644
|
-
[_sT]: [, input[_sT]],
|
|
645
|
-
[_nT]: [, input[_nT]],
|
|
646
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
647
|
-
});
|
|
648
|
-
let body;
|
|
649
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
650
|
-
return b.build();
|
|
651
|
-
};
|
|
652
|
-
exports.se_ListSchemasCommand = se_ListSchemasCommand;
|
|
653
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
654
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
655
|
-
const headers = {};
|
|
656
|
-
b.bp("/tags/{resourceArn}");
|
|
657
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
658
|
-
let body;
|
|
659
|
-
b.m("GET").h(headers).b(body);
|
|
660
|
-
return b.build();
|
|
661
|
-
};
|
|
662
|
-
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
663
|
-
const se_PreviewPrivacyImpactCommand = async (input, context) => {
|
|
664
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
665
|
-
const headers = {
|
|
666
|
-
"content-type": "application/json",
|
|
667
|
-
};
|
|
668
|
-
b.bp("/memberships/{membershipIdentifier}/previewprivacyimpact");
|
|
669
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
670
|
-
let body;
|
|
671
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
672
|
-
parameters: (_) => (0, smithy_client_1._json)(_),
|
|
673
|
-
}));
|
|
674
|
-
b.m("POST").h(headers).b(body);
|
|
675
|
-
return b.build();
|
|
676
|
-
};
|
|
677
|
-
exports.se_PreviewPrivacyImpactCommand = se_PreviewPrivacyImpactCommand;
|
|
678
|
-
const se_StartProtectedQueryCommand = async (input, context) => {
|
|
679
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
680
|
-
const headers = {
|
|
681
|
-
"content-type": "application/json",
|
|
682
|
-
};
|
|
683
|
-
b.bp("/memberships/{membershipIdentifier}/protectedQueries");
|
|
684
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
685
|
-
let body;
|
|
686
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
687
|
-
resultConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
688
|
-
sqlParameters: (_) => (0, smithy_client_1._json)(_),
|
|
689
|
-
type: [],
|
|
690
|
-
}));
|
|
691
|
-
b.m("POST").h(headers).b(body);
|
|
692
|
-
return b.build();
|
|
693
|
-
};
|
|
694
|
-
exports.se_StartProtectedQueryCommand = se_StartProtectedQueryCommand;
|
|
695
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
696
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
697
|
-
const headers = {
|
|
698
|
-
"content-type": "application/json",
|
|
699
|
-
};
|
|
700
|
-
b.bp("/tags/{resourceArn}");
|
|
701
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
702
|
-
let body;
|
|
703
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
704
|
-
tags: (_) => (0, smithy_client_1._json)(_),
|
|
705
|
-
}));
|
|
706
|
-
b.m("POST").h(headers).b(body);
|
|
707
|
-
return b.build();
|
|
708
|
-
};
|
|
709
|
-
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
710
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
711
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
712
|
-
const headers = {};
|
|
713
|
-
b.bp("/tags/{resourceArn}");
|
|
714
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
715
|
-
const query = (0, smithy_client_1.map)({
|
|
716
|
-
[_tK]: [
|
|
717
|
-
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
718
|
-
() => (input[_tK] || []).map((_entry) => _entry),
|
|
719
|
-
],
|
|
720
|
-
});
|
|
721
|
-
let body;
|
|
722
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
723
|
-
return b.build();
|
|
724
|
-
};
|
|
725
|
-
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
726
|
-
const se_UpdateAnalysisTemplateCommand = async (input, context) => {
|
|
727
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
728
|
-
const headers = {
|
|
729
|
-
"content-type": "application/json",
|
|
730
|
-
};
|
|
731
|
-
b.bp("/memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}");
|
|
732
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
733
|
-
b.p("analysisTemplateIdentifier", () => input.analysisTemplateIdentifier, "{analysisTemplateIdentifier}", false);
|
|
734
|
-
let body;
|
|
735
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
736
|
-
description: [],
|
|
737
|
-
}));
|
|
738
|
-
b.m("PATCH").h(headers).b(body);
|
|
739
|
-
return b.build();
|
|
740
|
-
};
|
|
741
|
-
exports.se_UpdateAnalysisTemplateCommand = se_UpdateAnalysisTemplateCommand;
|
|
742
|
-
const se_UpdateCollaborationCommand = async (input, context) => {
|
|
743
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
744
|
-
const headers = {
|
|
745
|
-
"content-type": "application/json",
|
|
746
|
-
};
|
|
747
|
-
b.bp("/collaborations/{collaborationIdentifier}");
|
|
748
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
749
|
-
let body;
|
|
750
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
751
|
-
description: [],
|
|
752
|
-
name: [],
|
|
753
|
-
}));
|
|
754
|
-
b.m("PATCH").h(headers).b(body);
|
|
755
|
-
return b.build();
|
|
756
|
-
};
|
|
757
|
-
exports.se_UpdateCollaborationCommand = se_UpdateCollaborationCommand;
|
|
758
|
-
const se_UpdateConfiguredAudienceModelAssociationCommand = async (input, context) => {
|
|
759
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
760
|
-
const headers = {
|
|
761
|
-
"content-type": "application/json",
|
|
762
|
-
};
|
|
763
|
-
b.bp("/memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}");
|
|
764
|
-
b.p("configuredAudienceModelAssociationIdentifier", () => input.configuredAudienceModelAssociationIdentifier, "{configuredAudienceModelAssociationIdentifier}", false);
|
|
765
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
766
|
-
let body;
|
|
767
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
768
|
-
description: [],
|
|
769
|
-
name: [],
|
|
770
|
-
}));
|
|
771
|
-
b.m("PATCH").h(headers).b(body);
|
|
772
|
-
return b.build();
|
|
773
|
-
};
|
|
774
|
-
exports.se_UpdateConfiguredAudienceModelAssociationCommand = se_UpdateConfiguredAudienceModelAssociationCommand;
|
|
775
|
-
const se_UpdateConfiguredTableCommand = async (input, context) => {
|
|
776
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
777
|
-
const headers = {
|
|
778
|
-
"content-type": "application/json",
|
|
779
|
-
};
|
|
780
|
-
b.bp("/configuredTables/{configuredTableIdentifier}");
|
|
781
|
-
b.p("configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
782
|
-
let body;
|
|
783
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
784
|
-
description: [],
|
|
785
|
-
name: [],
|
|
786
|
-
}));
|
|
787
|
-
b.m("PATCH").h(headers).b(body);
|
|
788
|
-
return b.build();
|
|
789
|
-
};
|
|
790
|
-
exports.se_UpdateConfiguredTableCommand = se_UpdateConfiguredTableCommand;
|
|
791
|
-
const se_UpdateConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
792
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
793
|
-
const headers = {
|
|
794
|
-
"content-type": "application/json",
|
|
795
|
-
};
|
|
796
|
-
b.bp("/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}");
|
|
797
|
-
b.p("configuredTableIdentifier", () => input.configuredTableIdentifier, "{configuredTableIdentifier}", false);
|
|
798
|
-
b.p("analysisRuleType", () => input.analysisRuleType, "{analysisRuleType}", false);
|
|
799
|
-
let body;
|
|
800
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
801
|
-
analysisRulePolicy: (_) => (0, smithy_client_1._json)(_),
|
|
802
|
-
}));
|
|
803
|
-
b.m("PATCH").h(headers).b(body);
|
|
804
|
-
return b.build();
|
|
805
|
-
};
|
|
806
|
-
exports.se_UpdateConfiguredTableAnalysisRuleCommand = se_UpdateConfiguredTableAnalysisRuleCommand;
|
|
807
|
-
const se_UpdateConfiguredTableAssociationCommand = async (input, context) => {
|
|
808
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
809
|
-
const headers = {
|
|
810
|
-
"content-type": "application/json",
|
|
811
|
-
};
|
|
812
|
-
b.bp("/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}");
|
|
813
|
-
b.p("configuredTableAssociationIdentifier", () => input.configuredTableAssociationIdentifier, "{configuredTableAssociationIdentifier}", false);
|
|
814
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
815
|
-
let body;
|
|
816
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
817
|
-
description: [],
|
|
818
|
-
roleArn: [],
|
|
819
|
-
}));
|
|
820
|
-
b.m("PATCH").h(headers).b(body);
|
|
821
|
-
return b.build();
|
|
822
|
-
};
|
|
823
|
-
exports.se_UpdateConfiguredTableAssociationCommand = se_UpdateConfiguredTableAssociationCommand;
|
|
824
|
-
const se_UpdateMembershipCommand = async (input, context) => {
|
|
825
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
826
|
-
const headers = {
|
|
827
|
-
"content-type": "application/json",
|
|
828
|
-
};
|
|
829
|
-
b.bp("/memberships/{membershipIdentifier}");
|
|
830
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
831
|
-
let body;
|
|
832
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
833
|
-
defaultResultConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
834
|
-
queryLogStatus: [],
|
|
835
|
-
}));
|
|
836
|
-
b.m("PATCH").h(headers).b(body);
|
|
837
|
-
return b.build();
|
|
838
|
-
};
|
|
839
|
-
exports.se_UpdateMembershipCommand = se_UpdateMembershipCommand;
|
|
840
|
-
const se_UpdatePrivacyBudgetTemplateCommand = async (input, context) => {
|
|
841
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
842
|
-
const headers = {
|
|
843
|
-
"content-type": "application/json",
|
|
844
|
-
};
|
|
845
|
-
b.bp("/memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}");
|
|
846
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
847
|
-
b.p("privacyBudgetTemplateIdentifier", () => input.privacyBudgetTemplateIdentifier, "{privacyBudgetTemplateIdentifier}", false);
|
|
848
|
-
let body;
|
|
849
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
850
|
-
parameters: (_) => (0, smithy_client_1._json)(_),
|
|
851
|
-
privacyBudgetType: [],
|
|
852
|
-
}));
|
|
853
|
-
b.m("PATCH").h(headers).b(body);
|
|
854
|
-
return b.build();
|
|
855
|
-
};
|
|
856
|
-
exports.se_UpdatePrivacyBudgetTemplateCommand = se_UpdatePrivacyBudgetTemplateCommand;
|
|
857
|
-
const se_UpdateProtectedQueryCommand = async (input, context) => {
|
|
858
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
859
|
-
const headers = {
|
|
860
|
-
"content-type": "application/json",
|
|
861
|
-
};
|
|
862
|
-
b.bp("/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}");
|
|
863
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
864
|
-
b.p("protectedQueryIdentifier", () => input.protectedQueryIdentifier, "{protectedQueryIdentifier}", false);
|
|
865
|
-
let body;
|
|
866
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
867
|
-
targetStatus: [],
|
|
868
|
-
}));
|
|
869
|
-
b.m("PATCH").h(headers).b(body);
|
|
870
|
-
return b.build();
|
|
871
|
-
};
|
|
872
|
-
exports.se_UpdateProtectedQueryCommand = se_UpdateProtectedQueryCommand;
|
|
873
|
-
const de_BatchGetCollaborationAnalysisTemplateCommand = async (output, context) => {
|
|
874
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
875
|
-
return de_BatchGetCollaborationAnalysisTemplateCommandError(output, context);
|
|
876
|
-
}
|
|
877
|
-
const contents = (0, smithy_client_1.map)({
|
|
878
|
-
$metadata: deserializeMetadata(output),
|
|
879
|
-
});
|
|
880
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
881
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
882
|
-
collaborationAnalysisTemplates: (_) => de_CollaborationAnalysisTemplateList(_, context),
|
|
883
|
-
errors: smithy_client_1._json,
|
|
884
|
-
});
|
|
885
|
-
Object.assign(contents, doc);
|
|
886
|
-
return contents;
|
|
887
|
-
};
|
|
888
|
-
exports.de_BatchGetCollaborationAnalysisTemplateCommand = de_BatchGetCollaborationAnalysisTemplateCommand;
|
|
889
|
-
const de_BatchGetCollaborationAnalysisTemplateCommandError = async (output, context) => {
|
|
890
|
-
const parsedOutput = {
|
|
891
|
-
...output,
|
|
892
|
-
body: await parseErrorBody(output.body, context),
|
|
893
|
-
};
|
|
894
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
895
|
-
switch (errorCode) {
|
|
896
|
-
case "AccessDeniedException":
|
|
897
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
898
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
899
|
-
case "InternalServerException":
|
|
900
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
901
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
902
|
-
case "ResourceNotFoundException":
|
|
903
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
904
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
905
|
-
case "ThrottlingException":
|
|
906
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
907
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
908
|
-
case "ValidationException":
|
|
909
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
910
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
911
|
-
default:
|
|
912
|
-
const parsedBody = parsedOutput.body;
|
|
913
|
-
return throwDefaultError({
|
|
914
|
-
output,
|
|
915
|
-
parsedBody,
|
|
916
|
-
errorCode,
|
|
917
|
-
});
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
const de_BatchGetSchemaCommand = async (output, context) => {
|
|
921
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
922
|
-
return de_BatchGetSchemaCommandError(output, context);
|
|
923
|
-
}
|
|
924
|
-
const contents = (0, smithy_client_1.map)({
|
|
925
|
-
$metadata: deserializeMetadata(output),
|
|
926
|
-
});
|
|
927
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
928
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
929
|
-
errors: smithy_client_1._json,
|
|
930
|
-
schemas: (_) => de_SchemaList(_, context),
|
|
931
|
-
});
|
|
932
|
-
Object.assign(contents, doc);
|
|
933
|
-
return contents;
|
|
934
|
-
};
|
|
935
|
-
exports.de_BatchGetSchemaCommand = de_BatchGetSchemaCommand;
|
|
936
|
-
const de_BatchGetSchemaCommandError = async (output, context) => {
|
|
937
|
-
const parsedOutput = {
|
|
938
|
-
...output,
|
|
939
|
-
body: await parseErrorBody(output.body, context),
|
|
940
|
-
};
|
|
941
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
942
|
-
switch (errorCode) {
|
|
943
|
-
case "AccessDeniedException":
|
|
944
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
945
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
946
|
-
case "InternalServerException":
|
|
947
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
948
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
949
|
-
case "ResourceNotFoundException":
|
|
950
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
951
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
952
|
-
case "ThrottlingException":
|
|
953
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
954
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
955
|
-
case "ValidationException":
|
|
956
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
957
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
958
|
-
default:
|
|
959
|
-
const parsedBody = parsedOutput.body;
|
|
960
|
-
return throwDefaultError({
|
|
961
|
-
output,
|
|
962
|
-
parsedBody,
|
|
963
|
-
errorCode,
|
|
964
|
-
});
|
|
965
|
-
}
|
|
966
|
-
};
|
|
967
|
-
const de_CreateAnalysisTemplateCommand = async (output, context) => {
|
|
968
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
969
|
-
return de_CreateAnalysisTemplateCommandError(output, context);
|
|
970
|
-
}
|
|
971
|
-
const contents = (0, smithy_client_1.map)({
|
|
972
|
-
$metadata: deserializeMetadata(output),
|
|
973
|
-
});
|
|
974
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
975
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
976
|
-
analysisTemplate: (_) => de_AnalysisTemplate(_, context),
|
|
977
|
-
});
|
|
978
|
-
Object.assign(contents, doc);
|
|
979
|
-
return contents;
|
|
980
|
-
};
|
|
981
|
-
exports.de_CreateAnalysisTemplateCommand = de_CreateAnalysisTemplateCommand;
|
|
982
|
-
const de_CreateAnalysisTemplateCommandError = async (output, context) => {
|
|
983
|
-
const parsedOutput = {
|
|
984
|
-
...output,
|
|
985
|
-
body: await parseErrorBody(output.body, context),
|
|
986
|
-
};
|
|
987
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
988
|
-
switch (errorCode) {
|
|
989
|
-
case "AccessDeniedException":
|
|
990
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
991
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
992
|
-
case "ConflictException":
|
|
993
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
994
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
995
|
-
case "InternalServerException":
|
|
996
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
997
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
998
|
-
case "ResourceNotFoundException":
|
|
999
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1000
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1001
|
-
case "ServiceQuotaExceededException":
|
|
1002
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1003
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1004
|
-
case "ThrottlingException":
|
|
1005
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1006
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1007
|
-
case "ValidationException":
|
|
1008
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1009
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1010
|
-
default:
|
|
1011
|
-
const parsedBody = parsedOutput.body;
|
|
1012
|
-
return throwDefaultError({
|
|
1013
|
-
output,
|
|
1014
|
-
parsedBody,
|
|
1015
|
-
errorCode,
|
|
1016
|
-
});
|
|
1017
|
-
}
|
|
1018
|
-
};
|
|
1019
|
-
const de_CreateCollaborationCommand = async (output, context) => {
|
|
1020
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1021
|
-
return de_CreateCollaborationCommandError(output, context);
|
|
1022
|
-
}
|
|
1023
|
-
const contents = (0, smithy_client_1.map)({
|
|
1024
|
-
$metadata: deserializeMetadata(output),
|
|
1025
|
-
});
|
|
1026
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1027
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1028
|
-
collaboration: (_) => de_Collaboration(_, context),
|
|
1029
|
-
});
|
|
1030
|
-
Object.assign(contents, doc);
|
|
1031
|
-
return contents;
|
|
1032
|
-
};
|
|
1033
|
-
exports.de_CreateCollaborationCommand = de_CreateCollaborationCommand;
|
|
1034
|
-
const de_CreateCollaborationCommandError = async (output, context) => {
|
|
1035
|
-
const parsedOutput = {
|
|
1036
|
-
...output,
|
|
1037
|
-
body: await parseErrorBody(output.body, context),
|
|
1038
|
-
};
|
|
1039
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1040
|
-
switch (errorCode) {
|
|
1041
|
-
case "AccessDeniedException":
|
|
1042
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1043
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1044
|
-
case "InternalServerException":
|
|
1045
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1046
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1047
|
-
case "ServiceQuotaExceededException":
|
|
1048
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1049
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1050
|
-
case "ThrottlingException":
|
|
1051
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1052
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1053
|
-
case "ValidationException":
|
|
1054
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1055
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1056
|
-
default:
|
|
1057
|
-
const parsedBody = parsedOutput.body;
|
|
1058
|
-
return throwDefaultError({
|
|
1059
|
-
output,
|
|
1060
|
-
parsedBody,
|
|
1061
|
-
errorCode,
|
|
1062
|
-
});
|
|
1063
|
-
}
|
|
1064
|
-
};
|
|
1065
|
-
const de_CreateConfiguredAudienceModelAssociationCommand = async (output, context) => {
|
|
1066
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1067
|
-
return de_CreateConfiguredAudienceModelAssociationCommandError(output, context);
|
|
1068
|
-
}
|
|
1069
|
-
const contents = (0, smithy_client_1.map)({
|
|
1070
|
-
$metadata: deserializeMetadata(output),
|
|
1071
|
-
});
|
|
1072
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1073
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1074
|
-
configuredAudienceModelAssociation: (_) => de_ConfiguredAudienceModelAssociation(_, context),
|
|
1075
|
-
});
|
|
1076
|
-
Object.assign(contents, doc);
|
|
1077
|
-
return contents;
|
|
1078
|
-
};
|
|
1079
|
-
exports.de_CreateConfiguredAudienceModelAssociationCommand = de_CreateConfiguredAudienceModelAssociationCommand;
|
|
1080
|
-
const de_CreateConfiguredAudienceModelAssociationCommandError = async (output, context) => {
|
|
1081
|
-
const parsedOutput = {
|
|
1082
|
-
...output,
|
|
1083
|
-
body: await parseErrorBody(output.body, context),
|
|
1084
|
-
};
|
|
1085
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1086
|
-
switch (errorCode) {
|
|
1087
|
-
case "AccessDeniedException":
|
|
1088
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1089
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1090
|
-
case "ConflictException":
|
|
1091
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1092
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1093
|
-
case "InternalServerException":
|
|
1094
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1095
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1096
|
-
case "ResourceNotFoundException":
|
|
1097
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1098
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1099
|
-
case "ServiceQuotaExceededException":
|
|
1100
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1101
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1102
|
-
case "ThrottlingException":
|
|
1103
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1104
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1105
|
-
case "ValidationException":
|
|
1106
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1107
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1108
|
-
default:
|
|
1109
|
-
const parsedBody = parsedOutput.body;
|
|
1110
|
-
return throwDefaultError({
|
|
1111
|
-
output,
|
|
1112
|
-
parsedBody,
|
|
1113
|
-
errorCode,
|
|
1114
|
-
});
|
|
1115
|
-
}
|
|
1116
|
-
};
|
|
1117
|
-
const de_CreateConfiguredTableCommand = async (output, context) => {
|
|
1118
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1119
|
-
return de_CreateConfiguredTableCommandError(output, context);
|
|
1120
|
-
}
|
|
1121
|
-
const contents = (0, smithy_client_1.map)({
|
|
1122
|
-
$metadata: deserializeMetadata(output),
|
|
1123
|
-
});
|
|
1124
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1125
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1126
|
-
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
1127
|
-
});
|
|
1128
|
-
Object.assign(contents, doc);
|
|
1129
|
-
return contents;
|
|
1130
|
-
};
|
|
1131
|
-
exports.de_CreateConfiguredTableCommand = de_CreateConfiguredTableCommand;
|
|
1132
|
-
const de_CreateConfiguredTableCommandError = async (output, context) => {
|
|
1133
|
-
const parsedOutput = {
|
|
1134
|
-
...output,
|
|
1135
|
-
body: await parseErrorBody(output.body, context),
|
|
1136
|
-
};
|
|
1137
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1138
|
-
switch (errorCode) {
|
|
1139
|
-
case "AccessDeniedException":
|
|
1140
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1141
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1142
|
-
case "ConflictException":
|
|
1143
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1144
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1145
|
-
case "InternalServerException":
|
|
1146
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1147
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1148
|
-
case "ResourceNotFoundException":
|
|
1149
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1150
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1151
|
-
case "ServiceQuotaExceededException":
|
|
1152
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1153
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1154
|
-
case "ThrottlingException":
|
|
1155
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1156
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1157
|
-
case "ValidationException":
|
|
1158
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1159
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1160
|
-
default:
|
|
1161
|
-
const parsedBody = parsedOutput.body;
|
|
1162
|
-
return throwDefaultError({
|
|
1163
|
-
output,
|
|
1164
|
-
parsedBody,
|
|
1165
|
-
errorCode,
|
|
1166
|
-
});
|
|
1167
|
-
}
|
|
1168
|
-
};
|
|
1169
|
-
const de_CreateConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
1170
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1171
|
-
return de_CreateConfiguredTableAnalysisRuleCommandError(output, context);
|
|
1172
|
-
}
|
|
1173
|
-
const contents = (0, smithy_client_1.map)({
|
|
1174
|
-
$metadata: deserializeMetadata(output),
|
|
1175
|
-
});
|
|
1176
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1177
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1178
|
-
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
1179
|
-
});
|
|
1180
|
-
Object.assign(contents, doc);
|
|
1181
|
-
return contents;
|
|
1182
|
-
};
|
|
1183
|
-
exports.de_CreateConfiguredTableAnalysisRuleCommand = de_CreateConfiguredTableAnalysisRuleCommand;
|
|
1184
|
-
const de_CreateConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
1185
|
-
const parsedOutput = {
|
|
1186
|
-
...output,
|
|
1187
|
-
body: await parseErrorBody(output.body, context),
|
|
1188
|
-
};
|
|
1189
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1190
|
-
switch (errorCode) {
|
|
1191
|
-
case "AccessDeniedException":
|
|
1192
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1193
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1194
|
-
case "ConflictException":
|
|
1195
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1196
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1197
|
-
case "InternalServerException":
|
|
1198
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1199
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1200
|
-
case "ResourceNotFoundException":
|
|
1201
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1202
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1203
|
-
case "ThrottlingException":
|
|
1204
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1205
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1206
|
-
case "ValidationException":
|
|
1207
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1208
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1209
|
-
default:
|
|
1210
|
-
const parsedBody = parsedOutput.body;
|
|
1211
|
-
return throwDefaultError({
|
|
1212
|
-
output,
|
|
1213
|
-
parsedBody,
|
|
1214
|
-
errorCode,
|
|
1215
|
-
});
|
|
1216
|
-
}
|
|
1217
|
-
};
|
|
1218
|
-
const de_CreateConfiguredTableAssociationCommand = async (output, context) => {
|
|
1219
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1220
|
-
return de_CreateConfiguredTableAssociationCommandError(output, context);
|
|
1221
|
-
}
|
|
1222
|
-
const contents = (0, smithy_client_1.map)({
|
|
1223
|
-
$metadata: deserializeMetadata(output),
|
|
1224
|
-
});
|
|
1225
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1226
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1227
|
-
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
1228
|
-
});
|
|
1229
|
-
Object.assign(contents, doc);
|
|
1230
|
-
return contents;
|
|
1231
|
-
};
|
|
1232
|
-
exports.de_CreateConfiguredTableAssociationCommand = de_CreateConfiguredTableAssociationCommand;
|
|
1233
|
-
const de_CreateConfiguredTableAssociationCommandError = async (output, context) => {
|
|
1234
|
-
const parsedOutput = {
|
|
1235
|
-
...output,
|
|
1236
|
-
body: await parseErrorBody(output.body, context),
|
|
1237
|
-
};
|
|
1238
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1239
|
-
switch (errorCode) {
|
|
1240
|
-
case "AccessDeniedException":
|
|
1241
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1242
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1243
|
-
case "ConflictException":
|
|
1244
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1245
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1246
|
-
case "InternalServerException":
|
|
1247
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1248
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1249
|
-
case "ResourceNotFoundException":
|
|
1250
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1251
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1252
|
-
case "ServiceQuotaExceededException":
|
|
1253
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1254
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1255
|
-
case "ThrottlingException":
|
|
1256
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1257
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1258
|
-
case "ValidationException":
|
|
1259
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1260
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1261
|
-
default:
|
|
1262
|
-
const parsedBody = parsedOutput.body;
|
|
1263
|
-
return throwDefaultError({
|
|
1264
|
-
output,
|
|
1265
|
-
parsedBody,
|
|
1266
|
-
errorCode,
|
|
1267
|
-
});
|
|
1268
|
-
}
|
|
1269
|
-
};
|
|
1270
|
-
const de_CreateMembershipCommand = async (output, context) => {
|
|
1271
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1272
|
-
return de_CreateMembershipCommandError(output, context);
|
|
1273
|
-
}
|
|
1274
|
-
const contents = (0, smithy_client_1.map)({
|
|
1275
|
-
$metadata: deserializeMetadata(output),
|
|
1276
|
-
});
|
|
1277
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1278
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1279
|
-
membership: (_) => de_Membership(_, context),
|
|
1280
|
-
});
|
|
1281
|
-
Object.assign(contents, doc);
|
|
1282
|
-
return contents;
|
|
1283
|
-
};
|
|
1284
|
-
exports.de_CreateMembershipCommand = de_CreateMembershipCommand;
|
|
1285
|
-
const de_CreateMembershipCommandError = async (output, context) => {
|
|
1286
|
-
const parsedOutput = {
|
|
1287
|
-
...output,
|
|
1288
|
-
body: await parseErrorBody(output.body, context),
|
|
1289
|
-
};
|
|
1290
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1291
|
-
switch (errorCode) {
|
|
1292
|
-
case "AccessDeniedException":
|
|
1293
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1294
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1295
|
-
case "ConflictException":
|
|
1296
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1297
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1298
|
-
case "InternalServerException":
|
|
1299
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1300
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1301
|
-
case "ResourceNotFoundException":
|
|
1302
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1303
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1304
|
-
case "ServiceQuotaExceededException":
|
|
1305
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1306
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1307
|
-
case "ThrottlingException":
|
|
1308
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1309
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1310
|
-
case "ValidationException":
|
|
1311
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1312
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1313
|
-
default:
|
|
1314
|
-
const parsedBody = parsedOutput.body;
|
|
1315
|
-
return throwDefaultError({
|
|
1316
|
-
output,
|
|
1317
|
-
parsedBody,
|
|
1318
|
-
errorCode,
|
|
1319
|
-
});
|
|
1320
|
-
}
|
|
1321
|
-
};
|
|
1322
|
-
const de_CreatePrivacyBudgetTemplateCommand = async (output, context) => {
|
|
1323
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1324
|
-
return de_CreatePrivacyBudgetTemplateCommandError(output, context);
|
|
1325
|
-
}
|
|
1326
|
-
const contents = (0, smithy_client_1.map)({
|
|
1327
|
-
$metadata: deserializeMetadata(output),
|
|
1328
|
-
});
|
|
1329
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1330
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1331
|
-
privacyBudgetTemplate: (_) => de_PrivacyBudgetTemplate(_, context),
|
|
1332
|
-
});
|
|
1333
|
-
Object.assign(contents, doc);
|
|
1334
|
-
return contents;
|
|
1335
|
-
};
|
|
1336
|
-
exports.de_CreatePrivacyBudgetTemplateCommand = de_CreatePrivacyBudgetTemplateCommand;
|
|
1337
|
-
const de_CreatePrivacyBudgetTemplateCommandError = async (output, context) => {
|
|
1338
|
-
const parsedOutput = {
|
|
1339
|
-
...output,
|
|
1340
|
-
body: await parseErrorBody(output.body, context),
|
|
1341
|
-
};
|
|
1342
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1343
|
-
switch (errorCode) {
|
|
1344
|
-
case "AccessDeniedException":
|
|
1345
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1346
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1347
|
-
case "ConflictException":
|
|
1348
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1349
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1350
|
-
case "InternalServerException":
|
|
1351
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1352
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1353
|
-
case "ResourceNotFoundException":
|
|
1354
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1355
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1356
|
-
case "ThrottlingException":
|
|
1357
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1358
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1359
|
-
case "ValidationException":
|
|
1360
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1361
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1362
|
-
default:
|
|
1363
|
-
const parsedBody = parsedOutput.body;
|
|
1364
|
-
return throwDefaultError({
|
|
1365
|
-
output,
|
|
1366
|
-
parsedBody,
|
|
1367
|
-
errorCode,
|
|
1368
|
-
});
|
|
1369
|
-
}
|
|
1370
|
-
};
|
|
1371
|
-
const de_DeleteAnalysisTemplateCommand = async (output, context) => {
|
|
1372
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1373
|
-
return de_DeleteAnalysisTemplateCommandError(output, context);
|
|
1374
|
-
}
|
|
1375
|
-
const contents = (0, smithy_client_1.map)({
|
|
1376
|
-
$metadata: deserializeMetadata(output),
|
|
1377
|
-
});
|
|
1378
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1379
|
-
return contents;
|
|
1380
|
-
};
|
|
1381
|
-
exports.de_DeleteAnalysisTemplateCommand = de_DeleteAnalysisTemplateCommand;
|
|
1382
|
-
const de_DeleteAnalysisTemplateCommandError = async (output, context) => {
|
|
1383
|
-
const parsedOutput = {
|
|
1384
|
-
...output,
|
|
1385
|
-
body: await parseErrorBody(output.body, context),
|
|
1386
|
-
};
|
|
1387
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1388
|
-
switch (errorCode) {
|
|
1389
|
-
case "AccessDeniedException":
|
|
1390
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1391
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1392
|
-
case "InternalServerException":
|
|
1393
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1394
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1395
|
-
case "ResourceNotFoundException":
|
|
1396
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1397
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1398
|
-
case "ThrottlingException":
|
|
1399
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1400
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1401
|
-
case "ValidationException":
|
|
1402
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1403
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1404
|
-
default:
|
|
1405
|
-
const parsedBody = parsedOutput.body;
|
|
1406
|
-
return throwDefaultError({
|
|
1407
|
-
output,
|
|
1408
|
-
parsedBody,
|
|
1409
|
-
errorCode,
|
|
1410
|
-
});
|
|
1411
|
-
}
|
|
1412
|
-
};
|
|
1413
|
-
const de_DeleteCollaborationCommand = async (output, context) => {
|
|
1414
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1415
|
-
return de_DeleteCollaborationCommandError(output, context);
|
|
1416
|
-
}
|
|
1417
|
-
const contents = (0, smithy_client_1.map)({
|
|
1418
|
-
$metadata: deserializeMetadata(output),
|
|
1419
|
-
});
|
|
1420
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1421
|
-
return contents;
|
|
1422
|
-
};
|
|
1423
|
-
exports.de_DeleteCollaborationCommand = de_DeleteCollaborationCommand;
|
|
1424
|
-
const de_DeleteCollaborationCommandError = async (output, context) => {
|
|
1425
|
-
const parsedOutput = {
|
|
1426
|
-
...output,
|
|
1427
|
-
body: await parseErrorBody(output.body, context),
|
|
1428
|
-
};
|
|
1429
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1430
|
-
switch (errorCode) {
|
|
1431
|
-
case "AccessDeniedException":
|
|
1432
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1433
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1434
|
-
case "InternalServerException":
|
|
1435
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1436
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1437
|
-
case "ThrottlingException":
|
|
1438
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1439
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1440
|
-
case "ValidationException":
|
|
1441
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1442
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1443
|
-
default:
|
|
1444
|
-
const parsedBody = parsedOutput.body;
|
|
1445
|
-
return throwDefaultError({
|
|
1446
|
-
output,
|
|
1447
|
-
parsedBody,
|
|
1448
|
-
errorCode,
|
|
1449
|
-
});
|
|
1450
|
-
}
|
|
1451
|
-
};
|
|
1452
|
-
const de_DeleteConfiguredAudienceModelAssociationCommand = async (output, context) => {
|
|
1453
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1454
|
-
return de_DeleteConfiguredAudienceModelAssociationCommandError(output, context);
|
|
1455
|
-
}
|
|
1456
|
-
const contents = (0, smithy_client_1.map)({
|
|
1457
|
-
$metadata: deserializeMetadata(output),
|
|
1458
|
-
});
|
|
1459
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1460
|
-
return contents;
|
|
1461
|
-
};
|
|
1462
|
-
exports.de_DeleteConfiguredAudienceModelAssociationCommand = de_DeleteConfiguredAudienceModelAssociationCommand;
|
|
1463
|
-
const de_DeleteConfiguredAudienceModelAssociationCommandError = async (output, context) => {
|
|
1464
|
-
const parsedOutput = {
|
|
1465
|
-
...output,
|
|
1466
|
-
body: await parseErrorBody(output.body, context),
|
|
1467
|
-
};
|
|
1468
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1469
|
-
switch (errorCode) {
|
|
1470
|
-
case "AccessDeniedException":
|
|
1471
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1472
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1473
|
-
case "InternalServerException":
|
|
1474
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1475
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1476
|
-
case "ResourceNotFoundException":
|
|
1477
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1478
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1479
|
-
case "ThrottlingException":
|
|
1480
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1481
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1482
|
-
case "ValidationException":
|
|
1483
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1484
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1485
|
-
default:
|
|
1486
|
-
const parsedBody = parsedOutput.body;
|
|
1487
|
-
return throwDefaultError({
|
|
1488
|
-
output,
|
|
1489
|
-
parsedBody,
|
|
1490
|
-
errorCode,
|
|
1491
|
-
});
|
|
1492
|
-
}
|
|
1493
|
-
};
|
|
1494
|
-
const de_DeleteConfiguredTableCommand = async (output, context) => {
|
|
1495
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1496
|
-
return de_DeleteConfiguredTableCommandError(output, context);
|
|
1497
|
-
}
|
|
1498
|
-
const contents = (0, smithy_client_1.map)({
|
|
1499
|
-
$metadata: deserializeMetadata(output),
|
|
1500
|
-
});
|
|
1501
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1502
|
-
return contents;
|
|
1503
|
-
};
|
|
1504
|
-
exports.de_DeleteConfiguredTableCommand = de_DeleteConfiguredTableCommand;
|
|
1505
|
-
const de_DeleteConfiguredTableCommandError = async (output, context) => {
|
|
1506
|
-
const parsedOutput = {
|
|
1507
|
-
...output,
|
|
1508
|
-
body: await parseErrorBody(output.body, context),
|
|
1509
|
-
};
|
|
1510
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1511
|
-
switch (errorCode) {
|
|
1512
|
-
case "AccessDeniedException":
|
|
1513
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1514
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1515
|
-
case "ConflictException":
|
|
1516
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1517
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1518
|
-
case "InternalServerException":
|
|
1519
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1520
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1521
|
-
case "ResourceNotFoundException":
|
|
1522
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1523
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1524
|
-
case "ThrottlingException":
|
|
1525
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1526
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1527
|
-
case "ValidationException":
|
|
1528
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1529
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1530
|
-
default:
|
|
1531
|
-
const parsedBody = parsedOutput.body;
|
|
1532
|
-
return throwDefaultError({
|
|
1533
|
-
output,
|
|
1534
|
-
parsedBody,
|
|
1535
|
-
errorCode,
|
|
1536
|
-
});
|
|
1537
|
-
}
|
|
1538
|
-
};
|
|
1539
|
-
const de_DeleteConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
1540
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1541
|
-
return de_DeleteConfiguredTableAnalysisRuleCommandError(output, context);
|
|
1542
|
-
}
|
|
1543
|
-
const contents = (0, smithy_client_1.map)({
|
|
1544
|
-
$metadata: deserializeMetadata(output),
|
|
1545
|
-
});
|
|
1546
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1547
|
-
return contents;
|
|
1548
|
-
};
|
|
1549
|
-
exports.de_DeleteConfiguredTableAnalysisRuleCommand = de_DeleteConfiguredTableAnalysisRuleCommand;
|
|
1550
|
-
const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
1551
|
-
const parsedOutput = {
|
|
1552
|
-
...output,
|
|
1553
|
-
body: await parseErrorBody(output.body, context),
|
|
1554
|
-
};
|
|
1555
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1556
|
-
switch (errorCode) {
|
|
1557
|
-
case "AccessDeniedException":
|
|
1558
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1559
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1560
|
-
case "ConflictException":
|
|
1561
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1562
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1563
|
-
case "InternalServerException":
|
|
1564
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1565
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1566
|
-
case "ResourceNotFoundException":
|
|
1567
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1568
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1569
|
-
case "ThrottlingException":
|
|
1570
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1571
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1572
|
-
case "ValidationException":
|
|
1573
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1574
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1575
|
-
default:
|
|
1576
|
-
const parsedBody = parsedOutput.body;
|
|
1577
|
-
return throwDefaultError({
|
|
1578
|
-
output,
|
|
1579
|
-
parsedBody,
|
|
1580
|
-
errorCode,
|
|
1581
|
-
});
|
|
1582
|
-
}
|
|
1583
|
-
};
|
|
1584
|
-
const de_DeleteConfiguredTableAssociationCommand = async (output, context) => {
|
|
1585
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1586
|
-
return de_DeleteConfiguredTableAssociationCommandError(output, context);
|
|
1587
|
-
}
|
|
1588
|
-
const contents = (0, smithy_client_1.map)({
|
|
1589
|
-
$metadata: deserializeMetadata(output),
|
|
1590
|
-
});
|
|
1591
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1592
|
-
return contents;
|
|
1593
|
-
};
|
|
1594
|
-
exports.de_DeleteConfiguredTableAssociationCommand = de_DeleteConfiguredTableAssociationCommand;
|
|
1595
|
-
const de_DeleteConfiguredTableAssociationCommandError = async (output, context) => {
|
|
1596
|
-
const parsedOutput = {
|
|
1597
|
-
...output,
|
|
1598
|
-
body: await parseErrorBody(output.body, context),
|
|
1599
|
-
};
|
|
1600
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1601
|
-
switch (errorCode) {
|
|
1602
|
-
case "AccessDeniedException":
|
|
1603
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1604
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1605
|
-
case "ConflictException":
|
|
1606
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1607
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1608
|
-
case "InternalServerException":
|
|
1609
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1610
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1611
|
-
case "ResourceNotFoundException":
|
|
1612
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1613
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1614
|
-
case "ThrottlingException":
|
|
1615
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1616
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1617
|
-
case "ValidationException":
|
|
1618
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1619
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1620
|
-
default:
|
|
1621
|
-
const parsedBody = parsedOutput.body;
|
|
1622
|
-
return throwDefaultError({
|
|
1623
|
-
output,
|
|
1624
|
-
parsedBody,
|
|
1625
|
-
errorCode,
|
|
1626
|
-
});
|
|
1627
|
-
}
|
|
1628
|
-
};
|
|
1629
|
-
const de_DeleteMemberCommand = async (output, context) => {
|
|
1630
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1631
|
-
return de_DeleteMemberCommandError(output, context);
|
|
1632
|
-
}
|
|
1633
|
-
const contents = (0, smithy_client_1.map)({
|
|
1634
|
-
$metadata: deserializeMetadata(output),
|
|
1635
|
-
});
|
|
1636
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1637
|
-
return contents;
|
|
1638
|
-
};
|
|
1639
|
-
exports.de_DeleteMemberCommand = de_DeleteMemberCommand;
|
|
1640
|
-
const de_DeleteMemberCommandError = async (output, context) => {
|
|
1641
|
-
const parsedOutput = {
|
|
1642
|
-
...output,
|
|
1643
|
-
body: await parseErrorBody(output.body, context),
|
|
1644
|
-
};
|
|
1645
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1646
|
-
switch (errorCode) {
|
|
1647
|
-
case "AccessDeniedException":
|
|
1648
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1649
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1650
|
-
case "ConflictException":
|
|
1651
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1652
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1653
|
-
case "InternalServerException":
|
|
1654
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1655
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1656
|
-
case "ResourceNotFoundException":
|
|
1657
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1658
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1659
|
-
case "ThrottlingException":
|
|
1660
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1661
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1662
|
-
case "ValidationException":
|
|
1663
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1664
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1665
|
-
default:
|
|
1666
|
-
const parsedBody = parsedOutput.body;
|
|
1667
|
-
return throwDefaultError({
|
|
1668
|
-
output,
|
|
1669
|
-
parsedBody,
|
|
1670
|
-
errorCode,
|
|
1671
|
-
});
|
|
1672
|
-
}
|
|
1673
|
-
};
|
|
1674
|
-
const de_DeleteMembershipCommand = async (output, context) => {
|
|
1675
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1676
|
-
return de_DeleteMembershipCommandError(output, context);
|
|
1677
|
-
}
|
|
1678
|
-
const contents = (0, smithy_client_1.map)({
|
|
1679
|
-
$metadata: deserializeMetadata(output),
|
|
1680
|
-
});
|
|
1681
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1682
|
-
return contents;
|
|
1683
|
-
};
|
|
1684
|
-
exports.de_DeleteMembershipCommand = de_DeleteMembershipCommand;
|
|
1685
|
-
const de_DeleteMembershipCommandError = async (output, context) => {
|
|
1686
|
-
const parsedOutput = {
|
|
1687
|
-
...output,
|
|
1688
|
-
body: await parseErrorBody(output.body, context),
|
|
1689
|
-
};
|
|
1690
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1691
|
-
switch (errorCode) {
|
|
1692
|
-
case "AccessDeniedException":
|
|
1693
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1694
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1695
|
-
case "ConflictException":
|
|
1696
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1697
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1698
|
-
case "InternalServerException":
|
|
1699
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1700
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1701
|
-
case "ResourceNotFoundException":
|
|
1702
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1703
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1704
|
-
case "ThrottlingException":
|
|
1705
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1706
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1707
|
-
case "ValidationException":
|
|
1708
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1709
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1710
|
-
default:
|
|
1711
|
-
const parsedBody = parsedOutput.body;
|
|
1712
|
-
return throwDefaultError({
|
|
1713
|
-
output,
|
|
1714
|
-
parsedBody,
|
|
1715
|
-
errorCode,
|
|
1716
|
-
});
|
|
1717
|
-
}
|
|
1718
|
-
};
|
|
1719
|
-
const de_DeletePrivacyBudgetTemplateCommand = async (output, context) => {
|
|
1720
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1721
|
-
return de_DeletePrivacyBudgetTemplateCommandError(output, context);
|
|
1722
|
-
}
|
|
1723
|
-
const contents = (0, smithy_client_1.map)({
|
|
1724
|
-
$metadata: deserializeMetadata(output),
|
|
1725
|
-
});
|
|
1726
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1727
|
-
return contents;
|
|
1728
|
-
};
|
|
1729
|
-
exports.de_DeletePrivacyBudgetTemplateCommand = de_DeletePrivacyBudgetTemplateCommand;
|
|
1730
|
-
const de_DeletePrivacyBudgetTemplateCommandError = async (output, context) => {
|
|
1731
|
-
const parsedOutput = {
|
|
1732
|
-
...output,
|
|
1733
|
-
body: await parseErrorBody(output.body, context),
|
|
1734
|
-
};
|
|
1735
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1736
|
-
switch (errorCode) {
|
|
1737
|
-
case "AccessDeniedException":
|
|
1738
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1739
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1740
|
-
case "InternalServerException":
|
|
1741
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1742
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1743
|
-
case "ResourceNotFoundException":
|
|
1744
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1745
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1746
|
-
case "ThrottlingException":
|
|
1747
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1748
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1749
|
-
case "ValidationException":
|
|
1750
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1751
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1752
|
-
default:
|
|
1753
|
-
const parsedBody = parsedOutput.body;
|
|
1754
|
-
return throwDefaultError({
|
|
1755
|
-
output,
|
|
1756
|
-
parsedBody,
|
|
1757
|
-
errorCode,
|
|
1758
|
-
});
|
|
1759
|
-
}
|
|
1760
|
-
};
|
|
1761
|
-
const de_GetAnalysisTemplateCommand = async (output, context) => {
|
|
1762
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1763
|
-
return de_GetAnalysisTemplateCommandError(output, context);
|
|
1764
|
-
}
|
|
1765
|
-
const contents = (0, smithy_client_1.map)({
|
|
1766
|
-
$metadata: deserializeMetadata(output),
|
|
1767
|
-
});
|
|
1768
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1769
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1770
|
-
analysisTemplate: (_) => de_AnalysisTemplate(_, context),
|
|
1771
|
-
});
|
|
1772
|
-
Object.assign(contents, doc);
|
|
1773
|
-
return contents;
|
|
1774
|
-
};
|
|
1775
|
-
exports.de_GetAnalysisTemplateCommand = de_GetAnalysisTemplateCommand;
|
|
1776
|
-
const de_GetAnalysisTemplateCommandError = async (output, context) => {
|
|
1777
|
-
const parsedOutput = {
|
|
1778
|
-
...output,
|
|
1779
|
-
body: await parseErrorBody(output.body, context),
|
|
1780
|
-
};
|
|
1781
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1782
|
-
switch (errorCode) {
|
|
1783
|
-
case "AccessDeniedException":
|
|
1784
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1785
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1786
|
-
case "InternalServerException":
|
|
1787
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1788
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1789
|
-
case "ResourceNotFoundException":
|
|
1790
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1791
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1792
|
-
case "ThrottlingException":
|
|
1793
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1794
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1795
|
-
case "ValidationException":
|
|
1796
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1797
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1798
|
-
default:
|
|
1799
|
-
const parsedBody = parsedOutput.body;
|
|
1800
|
-
return throwDefaultError({
|
|
1801
|
-
output,
|
|
1802
|
-
parsedBody,
|
|
1803
|
-
errorCode,
|
|
1804
|
-
});
|
|
1805
|
-
}
|
|
1806
|
-
};
|
|
1807
|
-
const de_GetCollaborationCommand = async (output, context) => {
|
|
1808
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1809
|
-
return de_GetCollaborationCommandError(output, context);
|
|
1810
|
-
}
|
|
1811
|
-
const contents = (0, smithy_client_1.map)({
|
|
1812
|
-
$metadata: deserializeMetadata(output),
|
|
1813
|
-
});
|
|
1814
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1815
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1816
|
-
collaboration: (_) => de_Collaboration(_, context),
|
|
1817
|
-
});
|
|
1818
|
-
Object.assign(contents, doc);
|
|
1819
|
-
return contents;
|
|
1820
|
-
};
|
|
1821
|
-
exports.de_GetCollaborationCommand = de_GetCollaborationCommand;
|
|
1822
|
-
const de_GetCollaborationCommandError = async (output, context) => {
|
|
1823
|
-
const parsedOutput = {
|
|
1824
|
-
...output,
|
|
1825
|
-
body: await parseErrorBody(output.body, context),
|
|
1826
|
-
};
|
|
1827
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1828
|
-
switch (errorCode) {
|
|
1829
|
-
case "AccessDeniedException":
|
|
1830
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1831
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1832
|
-
case "InternalServerException":
|
|
1833
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1834
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1835
|
-
case "ThrottlingException":
|
|
1836
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1837
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1838
|
-
case "ValidationException":
|
|
1839
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1840
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1841
|
-
default:
|
|
1842
|
-
const parsedBody = parsedOutput.body;
|
|
1843
|
-
return throwDefaultError({
|
|
1844
|
-
output,
|
|
1845
|
-
parsedBody,
|
|
1846
|
-
errorCode,
|
|
1847
|
-
});
|
|
1848
|
-
}
|
|
1849
|
-
};
|
|
1850
|
-
const de_GetCollaborationAnalysisTemplateCommand = async (output, context) => {
|
|
1851
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1852
|
-
return de_GetCollaborationAnalysisTemplateCommandError(output, context);
|
|
1853
|
-
}
|
|
1854
|
-
const contents = (0, smithy_client_1.map)({
|
|
1855
|
-
$metadata: deserializeMetadata(output),
|
|
1856
|
-
});
|
|
1857
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1858
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1859
|
-
collaborationAnalysisTemplate: (_) => de_CollaborationAnalysisTemplate(_, context),
|
|
1860
|
-
});
|
|
1861
|
-
Object.assign(contents, doc);
|
|
1862
|
-
return contents;
|
|
1863
|
-
};
|
|
1864
|
-
exports.de_GetCollaborationAnalysisTemplateCommand = de_GetCollaborationAnalysisTemplateCommand;
|
|
1865
|
-
const de_GetCollaborationAnalysisTemplateCommandError = async (output, context) => {
|
|
1866
|
-
const parsedOutput = {
|
|
1867
|
-
...output,
|
|
1868
|
-
body: await parseErrorBody(output.body, context),
|
|
1869
|
-
};
|
|
1870
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1871
|
-
switch (errorCode) {
|
|
1872
|
-
case "AccessDeniedException":
|
|
1873
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1874
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1875
|
-
case "InternalServerException":
|
|
1876
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1877
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1878
|
-
case "ResourceNotFoundException":
|
|
1879
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1880
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1881
|
-
case "ThrottlingException":
|
|
1882
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1883
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1884
|
-
case "ValidationException":
|
|
1885
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1886
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1887
|
-
default:
|
|
1888
|
-
const parsedBody = parsedOutput.body;
|
|
1889
|
-
return throwDefaultError({
|
|
1890
|
-
output,
|
|
1891
|
-
parsedBody,
|
|
1892
|
-
errorCode,
|
|
1893
|
-
});
|
|
1894
|
-
}
|
|
1895
|
-
};
|
|
1896
|
-
const de_GetCollaborationConfiguredAudienceModelAssociationCommand = async (output, context) => {
|
|
1897
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1898
|
-
return de_GetCollaborationConfiguredAudienceModelAssociationCommandError(output, context);
|
|
1899
|
-
}
|
|
1900
|
-
const contents = (0, smithy_client_1.map)({
|
|
1901
|
-
$metadata: deserializeMetadata(output),
|
|
1902
|
-
});
|
|
1903
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1904
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1905
|
-
collaborationConfiguredAudienceModelAssociation: (_) => de_CollaborationConfiguredAudienceModelAssociation(_, context),
|
|
1906
|
-
});
|
|
1907
|
-
Object.assign(contents, doc);
|
|
1908
|
-
return contents;
|
|
1909
|
-
};
|
|
1910
|
-
exports.de_GetCollaborationConfiguredAudienceModelAssociationCommand = de_GetCollaborationConfiguredAudienceModelAssociationCommand;
|
|
1911
|
-
const de_GetCollaborationConfiguredAudienceModelAssociationCommandError = async (output, context) => {
|
|
1912
|
-
const parsedOutput = {
|
|
1913
|
-
...output,
|
|
1914
|
-
body: await parseErrorBody(output.body, context),
|
|
1915
|
-
};
|
|
1916
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1917
|
-
switch (errorCode) {
|
|
1918
|
-
case "AccessDeniedException":
|
|
1919
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1920
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1921
|
-
case "InternalServerException":
|
|
1922
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1923
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1924
|
-
case "ResourceNotFoundException":
|
|
1925
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1926
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1927
|
-
case "ThrottlingException":
|
|
1928
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1929
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1930
|
-
case "ValidationException":
|
|
1931
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1932
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1933
|
-
default:
|
|
1934
|
-
const parsedBody = parsedOutput.body;
|
|
1935
|
-
return throwDefaultError({
|
|
1936
|
-
output,
|
|
1937
|
-
parsedBody,
|
|
1938
|
-
errorCode,
|
|
1939
|
-
});
|
|
1940
|
-
}
|
|
1941
|
-
};
|
|
1942
|
-
const de_GetCollaborationPrivacyBudgetTemplateCommand = async (output, context) => {
|
|
1943
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1944
|
-
return de_GetCollaborationPrivacyBudgetTemplateCommandError(output, context);
|
|
1945
|
-
}
|
|
1946
|
-
const contents = (0, smithy_client_1.map)({
|
|
1947
|
-
$metadata: deserializeMetadata(output),
|
|
1948
|
-
});
|
|
1949
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1950
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1951
|
-
collaborationPrivacyBudgetTemplate: (_) => de_CollaborationPrivacyBudgetTemplate(_, context),
|
|
1952
|
-
});
|
|
1953
|
-
Object.assign(contents, doc);
|
|
1954
|
-
return contents;
|
|
1955
|
-
};
|
|
1956
|
-
exports.de_GetCollaborationPrivacyBudgetTemplateCommand = de_GetCollaborationPrivacyBudgetTemplateCommand;
|
|
1957
|
-
const de_GetCollaborationPrivacyBudgetTemplateCommandError = async (output, context) => {
|
|
1958
|
-
const parsedOutput = {
|
|
1959
|
-
...output,
|
|
1960
|
-
body: await parseErrorBody(output.body, context),
|
|
1961
|
-
};
|
|
1962
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1963
|
-
switch (errorCode) {
|
|
1964
|
-
case "AccessDeniedException":
|
|
1965
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1966
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1967
|
-
case "InternalServerException":
|
|
1968
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1969
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1970
|
-
case "ResourceNotFoundException":
|
|
1971
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1972
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1973
|
-
case "ThrottlingException":
|
|
1974
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1975
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1976
|
-
case "ValidationException":
|
|
1977
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1978
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1979
|
-
default:
|
|
1980
|
-
const parsedBody = parsedOutput.body;
|
|
1981
|
-
return throwDefaultError({
|
|
1982
|
-
output,
|
|
1983
|
-
parsedBody,
|
|
1984
|
-
errorCode,
|
|
1985
|
-
});
|
|
1986
|
-
}
|
|
1987
|
-
};
|
|
1988
|
-
const de_GetConfiguredAudienceModelAssociationCommand = async (output, context) => {
|
|
1989
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1990
|
-
return de_GetConfiguredAudienceModelAssociationCommandError(output, context);
|
|
1991
|
-
}
|
|
1992
|
-
const contents = (0, smithy_client_1.map)({
|
|
1993
|
-
$metadata: deserializeMetadata(output),
|
|
1994
|
-
});
|
|
1995
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1996
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
1997
|
-
configuredAudienceModelAssociation: (_) => de_ConfiguredAudienceModelAssociation(_, context),
|
|
1998
|
-
});
|
|
1999
|
-
Object.assign(contents, doc);
|
|
2000
|
-
return contents;
|
|
2001
|
-
};
|
|
2002
|
-
exports.de_GetConfiguredAudienceModelAssociationCommand = de_GetConfiguredAudienceModelAssociationCommand;
|
|
2003
|
-
const de_GetConfiguredAudienceModelAssociationCommandError = async (output, context) => {
|
|
2004
|
-
const parsedOutput = {
|
|
2005
|
-
...output,
|
|
2006
|
-
body: await parseErrorBody(output.body, context),
|
|
2007
|
-
};
|
|
2008
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2009
|
-
switch (errorCode) {
|
|
2010
|
-
case "AccessDeniedException":
|
|
2011
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2012
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2013
|
-
case "InternalServerException":
|
|
2014
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2015
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2016
|
-
case "ResourceNotFoundException":
|
|
2017
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2018
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2019
|
-
case "ThrottlingException":
|
|
2020
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2021
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2022
|
-
case "ValidationException":
|
|
2023
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2024
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2025
|
-
default:
|
|
2026
|
-
const parsedBody = parsedOutput.body;
|
|
2027
|
-
return throwDefaultError({
|
|
2028
|
-
output,
|
|
2029
|
-
parsedBody,
|
|
2030
|
-
errorCode,
|
|
2031
|
-
});
|
|
2032
|
-
}
|
|
2033
|
-
};
|
|
2034
|
-
const de_GetConfiguredTableCommand = async (output, context) => {
|
|
2035
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2036
|
-
return de_GetConfiguredTableCommandError(output, context);
|
|
2037
|
-
}
|
|
2038
|
-
const contents = (0, smithy_client_1.map)({
|
|
2039
|
-
$metadata: deserializeMetadata(output),
|
|
2040
|
-
});
|
|
2041
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2042
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2043
|
-
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
2044
|
-
});
|
|
2045
|
-
Object.assign(contents, doc);
|
|
2046
|
-
return contents;
|
|
2047
|
-
};
|
|
2048
|
-
exports.de_GetConfiguredTableCommand = de_GetConfiguredTableCommand;
|
|
2049
|
-
const de_GetConfiguredTableCommandError = async (output, context) => {
|
|
2050
|
-
const parsedOutput = {
|
|
2051
|
-
...output,
|
|
2052
|
-
body: await parseErrorBody(output.body, context),
|
|
2053
|
-
};
|
|
2054
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2055
|
-
switch (errorCode) {
|
|
2056
|
-
case "AccessDeniedException":
|
|
2057
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2058
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2059
|
-
case "InternalServerException":
|
|
2060
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2061
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2062
|
-
case "ResourceNotFoundException":
|
|
2063
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2064
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2065
|
-
case "ThrottlingException":
|
|
2066
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2067
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2068
|
-
case "ValidationException":
|
|
2069
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2070
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2071
|
-
default:
|
|
2072
|
-
const parsedBody = parsedOutput.body;
|
|
2073
|
-
return throwDefaultError({
|
|
2074
|
-
output,
|
|
2075
|
-
parsedBody,
|
|
2076
|
-
errorCode,
|
|
2077
|
-
});
|
|
2078
|
-
}
|
|
2079
|
-
};
|
|
2080
|
-
const de_GetConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
2081
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2082
|
-
return de_GetConfiguredTableAnalysisRuleCommandError(output, context);
|
|
2083
|
-
}
|
|
2084
|
-
const contents = (0, smithy_client_1.map)({
|
|
2085
|
-
$metadata: deserializeMetadata(output),
|
|
2086
|
-
});
|
|
2087
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2088
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2089
|
-
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
2090
|
-
});
|
|
2091
|
-
Object.assign(contents, doc);
|
|
2092
|
-
return contents;
|
|
2093
|
-
};
|
|
2094
|
-
exports.de_GetConfiguredTableAnalysisRuleCommand = de_GetConfiguredTableAnalysisRuleCommand;
|
|
2095
|
-
const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
2096
|
-
const parsedOutput = {
|
|
2097
|
-
...output,
|
|
2098
|
-
body: await parseErrorBody(output.body, context),
|
|
2099
|
-
};
|
|
2100
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2101
|
-
switch (errorCode) {
|
|
2102
|
-
case "AccessDeniedException":
|
|
2103
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2104
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2105
|
-
case "InternalServerException":
|
|
2106
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2107
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2108
|
-
case "ResourceNotFoundException":
|
|
2109
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2110
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2111
|
-
case "ThrottlingException":
|
|
2112
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2113
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2114
|
-
case "ValidationException":
|
|
2115
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2116
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2117
|
-
default:
|
|
2118
|
-
const parsedBody = parsedOutput.body;
|
|
2119
|
-
return throwDefaultError({
|
|
2120
|
-
output,
|
|
2121
|
-
parsedBody,
|
|
2122
|
-
errorCode,
|
|
2123
|
-
});
|
|
2124
|
-
}
|
|
2125
|
-
};
|
|
2126
|
-
const de_GetConfiguredTableAssociationCommand = async (output, context) => {
|
|
2127
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2128
|
-
return de_GetConfiguredTableAssociationCommandError(output, context);
|
|
2129
|
-
}
|
|
2130
|
-
const contents = (0, smithy_client_1.map)({
|
|
2131
|
-
$metadata: deserializeMetadata(output),
|
|
2132
|
-
});
|
|
2133
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2134
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2135
|
-
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
2136
|
-
});
|
|
2137
|
-
Object.assign(contents, doc);
|
|
2138
|
-
return contents;
|
|
2139
|
-
};
|
|
2140
|
-
exports.de_GetConfiguredTableAssociationCommand = de_GetConfiguredTableAssociationCommand;
|
|
2141
|
-
const de_GetConfiguredTableAssociationCommandError = async (output, context) => {
|
|
2142
|
-
const parsedOutput = {
|
|
2143
|
-
...output,
|
|
2144
|
-
body: await parseErrorBody(output.body, context),
|
|
2145
|
-
};
|
|
2146
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2147
|
-
switch (errorCode) {
|
|
2148
|
-
case "AccessDeniedException":
|
|
2149
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2150
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2151
|
-
case "InternalServerException":
|
|
2152
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2153
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2154
|
-
case "ResourceNotFoundException":
|
|
2155
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2156
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2157
|
-
case "ThrottlingException":
|
|
2158
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2159
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2160
|
-
case "ValidationException":
|
|
2161
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2162
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2163
|
-
default:
|
|
2164
|
-
const parsedBody = parsedOutput.body;
|
|
2165
|
-
return throwDefaultError({
|
|
2166
|
-
output,
|
|
2167
|
-
parsedBody,
|
|
2168
|
-
errorCode,
|
|
2169
|
-
});
|
|
2170
|
-
}
|
|
2171
|
-
};
|
|
2172
|
-
const de_GetMembershipCommand = async (output, context) => {
|
|
2173
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2174
|
-
return de_GetMembershipCommandError(output, context);
|
|
2175
|
-
}
|
|
2176
|
-
const contents = (0, smithy_client_1.map)({
|
|
2177
|
-
$metadata: deserializeMetadata(output),
|
|
2178
|
-
});
|
|
2179
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2180
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2181
|
-
membership: (_) => de_Membership(_, context),
|
|
2182
|
-
});
|
|
2183
|
-
Object.assign(contents, doc);
|
|
2184
|
-
return contents;
|
|
2185
|
-
};
|
|
2186
|
-
exports.de_GetMembershipCommand = de_GetMembershipCommand;
|
|
2187
|
-
const de_GetMembershipCommandError = async (output, context) => {
|
|
2188
|
-
const parsedOutput = {
|
|
2189
|
-
...output,
|
|
2190
|
-
body: await parseErrorBody(output.body, context),
|
|
2191
|
-
};
|
|
2192
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2193
|
-
switch (errorCode) {
|
|
2194
|
-
case "AccessDeniedException":
|
|
2195
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2196
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2197
|
-
case "InternalServerException":
|
|
2198
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2199
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2200
|
-
case "ResourceNotFoundException":
|
|
2201
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2202
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2203
|
-
case "ThrottlingException":
|
|
2204
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2205
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2206
|
-
case "ValidationException":
|
|
2207
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2208
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2209
|
-
default:
|
|
2210
|
-
const parsedBody = parsedOutput.body;
|
|
2211
|
-
return throwDefaultError({
|
|
2212
|
-
output,
|
|
2213
|
-
parsedBody,
|
|
2214
|
-
errorCode,
|
|
2215
|
-
});
|
|
2216
|
-
}
|
|
2217
|
-
};
|
|
2218
|
-
const de_GetPrivacyBudgetTemplateCommand = async (output, context) => {
|
|
2219
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2220
|
-
return de_GetPrivacyBudgetTemplateCommandError(output, context);
|
|
2221
|
-
}
|
|
2222
|
-
const contents = (0, smithy_client_1.map)({
|
|
2223
|
-
$metadata: deserializeMetadata(output),
|
|
2224
|
-
});
|
|
2225
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2226
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2227
|
-
privacyBudgetTemplate: (_) => de_PrivacyBudgetTemplate(_, context),
|
|
2228
|
-
});
|
|
2229
|
-
Object.assign(contents, doc);
|
|
2230
|
-
return contents;
|
|
2231
|
-
};
|
|
2232
|
-
exports.de_GetPrivacyBudgetTemplateCommand = de_GetPrivacyBudgetTemplateCommand;
|
|
2233
|
-
const de_GetPrivacyBudgetTemplateCommandError = async (output, context) => {
|
|
2234
|
-
const parsedOutput = {
|
|
2235
|
-
...output,
|
|
2236
|
-
body: await parseErrorBody(output.body, context),
|
|
2237
|
-
};
|
|
2238
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2239
|
-
switch (errorCode) {
|
|
2240
|
-
case "AccessDeniedException":
|
|
2241
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2242
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2243
|
-
case "InternalServerException":
|
|
2244
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2245
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2246
|
-
case "ResourceNotFoundException":
|
|
2247
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2248
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2249
|
-
case "ThrottlingException":
|
|
2250
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2251
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2252
|
-
case "ValidationException":
|
|
2253
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2254
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2255
|
-
default:
|
|
2256
|
-
const parsedBody = parsedOutput.body;
|
|
2257
|
-
return throwDefaultError({
|
|
2258
|
-
output,
|
|
2259
|
-
parsedBody,
|
|
2260
|
-
errorCode,
|
|
2261
|
-
});
|
|
2262
|
-
}
|
|
2263
|
-
};
|
|
2264
|
-
const de_GetProtectedQueryCommand = async (output, context) => {
|
|
2265
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2266
|
-
return de_GetProtectedQueryCommandError(output, context);
|
|
2267
|
-
}
|
|
2268
|
-
const contents = (0, smithy_client_1.map)({
|
|
2269
|
-
$metadata: deserializeMetadata(output),
|
|
2270
|
-
});
|
|
2271
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2272
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2273
|
-
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
2274
|
-
});
|
|
2275
|
-
Object.assign(contents, doc);
|
|
2276
|
-
return contents;
|
|
2277
|
-
};
|
|
2278
|
-
exports.de_GetProtectedQueryCommand = de_GetProtectedQueryCommand;
|
|
2279
|
-
const de_GetProtectedQueryCommandError = async (output, context) => {
|
|
2280
|
-
const parsedOutput = {
|
|
2281
|
-
...output,
|
|
2282
|
-
body: await parseErrorBody(output.body, context),
|
|
2283
|
-
};
|
|
2284
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2285
|
-
switch (errorCode) {
|
|
2286
|
-
case "AccessDeniedException":
|
|
2287
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2288
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2289
|
-
case "InternalServerException":
|
|
2290
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2291
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2292
|
-
case "ResourceNotFoundException":
|
|
2293
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2294
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2295
|
-
case "ThrottlingException":
|
|
2296
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2297
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2298
|
-
case "ValidationException":
|
|
2299
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2300
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2301
|
-
default:
|
|
2302
|
-
const parsedBody = parsedOutput.body;
|
|
2303
|
-
return throwDefaultError({
|
|
2304
|
-
output,
|
|
2305
|
-
parsedBody,
|
|
2306
|
-
errorCode,
|
|
2307
|
-
});
|
|
2308
|
-
}
|
|
2309
|
-
};
|
|
2310
|
-
const de_GetSchemaCommand = async (output, context) => {
|
|
2311
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2312
|
-
return de_GetSchemaCommandError(output, context);
|
|
2313
|
-
}
|
|
2314
|
-
const contents = (0, smithy_client_1.map)({
|
|
2315
|
-
$metadata: deserializeMetadata(output),
|
|
2316
|
-
});
|
|
2317
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2318
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2319
|
-
schema: (_) => de_Schema(_, context),
|
|
2320
|
-
});
|
|
2321
|
-
Object.assign(contents, doc);
|
|
2322
|
-
return contents;
|
|
2323
|
-
};
|
|
2324
|
-
exports.de_GetSchemaCommand = de_GetSchemaCommand;
|
|
2325
|
-
const de_GetSchemaCommandError = async (output, context) => {
|
|
2326
|
-
const parsedOutput = {
|
|
2327
|
-
...output,
|
|
2328
|
-
body: await parseErrorBody(output.body, context),
|
|
2329
|
-
};
|
|
2330
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2331
|
-
switch (errorCode) {
|
|
2332
|
-
case "AccessDeniedException":
|
|
2333
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2334
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2335
|
-
case "InternalServerException":
|
|
2336
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2337
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2338
|
-
case "ResourceNotFoundException":
|
|
2339
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2340
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2341
|
-
case "ThrottlingException":
|
|
2342
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2343
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2344
|
-
case "ValidationException":
|
|
2345
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2346
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2347
|
-
default:
|
|
2348
|
-
const parsedBody = parsedOutput.body;
|
|
2349
|
-
return throwDefaultError({
|
|
2350
|
-
output,
|
|
2351
|
-
parsedBody,
|
|
2352
|
-
errorCode,
|
|
2353
|
-
});
|
|
2354
|
-
}
|
|
2355
|
-
};
|
|
2356
|
-
const de_GetSchemaAnalysisRuleCommand = async (output, context) => {
|
|
2357
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2358
|
-
return de_GetSchemaAnalysisRuleCommandError(output, context);
|
|
2359
|
-
}
|
|
2360
|
-
const contents = (0, smithy_client_1.map)({
|
|
2361
|
-
$metadata: deserializeMetadata(output),
|
|
2362
|
-
});
|
|
2363
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2364
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2365
|
-
analysisRule: (_) => de_AnalysisRule(_, context),
|
|
2366
|
-
});
|
|
2367
|
-
Object.assign(contents, doc);
|
|
2368
|
-
return contents;
|
|
2369
|
-
};
|
|
2370
|
-
exports.de_GetSchemaAnalysisRuleCommand = de_GetSchemaAnalysisRuleCommand;
|
|
2371
|
-
const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
|
|
2372
|
-
const parsedOutput = {
|
|
2373
|
-
...output,
|
|
2374
|
-
body: await parseErrorBody(output.body, context),
|
|
2375
|
-
};
|
|
2376
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2377
|
-
switch (errorCode) {
|
|
2378
|
-
case "AccessDeniedException":
|
|
2379
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2380
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2381
|
-
case "InternalServerException":
|
|
2382
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2383
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2384
|
-
case "ResourceNotFoundException":
|
|
2385
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2386
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2387
|
-
case "ThrottlingException":
|
|
2388
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2389
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2390
|
-
case "ValidationException":
|
|
2391
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2392
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2393
|
-
default:
|
|
2394
|
-
const parsedBody = parsedOutput.body;
|
|
2395
|
-
return throwDefaultError({
|
|
2396
|
-
output,
|
|
2397
|
-
parsedBody,
|
|
2398
|
-
errorCode,
|
|
2399
|
-
});
|
|
2400
|
-
}
|
|
2401
|
-
};
|
|
2402
|
-
const de_ListAnalysisTemplatesCommand = async (output, context) => {
|
|
2403
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2404
|
-
return de_ListAnalysisTemplatesCommandError(output, context);
|
|
2405
|
-
}
|
|
2406
|
-
const contents = (0, smithy_client_1.map)({
|
|
2407
|
-
$metadata: deserializeMetadata(output),
|
|
2408
|
-
});
|
|
2409
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2410
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2411
|
-
analysisTemplateSummaries: (_) => de_AnalysisTemplateSummaryList(_, context),
|
|
2412
|
-
nextToken: smithy_client_1.expectString,
|
|
2413
|
-
});
|
|
2414
|
-
Object.assign(contents, doc);
|
|
2415
|
-
return contents;
|
|
2416
|
-
};
|
|
2417
|
-
exports.de_ListAnalysisTemplatesCommand = de_ListAnalysisTemplatesCommand;
|
|
2418
|
-
const de_ListAnalysisTemplatesCommandError = async (output, context) => {
|
|
2419
|
-
const parsedOutput = {
|
|
2420
|
-
...output,
|
|
2421
|
-
body: await parseErrorBody(output.body, context),
|
|
2422
|
-
};
|
|
2423
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2424
|
-
switch (errorCode) {
|
|
2425
|
-
case "AccessDeniedException":
|
|
2426
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2427
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2428
|
-
case "InternalServerException":
|
|
2429
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2430
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2431
|
-
case "ResourceNotFoundException":
|
|
2432
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2433
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2434
|
-
case "ThrottlingException":
|
|
2435
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2436
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2437
|
-
case "ValidationException":
|
|
2438
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2439
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2440
|
-
default:
|
|
2441
|
-
const parsedBody = parsedOutput.body;
|
|
2442
|
-
return throwDefaultError({
|
|
2443
|
-
output,
|
|
2444
|
-
parsedBody,
|
|
2445
|
-
errorCode,
|
|
2446
|
-
});
|
|
2447
|
-
}
|
|
2448
|
-
};
|
|
2449
|
-
const de_ListCollaborationAnalysisTemplatesCommand = async (output, context) => {
|
|
2450
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2451
|
-
return de_ListCollaborationAnalysisTemplatesCommandError(output, context);
|
|
2452
|
-
}
|
|
2453
|
-
const contents = (0, smithy_client_1.map)({
|
|
2454
|
-
$metadata: deserializeMetadata(output),
|
|
2455
|
-
});
|
|
2456
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2457
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2458
|
-
collaborationAnalysisTemplateSummaries: (_) => de_CollaborationAnalysisTemplateSummaryList(_, context),
|
|
2459
|
-
nextToken: smithy_client_1.expectString,
|
|
2460
|
-
});
|
|
2461
|
-
Object.assign(contents, doc);
|
|
2462
|
-
return contents;
|
|
2463
|
-
};
|
|
2464
|
-
exports.de_ListCollaborationAnalysisTemplatesCommand = de_ListCollaborationAnalysisTemplatesCommand;
|
|
2465
|
-
const de_ListCollaborationAnalysisTemplatesCommandError = async (output, context) => {
|
|
2466
|
-
const parsedOutput = {
|
|
2467
|
-
...output,
|
|
2468
|
-
body: await parseErrorBody(output.body, context),
|
|
2469
|
-
};
|
|
2470
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2471
|
-
switch (errorCode) {
|
|
2472
|
-
case "AccessDeniedException":
|
|
2473
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2474
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2475
|
-
case "InternalServerException":
|
|
2476
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2477
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2478
|
-
case "ResourceNotFoundException":
|
|
2479
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2480
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2481
|
-
case "ThrottlingException":
|
|
2482
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2483
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2484
|
-
case "ValidationException":
|
|
2485
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2486
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2487
|
-
default:
|
|
2488
|
-
const parsedBody = parsedOutput.body;
|
|
2489
|
-
return throwDefaultError({
|
|
2490
|
-
output,
|
|
2491
|
-
parsedBody,
|
|
2492
|
-
errorCode,
|
|
2493
|
-
});
|
|
2494
|
-
}
|
|
2495
|
-
};
|
|
2496
|
-
const de_ListCollaborationConfiguredAudienceModelAssociationsCommand = async (output, context) => {
|
|
2497
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2498
|
-
return de_ListCollaborationConfiguredAudienceModelAssociationsCommandError(output, context);
|
|
2499
|
-
}
|
|
2500
|
-
const contents = (0, smithy_client_1.map)({
|
|
2501
|
-
$metadata: deserializeMetadata(output),
|
|
2502
|
-
});
|
|
2503
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2504
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2505
|
-
collaborationConfiguredAudienceModelAssociationSummaries: (_) => de_CollaborationConfiguredAudienceModelAssociationSummaryList(_, context),
|
|
2506
|
-
nextToken: smithy_client_1.expectString,
|
|
2507
|
-
});
|
|
2508
|
-
Object.assign(contents, doc);
|
|
2509
|
-
return contents;
|
|
2510
|
-
};
|
|
2511
|
-
exports.de_ListCollaborationConfiguredAudienceModelAssociationsCommand = de_ListCollaborationConfiguredAudienceModelAssociationsCommand;
|
|
2512
|
-
const de_ListCollaborationConfiguredAudienceModelAssociationsCommandError = async (output, context) => {
|
|
2513
|
-
const parsedOutput = {
|
|
2514
|
-
...output,
|
|
2515
|
-
body: await parseErrorBody(output.body, context),
|
|
2516
|
-
};
|
|
2517
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2518
|
-
switch (errorCode) {
|
|
2519
|
-
case "AccessDeniedException":
|
|
2520
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2521
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2522
|
-
case "InternalServerException":
|
|
2523
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2524
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2525
|
-
case "ResourceNotFoundException":
|
|
2526
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2527
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2528
|
-
case "ThrottlingException":
|
|
2529
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2530
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2531
|
-
case "ValidationException":
|
|
2532
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2533
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2534
|
-
default:
|
|
2535
|
-
const parsedBody = parsedOutput.body;
|
|
2536
|
-
return throwDefaultError({
|
|
2537
|
-
output,
|
|
2538
|
-
parsedBody,
|
|
2539
|
-
errorCode,
|
|
2540
|
-
});
|
|
2541
|
-
}
|
|
2542
|
-
};
|
|
2543
|
-
const de_ListCollaborationPrivacyBudgetsCommand = async (output, context) => {
|
|
2544
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2545
|
-
return de_ListCollaborationPrivacyBudgetsCommandError(output, context);
|
|
2546
|
-
}
|
|
2547
|
-
const contents = (0, smithy_client_1.map)({
|
|
2548
|
-
$metadata: deserializeMetadata(output),
|
|
2549
|
-
});
|
|
2550
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2551
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2552
|
-
collaborationPrivacyBudgetSummaries: (_) => de_CollaborationPrivacyBudgetSummaryList(_, context),
|
|
2553
|
-
nextToken: smithy_client_1.expectString,
|
|
2554
|
-
});
|
|
2555
|
-
Object.assign(contents, doc);
|
|
2556
|
-
return contents;
|
|
2557
|
-
};
|
|
2558
|
-
exports.de_ListCollaborationPrivacyBudgetsCommand = de_ListCollaborationPrivacyBudgetsCommand;
|
|
2559
|
-
const de_ListCollaborationPrivacyBudgetsCommandError = async (output, context) => {
|
|
2560
|
-
const parsedOutput = {
|
|
2561
|
-
...output,
|
|
2562
|
-
body: await parseErrorBody(output.body, context),
|
|
2563
|
-
};
|
|
2564
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2565
|
-
switch (errorCode) {
|
|
2566
|
-
case "AccessDeniedException":
|
|
2567
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2568
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2569
|
-
case "InternalServerException":
|
|
2570
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2571
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2572
|
-
case "ResourceNotFoundException":
|
|
2573
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2574
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2575
|
-
case "ThrottlingException":
|
|
2576
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2577
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2578
|
-
case "ValidationException":
|
|
2579
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2580
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2581
|
-
default:
|
|
2582
|
-
const parsedBody = parsedOutput.body;
|
|
2583
|
-
return throwDefaultError({
|
|
2584
|
-
output,
|
|
2585
|
-
parsedBody,
|
|
2586
|
-
errorCode,
|
|
2587
|
-
});
|
|
2588
|
-
}
|
|
2589
|
-
};
|
|
2590
|
-
const de_ListCollaborationPrivacyBudgetTemplatesCommand = async (output, context) => {
|
|
2591
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2592
|
-
return de_ListCollaborationPrivacyBudgetTemplatesCommandError(output, context);
|
|
2593
|
-
}
|
|
2594
|
-
const contents = (0, smithy_client_1.map)({
|
|
2595
|
-
$metadata: deserializeMetadata(output),
|
|
2596
|
-
});
|
|
2597
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2598
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2599
|
-
collaborationPrivacyBudgetTemplateSummaries: (_) => de_CollaborationPrivacyBudgetTemplateSummaryList(_, context),
|
|
2600
|
-
nextToken: smithy_client_1.expectString,
|
|
2601
|
-
});
|
|
2602
|
-
Object.assign(contents, doc);
|
|
2603
|
-
return contents;
|
|
2604
|
-
};
|
|
2605
|
-
exports.de_ListCollaborationPrivacyBudgetTemplatesCommand = de_ListCollaborationPrivacyBudgetTemplatesCommand;
|
|
2606
|
-
const de_ListCollaborationPrivacyBudgetTemplatesCommandError = async (output, context) => {
|
|
2607
|
-
const parsedOutput = {
|
|
2608
|
-
...output,
|
|
2609
|
-
body: await parseErrorBody(output.body, context),
|
|
2610
|
-
};
|
|
2611
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2612
|
-
switch (errorCode) {
|
|
2613
|
-
case "AccessDeniedException":
|
|
2614
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2615
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2616
|
-
case "InternalServerException":
|
|
2617
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2618
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2619
|
-
case "ResourceNotFoundException":
|
|
2620
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2621
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2622
|
-
case "ThrottlingException":
|
|
2623
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2624
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2625
|
-
case "ValidationException":
|
|
2626
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2627
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2628
|
-
default:
|
|
2629
|
-
const parsedBody = parsedOutput.body;
|
|
2630
|
-
return throwDefaultError({
|
|
2631
|
-
output,
|
|
2632
|
-
parsedBody,
|
|
2633
|
-
errorCode,
|
|
2634
|
-
});
|
|
2635
|
-
}
|
|
2636
|
-
};
|
|
2637
|
-
const de_ListCollaborationsCommand = async (output, context) => {
|
|
2638
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2639
|
-
return de_ListCollaborationsCommandError(output, context);
|
|
2640
|
-
}
|
|
2641
|
-
const contents = (0, smithy_client_1.map)({
|
|
2642
|
-
$metadata: deserializeMetadata(output),
|
|
2643
|
-
});
|
|
2644
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2645
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2646
|
-
collaborationList: (_) => de_CollaborationSummaryList(_, context),
|
|
2647
|
-
nextToken: smithy_client_1.expectString,
|
|
2648
|
-
});
|
|
2649
|
-
Object.assign(contents, doc);
|
|
2650
|
-
return contents;
|
|
2651
|
-
};
|
|
2652
|
-
exports.de_ListCollaborationsCommand = de_ListCollaborationsCommand;
|
|
2653
|
-
const de_ListCollaborationsCommandError = async (output, context) => {
|
|
2654
|
-
const parsedOutput = {
|
|
2655
|
-
...output,
|
|
2656
|
-
body: await parseErrorBody(output.body, context),
|
|
2657
|
-
};
|
|
2658
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2659
|
-
switch (errorCode) {
|
|
2660
|
-
case "AccessDeniedException":
|
|
2661
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2662
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2663
|
-
case "InternalServerException":
|
|
2664
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2665
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2666
|
-
case "ThrottlingException":
|
|
2667
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2668
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2669
|
-
case "ValidationException":
|
|
2670
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2671
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2672
|
-
default:
|
|
2673
|
-
const parsedBody = parsedOutput.body;
|
|
2674
|
-
return throwDefaultError({
|
|
2675
|
-
output,
|
|
2676
|
-
parsedBody,
|
|
2677
|
-
errorCode,
|
|
2678
|
-
});
|
|
2679
|
-
}
|
|
2680
|
-
};
|
|
2681
|
-
const de_ListConfiguredAudienceModelAssociationsCommand = async (output, context) => {
|
|
2682
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2683
|
-
return de_ListConfiguredAudienceModelAssociationsCommandError(output, context);
|
|
2684
|
-
}
|
|
2685
|
-
const contents = (0, smithy_client_1.map)({
|
|
2686
|
-
$metadata: deserializeMetadata(output),
|
|
2687
|
-
});
|
|
2688
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2689
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2690
|
-
configuredAudienceModelAssociationSummaries: (_) => de_ConfiguredAudienceModelAssociationSummaryList(_, context),
|
|
2691
|
-
nextToken: smithy_client_1.expectString,
|
|
2692
|
-
});
|
|
2693
|
-
Object.assign(contents, doc);
|
|
2694
|
-
return contents;
|
|
2695
|
-
};
|
|
2696
|
-
exports.de_ListConfiguredAudienceModelAssociationsCommand = de_ListConfiguredAudienceModelAssociationsCommand;
|
|
2697
|
-
const de_ListConfiguredAudienceModelAssociationsCommandError = async (output, context) => {
|
|
2698
|
-
const parsedOutput = {
|
|
2699
|
-
...output,
|
|
2700
|
-
body: await parseErrorBody(output.body, context),
|
|
2701
|
-
};
|
|
2702
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2703
|
-
switch (errorCode) {
|
|
2704
|
-
case "AccessDeniedException":
|
|
2705
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2706
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2707
|
-
case "InternalServerException":
|
|
2708
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2709
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2710
|
-
case "ResourceNotFoundException":
|
|
2711
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2712
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2713
|
-
case "ThrottlingException":
|
|
2714
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2715
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2716
|
-
case "ValidationException":
|
|
2717
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2718
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2719
|
-
default:
|
|
2720
|
-
const parsedBody = parsedOutput.body;
|
|
2721
|
-
return throwDefaultError({
|
|
2722
|
-
output,
|
|
2723
|
-
parsedBody,
|
|
2724
|
-
errorCode,
|
|
2725
|
-
});
|
|
2726
|
-
}
|
|
2727
|
-
};
|
|
2728
|
-
const de_ListConfiguredTableAssociationsCommand = async (output, context) => {
|
|
2729
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2730
|
-
return de_ListConfiguredTableAssociationsCommandError(output, context);
|
|
2731
|
-
}
|
|
2732
|
-
const contents = (0, smithy_client_1.map)({
|
|
2733
|
-
$metadata: deserializeMetadata(output),
|
|
2734
|
-
});
|
|
2735
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2736
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2737
|
-
configuredTableAssociationSummaries: (_) => de_ConfiguredTableAssociationSummaryList(_, context),
|
|
2738
|
-
nextToken: smithy_client_1.expectString,
|
|
2739
|
-
});
|
|
2740
|
-
Object.assign(contents, doc);
|
|
2741
|
-
return contents;
|
|
2742
|
-
};
|
|
2743
|
-
exports.de_ListConfiguredTableAssociationsCommand = de_ListConfiguredTableAssociationsCommand;
|
|
2744
|
-
const de_ListConfiguredTableAssociationsCommandError = async (output, context) => {
|
|
2745
|
-
const parsedOutput = {
|
|
2746
|
-
...output,
|
|
2747
|
-
body: await parseErrorBody(output.body, context),
|
|
2748
|
-
};
|
|
2749
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2750
|
-
switch (errorCode) {
|
|
2751
|
-
case "AccessDeniedException":
|
|
2752
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2753
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2754
|
-
case "InternalServerException":
|
|
2755
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2756
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2757
|
-
case "ResourceNotFoundException":
|
|
2758
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2759
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2760
|
-
case "ThrottlingException":
|
|
2761
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2762
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2763
|
-
case "ValidationException":
|
|
2764
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2765
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2766
|
-
default:
|
|
2767
|
-
const parsedBody = parsedOutput.body;
|
|
2768
|
-
return throwDefaultError({
|
|
2769
|
-
output,
|
|
2770
|
-
parsedBody,
|
|
2771
|
-
errorCode,
|
|
2772
|
-
});
|
|
2773
|
-
}
|
|
2774
|
-
};
|
|
2775
|
-
const de_ListConfiguredTablesCommand = async (output, context) => {
|
|
2776
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2777
|
-
return de_ListConfiguredTablesCommandError(output, context);
|
|
2778
|
-
}
|
|
2779
|
-
const contents = (0, smithy_client_1.map)({
|
|
2780
|
-
$metadata: deserializeMetadata(output),
|
|
2781
|
-
});
|
|
2782
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2783
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2784
|
-
configuredTableSummaries: (_) => de_ConfiguredTableSummaryList(_, context),
|
|
2785
|
-
nextToken: smithy_client_1.expectString,
|
|
2786
|
-
});
|
|
2787
|
-
Object.assign(contents, doc);
|
|
2788
|
-
return contents;
|
|
2789
|
-
};
|
|
2790
|
-
exports.de_ListConfiguredTablesCommand = de_ListConfiguredTablesCommand;
|
|
2791
|
-
const de_ListConfiguredTablesCommandError = async (output, context) => {
|
|
2792
|
-
const parsedOutput = {
|
|
2793
|
-
...output,
|
|
2794
|
-
body: await parseErrorBody(output.body, context),
|
|
2795
|
-
};
|
|
2796
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2797
|
-
switch (errorCode) {
|
|
2798
|
-
case "AccessDeniedException":
|
|
2799
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2800
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2801
|
-
case "InternalServerException":
|
|
2802
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2803
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2804
|
-
case "ThrottlingException":
|
|
2805
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2806
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2807
|
-
case "ValidationException":
|
|
2808
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2809
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2810
|
-
default:
|
|
2811
|
-
const parsedBody = parsedOutput.body;
|
|
2812
|
-
return throwDefaultError({
|
|
2813
|
-
output,
|
|
2814
|
-
parsedBody,
|
|
2815
|
-
errorCode,
|
|
2816
|
-
});
|
|
2817
|
-
}
|
|
2818
|
-
};
|
|
2819
|
-
const de_ListMembersCommand = async (output, context) => {
|
|
2820
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2821
|
-
return de_ListMembersCommandError(output, context);
|
|
2822
|
-
}
|
|
2823
|
-
const contents = (0, smithy_client_1.map)({
|
|
2824
|
-
$metadata: deserializeMetadata(output),
|
|
2825
|
-
});
|
|
2826
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2827
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2828
|
-
memberSummaries: (_) => de_MemberSummaryList(_, context),
|
|
2829
|
-
nextToken: smithy_client_1.expectString,
|
|
2830
|
-
});
|
|
2831
|
-
Object.assign(contents, doc);
|
|
2832
|
-
return contents;
|
|
2833
|
-
};
|
|
2834
|
-
exports.de_ListMembersCommand = de_ListMembersCommand;
|
|
2835
|
-
const de_ListMembersCommandError = async (output, context) => {
|
|
2836
|
-
const parsedOutput = {
|
|
2837
|
-
...output,
|
|
2838
|
-
body: await parseErrorBody(output.body, context),
|
|
2839
|
-
};
|
|
2840
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2841
|
-
switch (errorCode) {
|
|
2842
|
-
case "AccessDeniedException":
|
|
2843
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2844
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2845
|
-
case "InternalServerException":
|
|
2846
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2847
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2848
|
-
case "ResourceNotFoundException":
|
|
2849
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2850
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2851
|
-
case "ThrottlingException":
|
|
2852
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2853
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2854
|
-
case "ValidationException":
|
|
2855
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2856
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2857
|
-
default:
|
|
2858
|
-
const parsedBody = parsedOutput.body;
|
|
2859
|
-
return throwDefaultError({
|
|
2860
|
-
output,
|
|
2861
|
-
parsedBody,
|
|
2862
|
-
errorCode,
|
|
2863
|
-
});
|
|
2864
|
-
}
|
|
2865
|
-
};
|
|
2866
|
-
const de_ListMembershipsCommand = async (output, context) => {
|
|
2867
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2868
|
-
return de_ListMembershipsCommandError(output, context);
|
|
2869
|
-
}
|
|
2870
|
-
const contents = (0, smithy_client_1.map)({
|
|
2871
|
-
$metadata: deserializeMetadata(output),
|
|
2872
|
-
});
|
|
2873
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2874
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2875
|
-
membershipSummaries: (_) => de_MembershipSummaryList(_, context),
|
|
2876
|
-
nextToken: smithy_client_1.expectString,
|
|
2877
|
-
});
|
|
2878
|
-
Object.assign(contents, doc);
|
|
2879
|
-
return contents;
|
|
2880
|
-
};
|
|
2881
|
-
exports.de_ListMembershipsCommand = de_ListMembershipsCommand;
|
|
2882
|
-
const de_ListMembershipsCommandError = async (output, context) => {
|
|
2883
|
-
const parsedOutput = {
|
|
2884
|
-
...output,
|
|
2885
|
-
body: await parseErrorBody(output.body, context),
|
|
2886
|
-
};
|
|
2887
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2888
|
-
switch (errorCode) {
|
|
2889
|
-
case "AccessDeniedException":
|
|
2890
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2891
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2892
|
-
case "InternalServerException":
|
|
2893
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2894
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2895
|
-
case "ThrottlingException":
|
|
2896
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2897
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2898
|
-
case "ValidationException":
|
|
2899
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2900
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2901
|
-
default:
|
|
2902
|
-
const parsedBody = parsedOutput.body;
|
|
2903
|
-
return throwDefaultError({
|
|
2904
|
-
output,
|
|
2905
|
-
parsedBody,
|
|
2906
|
-
errorCode,
|
|
2907
|
-
});
|
|
2908
|
-
}
|
|
2909
|
-
};
|
|
2910
|
-
const de_ListPrivacyBudgetsCommand = async (output, context) => {
|
|
2911
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2912
|
-
return de_ListPrivacyBudgetsCommandError(output, context);
|
|
2913
|
-
}
|
|
2914
|
-
const contents = (0, smithy_client_1.map)({
|
|
2915
|
-
$metadata: deserializeMetadata(output),
|
|
2916
|
-
});
|
|
2917
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2918
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2919
|
-
nextToken: smithy_client_1.expectString,
|
|
2920
|
-
privacyBudgetSummaries: (_) => de_PrivacyBudgetSummaryList(_, context),
|
|
2921
|
-
});
|
|
2922
|
-
Object.assign(contents, doc);
|
|
2923
|
-
return contents;
|
|
2924
|
-
};
|
|
2925
|
-
exports.de_ListPrivacyBudgetsCommand = de_ListPrivacyBudgetsCommand;
|
|
2926
|
-
const de_ListPrivacyBudgetsCommandError = async (output, context) => {
|
|
2927
|
-
const parsedOutput = {
|
|
2928
|
-
...output,
|
|
2929
|
-
body: await parseErrorBody(output.body, context),
|
|
2930
|
-
};
|
|
2931
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2932
|
-
switch (errorCode) {
|
|
2933
|
-
case "AccessDeniedException":
|
|
2934
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2935
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2936
|
-
case "InternalServerException":
|
|
2937
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2938
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2939
|
-
case "ResourceNotFoundException":
|
|
2940
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2941
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2942
|
-
case "ThrottlingException":
|
|
2943
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2944
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2945
|
-
case "ValidationException":
|
|
2946
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2947
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2948
|
-
default:
|
|
2949
|
-
const parsedBody = parsedOutput.body;
|
|
2950
|
-
return throwDefaultError({
|
|
2951
|
-
output,
|
|
2952
|
-
parsedBody,
|
|
2953
|
-
errorCode,
|
|
2954
|
-
});
|
|
2955
|
-
}
|
|
2956
|
-
};
|
|
2957
|
-
const de_ListPrivacyBudgetTemplatesCommand = async (output, context) => {
|
|
2958
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2959
|
-
return de_ListPrivacyBudgetTemplatesCommandError(output, context);
|
|
2960
|
-
}
|
|
2961
|
-
const contents = (0, smithy_client_1.map)({
|
|
2962
|
-
$metadata: deserializeMetadata(output),
|
|
2963
|
-
});
|
|
2964
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2965
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2966
|
-
nextToken: smithy_client_1.expectString,
|
|
2967
|
-
privacyBudgetTemplateSummaries: (_) => de_PrivacyBudgetTemplateSummaryList(_, context),
|
|
2968
|
-
});
|
|
2969
|
-
Object.assign(contents, doc);
|
|
2970
|
-
return contents;
|
|
2971
|
-
};
|
|
2972
|
-
exports.de_ListPrivacyBudgetTemplatesCommand = de_ListPrivacyBudgetTemplatesCommand;
|
|
2973
|
-
const de_ListPrivacyBudgetTemplatesCommandError = async (output, context) => {
|
|
2974
|
-
const parsedOutput = {
|
|
2975
|
-
...output,
|
|
2976
|
-
body: await parseErrorBody(output.body, context),
|
|
2977
|
-
};
|
|
2978
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2979
|
-
switch (errorCode) {
|
|
2980
|
-
case "AccessDeniedException":
|
|
2981
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2982
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2983
|
-
case "InternalServerException":
|
|
2984
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2985
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2986
|
-
case "ResourceNotFoundException":
|
|
2987
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2988
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2989
|
-
case "ThrottlingException":
|
|
2990
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2991
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2992
|
-
case "ValidationException":
|
|
2993
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2994
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2995
|
-
default:
|
|
2996
|
-
const parsedBody = parsedOutput.body;
|
|
2997
|
-
return throwDefaultError({
|
|
2998
|
-
output,
|
|
2999
|
-
parsedBody,
|
|
3000
|
-
errorCode,
|
|
3001
|
-
});
|
|
3002
|
-
}
|
|
3003
|
-
};
|
|
3004
|
-
const de_ListProtectedQueriesCommand = async (output, context) => {
|
|
3005
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3006
|
-
return de_ListProtectedQueriesCommandError(output, context);
|
|
3007
|
-
}
|
|
3008
|
-
const contents = (0, smithy_client_1.map)({
|
|
3009
|
-
$metadata: deserializeMetadata(output),
|
|
3010
|
-
});
|
|
3011
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3012
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3013
|
-
nextToken: smithy_client_1.expectString,
|
|
3014
|
-
protectedQueries: (_) => de_ProtectedQuerySummaryList(_, context),
|
|
3015
|
-
});
|
|
3016
|
-
Object.assign(contents, doc);
|
|
3017
|
-
return contents;
|
|
3018
|
-
};
|
|
3019
|
-
exports.de_ListProtectedQueriesCommand = de_ListProtectedQueriesCommand;
|
|
3020
|
-
const de_ListProtectedQueriesCommandError = async (output, context) => {
|
|
3021
|
-
const parsedOutput = {
|
|
3022
|
-
...output,
|
|
3023
|
-
body: await parseErrorBody(output.body, context),
|
|
3024
|
-
};
|
|
3025
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3026
|
-
switch (errorCode) {
|
|
3027
|
-
case "AccessDeniedException":
|
|
3028
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3029
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3030
|
-
case "InternalServerException":
|
|
3031
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3032
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3033
|
-
case "ResourceNotFoundException":
|
|
3034
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3035
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3036
|
-
case "ThrottlingException":
|
|
3037
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3038
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3039
|
-
case "ValidationException":
|
|
3040
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3041
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3042
|
-
default:
|
|
3043
|
-
const parsedBody = parsedOutput.body;
|
|
3044
|
-
return throwDefaultError({
|
|
3045
|
-
output,
|
|
3046
|
-
parsedBody,
|
|
3047
|
-
errorCode,
|
|
3048
|
-
});
|
|
3049
|
-
}
|
|
3050
|
-
};
|
|
3051
|
-
const de_ListSchemasCommand = async (output, context) => {
|
|
3052
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3053
|
-
return de_ListSchemasCommandError(output, context);
|
|
3054
|
-
}
|
|
3055
|
-
const contents = (0, smithy_client_1.map)({
|
|
3056
|
-
$metadata: deserializeMetadata(output),
|
|
3057
|
-
});
|
|
3058
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3059
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3060
|
-
nextToken: smithy_client_1.expectString,
|
|
3061
|
-
schemaSummaries: (_) => de_SchemaSummaryList(_, context),
|
|
3062
|
-
});
|
|
3063
|
-
Object.assign(contents, doc);
|
|
3064
|
-
return contents;
|
|
3065
|
-
};
|
|
3066
|
-
exports.de_ListSchemasCommand = de_ListSchemasCommand;
|
|
3067
|
-
const de_ListSchemasCommandError = async (output, context) => {
|
|
3068
|
-
const parsedOutput = {
|
|
3069
|
-
...output,
|
|
3070
|
-
body: await parseErrorBody(output.body, context),
|
|
3071
|
-
};
|
|
3072
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3073
|
-
switch (errorCode) {
|
|
3074
|
-
case "AccessDeniedException":
|
|
3075
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3076
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3077
|
-
case "InternalServerException":
|
|
3078
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3079
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3080
|
-
case "ResourceNotFoundException":
|
|
3081
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3082
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3083
|
-
case "ThrottlingException":
|
|
3084
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3085
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3086
|
-
case "ValidationException":
|
|
3087
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3088
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3089
|
-
default:
|
|
3090
|
-
const parsedBody = parsedOutput.body;
|
|
3091
|
-
return throwDefaultError({
|
|
3092
|
-
output,
|
|
3093
|
-
parsedBody,
|
|
3094
|
-
errorCode,
|
|
3095
|
-
});
|
|
3096
|
-
}
|
|
3097
|
-
};
|
|
3098
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
3099
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3100
|
-
return de_ListTagsForResourceCommandError(output, context);
|
|
3101
|
-
}
|
|
3102
|
-
const contents = (0, smithy_client_1.map)({
|
|
3103
|
-
$metadata: deserializeMetadata(output),
|
|
3104
|
-
});
|
|
3105
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3106
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3107
|
-
tags: smithy_client_1._json,
|
|
3108
|
-
});
|
|
3109
|
-
Object.assign(contents, doc);
|
|
3110
|
-
return contents;
|
|
3111
|
-
};
|
|
3112
|
-
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
3113
|
-
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
3114
|
-
const parsedOutput = {
|
|
3115
|
-
...output,
|
|
3116
|
-
body: await parseErrorBody(output.body, context),
|
|
3117
|
-
};
|
|
3118
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3119
|
-
switch (errorCode) {
|
|
3120
|
-
case "ResourceNotFoundException":
|
|
3121
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3122
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3123
|
-
case "ValidationException":
|
|
3124
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3125
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3126
|
-
default:
|
|
3127
|
-
const parsedBody = parsedOutput.body;
|
|
3128
|
-
return throwDefaultError({
|
|
3129
|
-
output,
|
|
3130
|
-
parsedBody,
|
|
3131
|
-
errorCode,
|
|
3132
|
-
});
|
|
3133
|
-
}
|
|
3134
|
-
};
|
|
3135
|
-
const de_PreviewPrivacyImpactCommand = async (output, context) => {
|
|
3136
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3137
|
-
return de_PreviewPrivacyImpactCommandError(output, context);
|
|
3138
|
-
}
|
|
3139
|
-
const contents = (0, smithy_client_1.map)({
|
|
3140
|
-
$metadata: deserializeMetadata(output),
|
|
3141
|
-
});
|
|
3142
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3143
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3144
|
-
privacyImpact: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
3145
|
-
});
|
|
3146
|
-
Object.assign(contents, doc);
|
|
3147
|
-
return contents;
|
|
3148
|
-
};
|
|
3149
|
-
exports.de_PreviewPrivacyImpactCommand = de_PreviewPrivacyImpactCommand;
|
|
3150
|
-
const de_PreviewPrivacyImpactCommandError = async (output, context) => {
|
|
3151
|
-
const parsedOutput = {
|
|
3152
|
-
...output,
|
|
3153
|
-
body: await parseErrorBody(output.body, context),
|
|
3154
|
-
};
|
|
3155
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3156
|
-
switch (errorCode) {
|
|
3157
|
-
case "AccessDeniedException":
|
|
3158
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3159
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3160
|
-
case "InternalServerException":
|
|
3161
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3162
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3163
|
-
case "ResourceNotFoundException":
|
|
3164
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3165
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3166
|
-
case "ThrottlingException":
|
|
3167
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3168
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3169
|
-
case "ValidationException":
|
|
3170
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3171
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3172
|
-
default:
|
|
3173
|
-
const parsedBody = parsedOutput.body;
|
|
3174
|
-
return throwDefaultError({
|
|
3175
|
-
output,
|
|
3176
|
-
parsedBody,
|
|
3177
|
-
errorCode,
|
|
3178
|
-
});
|
|
3179
|
-
}
|
|
3180
|
-
};
|
|
3181
|
-
const de_StartProtectedQueryCommand = async (output, context) => {
|
|
3182
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3183
|
-
return de_StartProtectedQueryCommandError(output, context);
|
|
3184
|
-
}
|
|
3185
|
-
const contents = (0, smithy_client_1.map)({
|
|
3186
|
-
$metadata: deserializeMetadata(output),
|
|
3187
|
-
});
|
|
3188
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3189
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3190
|
-
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
3191
|
-
});
|
|
3192
|
-
Object.assign(contents, doc);
|
|
3193
|
-
return contents;
|
|
3194
|
-
};
|
|
3195
|
-
exports.de_StartProtectedQueryCommand = de_StartProtectedQueryCommand;
|
|
3196
|
-
const de_StartProtectedQueryCommandError = async (output, context) => {
|
|
3197
|
-
const parsedOutput = {
|
|
3198
|
-
...output,
|
|
3199
|
-
body: await parseErrorBody(output.body, context),
|
|
3200
|
-
};
|
|
3201
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3202
|
-
switch (errorCode) {
|
|
3203
|
-
case "AccessDeniedException":
|
|
3204
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3205
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3206
|
-
case "InternalServerException":
|
|
3207
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3208
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3209
|
-
case "ResourceNotFoundException":
|
|
3210
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3211
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3212
|
-
case "ServiceQuotaExceededException":
|
|
3213
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
3214
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3215
|
-
case "ThrottlingException":
|
|
3216
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3217
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3218
|
-
case "ValidationException":
|
|
3219
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3220
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3221
|
-
default:
|
|
3222
|
-
const parsedBody = parsedOutput.body;
|
|
3223
|
-
return throwDefaultError({
|
|
3224
|
-
output,
|
|
3225
|
-
parsedBody,
|
|
3226
|
-
errorCode,
|
|
3227
|
-
});
|
|
3228
|
-
}
|
|
3229
|
-
};
|
|
3230
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
3231
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3232
|
-
return de_TagResourceCommandError(output, context);
|
|
3233
|
-
}
|
|
3234
|
-
const contents = (0, smithy_client_1.map)({
|
|
3235
|
-
$metadata: deserializeMetadata(output),
|
|
3236
|
-
});
|
|
3237
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3238
|
-
return contents;
|
|
3239
|
-
};
|
|
3240
|
-
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
3241
|
-
const de_TagResourceCommandError = async (output, context) => {
|
|
3242
|
-
const parsedOutput = {
|
|
3243
|
-
...output,
|
|
3244
|
-
body: await parseErrorBody(output.body, context),
|
|
3245
|
-
};
|
|
3246
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3247
|
-
switch (errorCode) {
|
|
3248
|
-
case "ResourceNotFoundException":
|
|
3249
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3250
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3251
|
-
case "ValidationException":
|
|
3252
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3253
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3254
|
-
default:
|
|
3255
|
-
const parsedBody = parsedOutput.body;
|
|
3256
|
-
return throwDefaultError({
|
|
3257
|
-
output,
|
|
3258
|
-
parsedBody,
|
|
3259
|
-
errorCode,
|
|
3260
|
-
});
|
|
3261
|
-
}
|
|
3262
|
-
};
|
|
3263
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
3264
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3265
|
-
return de_UntagResourceCommandError(output, context);
|
|
3266
|
-
}
|
|
3267
|
-
const contents = (0, smithy_client_1.map)({
|
|
3268
|
-
$metadata: deserializeMetadata(output),
|
|
3269
|
-
});
|
|
3270
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3271
|
-
return contents;
|
|
3272
|
-
};
|
|
3273
|
-
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
3274
|
-
const de_UntagResourceCommandError = async (output, context) => {
|
|
3275
|
-
const parsedOutput = {
|
|
3276
|
-
...output,
|
|
3277
|
-
body: await parseErrorBody(output.body, context),
|
|
3278
|
-
};
|
|
3279
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3280
|
-
switch (errorCode) {
|
|
3281
|
-
case "ResourceNotFoundException":
|
|
3282
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3283
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3284
|
-
case "ValidationException":
|
|
3285
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3286
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3287
|
-
default:
|
|
3288
|
-
const parsedBody = parsedOutput.body;
|
|
3289
|
-
return throwDefaultError({
|
|
3290
|
-
output,
|
|
3291
|
-
parsedBody,
|
|
3292
|
-
errorCode,
|
|
3293
|
-
});
|
|
3294
|
-
}
|
|
3295
|
-
};
|
|
3296
|
-
const de_UpdateAnalysisTemplateCommand = async (output, context) => {
|
|
3297
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3298
|
-
return de_UpdateAnalysisTemplateCommandError(output, context);
|
|
3299
|
-
}
|
|
3300
|
-
const contents = (0, smithy_client_1.map)({
|
|
3301
|
-
$metadata: deserializeMetadata(output),
|
|
3302
|
-
});
|
|
3303
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3304
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3305
|
-
analysisTemplate: (_) => de_AnalysisTemplate(_, context),
|
|
3306
|
-
});
|
|
3307
|
-
Object.assign(contents, doc);
|
|
3308
|
-
return contents;
|
|
3309
|
-
};
|
|
3310
|
-
exports.de_UpdateAnalysisTemplateCommand = de_UpdateAnalysisTemplateCommand;
|
|
3311
|
-
const de_UpdateAnalysisTemplateCommandError = async (output, context) => {
|
|
3312
|
-
const parsedOutput = {
|
|
3313
|
-
...output,
|
|
3314
|
-
body: await parseErrorBody(output.body, context),
|
|
3315
|
-
};
|
|
3316
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3317
|
-
switch (errorCode) {
|
|
3318
|
-
case "AccessDeniedException":
|
|
3319
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3320
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3321
|
-
case "InternalServerException":
|
|
3322
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3323
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3324
|
-
case "ResourceNotFoundException":
|
|
3325
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3326
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3327
|
-
case "ThrottlingException":
|
|
3328
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3329
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3330
|
-
case "ValidationException":
|
|
3331
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3332
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3333
|
-
default:
|
|
3334
|
-
const parsedBody = parsedOutput.body;
|
|
3335
|
-
return throwDefaultError({
|
|
3336
|
-
output,
|
|
3337
|
-
parsedBody,
|
|
3338
|
-
errorCode,
|
|
3339
|
-
});
|
|
3340
|
-
}
|
|
3341
|
-
};
|
|
3342
|
-
const de_UpdateCollaborationCommand = async (output, context) => {
|
|
3343
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3344
|
-
return de_UpdateCollaborationCommandError(output, context);
|
|
3345
|
-
}
|
|
3346
|
-
const contents = (0, smithy_client_1.map)({
|
|
3347
|
-
$metadata: deserializeMetadata(output),
|
|
3348
|
-
});
|
|
3349
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3350
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3351
|
-
collaboration: (_) => de_Collaboration(_, context),
|
|
3352
|
-
});
|
|
3353
|
-
Object.assign(contents, doc);
|
|
3354
|
-
return contents;
|
|
3355
|
-
};
|
|
3356
|
-
exports.de_UpdateCollaborationCommand = de_UpdateCollaborationCommand;
|
|
3357
|
-
const de_UpdateCollaborationCommandError = async (output, context) => {
|
|
3358
|
-
const parsedOutput = {
|
|
3359
|
-
...output,
|
|
3360
|
-
body: await parseErrorBody(output.body, context),
|
|
3361
|
-
};
|
|
3362
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3363
|
-
switch (errorCode) {
|
|
3364
|
-
case "AccessDeniedException":
|
|
3365
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3366
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3367
|
-
case "InternalServerException":
|
|
3368
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3369
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3370
|
-
case "ThrottlingException":
|
|
3371
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3372
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3373
|
-
case "ValidationException":
|
|
3374
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3375
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3376
|
-
default:
|
|
3377
|
-
const parsedBody = parsedOutput.body;
|
|
3378
|
-
return throwDefaultError({
|
|
3379
|
-
output,
|
|
3380
|
-
parsedBody,
|
|
3381
|
-
errorCode,
|
|
3382
|
-
});
|
|
3383
|
-
}
|
|
3384
|
-
};
|
|
3385
|
-
const de_UpdateConfiguredAudienceModelAssociationCommand = async (output, context) => {
|
|
3386
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3387
|
-
return de_UpdateConfiguredAudienceModelAssociationCommandError(output, context);
|
|
3388
|
-
}
|
|
3389
|
-
const contents = (0, smithy_client_1.map)({
|
|
3390
|
-
$metadata: deserializeMetadata(output),
|
|
3391
|
-
});
|
|
3392
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3393
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3394
|
-
configuredAudienceModelAssociation: (_) => de_ConfiguredAudienceModelAssociation(_, context),
|
|
3395
|
-
});
|
|
3396
|
-
Object.assign(contents, doc);
|
|
3397
|
-
return contents;
|
|
3398
|
-
};
|
|
3399
|
-
exports.de_UpdateConfiguredAudienceModelAssociationCommand = de_UpdateConfiguredAudienceModelAssociationCommand;
|
|
3400
|
-
const de_UpdateConfiguredAudienceModelAssociationCommandError = async (output, context) => {
|
|
3401
|
-
const parsedOutput = {
|
|
3402
|
-
...output,
|
|
3403
|
-
body: await parseErrorBody(output.body, context),
|
|
3404
|
-
};
|
|
3405
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3406
|
-
switch (errorCode) {
|
|
3407
|
-
case "AccessDeniedException":
|
|
3408
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3409
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3410
|
-
case "InternalServerException":
|
|
3411
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3412
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3413
|
-
case "ResourceNotFoundException":
|
|
3414
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3415
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3416
|
-
case "ThrottlingException":
|
|
3417
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3418
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3419
|
-
case "ValidationException":
|
|
3420
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3421
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3422
|
-
default:
|
|
3423
|
-
const parsedBody = parsedOutput.body;
|
|
3424
|
-
return throwDefaultError({
|
|
3425
|
-
output,
|
|
3426
|
-
parsedBody,
|
|
3427
|
-
errorCode,
|
|
3428
|
-
});
|
|
3429
|
-
}
|
|
3430
|
-
};
|
|
3431
|
-
const de_UpdateConfiguredTableCommand = async (output, context) => {
|
|
3432
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3433
|
-
return de_UpdateConfiguredTableCommandError(output, context);
|
|
3434
|
-
}
|
|
3435
|
-
const contents = (0, smithy_client_1.map)({
|
|
3436
|
-
$metadata: deserializeMetadata(output),
|
|
3437
|
-
});
|
|
3438
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3439
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3440
|
-
configuredTable: (_) => de_ConfiguredTable(_, context),
|
|
3441
|
-
});
|
|
3442
|
-
Object.assign(contents, doc);
|
|
3443
|
-
return contents;
|
|
3444
|
-
};
|
|
3445
|
-
exports.de_UpdateConfiguredTableCommand = de_UpdateConfiguredTableCommand;
|
|
3446
|
-
const de_UpdateConfiguredTableCommandError = async (output, context) => {
|
|
3447
|
-
const parsedOutput = {
|
|
3448
|
-
...output,
|
|
3449
|
-
body: await parseErrorBody(output.body, context),
|
|
3450
|
-
};
|
|
3451
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3452
|
-
switch (errorCode) {
|
|
3453
|
-
case "AccessDeniedException":
|
|
3454
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3455
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3456
|
-
case "ConflictException":
|
|
3457
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
3458
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3459
|
-
case "InternalServerException":
|
|
3460
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3461
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3462
|
-
case "ResourceNotFoundException":
|
|
3463
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3464
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3465
|
-
case "ThrottlingException":
|
|
3466
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3467
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3468
|
-
case "ValidationException":
|
|
3469
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3470
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3471
|
-
default:
|
|
3472
|
-
const parsedBody = parsedOutput.body;
|
|
3473
|
-
return throwDefaultError({
|
|
3474
|
-
output,
|
|
3475
|
-
parsedBody,
|
|
3476
|
-
errorCode,
|
|
3477
|
-
});
|
|
3478
|
-
}
|
|
3479
|
-
};
|
|
3480
|
-
const de_UpdateConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
3481
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3482
|
-
return de_UpdateConfiguredTableAnalysisRuleCommandError(output, context);
|
|
3483
|
-
}
|
|
3484
|
-
const contents = (0, smithy_client_1.map)({
|
|
3485
|
-
$metadata: deserializeMetadata(output),
|
|
3486
|
-
});
|
|
3487
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3488
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3489
|
-
analysisRule: (_) => de_ConfiguredTableAnalysisRule(_, context),
|
|
3490
|
-
});
|
|
3491
|
-
Object.assign(contents, doc);
|
|
3492
|
-
return contents;
|
|
3493
|
-
};
|
|
3494
|
-
exports.de_UpdateConfiguredTableAnalysisRuleCommand = de_UpdateConfiguredTableAnalysisRuleCommand;
|
|
3495
|
-
const de_UpdateConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
3496
|
-
const parsedOutput = {
|
|
3497
|
-
...output,
|
|
3498
|
-
body: await parseErrorBody(output.body, context),
|
|
3499
|
-
};
|
|
3500
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3501
|
-
switch (errorCode) {
|
|
3502
|
-
case "AccessDeniedException":
|
|
3503
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3504
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3505
|
-
case "ConflictException":
|
|
3506
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
3507
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3508
|
-
case "InternalServerException":
|
|
3509
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3510
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3511
|
-
case "ResourceNotFoundException":
|
|
3512
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3513
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3514
|
-
case "ThrottlingException":
|
|
3515
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3516
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3517
|
-
case "ValidationException":
|
|
3518
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3519
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3520
|
-
default:
|
|
3521
|
-
const parsedBody = parsedOutput.body;
|
|
3522
|
-
return throwDefaultError({
|
|
3523
|
-
output,
|
|
3524
|
-
parsedBody,
|
|
3525
|
-
errorCode,
|
|
3526
|
-
});
|
|
3527
|
-
}
|
|
3528
|
-
};
|
|
3529
|
-
const de_UpdateConfiguredTableAssociationCommand = async (output, context) => {
|
|
3530
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3531
|
-
return de_UpdateConfiguredTableAssociationCommandError(output, context);
|
|
3532
|
-
}
|
|
3533
|
-
const contents = (0, smithy_client_1.map)({
|
|
3534
|
-
$metadata: deserializeMetadata(output),
|
|
3535
|
-
});
|
|
3536
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3537
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3538
|
-
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context),
|
|
3539
|
-
});
|
|
3540
|
-
Object.assign(contents, doc);
|
|
3541
|
-
return contents;
|
|
3542
|
-
};
|
|
3543
|
-
exports.de_UpdateConfiguredTableAssociationCommand = de_UpdateConfiguredTableAssociationCommand;
|
|
3544
|
-
const de_UpdateConfiguredTableAssociationCommandError = async (output, context) => {
|
|
3545
|
-
const parsedOutput = {
|
|
3546
|
-
...output,
|
|
3547
|
-
body: await parseErrorBody(output.body, context),
|
|
3548
|
-
};
|
|
3549
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3550
|
-
switch (errorCode) {
|
|
3551
|
-
case "AccessDeniedException":
|
|
3552
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3553
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3554
|
-
case "ConflictException":
|
|
3555
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
3556
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3557
|
-
case "InternalServerException":
|
|
3558
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3559
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3560
|
-
case "ResourceNotFoundException":
|
|
3561
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3562
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3563
|
-
case "ThrottlingException":
|
|
3564
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3565
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3566
|
-
case "ValidationException":
|
|
3567
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3568
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3569
|
-
default:
|
|
3570
|
-
const parsedBody = parsedOutput.body;
|
|
3571
|
-
return throwDefaultError({
|
|
3572
|
-
output,
|
|
3573
|
-
parsedBody,
|
|
3574
|
-
errorCode,
|
|
3575
|
-
});
|
|
3576
|
-
}
|
|
3577
|
-
};
|
|
3578
|
-
const de_UpdateMembershipCommand = async (output, context) => {
|
|
3579
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3580
|
-
return de_UpdateMembershipCommandError(output, context);
|
|
3581
|
-
}
|
|
3582
|
-
const contents = (0, smithy_client_1.map)({
|
|
3583
|
-
$metadata: deserializeMetadata(output),
|
|
3584
|
-
});
|
|
3585
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3586
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3587
|
-
membership: (_) => de_Membership(_, context),
|
|
3588
|
-
});
|
|
3589
|
-
Object.assign(contents, doc);
|
|
3590
|
-
return contents;
|
|
3591
|
-
};
|
|
3592
|
-
exports.de_UpdateMembershipCommand = de_UpdateMembershipCommand;
|
|
3593
|
-
const de_UpdateMembershipCommandError = async (output, context) => {
|
|
3594
|
-
const parsedOutput = {
|
|
3595
|
-
...output,
|
|
3596
|
-
body: await parseErrorBody(output.body, context),
|
|
3597
|
-
};
|
|
3598
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3599
|
-
switch (errorCode) {
|
|
3600
|
-
case "AccessDeniedException":
|
|
3601
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3602
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3603
|
-
case "ConflictException":
|
|
3604
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
3605
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3606
|
-
case "InternalServerException":
|
|
3607
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3608
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3609
|
-
case "ResourceNotFoundException":
|
|
3610
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3611
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3612
|
-
case "ThrottlingException":
|
|
3613
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3614
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3615
|
-
case "ValidationException":
|
|
3616
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3617
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3618
|
-
default:
|
|
3619
|
-
const parsedBody = parsedOutput.body;
|
|
3620
|
-
return throwDefaultError({
|
|
3621
|
-
output,
|
|
3622
|
-
parsedBody,
|
|
3623
|
-
errorCode,
|
|
3624
|
-
});
|
|
3625
|
-
}
|
|
3626
|
-
};
|
|
3627
|
-
const de_UpdatePrivacyBudgetTemplateCommand = async (output, context) => {
|
|
3628
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3629
|
-
return de_UpdatePrivacyBudgetTemplateCommandError(output, context);
|
|
3630
|
-
}
|
|
3631
|
-
const contents = (0, smithy_client_1.map)({
|
|
3632
|
-
$metadata: deserializeMetadata(output),
|
|
3633
|
-
});
|
|
3634
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3635
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3636
|
-
privacyBudgetTemplate: (_) => de_PrivacyBudgetTemplate(_, context),
|
|
3637
|
-
});
|
|
3638
|
-
Object.assign(contents, doc);
|
|
3639
|
-
return contents;
|
|
3640
|
-
};
|
|
3641
|
-
exports.de_UpdatePrivacyBudgetTemplateCommand = de_UpdatePrivacyBudgetTemplateCommand;
|
|
3642
|
-
const de_UpdatePrivacyBudgetTemplateCommandError = async (output, context) => {
|
|
3643
|
-
const parsedOutput = {
|
|
3644
|
-
...output,
|
|
3645
|
-
body: await parseErrorBody(output.body, context),
|
|
3646
|
-
};
|
|
3647
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3648
|
-
switch (errorCode) {
|
|
3649
|
-
case "AccessDeniedException":
|
|
3650
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3651
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3652
|
-
case "ConflictException":
|
|
3653
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
3654
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3655
|
-
case "InternalServerException":
|
|
3656
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3657
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3658
|
-
case "ResourceNotFoundException":
|
|
3659
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3660
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3661
|
-
case "ThrottlingException":
|
|
3662
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3663
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3664
|
-
case "ValidationException":
|
|
3665
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3666
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3667
|
-
default:
|
|
3668
|
-
const parsedBody = parsedOutput.body;
|
|
3669
|
-
return throwDefaultError({
|
|
3670
|
-
output,
|
|
3671
|
-
parsedBody,
|
|
3672
|
-
errorCode,
|
|
3673
|
-
});
|
|
3674
|
-
}
|
|
3675
|
-
};
|
|
3676
|
-
const de_UpdateProtectedQueryCommand = async (output, context) => {
|
|
3677
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3678
|
-
return de_UpdateProtectedQueryCommandError(output, context);
|
|
3679
|
-
}
|
|
3680
|
-
const contents = (0, smithy_client_1.map)({
|
|
3681
|
-
$metadata: deserializeMetadata(output),
|
|
3682
|
-
});
|
|
3683
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3684
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3685
|
-
protectedQuery: (_) => de_ProtectedQuery(_, context),
|
|
3686
|
-
});
|
|
3687
|
-
Object.assign(contents, doc);
|
|
3688
|
-
return contents;
|
|
3689
|
-
};
|
|
3690
|
-
exports.de_UpdateProtectedQueryCommand = de_UpdateProtectedQueryCommand;
|
|
3691
|
-
const de_UpdateProtectedQueryCommandError = async (output, context) => {
|
|
3692
|
-
const parsedOutput = {
|
|
3693
|
-
...output,
|
|
3694
|
-
body: await parseErrorBody(output.body, context),
|
|
3695
|
-
};
|
|
3696
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3697
|
-
switch (errorCode) {
|
|
3698
|
-
case "AccessDeniedException":
|
|
3699
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3700
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3701
|
-
case "ConflictException":
|
|
3702
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
3703
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3704
|
-
case "InternalServerException":
|
|
3705
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3706
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3707
|
-
case "ResourceNotFoundException":
|
|
3708
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3709
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3710
|
-
case "ThrottlingException":
|
|
3711
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3712
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3713
|
-
case "ValidationException":
|
|
3714
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3715
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3716
|
-
default:
|
|
3717
|
-
const parsedBody = parsedOutput.body;
|
|
3718
|
-
return throwDefaultError({
|
|
3719
|
-
output,
|
|
3720
|
-
parsedBody,
|
|
3721
|
-
errorCode,
|
|
3722
|
-
});
|
|
3723
|
-
}
|
|
3724
|
-
};
|
|
3725
|
-
const throwDefaultError = (0, smithy_client_1.withBaseException)(CleanRoomsServiceException_1.CleanRoomsServiceException);
|
|
3726
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3727
|
-
const contents = (0, smithy_client_1.map)({});
|
|
3728
|
-
const data = parsedOutput.body;
|
|
3729
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3730
|
-
message: smithy_client_1.expectString,
|
|
3731
|
-
reason: smithy_client_1.expectString,
|
|
3732
|
-
});
|
|
3733
|
-
Object.assign(contents, doc);
|
|
3734
|
-
const exception = new models_0_1.AccessDeniedException({
|
|
3735
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3736
|
-
...contents,
|
|
3737
|
-
});
|
|
3738
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3739
|
-
};
|
|
3740
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3741
|
-
const contents = (0, smithy_client_1.map)({});
|
|
3742
|
-
const data = parsedOutput.body;
|
|
3743
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3744
|
-
message: smithy_client_1.expectString,
|
|
3745
|
-
reason: smithy_client_1.expectString,
|
|
3746
|
-
resourceId: smithy_client_1.expectString,
|
|
3747
|
-
resourceType: smithy_client_1.expectString,
|
|
3748
|
-
});
|
|
3749
|
-
Object.assign(contents, doc);
|
|
3750
|
-
const exception = new models_0_1.ConflictException({
|
|
3751
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3752
|
-
...contents,
|
|
3753
|
-
});
|
|
3754
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3755
|
-
};
|
|
3756
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3757
|
-
const contents = (0, smithy_client_1.map)({});
|
|
3758
|
-
const data = parsedOutput.body;
|
|
3759
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3760
|
-
message: smithy_client_1.expectString,
|
|
3761
|
-
});
|
|
3762
|
-
Object.assign(contents, doc);
|
|
3763
|
-
const exception = new models_0_1.InternalServerException({
|
|
3764
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3765
|
-
...contents,
|
|
3766
|
-
});
|
|
3767
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3768
|
-
};
|
|
3769
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3770
|
-
const contents = (0, smithy_client_1.map)({});
|
|
3771
|
-
const data = parsedOutput.body;
|
|
3772
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3773
|
-
message: smithy_client_1.expectString,
|
|
3774
|
-
resourceId: smithy_client_1.expectString,
|
|
3775
|
-
resourceType: smithy_client_1.expectString,
|
|
3776
|
-
});
|
|
3777
|
-
Object.assign(contents, doc);
|
|
3778
|
-
const exception = new models_0_1.ResourceNotFoundException({
|
|
3779
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3780
|
-
...contents,
|
|
3781
|
-
});
|
|
3782
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3783
|
-
};
|
|
3784
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3785
|
-
const contents = (0, smithy_client_1.map)({});
|
|
3786
|
-
const data = parsedOutput.body;
|
|
3787
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3788
|
-
message: smithy_client_1.expectString,
|
|
3789
|
-
quotaName: smithy_client_1.expectString,
|
|
3790
|
-
quotaValue: smithy_client_1.limitedParseDouble,
|
|
3791
|
-
});
|
|
3792
|
-
Object.assign(contents, doc);
|
|
3793
|
-
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
3794
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3795
|
-
...contents,
|
|
3796
|
-
});
|
|
3797
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3798
|
-
};
|
|
3799
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3800
|
-
const contents = (0, smithy_client_1.map)({});
|
|
3801
|
-
const data = parsedOutput.body;
|
|
3802
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3803
|
-
message: smithy_client_1.expectString,
|
|
3804
|
-
});
|
|
3805
|
-
Object.assign(contents, doc);
|
|
3806
|
-
const exception = new models_0_1.ThrottlingException({
|
|
3807
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3808
|
-
...contents,
|
|
3809
|
-
});
|
|
3810
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3811
|
-
};
|
|
3812
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3813
|
-
const contents = (0, smithy_client_1.map)({});
|
|
3814
|
-
const data = parsedOutput.body;
|
|
3815
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
3816
|
-
fieldList: smithy_client_1._json,
|
|
3817
|
-
message: smithy_client_1.expectString,
|
|
3818
|
-
reason: smithy_client_1.expectString,
|
|
3819
|
-
});
|
|
3820
|
-
Object.assign(contents, doc);
|
|
3821
|
-
const exception = new models_0_1.ValidationException({
|
|
3822
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3823
|
-
...contents,
|
|
3824
|
-
});
|
|
3825
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3826
|
-
};
|
|
3827
|
-
const de_AnalysisRule = (output, context) => {
|
|
3828
|
-
return (0, smithy_client_1.take)(output, {
|
|
3829
|
-
collaborationId: smithy_client_1.expectString,
|
|
3830
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3831
|
-
name: smithy_client_1.expectString,
|
|
3832
|
-
policy: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
3833
|
-
type: smithy_client_1.expectString,
|
|
3834
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3835
|
-
});
|
|
3836
|
-
};
|
|
3837
|
-
const de_AnalysisTemplate = (output, context) => {
|
|
3838
|
-
return (0, smithy_client_1.take)(output, {
|
|
3839
|
-
analysisParameters: smithy_client_1._json,
|
|
3840
|
-
arn: smithy_client_1.expectString,
|
|
3841
|
-
collaborationArn: smithy_client_1.expectString,
|
|
3842
|
-
collaborationId: smithy_client_1.expectString,
|
|
3843
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3844
|
-
description: smithy_client_1.expectString,
|
|
3845
|
-
format: smithy_client_1.expectString,
|
|
3846
|
-
id: smithy_client_1.expectString,
|
|
3847
|
-
membershipArn: smithy_client_1.expectString,
|
|
3848
|
-
membershipId: smithy_client_1.expectString,
|
|
3849
|
-
name: smithy_client_1.expectString,
|
|
3850
|
-
schema: smithy_client_1._json,
|
|
3851
|
-
source: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
3852
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3853
|
-
});
|
|
3854
|
-
};
|
|
3855
|
-
const de_AnalysisTemplateSummary = (output, context) => {
|
|
3856
|
-
return (0, smithy_client_1.take)(output, {
|
|
3857
|
-
arn: smithy_client_1.expectString,
|
|
3858
|
-
collaborationArn: smithy_client_1.expectString,
|
|
3859
|
-
collaborationId: smithy_client_1.expectString,
|
|
3860
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3861
|
-
description: smithy_client_1.expectString,
|
|
3862
|
-
id: smithy_client_1.expectString,
|
|
3863
|
-
membershipArn: smithy_client_1.expectString,
|
|
3864
|
-
membershipId: smithy_client_1.expectString,
|
|
3865
|
-
name: smithy_client_1.expectString,
|
|
3866
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3867
|
-
});
|
|
3868
|
-
};
|
|
3869
|
-
const de_AnalysisTemplateSummaryList = (output, context) => {
|
|
3870
|
-
const retVal = (output || [])
|
|
3871
|
-
.filter((e) => e != null)
|
|
3872
|
-
.map((entry) => {
|
|
3873
|
-
return de_AnalysisTemplateSummary(entry, context);
|
|
3874
|
-
});
|
|
3875
|
-
return retVal;
|
|
3876
|
-
};
|
|
3877
|
-
const de_Collaboration = (output, context) => {
|
|
3878
|
-
return (0, smithy_client_1.take)(output, {
|
|
3879
|
-
arn: smithy_client_1.expectString,
|
|
3880
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3881
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
3882
|
-
creatorDisplayName: smithy_client_1.expectString,
|
|
3883
|
-
dataEncryptionMetadata: smithy_client_1._json,
|
|
3884
|
-
description: smithy_client_1.expectString,
|
|
3885
|
-
id: smithy_client_1.expectString,
|
|
3886
|
-
memberStatus: smithy_client_1.expectString,
|
|
3887
|
-
membershipArn: smithy_client_1.expectString,
|
|
3888
|
-
membershipId: smithy_client_1.expectString,
|
|
3889
|
-
name: smithy_client_1.expectString,
|
|
3890
|
-
queryLogStatus: smithy_client_1.expectString,
|
|
3891
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3892
|
-
});
|
|
3893
|
-
};
|
|
3894
|
-
const de_CollaborationAnalysisTemplate = (output, context) => {
|
|
3895
|
-
return (0, smithy_client_1.take)(output, {
|
|
3896
|
-
analysisParameters: smithy_client_1._json,
|
|
3897
|
-
arn: smithy_client_1.expectString,
|
|
3898
|
-
collaborationArn: smithy_client_1.expectString,
|
|
3899
|
-
collaborationId: smithy_client_1.expectString,
|
|
3900
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3901
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
3902
|
-
description: smithy_client_1.expectString,
|
|
3903
|
-
format: smithy_client_1.expectString,
|
|
3904
|
-
id: smithy_client_1.expectString,
|
|
3905
|
-
name: smithy_client_1.expectString,
|
|
3906
|
-
schema: smithy_client_1._json,
|
|
3907
|
-
source: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
3908
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3909
|
-
});
|
|
3910
|
-
};
|
|
3911
|
-
const de_CollaborationAnalysisTemplateList = (output, context) => {
|
|
3912
|
-
const retVal = (output || [])
|
|
3913
|
-
.filter((e) => e != null)
|
|
3914
|
-
.map((entry) => {
|
|
3915
|
-
return de_CollaborationAnalysisTemplate(entry, context);
|
|
3916
|
-
});
|
|
3917
|
-
return retVal;
|
|
3918
|
-
};
|
|
3919
|
-
const de_CollaborationAnalysisTemplateSummary = (output, context) => {
|
|
3920
|
-
return (0, smithy_client_1.take)(output, {
|
|
3921
|
-
arn: smithy_client_1.expectString,
|
|
3922
|
-
collaborationArn: smithy_client_1.expectString,
|
|
3923
|
-
collaborationId: smithy_client_1.expectString,
|
|
3924
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3925
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
3926
|
-
description: smithy_client_1.expectString,
|
|
3927
|
-
id: smithy_client_1.expectString,
|
|
3928
|
-
name: smithy_client_1.expectString,
|
|
3929
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3930
|
-
});
|
|
3931
|
-
};
|
|
3932
|
-
const de_CollaborationAnalysisTemplateSummaryList = (output, context) => {
|
|
3933
|
-
const retVal = (output || [])
|
|
3934
|
-
.filter((e) => e != null)
|
|
3935
|
-
.map((entry) => {
|
|
3936
|
-
return de_CollaborationAnalysisTemplateSummary(entry, context);
|
|
3937
|
-
});
|
|
3938
|
-
return retVal;
|
|
3939
|
-
};
|
|
3940
|
-
const de_CollaborationConfiguredAudienceModelAssociation = (output, context) => {
|
|
3941
|
-
return (0, smithy_client_1.take)(output, {
|
|
3942
|
-
arn: smithy_client_1.expectString,
|
|
3943
|
-
collaborationArn: smithy_client_1.expectString,
|
|
3944
|
-
collaborationId: smithy_client_1.expectString,
|
|
3945
|
-
configuredAudienceModelArn: smithy_client_1.expectString,
|
|
3946
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3947
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
3948
|
-
description: smithy_client_1.expectString,
|
|
3949
|
-
id: smithy_client_1.expectString,
|
|
3950
|
-
name: smithy_client_1.expectString,
|
|
3951
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3952
|
-
});
|
|
3953
|
-
};
|
|
3954
|
-
const de_CollaborationConfiguredAudienceModelAssociationSummary = (output, context) => {
|
|
3955
|
-
return (0, smithy_client_1.take)(output, {
|
|
3956
|
-
arn: smithy_client_1.expectString,
|
|
3957
|
-
collaborationArn: smithy_client_1.expectString,
|
|
3958
|
-
collaborationId: smithy_client_1.expectString,
|
|
3959
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3960
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
3961
|
-
description: smithy_client_1.expectString,
|
|
3962
|
-
id: smithy_client_1.expectString,
|
|
3963
|
-
name: smithy_client_1.expectString,
|
|
3964
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3965
|
-
});
|
|
3966
|
-
};
|
|
3967
|
-
const de_CollaborationConfiguredAudienceModelAssociationSummaryList = (output, context) => {
|
|
3968
|
-
const retVal = (output || [])
|
|
3969
|
-
.filter((e) => e != null)
|
|
3970
|
-
.map((entry) => {
|
|
3971
|
-
return de_CollaborationConfiguredAudienceModelAssociationSummary(entry, context);
|
|
3972
|
-
});
|
|
3973
|
-
return retVal;
|
|
3974
|
-
};
|
|
3975
|
-
const de_CollaborationPrivacyBudgetSummary = (output, context) => {
|
|
3976
|
-
return (0, smithy_client_1.take)(output, {
|
|
3977
|
-
budget: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
3978
|
-
collaborationArn: smithy_client_1.expectString,
|
|
3979
|
-
collaborationId: smithy_client_1.expectString,
|
|
3980
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3981
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
3982
|
-
id: smithy_client_1.expectString,
|
|
3983
|
-
privacyBudgetTemplateArn: smithy_client_1.expectString,
|
|
3984
|
-
privacyBudgetTemplateId: smithy_client_1.expectString,
|
|
3985
|
-
type: smithy_client_1.expectString,
|
|
3986
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3987
|
-
});
|
|
3988
|
-
};
|
|
3989
|
-
const de_CollaborationPrivacyBudgetSummaryList = (output, context) => {
|
|
3990
|
-
const retVal = (output || [])
|
|
3991
|
-
.filter((e) => e != null)
|
|
3992
|
-
.map((entry) => {
|
|
3993
|
-
return de_CollaborationPrivacyBudgetSummary(entry, context);
|
|
3994
|
-
});
|
|
3995
|
-
return retVal;
|
|
3996
|
-
};
|
|
3997
|
-
const de_CollaborationPrivacyBudgetTemplate = (output, context) => {
|
|
3998
|
-
return (0, smithy_client_1.take)(output, {
|
|
3999
|
-
arn: smithy_client_1.expectString,
|
|
4000
|
-
autoRefresh: smithy_client_1.expectString,
|
|
4001
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4002
|
-
collaborationId: smithy_client_1.expectString,
|
|
4003
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4004
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
4005
|
-
id: smithy_client_1.expectString,
|
|
4006
|
-
parameters: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
4007
|
-
privacyBudgetType: smithy_client_1.expectString,
|
|
4008
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4009
|
-
});
|
|
4010
|
-
};
|
|
4011
|
-
const de_CollaborationPrivacyBudgetTemplateSummary = (output, context) => {
|
|
4012
|
-
return (0, smithy_client_1.take)(output, {
|
|
4013
|
-
arn: smithy_client_1.expectString,
|
|
4014
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4015
|
-
collaborationId: smithy_client_1.expectString,
|
|
4016
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4017
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
4018
|
-
id: smithy_client_1.expectString,
|
|
4019
|
-
privacyBudgetType: smithy_client_1.expectString,
|
|
4020
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4021
|
-
});
|
|
4022
|
-
};
|
|
4023
|
-
const de_CollaborationPrivacyBudgetTemplateSummaryList = (output, context) => {
|
|
4024
|
-
const retVal = (output || [])
|
|
4025
|
-
.filter((e) => e != null)
|
|
4026
|
-
.map((entry) => {
|
|
4027
|
-
return de_CollaborationPrivacyBudgetTemplateSummary(entry, context);
|
|
4028
|
-
});
|
|
4029
|
-
return retVal;
|
|
4030
|
-
};
|
|
4031
|
-
const de_CollaborationSummary = (output, context) => {
|
|
4032
|
-
return (0, smithy_client_1.take)(output, {
|
|
4033
|
-
arn: smithy_client_1.expectString,
|
|
4034
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4035
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
4036
|
-
creatorDisplayName: smithy_client_1.expectString,
|
|
4037
|
-
id: smithy_client_1.expectString,
|
|
4038
|
-
memberStatus: smithy_client_1.expectString,
|
|
4039
|
-
membershipArn: smithy_client_1.expectString,
|
|
4040
|
-
membershipId: smithy_client_1.expectString,
|
|
4041
|
-
name: smithy_client_1.expectString,
|
|
4042
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4043
|
-
});
|
|
4044
|
-
};
|
|
4045
|
-
const de_CollaborationSummaryList = (output, context) => {
|
|
4046
|
-
const retVal = (output || [])
|
|
4047
|
-
.filter((e) => e != null)
|
|
4048
|
-
.map((entry) => {
|
|
4049
|
-
return de_CollaborationSummary(entry, context);
|
|
4050
|
-
});
|
|
4051
|
-
return retVal;
|
|
4052
|
-
};
|
|
4053
|
-
const de_ConfiguredAudienceModelAssociation = (output, context) => {
|
|
4054
|
-
return (0, smithy_client_1.take)(output, {
|
|
4055
|
-
arn: smithy_client_1.expectString,
|
|
4056
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4057
|
-
collaborationId: smithy_client_1.expectString,
|
|
4058
|
-
configuredAudienceModelArn: smithy_client_1.expectString,
|
|
4059
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4060
|
-
description: smithy_client_1.expectString,
|
|
4061
|
-
id: smithy_client_1.expectString,
|
|
4062
|
-
manageResourcePolicies: smithy_client_1.expectBoolean,
|
|
4063
|
-
membershipArn: smithy_client_1.expectString,
|
|
4064
|
-
membershipId: smithy_client_1.expectString,
|
|
4065
|
-
name: smithy_client_1.expectString,
|
|
4066
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4067
|
-
});
|
|
4068
|
-
};
|
|
4069
|
-
const de_ConfiguredAudienceModelAssociationSummary = (output, context) => {
|
|
4070
|
-
return (0, smithy_client_1.take)(output, {
|
|
4071
|
-
arn: smithy_client_1.expectString,
|
|
4072
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4073
|
-
collaborationId: smithy_client_1.expectString,
|
|
4074
|
-
configuredAudienceModelArn: smithy_client_1.expectString,
|
|
4075
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4076
|
-
description: smithy_client_1.expectString,
|
|
4077
|
-
id: smithy_client_1.expectString,
|
|
4078
|
-
membershipArn: smithy_client_1.expectString,
|
|
4079
|
-
membershipId: smithy_client_1.expectString,
|
|
4080
|
-
name: smithy_client_1.expectString,
|
|
4081
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4082
|
-
});
|
|
4083
|
-
};
|
|
4084
|
-
const de_ConfiguredAudienceModelAssociationSummaryList = (output, context) => {
|
|
4085
|
-
const retVal = (output || [])
|
|
4086
|
-
.filter((e) => e != null)
|
|
4087
|
-
.map((entry) => {
|
|
4088
|
-
return de_ConfiguredAudienceModelAssociationSummary(entry, context);
|
|
4089
|
-
});
|
|
4090
|
-
return retVal;
|
|
4091
|
-
};
|
|
4092
|
-
const de_ConfiguredTable = (output, context) => {
|
|
4093
|
-
return (0, smithy_client_1.take)(output, {
|
|
4094
|
-
allowedColumns: smithy_client_1._json,
|
|
4095
|
-
analysisMethod: smithy_client_1.expectString,
|
|
4096
|
-
analysisRuleTypes: smithy_client_1._json,
|
|
4097
|
-
arn: smithy_client_1.expectString,
|
|
4098
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4099
|
-
description: smithy_client_1.expectString,
|
|
4100
|
-
id: smithy_client_1.expectString,
|
|
4101
|
-
name: smithy_client_1.expectString,
|
|
4102
|
-
tableReference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
4103
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4104
|
-
});
|
|
4105
|
-
};
|
|
4106
|
-
const de_ConfiguredTableAnalysisRule = (output, context) => {
|
|
4107
|
-
return (0, smithy_client_1.take)(output, {
|
|
4108
|
-
configuredTableArn: smithy_client_1.expectString,
|
|
4109
|
-
configuredTableId: smithy_client_1.expectString,
|
|
4110
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4111
|
-
policy: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
4112
|
-
type: smithy_client_1.expectString,
|
|
4113
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4114
|
-
});
|
|
4115
|
-
};
|
|
4116
|
-
const de_ConfiguredTableAssociation = (output, context) => {
|
|
4117
|
-
return (0, smithy_client_1.take)(output, {
|
|
4118
|
-
arn: smithy_client_1.expectString,
|
|
4119
|
-
configuredTableArn: smithy_client_1.expectString,
|
|
4120
|
-
configuredTableId: smithy_client_1.expectString,
|
|
4121
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4122
|
-
description: smithy_client_1.expectString,
|
|
4123
|
-
id: smithy_client_1.expectString,
|
|
4124
|
-
membershipArn: smithy_client_1.expectString,
|
|
4125
|
-
membershipId: smithy_client_1.expectString,
|
|
4126
|
-
name: smithy_client_1.expectString,
|
|
4127
|
-
roleArn: smithy_client_1.expectString,
|
|
4128
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4129
|
-
});
|
|
4130
|
-
};
|
|
4131
|
-
const de_ConfiguredTableAssociationSummary = (output, context) => {
|
|
4132
|
-
return (0, smithy_client_1.take)(output, {
|
|
4133
|
-
arn: smithy_client_1.expectString,
|
|
4134
|
-
configuredTableId: smithy_client_1.expectString,
|
|
4135
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4136
|
-
id: smithy_client_1.expectString,
|
|
4137
|
-
membershipArn: smithy_client_1.expectString,
|
|
4138
|
-
membershipId: smithy_client_1.expectString,
|
|
4139
|
-
name: smithy_client_1.expectString,
|
|
4140
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4141
|
-
});
|
|
4142
|
-
};
|
|
4143
|
-
const de_ConfiguredTableAssociationSummaryList = (output, context) => {
|
|
4144
|
-
const retVal = (output || [])
|
|
4145
|
-
.filter((e) => e != null)
|
|
4146
|
-
.map((entry) => {
|
|
4147
|
-
return de_ConfiguredTableAssociationSummary(entry, context);
|
|
4148
|
-
});
|
|
4149
|
-
return retVal;
|
|
4150
|
-
};
|
|
4151
|
-
const de_ConfiguredTableSummary = (output, context) => {
|
|
4152
|
-
return (0, smithy_client_1.take)(output, {
|
|
4153
|
-
analysisMethod: smithy_client_1.expectString,
|
|
4154
|
-
analysisRuleTypes: smithy_client_1._json,
|
|
4155
|
-
arn: smithy_client_1.expectString,
|
|
4156
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4157
|
-
id: smithy_client_1.expectString,
|
|
4158
|
-
name: smithy_client_1.expectString,
|
|
4159
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4160
|
-
});
|
|
4161
|
-
};
|
|
4162
|
-
const de_ConfiguredTableSummaryList = (output, context) => {
|
|
4163
|
-
const retVal = (output || [])
|
|
4164
|
-
.filter((e) => e != null)
|
|
4165
|
-
.map((entry) => {
|
|
4166
|
-
return de_ConfiguredTableSummary(entry, context);
|
|
4167
|
-
});
|
|
4168
|
-
return retVal;
|
|
4169
|
-
};
|
|
4170
|
-
const de_DifferentialPrivacyParameters = (output, context) => {
|
|
4171
|
-
return (0, smithy_client_1.take)(output, {
|
|
4172
|
-
sensitivityParameters: (_) => de_DifferentialPrivacySensitivityParametersList(_, context),
|
|
4173
|
-
});
|
|
4174
|
-
};
|
|
4175
|
-
const de_DifferentialPrivacySensitivityParameters = (output, context) => {
|
|
4176
|
-
return (0, smithy_client_1.take)(output, {
|
|
4177
|
-
aggregationExpression: smithy_client_1.expectString,
|
|
4178
|
-
aggregationType: smithy_client_1.expectString,
|
|
4179
|
-
maxColumnValue: smithy_client_1.limitedParseFloat32,
|
|
4180
|
-
minColumnValue: smithy_client_1.limitedParseFloat32,
|
|
4181
|
-
userContributionLimit: smithy_client_1.expectInt32,
|
|
4182
|
-
});
|
|
4183
|
-
};
|
|
4184
|
-
const de_DifferentialPrivacySensitivityParametersList = (output, context) => {
|
|
4185
|
-
const retVal = (output || [])
|
|
4186
|
-
.filter((e) => e != null)
|
|
4187
|
-
.map((entry) => {
|
|
4188
|
-
return de_DifferentialPrivacySensitivityParameters(entry, context);
|
|
4189
|
-
});
|
|
4190
|
-
return retVal;
|
|
4191
|
-
};
|
|
4192
|
-
const de_Membership = (output, context) => {
|
|
4193
|
-
return (0, smithy_client_1.take)(output, {
|
|
4194
|
-
arn: smithy_client_1.expectString,
|
|
4195
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4196
|
-
collaborationCreatorAccountId: smithy_client_1.expectString,
|
|
4197
|
-
collaborationCreatorDisplayName: smithy_client_1.expectString,
|
|
4198
|
-
collaborationId: smithy_client_1.expectString,
|
|
4199
|
-
collaborationName: smithy_client_1.expectString,
|
|
4200
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4201
|
-
defaultResultConfiguration: smithy_client_1._json,
|
|
4202
|
-
id: smithy_client_1.expectString,
|
|
4203
|
-
memberAbilities: smithy_client_1._json,
|
|
4204
|
-
paymentConfiguration: smithy_client_1._json,
|
|
4205
|
-
queryLogStatus: smithy_client_1.expectString,
|
|
4206
|
-
status: smithy_client_1.expectString,
|
|
4207
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4208
|
-
});
|
|
4209
|
-
};
|
|
4210
|
-
const de_MembershipSummary = (output, context) => {
|
|
4211
|
-
return (0, smithy_client_1.take)(output, {
|
|
4212
|
-
arn: smithy_client_1.expectString,
|
|
4213
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4214
|
-
collaborationCreatorAccountId: smithy_client_1.expectString,
|
|
4215
|
-
collaborationCreatorDisplayName: smithy_client_1.expectString,
|
|
4216
|
-
collaborationId: smithy_client_1.expectString,
|
|
4217
|
-
collaborationName: smithy_client_1.expectString,
|
|
4218
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4219
|
-
id: smithy_client_1.expectString,
|
|
4220
|
-
memberAbilities: smithy_client_1._json,
|
|
4221
|
-
paymentConfiguration: smithy_client_1._json,
|
|
4222
|
-
status: smithy_client_1.expectString,
|
|
4223
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4224
|
-
});
|
|
4225
|
-
};
|
|
4226
|
-
const de_MembershipSummaryList = (output, context) => {
|
|
4227
|
-
const retVal = (output || [])
|
|
4228
|
-
.filter((e) => e != null)
|
|
4229
|
-
.map((entry) => {
|
|
4230
|
-
return de_MembershipSummary(entry, context);
|
|
4231
|
-
});
|
|
4232
|
-
return retVal;
|
|
4233
|
-
};
|
|
4234
|
-
const de_MemberSummary = (output, context) => {
|
|
4235
|
-
return (0, smithy_client_1.take)(output, {
|
|
4236
|
-
abilities: smithy_client_1._json,
|
|
4237
|
-
accountId: smithy_client_1.expectString,
|
|
4238
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4239
|
-
displayName: smithy_client_1.expectString,
|
|
4240
|
-
membershipArn: smithy_client_1.expectString,
|
|
4241
|
-
membershipId: smithy_client_1.expectString,
|
|
4242
|
-
paymentConfiguration: smithy_client_1._json,
|
|
4243
|
-
status: smithy_client_1.expectString,
|
|
4244
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4245
|
-
});
|
|
4246
|
-
};
|
|
4247
|
-
const de_MemberSummaryList = (output, context) => {
|
|
4248
|
-
const retVal = (output || [])
|
|
4249
|
-
.filter((e) => e != null)
|
|
4250
|
-
.map((entry) => {
|
|
4251
|
-
return de_MemberSummary(entry, context);
|
|
4252
|
-
});
|
|
4253
|
-
return retVal;
|
|
4254
|
-
};
|
|
4255
|
-
const de_PrivacyBudgetSummary = (output, context) => {
|
|
4256
|
-
return (0, smithy_client_1.take)(output, {
|
|
4257
|
-
budget: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
4258
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4259
|
-
collaborationId: smithy_client_1.expectString,
|
|
4260
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4261
|
-
id: smithy_client_1.expectString,
|
|
4262
|
-
membershipArn: smithy_client_1.expectString,
|
|
4263
|
-
membershipId: smithy_client_1.expectString,
|
|
4264
|
-
privacyBudgetTemplateArn: smithy_client_1.expectString,
|
|
4265
|
-
privacyBudgetTemplateId: smithy_client_1.expectString,
|
|
4266
|
-
type: smithy_client_1.expectString,
|
|
4267
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4268
|
-
});
|
|
4269
|
-
};
|
|
4270
|
-
const de_PrivacyBudgetSummaryList = (output, context) => {
|
|
4271
|
-
const retVal = (output || [])
|
|
4272
|
-
.filter((e) => e != null)
|
|
4273
|
-
.map((entry) => {
|
|
4274
|
-
return de_PrivacyBudgetSummary(entry, context);
|
|
4275
|
-
});
|
|
4276
|
-
return retVal;
|
|
4277
|
-
};
|
|
4278
|
-
const de_PrivacyBudgetTemplate = (output, context) => {
|
|
4279
|
-
return (0, smithy_client_1.take)(output, {
|
|
4280
|
-
arn: smithy_client_1.expectString,
|
|
4281
|
-
autoRefresh: smithy_client_1.expectString,
|
|
4282
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4283
|
-
collaborationId: smithy_client_1.expectString,
|
|
4284
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4285
|
-
id: smithy_client_1.expectString,
|
|
4286
|
-
membershipArn: smithy_client_1.expectString,
|
|
4287
|
-
membershipId: smithy_client_1.expectString,
|
|
4288
|
-
parameters: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
4289
|
-
privacyBudgetType: smithy_client_1.expectString,
|
|
4290
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4291
|
-
});
|
|
4292
|
-
};
|
|
4293
|
-
const de_PrivacyBudgetTemplateSummary = (output, context) => {
|
|
4294
|
-
return (0, smithy_client_1.take)(output, {
|
|
4295
|
-
arn: smithy_client_1.expectString,
|
|
4296
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4297
|
-
collaborationId: smithy_client_1.expectString,
|
|
4298
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4299
|
-
id: smithy_client_1.expectString,
|
|
4300
|
-
membershipArn: smithy_client_1.expectString,
|
|
4301
|
-
membershipId: smithy_client_1.expectString,
|
|
4302
|
-
privacyBudgetType: smithy_client_1.expectString,
|
|
4303
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4304
|
-
});
|
|
4305
|
-
};
|
|
4306
|
-
const de_PrivacyBudgetTemplateSummaryList = (output, context) => {
|
|
4307
|
-
const retVal = (output || [])
|
|
4308
|
-
.filter((e) => e != null)
|
|
4309
|
-
.map((entry) => {
|
|
4310
|
-
return de_PrivacyBudgetTemplateSummary(entry, context);
|
|
4311
|
-
});
|
|
4312
|
-
return retVal;
|
|
4313
|
-
};
|
|
4314
|
-
const de_ProtectedQuery = (output, context) => {
|
|
4315
|
-
return (0, smithy_client_1.take)(output, {
|
|
4316
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4317
|
-
differentialPrivacy: (_) => de_DifferentialPrivacyParameters(_, context),
|
|
4318
|
-
error: smithy_client_1._json,
|
|
4319
|
-
id: smithy_client_1.expectString,
|
|
4320
|
-
membershipArn: smithy_client_1.expectString,
|
|
4321
|
-
membershipId: smithy_client_1.expectString,
|
|
4322
|
-
result: smithy_client_1._json,
|
|
4323
|
-
resultConfiguration: smithy_client_1._json,
|
|
4324
|
-
sqlParameters: smithy_client_1._json,
|
|
4325
|
-
statistics: smithy_client_1._json,
|
|
4326
|
-
status: smithy_client_1.expectString,
|
|
4327
|
-
});
|
|
4328
|
-
};
|
|
4329
|
-
const de_ProtectedQuerySummary = (output, context) => {
|
|
4330
|
-
return (0, smithy_client_1.take)(output, {
|
|
4331
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4332
|
-
id: smithy_client_1.expectString,
|
|
4333
|
-
membershipArn: smithy_client_1.expectString,
|
|
4334
|
-
membershipId: smithy_client_1.expectString,
|
|
4335
|
-
status: smithy_client_1.expectString,
|
|
4336
|
-
});
|
|
4337
|
-
};
|
|
4338
|
-
const de_ProtectedQuerySummaryList = (output, context) => {
|
|
4339
|
-
const retVal = (output || [])
|
|
4340
|
-
.filter((e) => e != null)
|
|
4341
|
-
.map((entry) => {
|
|
4342
|
-
return de_ProtectedQuerySummary(entry, context);
|
|
4343
|
-
});
|
|
4344
|
-
return retVal;
|
|
4345
|
-
};
|
|
4346
|
-
const de_Schema = (output, context) => {
|
|
4347
|
-
return (0, smithy_client_1.take)(output, {
|
|
4348
|
-
analysisMethod: smithy_client_1.expectString,
|
|
4349
|
-
analysisRuleTypes: smithy_client_1._json,
|
|
4350
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4351
|
-
collaborationId: smithy_client_1.expectString,
|
|
4352
|
-
columns: smithy_client_1._json,
|
|
4353
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4354
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
4355
|
-
description: smithy_client_1.expectString,
|
|
4356
|
-
name: smithy_client_1.expectString,
|
|
4357
|
-
partitionKeys: smithy_client_1._json,
|
|
4358
|
-
type: smithy_client_1.expectString,
|
|
4359
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4360
|
-
});
|
|
4361
|
-
};
|
|
4362
|
-
const de_SchemaList = (output, context) => {
|
|
4363
|
-
const retVal = (output || [])
|
|
4364
|
-
.filter((e) => e != null)
|
|
4365
|
-
.map((entry) => {
|
|
4366
|
-
return de_Schema(entry, context);
|
|
4367
|
-
});
|
|
4368
|
-
return retVal;
|
|
4369
|
-
};
|
|
4370
|
-
const de_SchemaSummary = (output, context) => {
|
|
4371
|
-
return (0, smithy_client_1.take)(output, {
|
|
4372
|
-
analysisMethod: smithy_client_1.expectString,
|
|
4373
|
-
analysisRuleTypes: smithy_client_1._json,
|
|
4374
|
-
collaborationArn: smithy_client_1.expectString,
|
|
4375
|
-
collaborationId: smithy_client_1.expectString,
|
|
4376
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4377
|
-
creatorAccountId: smithy_client_1.expectString,
|
|
4378
|
-
name: smithy_client_1.expectString,
|
|
4379
|
-
type: smithy_client_1.expectString,
|
|
4380
|
-
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4381
|
-
});
|
|
4382
|
-
};
|
|
4383
|
-
const de_SchemaSummaryList = (output, context) => {
|
|
4384
|
-
const retVal = (output || [])
|
|
4385
|
-
.filter((e) => e != null)
|
|
4386
|
-
.map((entry) => {
|
|
4387
|
-
return de_SchemaSummary(entry, context);
|
|
4388
|
-
});
|
|
4389
|
-
return retVal;
|
|
4390
|
-
};
|
|
4391
|
-
const deserializeMetadata = (output) => ({
|
|
4392
|
-
httpStatusCode: output.statusCode,
|
|
4393
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
4394
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4395
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
4396
|
-
});
|
|
4397
|
-
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4398
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
4399
|
-
value !== null &&
|
|
4400
|
-
value !== "" &&
|
|
4401
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4402
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
4403
|
-
const _mR = "maxResults";
|
|
4404
|
-
const _mS = "memberStatus";
|
|
4405
|
-
const _nT = "nextToken";
|
|
4406
|
-
const _pBT = "privacyBudgetType";
|
|
4407
|
-
const _s = "status";
|
|
4408
|
-
const _sT = "schemaType";
|
|
4409
|
-
const _tK = "tagKeys";
|
|
4410
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4411
|
-
if (encoded.length) {
|
|
4412
|
-
return JSON.parse(encoded);
|
|
4413
|
-
}
|
|
4414
|
-
return {};
|
|
4415
|
-
});
|
|
4416
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
4417
|
-
const value = await parseBody(errorBody, context);
|
|
4418
|
-
value.message = value.message ?? value.Message;
|
|
4419
|
-
return value;
|
|
4420
|
-
};
|
|
4421
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
4422
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
4423
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
4424
|
-
let cleanValue = rawValue;
|
|
4425
|
-
if (typeof cleanValue === "number") {
|
|
4426
|
-
cleanValue = cleanValue.toString();
|
|
4427
|
-
}
|
|
4428
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
4429
|
-
cleanValue = cleanValue.split(",")[0];
|
|
4430
|
-
}
|
|
4431
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
4432
|
-
cleanValue = cleanValue.split(":")[0];
|
|
4433
|
-
}
|
|
4434
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
4435
|
-
cleanValue = cleanValue.split("#")[1];
|
|
4436
|
-
}
|
|
4437
|
-
return cleanValue;
|
|
4438
|
-
};
|
|
4439
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
4440
|
-
if (headerKey !== undefined) {
|
|
4441
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
4442
|
-
}
|
|
4443
|
-
if (data.code !== undefined) {
|
|
4444
|
-
return sanitizeErrorCode(data.code);
|
|
4445
|
-
}
|
|
4446
|
-
if (data["__type"] !== undefined) {
|
|
4447
|
-
return sanitizeErrorCode(data["__type"]);
|
|
4448
|
-
}
|
|
4449
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|