@aws-sdk/client-cleanrooms 3.306.0 → 3.309.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/commands/BatchGetSchemaCommand.js +2 -2
- package/dist-cjs/commands/CreateCollaborationCommand.js +2 -2
- package/dist-cjs/commands/CreateConfiguredTableAnalysisRuleCommand.js +2 -2
- package/dist-cjs/commands/CreateConfiguredTableAssociationCommand.js +2 -2
- package/dist-cjs/commands/CreateConfiguredTableCommand.js +2 -2
- package/dist-cjs/commands/CreateMembershipCommand.js +2 -2
- package/dist-cjs/commands/DeleteCollaborationCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfiguredTableAnalysisRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfiguredTableAssociationCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfiguredTableCommand.js +2 -2
- package/dist-cjs/commands/DeleteMemberCommand.js +2 -2
- package/dist-cjs/commands/DeleteMembershipCommand.js +2 -2
- package/dist-cjs/commands/GetCollaborationCommand.js +2 -2
- package/dist-cjs/commands/GetConfiguredTableAnalysisRuleCommand.js +2 -2
- package/dist-cjs/commands/GetConfiguredTableAssociationCommand.js +2 -2
- package/dist-cjs/commands/GetConfiguredTableCommand.js +2 -2
- package/dist-cjs/commands/GetMembershipCommand.js +2 -2
- package/dist-cjs/commands/GetProtectedQueryCommand.js +2 -2
- package/dist-cjs/commands/GetSchemaAnalysisRuleCommand.js +2 -2
- package/dist-cjs/commands/GetSchemaCommand.js +2 -2
- package/dist-cjs/commands/ListCollaborationsCommand.js +2 -2
- package/dist-cjs/commands/ListConfiguredTableAssociationsCommand.js +2 -2
- package/dist-cjs/commands/ListConfiguredTablesCommand.js +2 -2
- package/dist-cjs/commands/ListMembersCommand.js +2 -2
- package/dist-cjs/commands/ListMembershipsCommand.js +2 -2
- package/dist-cjs/commands/ListProtectedQueriesCommand.js +2 -2
- package/dist-cjs/commands/ListSchemasCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/StartProtectedQueryCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateCollaborationCommand.js +2 -2
- package/dist-cjs/commands/UpdateConfiguredTableAnalysisRuleCommand.js +2 -2
- package/dist-cjs/commands/UpdateConfiguredTableAssociationCommand.js +2 -2
- package/dist-cjs/commands/UpdateConfiguredTableCommand.js +2 -2
- package/dist-cjs/commands/UpdateMembershipCommand.js +2 -2
- package/dist-cjs/commands/UpdateProtectedQueryCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +617 -673
- package/dist-es/commands/BatchGetSchemaCommand.js +3 -3
- package/dist-es/commands/CreateCollaborationCommand.js +3 -3
- package/dist-es/commands/CreateConfiguredTableAnalysisRuleCommand.js +3 -3
- package/dist-es/commands/CreateConfiguredTableAssociationCommand.js +3 -3
- package/dist-es/commands/CreateConfiguredTableCommand.js +3 -3
- package/dist-es/commands/CreateMembershipCommand.js +3 -3
- package/dist-es/commands/DeleteCollaborationCommand.js +3 -3
- package/dist-es/commands/DeleteConfiguredTableAnalysisRuleCommand.js +3 -3
- package/dist-es/commands/DeleteConfiguredTableAssociationCommand.js +3 -3
- package/dist-es/commands/DeleteConfiguredTableCommand.js +3 -3
- package/dist-es/commands/DeleteMemberCommand.js +3 -3
- package/dist-es/commands/DeleteMembershipCommand.js +3 -3
- package/dist-es/commands/GetCollaborationCommand.js +3 -3
- package/dist-es/commands/GetConfiguredTableAnalysisRuleCommand.js +3 -3
- package/dist-es/commands/GetConfiguredTableAssociationCommand.js +3 -3
- package/dist-es/commands/GetConfiguredTableCommand.js +3 -3
- package/dist-es/commands/GetMembershipCommand.js +3 -3
- package/dist-es/commands/GetProtectedQueryCommand.js +3 -3
- package/dist-es/commands/GetSchemaAnalysisRuleCommand.js +3 -3
- package/dist-es/commands/GetSchemaCommand.js +3 -3
- package/dist-es/commands/ListCollaborationsCommand.js +3 -3
- package/dist-es/commands/ListConfiguredTableAssociationsCommand.js +3 -3
- package/dist-es/commands/ListConfiguredTablesCommand.js +3 -3
- package/dist-es/commands/ListMembersCommand.js +3 -3
- package/dist-es/commands/ListMembershipsCommand.js +3 -3
- package/dist-es/commands/ListProtectedQueriesCommand.js +3 -3
- package/dist-es/commands/ListSchemasCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/StartProtectedQueryCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateCollaborationCommand.js +3 -3
- package/dist-es/commands/UpdateConfiguredTableAnalysisRuleCommand.js +3 -3
- package/dist-es/commands/UpdateConfiguredTableAssociationCommand.js +3 -3
- package/dist-es/commands/UpdateConfiguredTableCommand.js +3 -3
- package/dist-es/commands/UpdateMembershipCommand.js +3 -3
- package/dist-es/commands/UpdateProtectedQueryCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +541 -597
- package/dist-types/protocols/Aws_restJson1.d.ts +296 -74
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +74 -74
- package/package.json +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_GetCollaborationCommand = exports.de_DeleteMembershipCommand = exports.de_DeleteMemberCommand = exports.de_DeleteConfiguredTableAssociationCommand = exports.de_DeleteConfiguredTableAnalysisRuleCommand = exports.de_DeleteConfiguredTableCommand = exports.de_DeleteCollaborationCommand = exports.de_CreateMembershipCommand = exports.de_CreateConfiguredTableAssociationCommand = exports.de_CreateConfiguredTableAnalysisRuleCommand = exports.de_CreateConfiguredTableCommand = exports.de_CreateCollaborationCommand = exports.de_BatchGetSchemaCommand = exports.se_UpdateProtectedQueryCommand = exports.se_UpdateMembershipCommand = exports.se_UpdateConfiguredTableAssociationCommand = exports.se_UpdateConfiguredTableAnalysisRuleCommand = exports.se_UpdateConfiguredTableCommand = exports.se_UpdateCollaborationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartProtectedQueryCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSchemasCommand = exports.se_ListProtectedQueriesCommand = exports.se_ListMembershipsCommand = exports.se_ListMembersCommand = exports.se_ListConfiguredTablesCommand = exports.se_ListConfiguredTableAssociationsCommand = exports.se_ListCollaborationsCommand = exports.se_GetSchemaAnalysisRuleCommand = exports.se_GetSchemaCommand = exports.se_GetProtectedQueryCommand = exports.se_GetMembershipCommand = exports.se_GetConfiguredTableAssociationCommand = exports.se_GetConfiguredTableAnalysisRuleCommand = exports.se_GetConfiguredTableCommand = exports.se_GetCollaborationCommand = exports.se_DeleteMembershipCommand = exports.se_DeleteMemberCommand = exports.se_DeleteConfiguredTableAssociationCommand = exports.se_DeleteConfiguredTableAnalysisRuleCommand = exports.se_DeleteConfiguredTableCommand = exports.se_DeleteCollaborationCommand = exports.se_CreateMembershipCommand = exports.se_CreateConfiguredTableAssociationCommand = exports.se_CreateConfiguredTableAnalysisRuleCommand = exports.se_CreateConfiguredTableCommand = exports.se_CreateCollaborationCommand = exports.se_BatchGetSchemaCommand = void 0;
|
|
4
|
+
exports.de_UpdateProtectedQueryCommand = exports.de_UpdateMembershipCommand = exports.de_UpdateConfiguredTableAssociationCommand = exports.de_UpdateConfiguredTableAnalysisRuleCommand = exports.de_UpdateConfiguredTableCommand = exports.de_UpdateCollaborationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartProtectedQueryCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSchemasCommand = exports.de_ListProtectedQueriesCommand = exports.de_ListMembershipsCommand = exports.de_ListMembersCommand = exports.de_ListConfiguredTablesCommand = exports.de_ListConfiguredTableAssociationsCommand = exports.de_ListCollaborationsCommand = exports.de_GetSchemaAnalysisRuleCommand = exports.de_GetSchemaCommand = exports.de_GetProtectedQueryCommand = exports.de_GetMembershipCommand = exports.de_GetConfiguredTableAssociationCommand = exports.de_GetConfiguredTableAnalysisRuleCommand = exports.de_GetConfiguredTableCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const CleanRoomsServiceException_1 = require("../models/CleanRoomsServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const se_BatchGetSchemaCommand = async (input, context) => {
|
|
10
10
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
@@ -16,7 +16,7 @@ const serializeAws_restJson1BatchGetSchemaCommand = async (input, context) => {
|
|
|
16
16
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify({
|
|
19
|
-
...(input.names != null && { names:
|
|
19
|
+
...(input.names != null && { names: se_TableAliasList(input.names, context) }),
|
|
20
20
|
});
|
|
21
21
|
return new protocol_http_1.HttpRequest({
|
|
22
22
|
protocol,
|
|
@@ -28,8 +28,8 @@ const serializeAws_restJson1BatchGetSchemaCommand = async (input, context) => {
|
|
|
28
28
|
body,
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
exports.
|
|
32
|
-
const
|
|
31
|
+
exports.se_BatchGetSchemaCommand = se_BatchGetSchemaCommand;
|
|
32
|
+
const se_CreateCollaborationCommand = async (input, context) => {
|
|
33
33
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
34
34
|
const headers = {
|
|
35
35
|
"content-type": "application/json",
|
|
@@ -39,16 +39,16 @@ const serializeAws_restJson1CreateCollaborationCommand = async (input, context)
|
|
|
39
39
|
body = JSON.stringify({
|
|
40
40
|
...(input.creatorDisplayName != null && { creatorDisplayName: input.creatorDisplayName }),
|
|
41
41
|
...(input.creatorMemberAbilities != null && {
|
|
42
|
-
creatorMemberAbilities:
|
|
42
|
+
creatorMemberAbilities: se_MemberAbilities(input.creatorMemberAbilities, context),
|
|
43
43
|
}),
|
|
44
44
|
...(input.dataEncryptionMetadata != null && {
|
|
45
|
-
dataEncryptionMetadata:
|
|
45
|
+
dataEncryptionMetadata: se_DataEncryptionMetadata(input.dataEncryptionMetadata, context),
|
|
46
46
|
}),
|
|
47
47
|
...(input.description != null && { description: input.description }),
|
|
48
|
-
...(input.members != null && { members:
|
|
48
|
+
...(input.members != null && { members: se_MemberList(input.members, context) }),
|
|
49
49
|
...(input.name != null && { name: input.name }),
|
|
50
50
|
...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
|
|
51
|
-
...(input.tags != null && { tags:
|
|
51
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
52
52
|
});
|
|
53
53
|
return new protocol_http_1.HttpRequest({
|
|
54
54
|
protocol,
|
|
@@ -60,8 +60,8 @@ const serializeAws_restJson1CreateCollaborationCommand = async (input, context)
|
|
|
60
60
|
body,
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
|
-
exports.
|
|
64
|
-
const
|
|
63
|
+
exports.se_CreateCollaborationCommand = se_CreateCollaborationCommand;
|
|
64
|
+
const se_CreateConfiguredTableCommand = async (input, context) => {
|
|
65
65
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
66
66
|
const headers = {
|
|
67
67
|
"content-type": "application/json",
|
|
@@ -69,16 +69,12 @@ const serializeAws_restJson1CreateConfiguredTableCommand = async (input, context
|
|
|
69
69
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuredTables";
|
|
70
70
|
let body;
|
|
71
71
|
body = JSON.stringify({
|
|
72
|
-
...(input.allowedColumns != null && {
|
|
73
|
-
allowedColumns: serializeAws_restJson1AllowedColumnList(input.allowedColumns, context),
|
|
74
|
-
}),
|
|
72
|
+
...(input.allowedColumns != null && { allowedColumns: se_AllowedColumnList(input.allowedColumns, context) }),
|
|
75
73
|
...(input.analysisMethod != null && { analysisMethod: input.analysisMethod }),
|
|
76
74
|
...(input.description != null && { description: input.description }),
|
|
77
75
|
...(input.name != null && { name: input.name }),
|
|
78
|
-
...(input.tableReference != null && {
|
|
79
|
-
|
|
80
|
-
}),
|
|
81
|
-
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
76
|
+
...(input.tableReference != null && { tableReference: se_TableReference(input.tableReference, context) }),
|
|
77
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
82
78
|
});
|
|
83
79
|
return new protocol_http_1.HttpRequest({
|
|
84
80
|
protocol,
|
|
@@ -90,8 +86,8 @@ const serializeAws_restJson1CreateConfiguredTableCommand = async (input, context
|
|
|
90
86
|
body,
|
|
91
87
|
});
|
|
92
88
|
};
|
|
93
|
-
exports.
|
|
94
|
-
const
|
|
89
|
+
exports.se_CreateConfiguredTableCommand = se_CreateConfiguredTableCommand;
|
|
90
|
+
const se_CreateConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
95
91
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
96
92
|
const headers = {
|
|
97
93
|
"content-type": "application/json",
|
|
@@ -102,7 +98,7 @@ const serializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand = async (in
|
|
|
102
98
|
let body;
|
|
103
99
|
body = JSON.stringify({
|
|
104
100
|
...(input.analysisRulePolicy != null && {
|
|
105
|
-
analysisRulePolicy:
|
|
101
|
+
analysisRulePolicy: se_ConfiguredTableAnalysisRulePolicy(input.analysisRulePolicy, context),
|
|
106
102
|
}),
|
|
107
103
|
...(input.analysisRuleType != null && { analysisRuleType: input.analysisRuleType }),
|
|
108
104
|
});
|
|
@@ -116,8 +112,8 @@ const serializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand = async (in
|
|
|
116
112
|
body,
|
|
117
113
|
});
|
|
118
114
|
};
|
|
119
|
-
exports.
|
|
120
|
-
const
|
|
115
|
+
exports.se_CreateConfiguredTableAnalysisRuleCommand = se_CreateConfiguredTableAnalysisRuleCommand;
|
|
116
|
+
const se_CreateConfiguredTableAssociationCommand = async (input, context) => {
|
|
121
117
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
122
118
|
const headers = {
|
|
123
119
|
"content-type": "application/json",
|
|
@@ -131,7 +127,7 @@ const serializeAws_restJson1CreateConfiguredTableAssociationCommand = async (inp
|
|
|
131
127
|
...(input.description != null && { description: input.description }),
|
|
132
128
|
...(input.name != null && { name: input.name }),
|
|
133
129
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
134
|
-
...(input.tags != null && { tags:
|
|
130
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
135
131
|
});
|
|
136
132
|
return new protocol_http_1.HttpRequest({
|
|
137
133
|
protocol,
|
|
@@ -143,8 +139,8 @@ const serializeAws_restJson1CreateConfiguredTableAssociationCommand = async (inp
|
|
|
143
139
|
body,
|
|
144
140
|
});
|
|
145
141
|
};
|
|
146
|
-
exports.
|
|
147
|
-
const
|
|
142
|
+
exports.se_CreateConfiguredTableAssociationCommand = se_CreateConfiguredTableAssociationCommand;
|
|
143
|
+
const se_CreateMembershipCommand = async (input, context) => {
|
|
148
144
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
149
145
|
const headers = {
|
|
150
146
|
"content-type": "application/json",
|
|
@@ -154,7 +150,7 @@ const serializeAws_restJson1CreateMembershipCommand = async (input, context) =>
|
|
|
154
150
|
body = JSON.stringify({
|
|
155
151
|
...(input.collaborationIdentifier != null && { collaborationIdentifier: input.collaborationIdentifier }),
|
|
156
152
|
...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
|
|
157
|
-
...(input.tags != null && { tags:
|
|
153
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
158
154
|
});
|
|
159
155
|
return new protocol_http_1.HttpRequest({
|
|
160
156
|
protocol,
|
|
@@ -166,8 +162,8 @@ const serializeAws_restJson1CreateMembershipCommand = async (input, context) =>
|
|
|
166
162
|
body,
|
|
167
163
|
});
|
|
168
164
|
};
|
|
169
|
-
exports.
|
|
170
|
-
const
|
|
165
|
+
exports.se_CreateMembershipCommand = se_CreateMembershipCommand;
|
|
166
|
+
const se_DeleteCollaborationCommand = async (input, context) => {
|
|
171
167
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
172
168
|
const headers = {};
|
|
173
169
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations/{collaborationIdentifier}";
|
|
@@ -183,8 +179,8 @@ const serializeAws_restJson1DeleteCollaborationCommand = async (input, context)
|
|
|
183
179
|
body,
|
|
184
180
|
});
|
|
185
181
|
};
|
|
186
|
-
exports.
|
|
187
|
-
const
|
|
182
|
+
exports.se_DeleteCollaborationCommand = se_DeleteCollaborationCommand;
|
|
183
|
+
const se_DeleteConfiguredTableCommand = async (input, context) => {
|
|
188
184
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
189
185
|
const headers = {};
|
|
190
186
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -201,8 +197,8 @@ const serializeAws_restJson1DeleteConfiguredTableCommand = async (input, context
|
|
|
201
197
|
body,
|
|
202
198
|
});
|
|
203
199
|
};
|
|
204
|
-
exports.
|
|
205
|
-
const
|
|
200
|
+
exports.se_DeleteConfiguredTableCommand = se_DeleteConfiguredTableCommand;
|
|
201
|
+
const se_DeleteConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
206
202
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
207
203
|
const headers = {};
|
|
208
204
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -220,8 +216,8 @@ const serializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand = async (in
|
|
|
220
216
|
body,
|
|
221
217
|
});
|
|
222
218
|
};
|
|
223
|
-
exports.
|
|
224
|
-
const
|
|
219
|
+
exports.se_DeleteConfiguredTableAnalysisRuleCommand = se_DeleteConfiguredTableAnalysisRuleCommand;
|
|
220
|
+
const se_DeleteConfiguredTableAssociationCommand = async (input, context) => {
|
|
225
221
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
226
222
|
const headers = {};
|
|
227
223
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -239,8 +235,8 @@ const serializeAws_restJson1DeleteConfiguredTableAssociationCommand = async (inp
|
|
|
239
235
|
body,
|
|
240
236
|
});
|
|
241
237
|
};
|
|
242
|
-
exports.
|
|
243
|
-
const
|
|
238
|
+
exports.se_DeleteConfiguredTableAssociationCommand = se_DeleteConfiguredTableAssociationCommand;
|
|
239
|
+
const se_DeleteMemberCommand = async (input, context) => {
|
|
244
240
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
245
241
|
const headers = {};
|
|
246
242
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -258,8 +254,8 @@ const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
|
|
|
258
254
|
body,
|
|
259
255
|
});
|
|
260
256
|
};
|
|
261
|
-
exports.
|
|
262
|
-
const
|
|
257
|
+
exports.se_DeleteMemberCommand = se_DeleteMemberCommand;
|
|
258
|
+
const se_DeleteMembershipCommand = async (input, context) => {
|
|
263
259
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
264
260
|
const headers = {};
|
|
265
261
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships/{membershipIdentifier}";
|
|
@@ -275,8 +271,8 @@ const serializeAws_restJson1DeleteMembershipCommand = async (input, context) =>
|
|
|
275
271
|
body,
|
|
276
272
|
});
|
|
277
273
|
};
|
|
278
|
-
exports.
|
|
279
|
-
const
|
|
274
|
+
exports.se_DeleteMembershipCommand = se_DeleteMembershipCommand;
|
|
275
|
+
const se_GetCollaborationCommand = async (input, context) => {
|
|
280
276
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
281
277
|
const headers = {};
|
|
282
278
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations/{collaborationIdentifier}";
|
|
@@ -292,8 +288,8 @@ const serializeAws_restJson1GetCollaborationCommand = async (input, context) =>
|
|
|
292
288
|
body,
|
|
293
289
|
});
|
|
294
290
|
};
|
|
295
|
-
exports.
|
|
296
|
-
const
|
|
291
|
+
exports.se_GetCollaborationCommand = se_GetCollaborationCommand;
|
|
292
|
+
const se_GetConfiguredTableCommand = async (input, context) => {
|
|
297
293
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
298
294
|
const headers = {};
|
|
299
295
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -310,8 +306,8 @@ const serializeAws_restJson1GetConfiguredTableCommand = async (input, context) =
|
|
|
310
306
|
body,
|
|
311
307
|
});
|
|
312
308
|
};
|
|
313
|
-
exports.
|
|
314
|
-
const
|
|
309
|
+
exports.se_GetConfiguredTableCommand = se_GetConfiguredTableCommand;
|
|
310
|
+
const se_GetConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
315
311
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
316
312
|
const headers = {};
|
|
317
313
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -329,8 +325,8 @@ const serializeAws_restJson1GetConfiguredTableAnalysisRuleCommand = async (input
|
|
|
329
325
|
body,
|
|
330
326
|
});
|
|
331
327
|
};
|
|
332
|
-
exports.
|
|
333
|
-
const
|
|
328
|
+
exports.se_GetConfiguredTableAnalysisRuleCommand = se_GetConfiguredTableAnalysisRuleCommand;
|
|
329
|
+
const se_GetConfiguredTableAssociationCommand = async (input, context) => {
|
|
334
330
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
335
331
|
const headers = {};
|
|
336
332
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -348,8 +344,8 @@ const serializeAws_restJson1GetConfiguredTableAssociationCommand = async (input,
|
|
|
348
344
|
body,
|
|
349
345
|
});
|
|
350
346
|
};
|
|
351
|
-
exports.
|
|
352
|
-
const
|
|
347
|
+
exports.se_GetConfiguredTableAssociationCommand = se_GetConfiguredTableAssociationCommand;
|
|
348
|
+
const se_GetMembershipCommand = async (input, context) => {
|
|
353
349
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
354
350
|
const headers = {};
|
|
355
351
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships/{membershipIdentifier}";
|
|
@@ -365,8 +361,8 @@ const serializeAws_restJson1GetMembershipCommand = async (input, context) => {
|
|
|
365
361
|
body,
|
|
366
362
|
});
|
|
367
363
|
};
|
|
368
|
-
exports.
|
|
369
|
-
const
|
|
364
|
+
exports.se_GetMembershipCommand = se_GetMembershipCommand;
|
|
365
|
+
const se_GetProtectedQueryCommand = async (input, context) => {
|
|
370
366
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
371
367
|
const headers = {};
|
|
372
368
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -384,8 +380,8 @@ const serializeAws_restJson1GetProtectedQueryCommand = async (input, context) =>
|
|
|
384
380
|
body,
|
|
385
381
|
});
|
|
386
382
|
};
|
|
387
|
-
exports.
|
|
388
|
-
const
|
|
383
|
+
exports.se_GetProtectedQueryCommand = se_GetProtectedQueryCommand;
|
|
384
|
+
const se_GetSchemaCommand = async (input, context) => {
|
|
389
385
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
390
386
|
const headers = {};
|
|
391
387
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -403,8 +399,8 @@ const serializeAws_restJson1GetSchemaCommand = async (input, context) => {
|
|
|
403
399
|
body,
|
|
404
400
|
});
|
|
405
401
|
};
|
|
406
|
-
exports.
|
|
407
|
-
const
|
|
402
|
+
exports.se_GetSchemaCommand = se_GetSchemaCommand;
|
|
403
|
+
const se_GetSchemaAnalysisRuleCommand = async (input, context) => {
|
|
408
404
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
409
405
|
const headers = {};
|
|
410
406
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -423,8 +419,8 @@ const serializeAws_restJson1GetSchemaAnalysisRuleCommand = async (input, context
|
|
|
423
419
|
body,
|
|
424
420
|
});
|
|
425
421
|
};
|
|
426
|
-
exports.
|
|
427
|
-
const
|
|
422
|
+
exports.se_GetSchemaAnalysisRuleCommand = se_GetSchemaAnalysisRuleCommand;
|
|
423
|
+
const se_ListCollaborationsCommand = async (input, context) => {
|
|
428
424
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
429
425
|
const headers = {};
|
|
430
426
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/collaborations";
|
|
@@ -445,8 +441,8 @@ const serializeAws_restJson1ListCollaborationsCommand = async (input, context) =
|
|
|
445
441
|
body,
|
|
446
442
|
});
|
|
447
443
|
};
|
|
448
|
-
exports.
|
|
449
|
-
const
|
|
444
|
+
exports.se_ListCollaborationsCommand = se_ListCollaborationsCommand;
|
|
445
|
+
const se_ListConfiguredTableAssociationsCommand = async (input, context) => {
|
|
450
446
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
451
447
|
const headers = {};
|
|
452
448
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -468,8 +464,8 @@ const serializeAws_restJson1ListConfiguredTableAssociationsCommand = async (inpu
|
|
|
468
464
|
body,
|
|
469
465
|
});
|
|
470
466
|
};
|
|
471
|
-
exports.
|
|
472
|
-
const
|
|
467
|
+
exports.se_ListConfiguredTableAssociationsCommand = se_ListConfiguredTableAssociationsCommand;
|
|
468
|
+
const se_ListConfiguredTablesCommand = async (input, context) => {
|
|
473
469
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
474
470
|
const headers = {};
|
|
475
471
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuredTables";
|
|
@@ -489,8 +485,8 @@ const serializeAws_restJson1ListConfiguredTablesCommand = async (input, context)
|
|
|
489
485
|
body,
|
|
490
486
|
});
|
|
491
487
|
};
|
|
492
|
-
exports.
|
|
493
|
-
const
|
|
488
|
+
exports.se_ListConfiguredTablesCommand = se_ListConfiguredTablesCommand;
|
|
489
|
+
const se_ListMembersCommand = async (input, context) => {
|
|
494
490
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
495
491
|
const headers = {};
|
|
496
492
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -512,8 +508,8 @@ const serializeAws_restJson1ListMembersCommand = async (input, context) => {
|
|
|
512
508
|
body,
|
|
513
509
|
});
|
|
514
510
|
};
|
|
515
|
-
exports.
|
|
516
|
-
const
|
|
511
|
+
exports.se_ListMembersCommand = se_ListMembersCommand;
|
|
512
|
+
const se_ListMembershipsCommand = async (input, context) => {
|
|
517
513
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
518
514
|
const headers = {};
|
|
519
515
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/memberships";
|
|
@@ -534,8 +530,8 @@ const serializeAws_restJson1ListMembershipsCommand = async (input, context) => {
|
|
|
534
530
|
body,
|
|
535
531
|
});
|
|
536
532
|
};
|
|
537
|
-
exports.
|
|
538
|
-
const
|
|
533
|
+
exports.se_ListMembershipsCommand = se_ListMembershipsCommand;
|
|
534
|
+
const se_ListProtectedQueriesCommand = async (input, context) => {
|
|
539
535
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
540
536
|
const headers = {};
|
|
541
537
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -558,8 +554,8 @@ const serializeAws_restJson1ListProtectedQueriesCommand = async (input, context)
|
|
|
558
554
|
body,
|
|
559
555
|
});
|
|
560
556
|
};
|
|
561
|
-
exports.
|
|
562
|
-
const
|
|
557
|
+
exports.se_ListProtectedQueriesCommand = se_ListProtectedQueriesCommand;
|
|
558
|
+
const se_ListSchemasCommand = async (input, context) => {
|
|
563
559
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
564
560
|
const headers = {};
|
|
565
561
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -582,8 +578,8 @@ const serializeAws_restJson1ListSchemasCommand = async (input, context) => {
|
|
|
582
578
|
body,
|
|
583
579
|
});
|
|
584
580
|
};
|
|
585
|
-
exports.
|
|
586
|
-
const
|
|
581
|
+
exports.se_ListSchemasCommand = se_ListSchemasCommand;
|
|
582
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
587
583
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
588
584
|
const headers = {};
|
|
589
585
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -599,8 +595,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
599
595
|
body,
|
|
600
596
|
});
|
|
601
597
|
};
|
|
602
|
-
exports.
|
|
603
|
-
const
|
|
598
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
599
|
+
const se_StartProtectedQueryCommand = async (input, context) => {
|
|
604
600
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
605
601
|
const headers = {
|
|
606
602
|
"content-type": "application/json",
|
|
@@ -611,11 +607,9 @@ const serializeAws_restJson1StartProtectedQueryCommand = async (input, context)
|
|
|
611
607
|
let body;
|
|
612
608
|
body = JSON.stringify({
|
|
613
609
|
...(input.resultConfiguration != null && {
|
|
614
|
-
resultConfiguration:
|
|
615
|
-
}),
|
|
616
|
-
...(input.sqlParameters != null && {
|
|
617
|
-
sqlParameters: serializeAws_restJson1ProtectedQuerySQLParameters(input.sqlParameters, context),
|
|
610
|
+
resultConfiguration: se_ProtectedQueryResultConfiguration(input.resultConfiguration, context),
|
|
618
611
|
}),
|
|
612
|
+
...(input.sqlParameters != null && { sqlParameters: se_ProtectedQuerySQLParameters(input.sqlParameters, context) }),
|
|
619
613
|
...(input.type != null && { type: input.type }),
|
|
620
614
|
});
|
|
621
615
|
return new protocol_http_1.HttpRequest({
|
|
@@ -628,8 +622,8 @@ const serializeAws_restJson1StartProtectedQueryCommand = async (input, context)
|
|
|
628
622
|
body,
|
|
629
623
|
});
|
|
630
624
|
};
|
|
631
|
-
exports.
|
|
632
|
-
const
|
|
625
|
+
exports.se_StartProtectedQueryCommand = se_StartProtectedQueryCommand;
|
|
626
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
633
627
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
634
628
|
const headers = {
|
|
635
629
|
"content-type": "application/json",
|
|
@@ -638,7 +632,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
638
632
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
639
633
|
let body;
|
|
640
634
|
body = JSON.stringify({
|
|
641
|
-
...(input.tags != null && { tags:
|
|
635
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
642
636
|
});
|
|
643
637
|
return new protocol_http_1.HttpRequest({
|
|
644
638
|
protocol,
|
|
@@ -650,8 +644,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
650
644
|
body,
|
|
651
645
|
});
|
|
652
646
|
};
|
|
653
|
-
exports.
|
|
654
|
-
const
|
|
647
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
648
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
655
649
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
656
650
|
const headers = {};
|
|
657
651
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -674,8 +668,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
674
668
|
body,
|
|
675
669
|
});
|
|
676
670
|
};
|
|
677
|
-
exports.
|
|
678
|
-
const
|
|
671
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
672
|
+
const se_UpdateCollaborationCommand = async (input, context) => {
|
|
679
673
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
680
674
|
const headers = {
|
|
681
675
|
"content-type": "application/json",
|
|
@@ -697,8 +691,8 @@ const serializeAws_restJson1UpdateCollaborationCommand = async (input, context)
|
|
|
697
691
|
body,
|
|
698
692
|
});
|
|
699
693
|
};
|
|
700
|
-
exports.
|
|
701
|
-
const
|
|
694
|
+
exports.se_UpdateCollaborationCommand = se_UpdateCollaborationCommand;
|
|
695
|
+
const se_UpdateConfiguredTableCommand = async (input, context) => {
|
|
702
696
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
703
697
|
const headers = {
|
|
704
698
|
"content-type": "application/json",
|
|
@@ -721,8 +715,8 @@ const serializeAws_restJson1UpdateConfiguredTableCommand = async (input, context
|
|
|
721
715
|
body,
|
|
722
716
|
});
|
|
723
717
|
};
|
|
724
|
-
exports.
|
|
725
|
-
const
|
|
718
|
+
exports.se_UpdateConfiguredTableCommand = se_UpdateConfiguredTableCommand;
|
|
719
|
+
const se_UpdateConfiguredTableAnalysisRuleCommand = async (input, context) => {
|
|
726
720
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
727
721
|
const headers = {
|
|
728
722
|
"content-type": "application/json",
|
|
@@ -734,7 +728,7 @@ const serializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand = async (in
|
|
|
734
728
|
let body;
|
|
735
729
|
body = JSON.stringify({
|
|
736
730
|
...(input.analysisRulePolicy != null && {
|
|
737
|
-
analysisRulePolicy:
|
|
731
|
+
analysisRulePolicy: se_ConfiguredTableAnalysisRulePolicy(input.analysisRulePolicy, context),
|
|
738
732
|
}),
|
|
739
733
|
});
|
|
740
734
|
return new protocol_http_1.HttpRequest({
|
|
@@ -747,8 +741,8 @@ const serializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand = async (in
|
|
|
747
741
|
body,
|
|
748
742
|
});
|
|
749
743
|
};
|
|
750
|
-
exports.
|
|
751
|
-
const
|
|
744
|
+
exports.se_UpdateConfiguredTableAnalysisRuleCommand = se_UpdateConfiguredTableAnalysisRuleCommand;
|
|
745
|
+
const se_UpdateConfiguredTableAssociationCommand = async (input, context) => {
|
|
752
746
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
753
747
|
const headers = {
|
|
754
748
|
"content-type": "application/json",
|
|
@@ -772,8 +766,8 @@ const serializeAws_restJson1UpdateConfiguredTableAssociationCommand = async (inp
|
|
|
772
766
|
body,
|
|
773
767
|
});
|
|
774
768
|
};
|
|
775
|
-
exports.
|
|
776
|
-
const
|
|
769
|
+
exports.se_UpdateConfiguredTableAssociationCommand = se_UpdateConfiguredTableAssociationCommand;
|
|
770
|
+
const se_UpdateMembershipCommand = async (input, context) => {
|
|
777
771
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
778
772
|
const headers = {
|
|
779
773
|
"content-type": "application/json",
|
|
@@ -794,8 +788,8 @@ const serializeAws_restJson1UpdateMembershipCommand = async (input, context) =>
|
|
|
794
788
|
body,
|
|
795
789
|
});
|
|
796
790
|
};
|
|
797
|
-
exports.
|
|
798
|
-
const
|
|
791
|
+
exports.se_UpdateMembershipCommand = se_UpdateMembershipCommand;
|
|
792
|
+
const se_UpdateProtectedQueryCommand = async (input, context) => {
|
|
799
793
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
800
794
|
const headers = {
|
|
801
795
|
"content-type": "application/json",
|
|
@@ -818,25 +812,25 @@ const serializeAws_restJson1UpdateProtectedQueryCommand = async (input, context)
|
|
|
818
812
|
body,
|
|
819
813
|
});
|
|
820
814
|
};
|
|
821
|
-
exports.
|
|
822
|
-
const
|
|
815
|
+
exports.se_UpdateProtectedQueryCommand = se_UpdateProtectedQueryCommand;
|
|
816
|
+
const de_BatchGetSchemaCommand = async (output, context) => {
|
|
823
817
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
824
|
-
return
|
|
818
|
+
return de_BatchGetSchemaCommandError(output, context);
|
|
825
819
|
}
|
|
826
820
|
const contents = map({
|
|
827
821
|
$metadata: deserializeMetadata(output),
|
|
828
822
|
});
|
|
829
823
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
830
824
|
if (data.errors != null) {
|
|
831
|
-
contents.errors =
|
|
825
|
+
contents.errors = de_BatchGetSchemaErrorList(data.errors, context);
|
|
832
826
|
}
|
|
833
827
|
if (data.schemas != null) {
|
|
834
|
-
contents.schemas =
|
|
828
|
+
contents.schemas = de_SchemaList(data.schemas, context);
|
|
835
829
|
}
|
|
836
830
|
return contents;
|
|
837
831
|
};
|
|
838
|
-
exports.
|
|
839
|
-
const
|
|
832
|
+
exports.de_BatchGetSchemaCommand = de_BatchGetSchemaCommand;
|
|
833
|
+
const de_BatchGetSchemaCommandError = async (output, context) => {
|
|
840
834
|
const parsedOutput = {
|
|
841
835
|
...output,
|
|
842
836
|
body: await parseErrorBody(output.body, context),
|
|
@@ -845,19 +839,19 @@ const deserializeAws_restJson1BatchGetSchemaCommandError = async (output, contex
|
|
|
845
839
|
switch (errorCode) {
|
|
846
840
|
case "AccessDeniedException":
|
|
847
841
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
848
|
-
throw await
|
|
842
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
849
843
|
case "InternalServerException":
|
|
850
844
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
851
|
-
throw await
|
|
845
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
852
846
|
case "ResourceNotFoundException":
|
|
853
847
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
854
|
-
throw await
|
|
848
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
855
849
|
case "ThrottlingException":
|
|
856
850
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
857
|
-
throw await
|
|
851
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
858
852
|
case "ValidationException":
|
|
859
853
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
860
|
-
throw await
|
|
854
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
861
855
|
default:
|
|
862
856
|
const parsedBody = parsedOutput.body;
|
|
863
857
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -868,21 +862,21 @@ const deserializeAws_restJson1BatchGetSchemaCommandError = async (output, contex
|
|
|
868
862
|
});
|
|
869
863
|
}
|
|
870
864
|
};
|
|
871
|
-
const
|
|
865
|
+
const de_CreateCollaborationCommand = async (output, context) => {
|
|
872
866
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
873
|
-
return
|
|
867
|
+
return de_CreateCollaborationCommandError(output, context);
|
|
874
868
|
}
|
|
875
869
|
const contents = map({
|
|
876
870
|
$metadata: deserializeMetadata(output),
|
|
877
871
|
});
|
|
878
872
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
879
873
|
if (data.collaboration != null) {
|
|
880
|
-
contents.collaboration =
|
|
874
|
+
contents.collaboration = de_Collaboration(data.collaboration, context);
|
|
881
875
|
}
|
|
882
876
|
return contents;
|
|
883
877
|
};
|
|
884
|
-
exports.
|
|
885
|
-
const
|
|
878
|
+
exports.de_CreateCollaborationCommand = de_CreateCollaborationCommand;
|
|
879
|
+
const de_CreateCollaborationCommandError = async (output, context) => {
|
|
886
880
|
const parsedOutput = {
|
|
887
881
|
...output,
|
|
888
882
|
body: await parseErrorBody(output.body, context),
|
|
@@ -891,19 +885,19 @@ const deserializeAws_restJson1CreateCollaborationCommandError = async (output, c
|
|
|
891
885
|
switch (errorCode) {
|
|
892
886
|
case "AccessDeniedException":
|
|
893
887
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
894
|
-
throw await
|
|
888
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
895
889
|
case "InternalServerException":
|
|
896
890
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
897
|
-
throw await
|
|
891
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
898
892
|
case "ServiceQuotaExceededException":
|
|
899
893
|
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
900
|
-
throw await
|
|
894
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
901
895
|
case "ThrottlingException":
|
|
902
896
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
903
|
-
throw await
|
|
897
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
904
898
|
case "ValidationException":
|
|
905
899
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
906
|
-
throw await
|
|
900
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
907
901
|
default:
|
|
908
902
|
const parsedBody = parsedOutput.body;
|
|
909
903
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -914,21 +908,21 @@ const deserializeAws_restJson1CreateCollaborationCommandError = async (output, c
|
|
|
914
908
|
});
|
|
915
909
|
}
|
|
916
910
|
};
|
|
917
|
-
const
|
|
911
|
+
const de_CreateConfiguredTableCommand = async (output, context) => {
|
|
918
912
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
919
|
-
return
|
|
913
|
+
return de_CreateConfiguredTableCommandError(output, context);
|
|
920
914
|
}
|
|
921
915
|
const contents = map({
|
|
922
916
|
$metadata: deserializeMetadata(output),
|
|
923
917
|
});
|
|
924
918
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
925
919
|
if (data.configuredTable != null) {
|
|
926
|
-
contents.configuredTable =
|
|
920
|
+
contents.configuredTable = de_ConfiguredTable(data.configuredTable, context);
|
|
927
921
|
}
|
|
928
922
|
return contents;
|
|
929
923
|
};
|
|
930
|
-
exports.
|
|
931
|
-
const
|
|
924
|
+
exports.de_CreateConfiguredTableCommand = de_CreateConfiguredTableCommand;
|
|
925
|
+
const de_CreateConfiguredTableCommandError = async (output, context) => {
|
|
932
926
|
const parsedOutput = {
|
|
933
927
|
...output,
|
|
934
928
|
body: await parseErrorBody(output.body, context),
|
|
@@ -937,25 +931,25 @@ const deserializeAws_restJson1CreateConfiguredTableCommandError = async (output,
|
|
|
937
931
|
switch (errorCode) {
|
|
938
932
|
case "AccessDeniedException":
|
|
939
933
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
940
|
-
throw await
|
|
934
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
941
935
|
case "ConflictException":
|
|
942
936
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
943
|
-
throw await
|
|
937
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
944
938
|
case "InternalServerException":
|
|
945
939
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
946
|
-
throw await
|
|
940
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
947
941
|
case "ResourceNotFoundException":
|
|
948
942
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
949
|
-
throw await
|
|
943
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
950
944
|
case "ServiceQuotaExceededException":
|
|
951
945
|
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
952
|
-
throw await
|
|
946
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
953
947
|
case "ThrottlingException":
|
|
954
948
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
955
|
-
throw await
|
|
949
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
956
950
|
case "ValidationException":
|
|
957
951
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
958
|
-
throw await
|
|
952
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
959
953
|
default:
|
|
960
954
|
const parsedBody = parsedOutput.body;
|
|
961
955
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -966,21 +960,21 @@ const deserializeAws_restJson1CreateConfiguredTableCommandError = async (output,
|
|
|
966
960
|
});
|
|
967
961
|
}
|
|
968
962
|
};
|
|
969
|
-
const
|
|
963
|
+
const de_CreateConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
970
964
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
971
|
-
return
|
|
965
|
+
return de_CreateConfiguredTableAnalysisRuleCommandError(output, context);
|
|
972
966
|
}
|
|
973
967
|
const contents = map({
|
|
974
968
|
$metadata: deserializeMetadata(output),
|
|
975
969
|
});
|
|
976
970
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
977
971
|
if (data.analysisRule != null) {
|
|
978
|
-
contents.analysisRule =
|
|
972
|
+
contents.analysisRule = de_ConfiguredTableAnalysisRule(data.analysisRule, context);
|
|
979
973
|
}
|
|
980
974
|
return contents;
|
|
981
975
|
};
|
|
982
|
-
exports.
|
|
983
|
-
const
|
|
976
|
+
exports.de_CreateConfiguredTableAnalysisRuleCommand = de_CreateConfiguredTableAnalysisRuleCommand;
|
|
977
|
+
const de_CreateConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
984
978
|
const parsedOutput = {
|
|
985
979
|
...output,
|
|
986
980
|
body: await parseErrorBody(output.body, context),
|
|
@@ -989,22 +983,22 @@ const deserializeAws_restJson1CreateConfiguredTableAnalysisRuleCommandError = as
|
|
|
989
983
|
switch (errorCode) {
|
|
990
984
|
case "AccessDeniedException":
|
|
991
985
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
992
|
-
throw await
|
|
986
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
993
987
|
case "ConflictException":
|
|
994
988
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
995
|
-
throw await
|
|
989
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
996
990
|
case "InternalServerException":
|
|
997
991
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
998
|
-
throw await
|
|
992
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
999
993
|
case "ResourceNotFoundException":
|
|
1000
994
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1001
|
-
throw await
|
|
995
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1002
996
|
case "ThrottlingException":
|
|
1003
997
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1004
|
-
throw await
|
|
998
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1005
999
|
case "ValidationException":
|
|
1006
1000
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1007
|
-
throw await
|
|
1001
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1008
1002
|
default:
|
|
1009
1003
|
const parsedBody = parsedOutput.body;
|
|
1010
1004
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1015,21 +1009,21 @@ const deserializeAws_restJson1CreateConfiguredTableAnalysisRuleCommandError = as
|
|
|
1015
1009
|
});
|
|
1016
1010
|
}
|
|
1017
1011
|
};
|
|
1018
|
-
const
|
|
1012
|
+
const de_CreateConfiguredTableAssociationCommand = async (output, context) => {
|
|
1019
1013
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1020
|
-
return
|
|
1014
|
+
return de_CreateConfiguredTableAssociationCommandError(output, context);
|
|
1021
1015
|
}
|
|
1022
1016
|
const contents = map({
|
|
1023
1017
|
$metadata: deserializeMetadata(output),
|
|
1024
1018
|
});
|
|
1025
1019
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1026
1020
|
if (data.configuredTableAssociation != null) {
|
|
1027
|
-
contents.configuredTableAssociation =
|
|
1021
|
+
contents.configuredTableAssociation = de_ConfiguredTableAssociation(data.configuredTableAssociation, context);
|
|
1028
1022
|
}
|
|
1029
1023
|
return contents;
|
|
1030
1024
|
};
|
|
1031
|
-
exports.
|
|
1032
|
-
const
|
|
1025
|
+
exports.de_CreateConfiguredTableAssociationCommand = de_CreateConfiguredTableAssociationCommand;
|
|
1026
|
+
const de_CreateConfiguredTableAssociationCommandError = async (output, context) => {
|
|
1033
1027
|
const parsedOutput = {
|
|
1034
1028
|
...output,
|
|
1035
1029
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1038,25 +1032,25 @@ const deserializeAws_restJson1CreateConfiguredTableAssociationCommandError = asy
|
|
|
1038
1032
|
switch (errorCode) {
|
|
1039
1033
|
case "AccessDeniedException":
|
|
1040
1034
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1041
|
-
throw await
|
|
1035
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1042
1036
|
case "ConflictException":
|
|
1043
1037
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1044
|
-
throw await
|
|
1038
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1045
1039
|
case "InternalServerException":
|
|
1046
1040
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1047
|
-
throw await
|
|
1041
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1048
1042
|
case "ResourceNotFoundException":
|
|
1049
1043
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1050
|
-
throw await
|
|
1044
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1051
1045
|
case "ServiceQuotaExceededException":
|
|
1052
1046
|
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1053
|
-
throw await
|
|
1047
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1054
1048
|
case "ThrottlingException":
|
|
1055
1049
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1056
|
-
throw await
|
|
1050
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1057
1051
|
case "ValidationException":
|
|
1058
1052
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1059
|
-
throw await
|
|
1053
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1060
1054
|
default:
|
|
1061
1055
|
const parsedBody = parsedOutput.body;
|
|
1062
1056
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1067,21 +1061,21 @@ const deserializeAws_restJson1CreateConfiguredTableAssociationCommandError = asy
|
|
|
1067
1061
|
});
|
|
1068
1062
|
}
|
|
1069
1063
|
};
|
|
1070
|
-
const
|
|
1064
|
+
const de_CreateMembershipCommand = async (output, context) => {
|
|
1071
1065
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1072
|
-
return
|
|
1066
|
+
return de_CreateMembershipCommandError(output, context);
|
|
1073
1067
|
}
|
|
1074
1068
|
const contents = map({
|
|
1075
1069
|
$metadata: deserializeMetadata(output),
|
|
1076
1070
|
});
|
|
1077
1071
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1078
1072
|
if (data.membership != null) {
|
|
1079
|
-
contents.membership =
|
|
1073
|
+
contents.membership = de_Membership(data.membership, context);
|
|
1080
1074
|
}
|
|
1081
1075
|
return contents;
|
|
1082
1076
|
};
|
|
1083
|
-
exports.
|
|
1084
|
-
const
|
|
1077
|
+
exports.de_CreateMembershipCommand = de_CreateMembershipCommand;
|
|
1078
|
+
const de_CreateMembershipCommandError = async (output, context) => {
|
|
1085
1079
|
const parsedOutput = {
|
|
1086
1080
|
...output,
|
|
1087
1081
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1090,25 +1084,25 @@ const deserializeAws_restJson1CreateMembershipCommandError = async (output, cont
|
|
|
1090
1084
|
switch (errorCode) {
|
|
1091
1085
|
case "AccessDeniedException":
|
|
1092
1086
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1093
|
-
throw await
|
|
1087
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1094
1088
|
case "ConflictException":
|
|
1095
1089
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1096
|
-
throw await
|
|
1090
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1097
1091
|
case "InternalServerException":
|
|
1098
1092
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1099
|
-
throw await
|
|
1093
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1100
1094
|
case "ResourceNotFoundException":
|
|
1101
1095
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1102
|
-
throw await
|
|
1096
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1103
1097
|
case "ServiceQuotaExceededException":
|
|
1104
1098
|
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1105
|
-
throw await
|
|
1099
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1106
1100
|
case "ThrottlingException":
|
|
1107
1101
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1108
|
-
throw await
|
|
1102
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1109
1103
|
case "ValidationException":
|
|
1110
1104
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1111
|
-
throw await
|
|
1105
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1112
1106
|
default:
|
|
1113
1107
|
const parsedBody = parsedOutput.body;
|
|
1114
1108
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1119,9 +1113,9 @@ const deserializeAws_restJson1CreateMembershipCommandError = async (output, cont
|
|
|
1119
1113
|
});
|
|
1120
1114
|
}
|
|
1121
1115
|
};
|
|
1122
|
-
const
|
|
1116
|
+
const de_DeleteCollaborationCommand = async (output, context) => {
|
|
1123
1117
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1124
|
-
return
|
|
1118
|
+
return de_DeleteCollaborationCommandError(output, context);
|
|
1125
1119
|
}
|
|
1126
1120
|
const contents = map({
|
|
1127
1121
|
$metadata: deserializeMetadata(output),
|
|
@@ -1129,8 +1123,8 @@ const deserializeAws_restJson1DeleteCollaborationCommand = async (output, contex
|
|
|
1129
1123
|
await collectBody(output.body, context);
|
|
1130
1124
|
return contents;
|
|
1131
1125
|
};
|
|
1132
|
-
exports.
|
|
1133
|
-
const
|
|
1126
|
+
exports.de_DeleteCollaborationCommand = de_DeleteCollaborationCommand;
|
|
1127
|
+
const de_DeleteCollaborationCommandError = async (output, context) => {
|
|
1134
1128
|
const parsedOutput = {
|
|
1135
1129
|
...output,
|
|
1136
1130
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1139,16 +1133,16 @@ const deserializeAws_restJson1DeleteCollaborationCommandError = async (output, c
|
|
|
1139
1133
|
switch (errorCode) {
|
|
1140
1134
|
case "AccessDeniedException":
|
|
1141
1135
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1142
|
-
throw await
|
|
1136
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1143
1137
|
case "InternalServerException":
|
|
1144
1138
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1145
|
-
throw await
|
|
1139
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1146
1140
|
case "ThrottlingException":
|
|
1147
1141
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1148
|
-
throw await
|
|
1142
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1149
1143
|
case "ValidationException":
|
|
1150
1144
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1151
|
-
throw await
|
|
1145
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1152
1146
|
default:
|
|
1153
1147
|
const parsedBody = parsedOutput.body;
|
|
1154
1148
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1159,9 +1153,9 @@ const deserializeAws_restJson1DeleteCollaborationCommandError = async (output, c
|
|
|
1159
1153
|
});
|
|
1160
1154
|
}
|
|
1161
1155
|
};
|
|
1162
|
-
const
|
|
1156
|
+
const de_DeleteConfiguredTableCommand = async (output, context) => {
|
|
1163
1157
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1164
|
-
return
|
|
1158
|
+
return de_DeleteConfiguredTableCommandError(output, context);
|
|
1165
1159
|
}
|
|
1166
1160
|
const contents = map({
|
|
1167
1161
|
$metadata: deserializeMetadata(output),
|
|
@@ -1169,8 +1163,8 @@ const deserializeAws_restJson1DeleteConfiguredTableCommand = async (output, cont
|
|
|
1169
1163
|
await collectBody(output.body, context);
|
|
1170
1164
|
return contents;
|
|
1171
1165
|
};
|
|
1172
|
-
exports.
|
|
1173
|
-
const
|
|
1166
|
+
exports.de_DeleteConfiguredTableCommand = de_DeleteConfiguredTableCommand;
|
|
1167
|
+
const de_DeleteConfiguredTableCommandError = async (output, context) => {
|
|
1174
1168
|
const parsedOutput = {
|
|
1175
1169
|
...output,
|
|
1176
1170
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1179,22 +1173,22 @@ const deserializeAws_restJson1DeleteConfiguredTableCommandError = async (output,
|
|
|
1179
1173
|
switch (errorCode) {
|
|
1180
1174
|
case "AccessDeniedException":
|
|
1181
1175
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1182
|
-
throw await
|
|
1176
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1183
1177
|
case "ConflictException":
|
|
1184
1178
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1185
|
-
throw await
|
|
1179
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1186
1180
|
case "InternalServerException":
|
|
1187
1181
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1188
|
-
throw await
|
|
1182
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1189
1183
|
case "ResourceNotFoundException":
|
|
1190
1184
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1191
|
-
throw await
|
|
1185
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1192
1186
|
case "ThrottlingException":
|
|
1193
1187
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1194
|
-
throw await
|
|
1188
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1195
1189
|
case "ValidationException":
|
|
1196
1190
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1197
|
-
throw await
|
|
1191
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1198
1192
|
default:
|
|
1199
1193
|
const parsedBody = parsedOutput.body;
|
|
1200
1194
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1205,9 +1199,9 @@ const deserializeAws_restJson1DeleteConfiguredTableCommandError = async (output,
|
|
|
1205
1199
|
});
|
|
1206
1200
|
}
|
|
1207
1201
|
};
|
|
1208
|
-
const
|
|
1202
|
+
const de_DeleteConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
1209
1203
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1210
|
-
return
|
|
1204
|
+
return de_DeleteConfiguredTableAnalysisRuleCommandError(output, context);
|
|
1211
1205
|
}
|
|
1212
1206
|
const contents = map({
|
|
1213
1207
|
$metadata: deserializeMetadata(output),
|
|
@@ -1215,8 +1209,8 @@ const deserializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand = async (
|
|
|
1215
1209
|
await collectBody(output.body, context);
|
|
1216
1210
|
return contents;
|
|
1217
1211
|
};
|
|
1218
|
-
exports.
|
|
1219
|
-
const
|
|
1212
|
+
exports.de_DeleteConfiguredTableAnalysisRuleCommand = de_DeleteConfiguredTableAnalysisRuleCommand;
|
|
1213
|
+
const de_DeleteConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
1220
1214
|
const parsedOutput = {
|
|
1221
1215
|
...output,
|
|
1222
1216
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1225,22 +1219,22 @@ const deserializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommandError = as
|
|
|
1225
1219
|
switch (errorCode) {
|
|
1226
1220
|
case "AccessDeniedException":
|
|
1227
1221
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1228
|
-
throw await
|
|
1222
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1229
1223
|
case "ConflictException":
|
|
1230
1224
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1231
|
-
throw await
|
|
1225
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1232
1226
|
case "InternalServerException":
|
|
1233
1227
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1234
|
-
throw await
|
|
1228
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1235
1229
|
case "ResourceNotFoundException":
|
|
1236
1230
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1237
|
-
throw await
|
|
1231
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1238
1232
|
case "ThrottlingException":
|
|
1239
1233
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1240
|
-
throw await
|
|
1234
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1241
1235
|
case "ValidationException":
|
|
1242
1236
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1243
|
-
throw await
|
|
1237
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1244
1238
|
default:
|
|
1245
1239
|
const parsedBody = parsedOutput.body;
|
|
1246
1240
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1251,9 +1245,9 @@ const deserializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommandError = as
|
|
|
1251
1245
|
});
|
|
1252
1246
|
}
|
|
1253
1247
|
};
|
|
1254
|
-
const
|
|
1248
|
+
const de_DeleteConfiguredTableAssociationCommand = async (output, context) => {
|
|
1255
1249
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1256
|
-
return
|
|
1250
|
+
return de_DeleteConfiguredTableAssociationCommandError(output, context);
|
|
1257
1251
|
}
|
|
1258
1252
|
const contents = map({
|
|
1259
1253
|
$metadata: deserializeMetadata(output),
|
|
@@ -1261,8 +1255,8 @@ const deserializeAws_restJson1DeleteConfiguredTableAssociationCommand = async (o
|
|
|
1261
1255
|
await collectBody(output.body, context);
|
|
1262
1256
|
return contents;
|
|
1263
1257
|
};
|
|
1264
|
-
exports.
|
|
1265
|
-
const
|
|
1258
|
+
exports.de_DeleteConfiguredTableAssociationCommand = de_DeleteConfiguredTableAssociationCommand;
|
|
1259
|
+
const de_DeleteConfiguredTableAssociationCommandError = async (output, context) => {
|
|
1266
1260
|
const parsedOutput = {
|
|
1267
1261
|
...output,
|
|
1268
1262
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1271,22 +1265,22 @@ const deserializeAws_restJson1DeleteConfiguredTableAssociationCommandError = asy
|
|
|
1271
1265
|
switch (errorCode) {
|
|
1272
1266
|
case "AccessDeniedException":
|
|
1273
1267
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1274
|
-
throw await
|
|
1268
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1275
1269
|
case "ConflictException":
|
|
1276
1270
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1277
|
-
throw await
|
|
1271
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1278
1272
|
case "InternalServerException":
|
|
1279
1273
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1280
|
-
throw await
|
|
1274
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1281
1275
|
case "ResourceNotFoundException":
|
|
1282
1276
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1283
|
-
throw await
|
|
1277
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1284
1278
|
case "ThrottlingException":
|
|
1285
1279
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1286
|
-
throw await
|
|
1280
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1287
1281
|
case "ValidationException":
|
|
1288
1282
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1289
|
-
throw await
|
|
1283
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1290
1284
|
default:
|
|
1291
1285
|
const parsedBody = parsedOutput.body;
|
|
1292
1286
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1297,9 +1291,9 @@ const deserializeAws_restJson1DeleteConfiguredTableAssociationCommandError = asy
|
|
|
1297
1291
|
});
|
|
1298
1292
|
}
|
|
1299
1293
|
};
|
|
1300
|
-
const
|
|
1294
|
+
const de_DeleteMemberCommand = async (output, context) => {
|
|
1301
1295
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1302
|
-
return
|
|
1296
|
+
return de_DeleteMemberCommandError(output, context);
|
|
1303
1297
|
}
|
|
1304
1298
|
const contents = map({
|
|
1305
1299
|
$metadata: deserializeMetadata(output),
|
|
@@ -1307,8 +1301,8 @@ const deserializeAws_restJson1DeleteMemberCommand = async (output, context) => {
|
|
|
1307
1301
|
await collectBody(output.body, context);
|
|
1308
1302
|
return contents;
|
|
1309
1303
|
};
|
|
1310
|
-
exports.
|
|
1311
|
-
const
|
|
1304
|
+
exports.de_DeleteMemberCommand = de_DeleteMemberCommand;
|
|
1305
|
+
const de_DeleteMemberCommandError = async (output, context) => {
|
|
1312
1306
|
const parsedOutput = {
|
|
1313
1307
|
...output,
|
|
1314
1308
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1317,22 +1311,22 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
|
|
|
1317
1311
|
switch (errorCode) {
|
|
1318
1312
|
case "AccessDeniedException":
|
|
1319
1313
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1320
|
-
throw await
|
|
1314
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1321
1315
|
case "ConflictException":
|
|
1322
1316
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1323
|
-
throw await
|
|
1317
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1324
1318
|
case "InternalServerException":
|
|
1325
1319
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1326
|
-
throw await
|
|
1320
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1327
1321
|
case "ResourceNotFoundException":
|
|
1328
1322
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1329
|
-
throw await
|
|
1323
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1330
1324
|
case "ThrottlingException":
|
|
1331
1325
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1332
|
-
throw await
|
|
1326
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1333
1327
|
case "ValidationException":
|
|
1334
1328
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1335
|
-
throw await
|
|
1329
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1336
1330
|
default:
|
|
1337
1331
|
const parsedBody = parsedOutput.body;
|
|
1338
1332
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1343,9 +1337,9 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
|
|
|
1343
1337
|
});
|
|
1344
1338
|
}
|
|
1345
1339
|
};
|
|
1346
|
-
const
|
|
1340
|
+
const de_DeleteMembershipCommand = async (output, context) => {
|
|
1347
1341
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1348
|
-
return
|
|
1342
|
+
return de_DeleteMembershipCommandError(output, context);
|
|
1349
1343
|
}
|
|
1350
1344
|
const contents = map({
|
|
1351
1345
|
$metadata: deserializeMetadata(output),
|
|
@@ -1353,8 +1347,8 @@ const deserializeAws_restJson1DeleteMembershipCommand = async (output, context)
|
|
|
1353
1347
|
await collectBody(output.body, context);
|
|
1354
1348
|
return contents;
|
|
1355
1349
|
};
|
|
1356
|
-
exports.
|
|
1357
|
-
const
|
|
1350
|
+
exports.de_DeleteMembershipCommand = de_DeleteMembershipCommand;
|
|
1351
|
+
const de_DeleteMembershipCommandError = async (output, context) => {
|
|
1358
1352
|
const parsedOutput = {
|
|
1359
1353
|
...output,
|
|
1360
1354
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1363,22 +1357,22 @@ const deserializeAws_restJson1DeleteMembershipCommandError = async (output, cont
|
|
|
1363
1357
|
switch (errorCode) {
|
|
1364
1358
|
case "AccessDeniedException":
|
|
1365
1359
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1366
|
-
throw await
|
|
1360
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1367
1361
|
case "ConflictException":
|
|
1368
1362
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1369
|
-
throw await
|
|
1363
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1370
1364
|
case "InternalServerException":
|
|
1371
1365
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1372
|
-
throw await
|
|
1366
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1373
1367
|
case "ResourceNotFoundException":
|
|
1374
1368
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1375
|
-
throw await
|
|
1369
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1376
1370
|
case "ThrottlingException":
|
|
1377
1371
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1378
|
-
throw await
|
|
1372
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1379
1373
|
case "ValidationException":
|
|
1380
1374
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1381
|
-
throw await
|
|
1375
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1382
1376
|
default:
|
|
1383
1377
|
const parsedBody = parsedOutput.body;
|
|
1384
1378
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1389,21 +1383,21 @@ const deserializeAws_restJson1DeleteMembershipCommandError = async (output, cont
|
|
|
1389
1383
|
});
|
|
1390
1384
|
}
|
|
1391
1385
|
};
|
|
1392
|
-
const
|
|
1386
|
+
const de_GetCollaborationCommand = async (output, context) => {
|
|
1393
1387
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1394
|
-
return
|
|
1388
|
+
return de_GetCollaborationCommandError(output, context);
|
|
1395
1389
|
}
|
|
1396
1390
|
const contents = map({
|
|
1397
1391
|
$metadata: deserializeMetadata(output),
|
|
1398
1392
|
});
|
|
1399
1393
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1400
1394
|
if (data.collaboration != null) {
|
|
1401
|
-
contents.collaboration =
|
|
1395
|
+
contents.collaboration = de_Collaboration(data.collaboration, context);
|
|
1402
1396
|
}
|
|
1403
1397
|
return contents;
|
|
1404
1398
|
};
|
|
1405
|
-
exports.
|
|
1406
|
-
const
|
|
1399
|
+
exports.de_GetCollaborationCommand = de_GetCollaborationCommand;
|
|
1400
|
+
const de_GetCollaborationCommandError = async (output, context) => {
|
|
1407
1401
|
const parsedOutput = {
|
|
1408
1402
|
...output,
|
|
1409
1403
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1412,16 +1406,16 @@ const deserializeAws_restJson1GetCollaborationCommandError = async (output, cont
|
|
|
1412
1406
|
switch (errorCode) {
|
|
1413
1407
|
case "AccessDeniedException":
|
|
1414
1408
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1415
|
-
throw await
|
|
1409
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1416
1410
|
case "InternalServerException":
|
|
1417
1411
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1418
|
-
throw await
|
|
1412
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1419
1413
|
case "ThrottlingException":
|
|
1420
1414
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1421
|
-
throw await
|
|
1415
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1422
1416
|
case "ValidationException":
|
|
1423
1417
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1424
|
-
throw await
|
|
1418
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1425
1419
|
default:
|
|
1426
1420
|
const parsedBody = parsedOutput.body;
|
|
1427
1421
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1432,21 +1426,21 @@ const deserializeAws_restJson1GetCollaborationCommandError = async (output, cont
|
|
|
1432
1426
|
});
|
|
1433
1427
|
}
|
|
1434
1428
|
};
|
|
1435
|
-
const
|
|
1429
|
+
const de_GetConfiguredTableCommand = async (output, context) => {
|
|
1436
1430
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1437
|
-
return
|
|
1431
|
+
return de_GetConfiguredTableCommandError(output, context);
|
|
1438
1432
|
}
|
|
1439
1433
|
const contents = map({
|
|
1440
1434
|
$metadata: deserializeMetadata(output),
|
|
1441
1435
|
});
|
|
1442
1436
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1443
1437
|
if (data.configuredTable != null) {
|
|
1444
|
-
contents.configuredTable =
|
|
1438
|
+
contents.configuredTable = de_ConfiguredTable(data.configuredTable, context);
|
|
1445
1439
|
}
|
|
1446
1440
|
return contents;
|
|
1447
1441
|
};
|
|
1448
|
-
exports.
|
|
1449
|
-
const
|
|
1442
|
+
exports.de_GetConfiguredTableCommand = de_GetConfiguredTableCommand;
|
|
1443
|
+
const de_GetConfiguredTableCommandError = async (output, context) => {
|
|
1450
1444
|
const parsedOutput = {
|
|
1451
1445
|
...output,
|
|
1452
1446
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1455,19 +1449,19 @@ const deserializeAws_restJson1GetConfiguredTableCommandError = async (output, co
|
|
|
1455
1449
|
switch (errorCode) {
|
|
1456
1450
|
case "AccessDeniedException":
|
|
1457
1451
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1458
|
-
throw await
|
|
1452
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1459
1453
|
case "InternalServerException":
|
|
1460
1454
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1461
|
-
throw await
|
|
1455
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1462
1456
|
case "ResourceNotFoundException":
|
|
1463
1457
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1464
|
-
throw await
|
|
1458
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1465
1459
|
case "ThrottlingException":
|
|
1466
1460
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1467
|
-
throw await
|
|
1461
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1468
1462
|
case "ValidationException":
|
|
1469
1463
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1470
|
-
throw await
|
|
1464
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1471
1465
|
default:
|
|
1472
1466
|
const parsedBody = parsedOutput.body;
|
|
1473
1467
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1478,21 +1472,21 @@ const deserializeAws_restJson1GetConfiguredTableCommandError = async (output, co
|
|
|
1478
1472
|
});
|
|
1479
1473
|
}
|
|
1480
1474
|
};
|
|
1481
|
-
const
|
|
1475
|
+
const de_GetConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
1482
1476
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1483
|
-
return
|
|
1477
|
+
return de_GetConfiguredTableAnalysisRuleCommandError(output, context);
|
|
1484
1478
|
}
|
|
1485
1479
|
const contents = map({
|
|
1486
1480
|
$metadata: deserializeMetadata(output),
|
|
1487
1481
|
});
|
|
1488
1482
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1489
1483
|
if (data.analysisRule != null) {
|
|
1490
|
-
contents.analysisRule =
|
|
1484
|
+
contents.analysisRule = de_ConfiguredTableAnalysisRule(data.analysisRule, context);
|
|
1491
1485
|
}
|
|
1492
1486
|
return contents;
|
|
1493
1487
|
};
|
|
1494
|
-
exports.
|
|
1495
|
-
const
|
|
1488
|
+
exports.de_GetConfiguredTableAnalysisRuleCommand = de_GetConfiguredTableAnalysisRuleCommand;
|
|
1489
|
+
const de_GetConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
1496
1490
|
const parsedOutput = {
|
|
1497
1491
|
...output,
|
|
1498
1492
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1501,19 +1495,19 @@ const deserializeAws_restJson1GetConfiguredTableAnalysisRuleCommandError = async
|
|
|
1501
1495
|
switch (errorCode) {
|
|
1502
1496
|
case "AccessDeniedException":
|
|
1503
1497
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1504
|
-
throw await
|
|
1498
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1505
1499
|
case "InternalServerException":
|
|
1506
1500
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1507
|
-
throw await
|
|
1501
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1508
1502
|
case "ResourceNotFoundException":
|
|
1509
1503
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1510
|
-
throw await
|
|
1504
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1511
1505
|
case "ThrottlingException":
|
|
1512
1506
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1513
|
-
throw await
|
|
1507
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1514
1508
|
case "ValidationException":
|
|
1515
1509
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1516
|
-
throw await
|
|
1510
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1517
1511
|
default:
|
|
1518
1512
|
const parsedBody = parsedOutput.body;
|
|
1519
1513
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1524,21 +1518,21 @@ const deserializeAws_restJson1GetConfiguredTableAnalysisRuleCommandError = async
|
|
|
1524
1518
|
});
|
|
1525
1519
|
}
|
|
1526
1520
|
};
|
|
1527
|
-
const
|
|
1521
|
+
const de_GetConfiguredTableAssociationCommand = async (output, context) => {
|
|
1528
1522
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1529
|
-
return
|
|
1523
|
+
return de_GetConfiguredTableAssociationCommandError(output, context);
|
|
1530
1524
|
}
|
|
1531
1525
|
const contents = map({
|
|
1532
1526
|
$metadata: deserializeMetadata(output),
|
|
1533
1527
|
});
|
|
1534
1528
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1535
1529
|
if (data.configuredTableAssociation != null) {
|
|
1536
|
-
contents.configuredTableAssociation =
|
|
1530
|
+
contents.configuredTableAssociation = de_ConfiguredTableAssociation(data.configuredTableAssociation, context);
|
|
1537
1531
|
}
|
|
1538
1532
|
return contents;
|
|
1539
1533
|
};
|
|
1540
|
-
exports.
|
|
1541
|
-
const
|
|
1534
|
+
exports.de_GetConfiguredTableAssociationCommand = de_GetConfiguredTableAssociationCommand;
|
|
1535
|
+
const de_GetConfiguredTableAssociationCommandError = async (output, context) => {
|
|
1542
1536
|
const parsedOutput = {
|
|
1543
1537
|
...output,
|
|
1544
1538
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1547,19 +1541,19 @@ const deserializeAws_restJson1GetConfiguredTableAssociationCommandError = async
|
|
|
1547
1541
|
switch (errorCode) {
|
|
1548
1542
|
case "AccessDeniedException":
|
|
1549
1543
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1550
|
-
throw await
|
|
1544
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1551
1545
|
case "InternalServerException":
|
|
1552
1546
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1553
|
-
throw await
|
|
1547
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1554
1548
|
case "ResourceNotFoundException":
|
|
1555
1549
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1556
|
-
throw await
|
|
1550
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1557
1551
|
case "ThrottlingException":
|
|
1558
1552
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1559
|
-
throw await
|
|
1553
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1560
1554
|
case "ValidationException":
|
|
1561
1555
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1562
|
-
throw await
|
|
1556
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1563
1557
|
default:
|
|
1564
1558
|
const parsedBody = parsedOutput.body;
|
|
1565
1559
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1570,21 +1564,21 @@ const deserializeAws_restJson1GetConfiguredTableAssociationCommandError = async
|
|
|
1570
1564
|
});
|
|
1571
1565
|
}
|
|
1572
1566
|
};
|
|
1573
|
-
const
|
|
1567
|
+
const de_GetMembershipCommand = async (output, context) => {
|
|
1574
1568
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1575
|
-
return
|
|
1569
|
+
return de_GetMembershipCommandError(output, context);
|
|
1576
1570
|
}
|
|
1577
1571
|
const contents = map({
|
|
1578
1572
|
$metadata: deserializeMetadata(output),
|
|
1579
1573
|
});
|
|
1580
1574
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1581
1575
|
if (data.membership != null) {
|
|
1582
|
-
contents.membership =
|
|
1576
|
+
contents.membership = de_Membership(data.membership, context);
|
|
1583
1577
|
}
|
|
1584
1578
|
return contents;
|
|
1585
1579
|
};
|
|
1586
|
-
exports.
|
|
1587
|
-
const
|
|
1580
|
+
exports.de_GetMembershipCommand = de_GetMembershipCommand;
|
|
1581
|
+
const de_GetMembershipCommandError = async (output, context) => {
|
|
1588
1582
|
const parsedOutput = {
|
|
1589
1583
|
...output,
|
|
1590
1584
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1593,19 +1587,19 @@ const deserializeAws_restJson1GetMembershipCommandError = async (output, context
|
|
|
1593
1587
|
switch (errorCode) {
|
|
1594
1588
|
case "AccessDeniedException":
|
|
1595
1589
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1596
|
-
throw await
|
|
1590
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1597
1591
|
case "InternalServerException":
|
|
1598
1592
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1599
|
-
throw await
|
|
1593
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1600
1594
|
case "ResourceNotFoundException":
|
|
1601
1595
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1602
|
-
throw await
|
|
1596
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1603
1597
|
case "ThrottlingException":
|
|
1604
1598
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1605
|
-
throw await
|
|
1599
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1606
1600
|
case "ValidationException":
|
|
1607
1601
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1608
|
-
throw await
|
|
1602
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1609
1603
|
default:
|
|
1610
1604
|
const parsedBody = parsedOutput.body;
|
|
1611
1605
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1616,21 +1610,21 @@ const deserializeAws_restJson1GetMembershipCommandError = async (output, context
|
|
|
1616
1610
|
});
|
|
1617
1611
|
}
|
|
1618
1612
|
};
|
|
1619
|
-
const
|
|
1613
|
+
const de_GetProtectedQueryCommand = async (output, context) => {
|
|
1620
1614
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1621
|
-
return
|
|
1615
|
+
return de_GetProtectedQueryCommandError(output, context);
|
|
1622
1616
|
}
|
|
1623
1617
|
const contents = map({
|
|
1624
1618
|
$metadata: deserializeMetadata(output),
|
|
1625
1619
|
});
|
|
1626
1620
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1627
1621
|
if (data.protectedQuery != null) {
|
|
1628
|
-
contents.protectedQuery =
|
|
1622
|
+
contents.protectedQuery = de_ProtectedQuery(data.protectedQuery, context);
|
|
1629
1623
|
}
|
|
1630
1624
|
return contents;
|
|
1631
1625
|
};
|
|
1632
|
-
exports.
|
|
1633
|
-
const
|
|
1626
|
+
exports.de_GetProtectedQueryCommand = de_GetProtectedQueryCommand;
|
|
1627
|
+
const de_GetProtectedQueryCommandError = async (output, context) => {
|
|
1634
1628
|
const parsedOutput = {
|
|
1635
1629
|
...output,
|
|
1636
1630
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1639,19 +1633,19 @@ const deserializeAws_restJson1GetProtectedQueryCommandError = async (output, con
|
|
|
1639
1633
|
switch (errorCode) {
|
|
1640
1634
|
case "AccessDeniedException":
|
|
1641
1635
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1642
|
-
throw await
|
|
1636
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1643
1637
|
case "InternalServerException":
|
|
1644
1638
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1645
|
-
throw await
|
|
1639
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1646
1640
|
case "ResourceNotFoundException":
|
|
1647
1641
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1648
|
-
throw await
|
|
1642
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1649
1643
|
case "ThrottlingException":
|
|
1650
1644
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1651
|
-
throw await
|
|
1645
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1652
1646
|
case "ValidationException":
|
|
1653
1647
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1654
|
-
throw await
|
|
1648
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1655
1649
|
default:
|
|
1656
1650
|
const parsedBody = parsedOutput.body;
|
|
1657
1651
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1662,21 +1656,21 @@ const deserializeAws_restJson1GetProtectedQueryCommandError = async (output, con
|
|
|
1662
1656
|
});
|
|
1663
1657
|
}
|
|
1664
1658
|
};
|
|
1665
|
-
const
|
|
1659
|
+
const de_GetSchemaCommand = async (output, context) => {
|
|
1666
1660
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1667
|
-
return
|
|
1661
|
+
return de_GetSchemaCommandError(output, context);
|
|
1668
1662
|
}
|
|
1669
1663
|
const contents = map({
|
|
1670
1664
|
$metadata: deserializeMetadata(output),
|
|
1671
1665
|
});
|
|
1672
1666
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1673
1667
|
if (data.schema != null) {
|
|
1674
|
-
contents.schema =
|
|
1668
|
+
contents.schema = de_Schema(data.schema, context);
|
|
1675
1669
|
}
|
|
1676
1670
|
return contents;
|
|
1677
1671
|
};
|
|
1678
|
-
exports.
|
|
1679
|
-
const
|
|
1672
|
+
exports.de_GetSchemaCommand = de_GetSchemaCommand;
|
|
1673
|
+
const de_GetSchemaCommandError = async (output, context) => {
|
|
1680
1674
|
const parsedOutput = {
|
|
1681
1675
|
...output,
|
|
1682
1676
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1685,19 +1679,19 @@ const deserializeAws_restJson1GetSchemaCommandError = async (output, context) =>
|
|
|
1685
1679
|
switch (errorCode) {
|
|
1686
1680
|
case "AccessDeniedException":
|
|
1687
1681
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1688
|
-
throw await
|
|
1682
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1689
1683
|
case "InternalServerException":
|
|
1690
1684
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1691
|
-
throw await
|
|
1685
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1692
1686
|
case "ResourceNotFoundException":
|
|
1693
1687
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1694
|
-
throw await
|
|
1688
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1695
1689
|
case "ThrottlingException":
|
|
1696
1690
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1697
|
-
throw await
|
|
1691
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1698
1692
|
case "ValidationException":
|
|
1699
1693
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1700
|
-
throw await
|
|
1694
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1701
1695
|
default:
|
|
1702
1696
|
const parsedBody = parsedOutput.body;
|
|
1703
1697
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1708,21 +1702,21 @@ const deserializeAws_restJson1GetSchemaCommandError = async (output, context) =>
|
|
|
1708
1702
|
});
|
|
1709
1703
|
}
|
|
1710
1704
|
};
|
|
1711
|
-
const
|
|
1705
|
+
const de_GetSchemaAnalysisRuleCommand = async (output, context) => {
|
|
1712
1706
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1713
|
-
return
|
|
1707
|
+
return de_GetSchemaAnalysisRuleCommandError(output, context);
|
|
1714
1708
|
}
|
|
1715
1709
|
const contents = map({
|
|
1716
1710
|
$metadata: deserializeMetadata(output),
|
|
1717
1711
|
});
|
|
1718
1712
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1719
1713
|
if (data.analysisRule != null) {
|
|
1720
|
-
contents.analysisRule =
|
|
1714
|
+
contents.analysisRule = de_AnalysisRule(data.analysisRule, context);
|
|
1721
1715
|
}
|
|
1722
1716
|
return contents;
|
|
1723
1717
|
};
|
|
1724
|
-
exports.
|
|
1725
|
-
const
|
|
1718
|
+
exports.de_GetSchemaAnalysisRuleCommand = de_GetSchemaAnalysisRuleCommand;
|
|
1719
|
+
const de_GetSchemaAnalysisRuleCommandError = async (output, context) => {
|
|
1726
1720
|
const parsedOutput = {
|
|
1727
1721
|
...output,
|
|
1728
1722
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1731,19 +1725,19 @@ const deserializeAws_restJson1GetSchemaAnalysisRuleCommandError = async (output,
|
|
|
1731
1725
|
switch (errorCode) {
|
|
1732
1726
|
case "AccessDeniedException":
|
|
1733
1727
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1734
|
-
throw await
|
|
1728
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1735
1729
|
case "InternalServerException":
|
|
1736
1730
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1737
|
-
throw await
|
|
1731
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1738
1732
|
case "ResourceNotFoundException":
|
|
1739
1733
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1740
|
-
throw await
|
|
1734
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1741
1735
|
case "ThrottlingException":
|
|
1742
1736
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1743
|
-
throw await
|
|
1737
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1744
1738
|
case "ValidationException":
|
|
1745
1739
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1746
|
-
throw await
|
|
1740
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1747
1741
|
default:
|
|
1748
1742
|
const parsedBody = parsedOutput.body;
|
|
1749
1743
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1754,24 +1748,24 @@ const deserializeAws_restJson1GetSchemaAnalysisRuleCommandError = async (output,
|
|
|
1754
1748
|
});
|
|
1755
1749
|
}
|
|
1756
1750
|
};
|
|
1757
|
-
const
|
|
1751
|
+
const de_ListCollaborationsCommand = async (output, context) => {
|
|
1758
1752
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1759
|
-
return
|
|
1753
|
+
return de_ListCollaborationsCommandError(output, context);
|
|
1760
1754
|
}
|
|
1761
1755
|
const contents = map({
|
|
1762
1756
|
$metadata: deserializeMetadata(output),
|
|
1763
1757
|
});
|
|
1764
1758
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1765
1759
|
if (data.collaborationList != null) {
|
|
1766
|
-
contents.collaborationList =
|
|
1760
|
+
contents.collaborationList = de_CollaborationSummaryList(data.collaborationList, context);
|
|
1767
1761
|
}
|
|
1768
1762
|
if (data.nextToken != null) {
|
|
1769
1763
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1770
1764
|
}
|
|
1771
1765
|
return contents;
|
|
1772
1766
|
};
|
|
1773
|
-
exports.
|
|
1774
|
-
const
|
|
1767
|
+
exports.de_ListCollaborationsCommand = de_ListCollaborationsCommand;
|
|
1768
|
+
const de_ListCollaborationsCommandError = async (output, context) => {
|
|
1775
1769
|
const parsedOutput = {
|
|
1776
1770
|
...output,
|
|
1777
1771
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1780,16 +1774,16 @@ const deserializeAws_restJson1ListCollaborationsCommandError = async (output, co
|
|
|
1780
1774
|
switch (errorCode) {
|
|
1781
1775
|
case "AccessDeniedException":
|
|
1782
1776
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1783
|
-
throw await
|
|
1777
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1784
1778
|
case "InternalServerException":
|
|
1785
1779
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1786
|
-
throw await
|
|
1780
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1787
1781
|
case "ThrottlingException":
|
|
1788
1782
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1789
|
-
throw await
|
|
1783
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1790
1784
|
case "ValidationException":
|
|
1791
1785
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1792
|
-
throw await
|
|
1786
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1793
1787
|
default:
|
|
1794
1788
|
const parsedBody = parsedOutput.body;
|
|
1795
1789
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1800,24 +1794,24 @@ const deserializeAws_restJson1ListCollaborationsCommandError = async (output, co
|
|
|
1800
1794
|
});
|
|
1801
1795
|
}
|
|
1802
1796
|
};
|
|
1803
|
-
const
|
|
1797
|
+
const de_ListConfiguredTableAssociationsCommand = async (output, context) => {
|
|
1804
1798
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1805
|
-
return
|
|
1799
|
+
return de_ListConfiguredTableAssociationsCommandError(output, context);
|
|
1806
1800
|
}
|
|
1807
1801
|
const contents = map({
|
|
1808
1802
|
$metadata: deserializeMetadata(output),
|
|
1809
1803
|
});
|
|
1810
1804
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1811
1805
|
if (data.configuredTableAssociationSummaries != null) {
|
|
1812
|
-
contents.configuredTableAssociationSummaries =
|
|
1806
|
+
contents.configuredTableAssociationSummaries = de_ConfiguredTableAssociationSummaryList(data.configuredTableAssociationSummaries, context);
|
|
1813
1807
|
}
|
|
1814
1808
|
if (data.nextToken != null) {
|
|
1815
1809
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1816
1810
|
}
|
|
1817
1811
|
return contents;
|
|
1818
1812
|
};
|
|
1819
|
-
exports.
|
|
1820
|
-
const
|
|
1813
|
+
exports.de_ListConfiguredTableAssociationsCommand = de_ListConfiguredTableAssociationsCommand;
|
|
1814
|
+
const de_ListConfiguredTableAssociationsCommandError = async (output, context) => {
|
|
1821
1815
|
const parsedOutput = {
|
|
1822
1816
|
...output,
|
|
1823
1817
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1826,19 +1820,19 @@ const deserializeAws_restJson1ListConfiguredTableAssociationsCommandError = asyn
|
|
|
1826
1820
|
switch (errorCode) {
|
|
1827
1821
|
case "AccessDeniedException":
|
|
1828
1822
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1829
|
-
throw await
|
|
1823
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1830
1824
|
case "InternalServerException":
|
|
1831
1825
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1832
|
-
throw await
|
|
1826
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1833
1827
|
case "ResourceNotFoundException":
|
|
1834
1828
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1835
|
-
throw await
|
|
1829
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1836
1830
|
case "ThrottlingException":
|
|
1837
1831
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1838
|
-
throw await
|
|
1832
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1839
1833
|
case "ValidationException":
|
|
1840
1834
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1841
|
-
throw await
|
|
1835
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1842
1836
|
default:
|
|
1843
1837
|
const parsedBody = parsedOutput.body;
|
|
1844
1838
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1849,24 +1843,24 @@ const deserializeAws_restJson1ListConfiguredTableAssociationsCommandError = asyn
|
|
|
1849
1843
|
});
|
|
1850
1844
|
}
|
|
1851
1845
|
};
|
|
1852
|
-
const
|
|
1846
|
+
const de_ListConfiguredTablesCommand = async (output, context) => {
|
|
1853
1847
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1854
|
-
return
|
|
1848
|
+
return de_ListConfiguredTablesCommandError(output, context);
|
|
1855
1849
|
}
|
|
1856
1850
|
const contents = map({
|
|
1857
1851
|
$metadata: deserializeMetadata(output),
|
|
1858
1852
|
});
|
|
1859
1853
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1860
1854
|
if (data.configuredTableSummaries != null) {
|
|
1861
|
-
contents.configuredTableSummaries =
|
|
1855
|
+
contents.configuredTableSummaries = de_ConfiguredTableSummaryList(data.configuredTableSummaries, context);
|
|
1862
1856
|
}
|
|
1863
1857
|
if (data.nextToken != null) {
|
|
1864
1858
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1865
1859
|
}
|
|
1866
1860
|
return contents;
|
|
1867
1861
|
};
|
|
1868
|
-
exports.
|
|
1869
|
-
const
|
|
1862
|
+
exports.de_ListConfiguredTablesCommand = de_ListConfiguredTablesCommand;
|
|
1863
|
+
const de_ListConfiguredTablesCommandError = async (output, context) => {
|
|
1870
1864
|
const parsedOutput = {
|
|
1871
1865
|
...output,
|
|
1872
1866
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1875,16 +1869,16 @@ const deserializeAws_restJson1ListConfiguredTablesCommandError = async (output,
|
|
|
1875
1869
|
switch (errorCode) {
|
|
1876
1870
|
case "AccessDeniedException":
|
|
1877
1871
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1878
|
-
throw await
|
|
1872
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1879
1873
|
case "InternalServerException":
|
|
1880
1874
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1881
|
-
throw await
|
|
1875
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1882
1876
|
case "ThrottlingException":
|
|
1883
1877
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1884
|
-
throw await
|
|
1878
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1885
1879
|
case "ValidationException":
|
|
1886
1880
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1887
|
-
throw await
|
|
1881
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1888
1882
|
default:
|
|
1889
1883
|
const parsedBody = parsedOutput.body;
|
|
1890
1884
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1895,24 +1889,24 @@ const deserializeAws_restJson1ListConfiguredTablesCommandError = async (output,
|
|
|
1895
1889
|
});
|
|
1896
1890
|
}
|
|
1897
1891
|
};
|
|
1898
|
-
const
|
|
1892
|
+
const de_ListMembersCommand = async (output, context) => {
|
|
1899
1893
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1900
|
-
return
|
|
1894
|
+
return de_ListMembersCommandError(output, context);
|
|
1901
1895
|
}
|
|
1902
1896
|
const contents = map({
|
|
1903
1897
|
$metadata: deserializeMetadata(output),
|
|
1904
1898
|
});
|
|
1905
1899
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1906
1900
|
if (data.memberSummaries != null) {
|
|
1907
|
-
contents.memberSummaries =
|
|
1901
|
+
contents.memberSummaries = de_MemberSummaryList(data.memberSummaries, context);
|
|
1908
1902
|
}
|
|
1909
1903
|
if (data.nextToken != null) {
|
|
1910
1904
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1911
1905
|
}
|
|
1912
1906
|
return contents;
|
|
1913
1907
|
};
|
|
1914
|
-
exports.
|
|
1915
|
-
const
|
|
1908
|
+
exports.de_ListMembersCommand = de_ListMembersCommand;
|
|
1909
|
+
const de_ListMembersCommandError = async (output, context) => {
|
|
1916
1910
|
const parsedOutput = {
|
|
1917
1911
|
...output,
|
|
1918
1912
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1921,19 +1915,19 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
|
|
|
1921
1915
|
switch (errorCode) {
|
|
1922
1916
|
case "AccessDeniedException":
|
|
1923
1917
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1924
|
-
throw await
|
|
1918
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1925
1919
|
case "InternalServerException":
|
|
1926
1920
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1927
|
-
throw await
|
|
1921
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1928
1922
|
case "ResourceNotFoundException":
|
|
1929
1923
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1930
|
-
throw await
|
|
1924
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1931
1925
|
case "ThrottlingException":
|
|
1932
1926
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1933
|
-
throw await
|
|
1927
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1934
1928
|
case "ValidationException":
|
|
1935
1929
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1936
|
-
throw await
|
|
1930
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1937
1931
|
default:
|
|
1938
1932
|
const parsedBody = parsedOutput.body;
|
|
1939
1933
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1944,24 +1938,24 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
|
|
|
1944
1938
|
});
|
|
1945
1939
|
}
|
|
1946
1940
|
};
|
|
1947
|
-
const
|
|
1941
|
+
const de_ListMembershipsCommand = async (output, context) => {
|
|
1948
1942
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1949
|
-
return
|
|
1943
|
+
return de_ListMembershipsCommandError(output, context);
|
|
1950
1944
|
}
|
|
1951
1945
|
const contents = map({
|
|
1952
1946
|
$metadata: deserializeMetadata(output),
|
|
1953
1947
|
});
|
|
1954
1948
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1955
1949
|
if (data.membershipSummaries != null) {
|
|
1956
|
-
contents.membershipSummaries =
|
|
1950
|
+
contents.membershipSummaries = de_MembershipSummaryList(data.membershipSummaries, context);
|
|
1957
1951
|
}
|
|
1958
1952
|
if (data.nextToken != null) {
|
|
1959
1953
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1960
1954
|
}
|
|
1961
1955
|
return contents;
|
|
1962
1956
|
};
|
|
1963
|
-
exports.
|
|
1964
|
-
const
|
|
1957
|
+
exports.de_ListMembershipsCommand = de_ListMembershipsCommand;
|
|
1958
|
+
const de_ListMembershipsCommandError = async (output, context) => {
|
|
1965
1959
|
const parsedOutput = {
|
|
1966
1960
|
...output,
|
|
1967
1961
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1970,16 +1964,16 @@ const deserializeAws_restJson1ListMembershipsCommandError = async (output, conte
|
|
|
1970
1964
|
switch (errorCode) {
|
|
1971
1965
|
case "AccessDeniedException":
|
|
1972
1966
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1973
|
-
throw await
|
|
1967
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1974
1968
|
case "InternalServerException":
|
|
1975
1969
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1976
|
-
throw await
|
|
1970
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1977
1971
|
case "ThrottlingException":
|
|
1978
1972
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1979
|
-
throw await
|
|
1973
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1980
1974
|
case "ValidationException":
|
|
1981
1975
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1982
|
-
throw await
|
|
1976
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1983
1977
|
default:
|
|
1984
1978
|
const parsedBody = parsedOutput.body;
|
|
1985
1979
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1990,9 +1984,9 @@ const deserializeAws_restJson1ListMembershipsCommandError = async (output, conte
|
|
|
1990
1984
|
});
|
|
1991
1985
|
}
|
|
1992
1986
|
};
|
|
1993
|
-
const
|
|
1987
|
+
const de_ListProtectedQueriesCommand = async (output, context) => {
|
|
1994
1988
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1995
|
-
return
|
|
1989
|
+
return de_ListProtectedQueriesCommandError(output, context);
|
|
1996
1990
|
}
|
|
1997
1991
|
const contents = map({
|
|
1998
1992
|
$metadata: deserializeMetadata(output),
|
|
@@ -2002,12 +1996,12 @@ const deserializeAws_restJson1ListProtectedQueriesCommand = async (output, conte
|
|
|
2002
1996
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2003
1997
|
}
|
|
2004
1998
|
if (data.protectedQueries != null) {
|
|
2005
|
-
contents.protectedQueries =
|
|
1999
|
+
contents.protectedQueries = de_ProtectedQuerySummaryList(data.protectedQueries, context);
|
|
2006
2000
|
}
|
|
2007
2001
|
return contents;
|
|
2008
2002
|
};
|
|
2009
|
-
exports.
|
|
2010
|
-
const
|
|
2003
|
+
exports.de_ListProtectedQueriesCommand = de_ListProtectedQueriesCommand;
|
|
2004
|
+
const de_ListProtectedQueriesCommandError = async (output, context) => {
|
|
2011
2005
|
const parsedOutput = {
|
|
2012
2006
|
...output,
|
|
2013
2007
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2016,19 +2010,19 @@ const deserializeAws_restJson1ListProtectedQueriesCommandError = async (output,
|
|
|
2016
2010
|
switch (errorCode) {
|
|
2017
2011
|
case "AccessDeniedException":
|
|
2018
2012
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2019
|
-
throw await
|
|
2013
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2020
2014
|
case "InternalServerException":
|
|
2021
2015
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2022
|
-
throw await
|
|
2016
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2023
2017
|
case "ResourceNotFoundException":
|
|
2024
2018
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2025
|
-
throw await
|
|
2019
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2026
2020
|
case "ThrottlingException":
|
|
2027
2021
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2028
|
-
throw await
|
|
2022
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2029
2023
|
case "ValidationException":
|
|
2030
2024
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2031
|
-
throw await
|
|
2025
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2032
2026
|
default:
|
|
2033
2027
|
const parsedBody = parsedOutput.body;
|
|
2034
2028
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2039,9 +2033,9 @@ const deserializeAws_restJson1ListProtectedQueriesCommandError = async (output,
|
|
|
2039
2033
|
});
|
|
2040
2034
|
}
|
|
2041
2035
|
};
|
|
2042
|
-
const
|
|
2036
|
+
const de_ListSchemasCommand = async (output, context) => {
|
|
2043
2037
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2044
|
-
return
|
|
2038
|
+
return de_ListSchemasCommandError(output, context);
|
|
2045
2039
|
}
|
|
2046
2040
|
const contents = map({
|
|
2047
2041
|
$metadata: deserializeMetadata(output),
|
|
@@ -2051,12 +2045,12 @@ const deserializeAws_restJson1ListSchemasCommand = async (output, context) => {
|
|
|
2051
2045
|
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2052
2046
|
}
|
|
2053
2047
|
if (data.schemaSummaries != null) {
|
|
2054
|
-
contents.schemaSummaries =
|
|
2048
|
+
contents.schemaSummaries = de_SchemaSummaryList(data.schemaSummaries, context);
|
|
2055
2049
|
}
|
|
2056
2050
|
return contents;
|
|
2057
2051
|
};
|
|
2058
|
-
exports.
|
|
2059
|
-
const
|
|
2052
|
+
exports.de_ListSchemasCommand = de_ListSchemasCommand;
|
|
2053
|
+
const de_ListSchemasCommandError = async (output, context) => {
|
|
2060
2054
|
const parsedOutput = {
|
|
2061
2055
|
...output,
|
|
2062
2056
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2065,19 +2059,19 @@ const deserializeAws_restJson1ListSchemasCommandError = async (output, context)
|
|
|
2065
2059
|
switch (errorCode) {
|
|
2066
2060
|
case "AccessDeniedException":
|
|
2067
2061
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2068
|
-
throw await
|
|
2062
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2069
2063
|
case "InternalServerException":
|
|
2070
2064
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2071
|
-
throw await
|
|
2065
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2072
2066
|
case "ResourceNotFoundException":
|
|
2073
2067
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2074
|
-
throw await
|
|
2068
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2075
2069
|
case "ThrottlingException":
|
|
2076
2070
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2077
|
-
throw await
|
|
2071
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2078
2072
|
case "ValidationException":
|
|
2079
2073
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2080
|
-
throw await
|
|
2074
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2081
2075
|
default:
|
|
2082
2076
|
const parsedBody = parsedOutput.body;
|
|
2083
2077
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2088,21 +2082,21 @@ const deserializeAws_restJson1ListSchemasCommandError = async (output, context)
|
|
|
2088
2082
|
});
|
|
2089
2083
|
}
|
|
2090
2084
|
};
|
|
2091
|
-
const
|
|
2085
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2092
2086
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2093
|
-
return
|
|
2087
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2094
2088
|
}
|
|
2095
2089
|
const contents = map({
|
|
2096
2090
|
$metadata: deserializeMetadata(output),
|
|
2097
2091
|
});
|
|
2098
2092
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2099
2093
|
if (data.tags != null) {
|
|
2100
|
-
contents.tags =
|
|
2094
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
2101
2095
|
}
|
|
2102
2096
|
return contents;
|
|
2103
2097
|
};
|
|
2104
|
-
exports.
|
|
2105
|
-
const
|
|
2098
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2099
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2106
2100
|
const parsedOutput = {
|
|
2107
2101
|
...output,
|
|
2108
2102
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2111,10 +2105,10 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2111
2105
|
switch (errorCode) {
|
|
2112
2106
|
case "ResourceNotFoundException":
|
|
2113
2107
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2114
|
-
throw await
|
|
2108
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2115
2109
|
case "ValidationException":
|
|
2116
2110
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2117
|
-
throw await
|
|
2111
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2118
2112
|
default:
|
|
2119
2113
|
const parsedBody = parsedOutput.body;
|
|
2120
2114
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2125,21 +2119,21 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2125
2119
|
});
|
|
2126
2120
|
}
|
|
2127
2121
|
};
|
|
2128
|
-
const
|
|
2122
|
+
const de_StartProtectedQueryCommand = async (output, context) => {
|
|
2129
2123
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2130
|
-
return
|
|
2124
|
+
return de_StartProtectedQueryCommandError(output, context);
|
|
2131
2125
|
}
|
|
2132
2126
|
const contents = map({
|
|
2133
2127
|
$metadata: deserializeMetadata(output),
|
|
2134
2128
|
});
|
|
2135
2129
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2136
2130
|
if (data.protectedQuery != null) {
|
|
2137
|
-
contents.protectedQuery =
|
|
2131
|
+
contents.protectedQuery = de_ProtectedQuery(data.protectedQuery, context);
|
|
2138
2132
|
}
|
|
2139
2133
|
return contents;
|
|
2140
2134
|
};
|
|
2141
|
-
exports.
|
|
2142
|
-
const
|
|
2135
|
+
exports.de_StartProtectedQueryCommand = de_StartProtectedQueryCommand;
|
|
2136
|
+
const de_StartProtectedQueryCommandError = async (output, context) => {
|
|
2143
2137
|
const parsedOutput = {
|
|
2144
2138
|
...output,
|
|
2145
2139
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2148,22 +2142,22 @@ const deserializeAws_restJson1StartProtectedQueryCommandError = async (output, c
|
|
|
2148
2142
|
switch (errorCode) {
|
|
2149
2143
|
case "AccessDeniedException":
|
|
2150
2144
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2151
|
-
throw await
|
|
2145
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2152
2146
|
case "InternalServerException":
|
|
2153
2147
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2154
|
-
throw await
|
|
2148
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2155
2149
|
case "ResourceNotFoundException":
|
|
2156
2150
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2157
|
-
throw await
|
|
2151
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2158
2152
|
case "ServiceQuotaExceededException":
|
|
2159
2153
|
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
2160
|
-
throw await
|
|
2154
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2161
2155
|
case "ThrottlingException":
|
|
2162
2156
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2163
|
-
throw await
|
|
2157
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2164
2158
|
case "ValidationException":
|
|
2165
2159
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2166
|
-
throw await
|
|
2160
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2167
2161
|
default:
|
|
2168
2162
|
const parsedBody = parsedOutput.body;
|
|
2169
2163
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2174,9 +2168,9 @@ const deserializeAws_restJson1StartProtectedQueryCommandError = async (output, c
|
|
|
2174
2168
|
});
|
|
2175
2169
|
}
|
|
2176
2170
|
};
|
|
2177
|
-
const
|
|
2171
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
2178
2172
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2179
|
-
return
|
|
2173
|
+
return de_TagResourceCommandError(output, context);
|
|
2180
2174
|
}
|
|
2181
2175
|
const contents = map({
|
|
2182
2176
|
$metadata: deserializeMetadata(output),
|
|
@@ -2184,8 +2178,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
|
2184
2178
|
await collectBody(output.body, context);
|
|
2185
2179
|
return contents;
|
|
2186
2180
|
};
|
|
2187
|
-
exports.
|
|
2188
|
-
const
|
|
2181
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2182
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2189
2183
|
const parsedOutput = {
|
|
2190
2184
|
...output,
|
|
2191
2185
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2194,10 +2188,10 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2194
2188
|
switch (errorCode) {
|
|
2195
2189
|
case "ResourceNotFoundException":
|
|
2196
2190
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2197
|
-
throw await
|
|
2191
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2198
2192
|
case "ValidationException":
|
|
2199
2193
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2200
|
-
throw await
|
|
2194
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2201
2195
|
default:
|
|
2202
2196
|
const parsedBody = parsedOutput.body;
|
|
2203
2197
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2208,9 +2202,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2208
2202
|
});
|
|
2209
2203
|
}
|
|
2210
2204
|
};
|
|
2211
|
-
const
|
|
2205
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
2212
2206
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2213
|
-
return
|
|
2207
|
+
return de_UntagResourceCommandError(output, context);
|
|
2214
2208
|
}
|
|
2215
2209
|
const contents = map({
|
|
2216
2210
|
$metadata: deserializeMetadata(output),
|
|
@@ -2218,8 +2212,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
|
|
|
2218
2212
|
await collectBody(output.body, context);
|
|
2219
2213
|
return contents;
|
|
2220
2214
|
};
|
|
2221
|
-
exports.
|
|
2222
|
-
const
|
|
2215
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2216
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2223
2217
|
const parsedOutput = {
|
|
2224
2218
|
...output,
|
|
2225
2219
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2228,10 +2222,10 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2228
2222
|
switch (errorCode) {
|
|
2229
2223
|
case "ResourceNotFoundException":
|
|
2230
2224
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2231
|
-
throw await
|
|
2225
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2232
2226
|
case "ValidationException":
|
|
2233
2227
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2234
|
-
throw await
|
|
2228
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2235
2229
|
default:
|
|
2236
2230
|
const parsedBody = parsedOutput.body;
|
|
2237
2231
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2242,21 +2236,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2242
2236
|
});
|
|
2243
2237
|
}
|
|
2244
2238
|
};
|
|
2245
|
-
const
|
|
2239
|
+
const de_UpdateCollaborationCommand = async (output, context) => {
|
|
2246
2240
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2247
|
-
return
|
|
2241
|
+
return de_UpdateCollaborationCommandError(output, context);
|
|
2248
2242
|
}
|
|
2249
2243
|
const contents = map({
|
|
2250
2244
|
$metadata: deserializeMetadata(output),
|
|
2251
2245
|
});
|
|
2252
2246
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2253
2247
|
if (data.collaboration != null) {
|
|
2254
|
-
contents.collaboration =
|
|
2248
|
+
contents.collaboration = de_Collaboration(data.collaboration, context);
|
|
2255
2249
|
}
|
|
2256
2250
|
return contents;
|
|
2257
2251
|
};
|
|
2258
|
-
exports.
|
|
2259
|
-
const
|
|
2252
|
+
exports.de_UpdateCollaborationCommand = de_UpdateCollaborationCommand;
|
|
2253
|
+
const de_UpdateCollaborationCommandError = async (output, context) => {
|
|
2260
2254
|
const parsedOutput = {
|
|
2261
2255
|
...output,
|
|
2262
2256
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2265,16 +2259,16 @@ const deserializeAws_restJson1UpdateCollaborationCommandError = async (output, c
|
|
|
2265
2259
|
switch (errorCode) {
|
|
2266
2260
|
case "AccessDeniedException":
|
|
2267
2261
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2268
|
-
throw await
|
|
2262
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2269
2263
|
case "InternalServerException":
|
|
2270
2264
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2271
|
-
throw await
|
|
2265
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2272
2266
|
case "ThrottlingException":
|
|
2273
2267
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2274
|
-
throw await
|
|
2268
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2275
2269
|
case "ValidationException":
|
|
2276
2270
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2277
|
-
throw await
|
|
2271
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2278
2272
|
default:
|
|
2279
2273
|
const parsedBody = parsedOutput.body;
|
|
2280
2274
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2285,21 +2279,21 @@ const deserializeAws_restJson1UpdateCollaborationCommandError = async (output, c
|
|
|
2285
2279
|
});
|
|
2286
2280
|
}
|
|
2287
2281
|
};
|
|
2288
|
-
const
|
|
2282
|
+
const de_UpdateConfiguredTableCommand = async (output, context) => {
|
|
2289
2283
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2290
|
-
return
|
|
2284
|
+
return de_UpdateConfiguredTableCommandError(output, context);
|
|
2291
2285
|
}
|
|
2292
2286
|
const contents = map({
|
|
2293
2287
|
$metadata: deserializeMetadata(output),
|
|
2294
2288
|
});
|
|
2295
2289
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2296
2290
|
if (data.configuredTable != null) {
|
|
2297
|
-
contents.configuredTable =
|
|
2291
|
+
contents.configuredTable = de_ConfiguredTable(data.configuredTable, context);
|
|
2298
2292
|
}
|
|
2299
2293
|
return contents;
|
|
2300
2294
|
};
|
|
2301
|
-
exports.
|
|
2302
|
-
const
|
|
2295
|
+
exports.de_UpdateConfiguredTableCommand = de_UpdateConfiguredTableCommand;
|
|
2296
|
+
const de_UpdateConfiguredTableCommandError = async (output, context) => {
|
|
2303
2297
|
const parsedOutput = {
|
|
2304
2298
|
...output,
|
|
2305
2299
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2308,22 +2302,22 @@ const deserializeAws_restJson1UpdateConfiguredTableCommandError = async (output,
|
|
|
2308
2302
|
switch (errorCode) {
|
|
2309
2303
|
case "AccessDeniedException":
|
|
2310
2304
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2311
|
-
throw await
|
|
2305
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2312
2306
|
case "ConflictException":
|
|
2313
2307
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2314
|
-
throw await
|
|
2308
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2315
2309
|
case "InternalServerException":
|
|
2316
2310
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2317
|
-
throw await
|
|
2311
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2318
2312
|
case "ResourceNotFoundException":
|
|
2319
2313
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2320
|
-
throw await
|
|
2314
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2321
2315
|
case "ThrottlingException":
|
|
2322
2316
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2323
|
-
throw await
|
|
2317
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2324
2318
|
case "ValidationException":
|
|
2325
2319
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2326
|
-
throw await
|
|
2320
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2327
2321
|
default:
|
|
2328
2322
|
const parsedBody = parsedOutput.body;
|
|
2329
2323
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2334,21 +2328,21 @@ const deserializeAws_restJson1UpdateConfiguredTableCommandError = async (output,
|
|
|
2334
2328
|
});
|
|
2335
2329
|
}
|
|
2336
2330
|
};
|
|
2337
|
-
const
|
|
2331
|
+
const de_UpdateConfiguredTableAnalysisRuleCommand = async (output, context) => {
|
|
2338
2332
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2339
|
-
return
|
|
2333
|
+
return de_UpdateConfiguredTableAnalysisRuleCommandError(output, context);
|
|
2340
2334
|
}
|
|
2341
2335
|
const contents = map({
|
|
2342
2336
|
$metadata: deserializeMetadata(output),
|
|
2343
2337
|
});
|
|
2344
2338
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2345
2339
|
if (data.analysisRule != null) {
|
|
2346
|
-
contents.analysisRule =
|
|
2340
|
+
contents.analysisRule = de_ConfiguredTableAnalysisRule(data.analysisRule, context);
|
|
2347
2341
|
}
|
|
2348
2342
|
return contents;
|
|
2349
2343
|
};
|
|
2350
|
-
exports.
|
|
2351
|
-
const
|
|
2344
|
+
exports.de_UpdateConfiguredTableAnalysisRuleCommand = de_UpdateConfiguredTableAnalysisRuleCommand;
|
|
2345
|
+
const de_UpdateConfiguredTableAnalysisRuleCommandError = async (output, context) => {
|
|
2352
2346
|
const parsedOutput = {
|
|
2353
2347
|
...output,
|
|
2354
2348
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2357,22 +2351,22 @@ const deserializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommandError = as
|
|
|
2357
2351
|
switch (errorCode) {
|
|
2358
2352
|
case "AccessDeniedException":
|
|
2359
2353
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2360
|
-
throw await
|
|
2354
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2361
2355
|
case "ConflictException":
|
|
2362
2356
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2363
|
-
throw await
|
|
2357
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2364
2358
|
case "InternalServerException":
|
|
2365
2359
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2366
|
-
throw await
|
|
2360
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2367
2361
|
case "ResourceNotFoundException":
|
|
2368
2362
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2369
|
-
throw await
|
|
2363
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2370
2364
|
case "ThrottlingException":
|
|
2371
2365
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2372
|
-
throw await
|
|
2366
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2373
2367
|
case "ValidationException":
|
|
2374
2368
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2375
|
-
throw await
|
|
2369
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2376
2370
|
default:
|
|
2377
2371
|
const parsedBody = parsedOutput.body;
|
|
2378
2372
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2383,21 +2377,21 @@ const deserializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommandError = as
|
|
|
2383
2377
|
});
|
|
2384
2378
|
}
|
|
2385
2379
|
};
|
|
2386
|
-
const
|
|
2380
|
+
const de_UpdateConfiguredTableAssociationCommand = async (output, context) => {
|
|
2387
2381
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2388
|
-
return
|
|
2382
|
+
return de_UpdateConfiguredTableAssociationCommandError(output, context);
|
|
2389
2383
|
}
|
|
2390
2384
|
const contents = map({
|
|
2391
2385
|
$metadata: deserializeMetadata(output),
|
|
2392
2386
|
});
|
|
2393
2387
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2394
2388
|
if (data.configuredTableAssociation != null) {
|
|
2395
|
-
contents.configuredTableAssociation =
|
|
2389
|
+
contents.configuredTableAssociation = de_ConfiguredTableAssociation(data.configuredTableAssociation, context);
|
|
2396
2390
|
}
|
|
2397
2391
|
return contents;
|
|
2398
2392
|
};
|
|
2399
|
-
exports.
|
|
2400
|
-
const
|
|
2393
|
+
exports.de_UpdateConfiguredTableAssociationCommand = de_UpdateConfiguredTableAssociationCommand;
|
|
2394
|
+
const de_UpdateConfiguredTableAssociationCommandError = async (output, context) => {
|
|
2401
2395
|
const parsedOutput = {
|
|
2402
2396
|
...output,
|
|
2403
2397
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2406,22 +2400,22 @@ const deserializeAws_restJson1UpdateConfiguredTableAssociationCommandError = asy
|
|
|
2406
2400
|
switch (errorCode) {
|
|
2407
2401
|
case "AccessDeniedException":
|
|
2408
2402
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2409
|
-
throw await
|
|
2403
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2410
2404
|
case "ConflictException":
|
|
2411
2405
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2412
|
-
throw await
|
|
2406
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2413
2407
|
case "InternalServerException":
|
|
2414
2408
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2415
|
-
throw await
|
|
2409
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2416
2410
|
case "ResourceNotFoundException":
|
|
2417
2411
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2418
|
-
throw await
|
|
2412
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2419
2413
|
case "ThrottlingException":
|
|
2420
2414
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2421
|
-
throw await
|
|
2415
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2422
2416
|
case "ValidationException":
|
|
2423
2417
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2424
|
-
throw await
|
|
2418
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2425
2419
|
default:
|
|
2426
2420
|
const parsedBody = parsedOutput.body;
|
|
2427
2421
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2432,21 +2426,21 @@ const deserializeAws_restJson1UpdateConfiguredTableAssociationCommandError = asy
|
|
|
2432
2426
|
});
|
|
2433
2427
|
}
|
|
2434
2428
|
};
|
|
2435
|
-
const
|
|
2429
|
+
const de_UpdateMembershipCommand = async (output, context) => {
|
|
2436
2430
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2437
|
-
return
|
|
2431
|
+
return de_UpdateMembershipCommandError(output, context);
|
|
2438
2432
|
}
|
|
2439
2433
|
const contents = map({
|
|
2440
2434
|
$metadata: deserializeMetadata(output),
|
|
2441
2435
|
});
|
|
2442
2436
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2443
2437
|
if (data.membership != null) {
|
|
2444
|
-
contents.membership =
|
|
2438
|
+
contents.membership = de_Membership(data.membership, context);
|
|
2445
2439
|
}
|
|
2446
2440
|
return contents;
|
|
2447
2441
|
};
|
|
2448
|
-
exports.
|
|
2449
|
-
const
|
|
2442
|
+
exports.de_UpdateMembershipCommand = de_UpdateMembershipCommand;
|
|
2443
|
+
const de_UpdateMembershipCommandError = async (output, context) => {
|
|
2450
2444
|
const parsedOutput = {
|
|
2451
2445
|
...output,
|
|
2452
2446
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2455,22 +2449,22 @@ const deserializeAws_restJson1UpdateMembershipCommandError = async (output, cont
|
|
|
2455
2449
|
switch (errorCode) {
|
|
2456
2450
|
case "AccessDeniedException":
|
|
2457
2451
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2458
|
-
throw await
|
|
2452
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2459
2453
|
case "ConflictException":
|
|
2460
2454
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2461
|
-
throw await
|
|
2455
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2462
2456
|
case "InternalServerException":
|
|
2463
2457
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2464
|
-
throw await
|
|
2458
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2465
2459
|
case "ResourceNotFoundException":
|
|
2466
2460
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2467
|
-
throw await
|
|
2461
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2468
2462
|
case "ThrottlingException":
|
|
2469
2463
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2470
|
-
throw await
|
|
2464
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2471
2465
|
case "ValidationException":
|
|
2472
2466
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2473
|
-
throw await
|
|
2467
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2474
2468
|
default:
|
|
2475
2469
|
const parsedBody = parsedOutput.body;
|
|
2476
2470
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2481,21 +2475,21 @@ const deserializeAws_restJson1UpdateMembershipCommandError = async (output, cont
|
|
|
2481
2475
|
});
|
|
2482
2476
|
}
|
|
2483
2477
|
};
|
|
2484
|
-
const
|
|
2478
|
+
const de_UpdateProtectedQueryCommand = async (output, context) => {
|
|
2485
2479
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2486
|
-
return
|
|
2480
|
+
return de_UpdateProtectedQueryCommandError(output, context);
|
|
2487
2481
|
}
|
|
2488
2482
|
const contents = map({
|
|
2489
2483
|
$metadata: deserializeMetadata(output),
|
|
2490
2484
|
});
|
|
2491
2485
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2492
2486
|
if (data.protectedQuery != null) {
|
|
2493
|
-
contents.protectedQuery =
|
|
2487
|
+
contents.protectedQuery = de_ProtectedQuery(data.protectedQuery, context);
|
|
2494
2488
|
}
|
|
2495
2489
|
return contents;
|
|
2496
2490
|
};
|
|
2497
|
-
exports.
|
|
2498
|
-
const
|
|
2491
|
+
exports.de_UpdateProtectedQueryCommand = de_UpdateProtectedQueryCommand;
|
|
2492
|
+
const de_UpdateProtectedQueryCommandError = async (output, context) => {
|
|
2499
2493
|
const parsedOutput = {
|
|
2500
2494
|
...output,
|
|
2501
2495
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2504,22 +2498,22 @@ const deserializeAws_restJson1UpdateProtectedQueryCommandError = async (output,
|
|
|
2504
2498
|
switch (errorCode) {
|
|
2505
2499
|
case "AccessDeniedException":
|
|
2506
2500
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2507
|
-
throw await
|
|
2501
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2508
2502
|
case "ConflictException":
|
|
2509
2503
|
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2510
|
-
throw await
|
|
2504
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2511
2505
|
case "InternalServerException":
|
|
2512
2506
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2513
|
-
throw await
|
|
2507
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2514
2508
|
case "ResourceNotFoundException":
|
|
2515
2509
|
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2516
|
-
throw await
|
|
2510
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2517
2511
|
case "ThrottlingException":
|
|
2518
2512
|
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2519
|
-
throw await
|
|
2513
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2520
2514
|
case "ValidationException":
|
|
2521
2515
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2522
|
-
throw await
|
|
2516
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2523
2517
|
default:
|
|
2524
2518
|
const parsedBody = parsedOutput.body;
|
|
2525
2519
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2531,7 +2525,7 @@ const deserializeAws_restJson1UpdateProtectedQueryCommandError = async (output,
|
|
|
2531
2525
|
}
|
|
2532
2526
|
};
|
|
2533
2527
|
const map = smithy_client_1.map;
|
|
2534
|
-
const
|
|
2528
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2535
2529
|
const contents = map({});
|
|
2536
2530
|
const data = parsedOutput.body;
|
|
2537
2531
|
if (data.message != null) {
|
|
@@ -2546,7 +2540,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
2546
2540
|
});
|
|
2547
2541
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2548
2542
|
};
|
|
2549
|
-
const
|
|
2543
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2550
2544
|
const contents = map({});
|
|
2551
2545
|
const data = parsedOutput.body;
|
|
2552
2546
|
if (data.message != null) {
|
|
@@ -2567,7 +2561,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
2567
2561
|
});
|
|
2568
2562
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2569
2563
|
};
|
|
2570
|
-
const
|
|
2564
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2571
2565
|
const contents = map({});
|
|
2572
2566
|
const data = parsedOutput.body;
|
|
2573
2567
|
if (data.message != null) {
|
|
@@ -2579,7 +2573,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
2579
2573
|
});
|
|
2580
2574
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2581
2575
|
};
|
|
2582
|
-
const
|
|
2576
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2583
2577
|
const contents = map({});
|
|
2584
2578
|
const data = parsedOutput.body;
|
|
2585
2579
|
if (data.message != null) {
|
|
@@ -2597,7 +2591,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2597
2591
|
});
|
|
2598
2592
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2599
2593
|
};
|
|
2600
|
-
const
|
|
2594
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2601
2595
|
const contents = map({});
|
|
2602
2596
|
const data = parsedOutput.body;
|
|
2603
2597
|
if (data.message != null) {
|
|
@@ -2615,7 +2609,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
2615
2609
|
});
|
|
2616
2610
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2617
2611
|
};
|
|
2618
|
-
const
|
|
2612
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2619
2613
|
const contents = map({});
|
|
2620
2614
|
const data = parsedOutput.body;
|
|
2621
2615
|
if (data.message != null) {
|
|
@@ -2627,11 +2621,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
2627
2621
|
});
|
|
2628
2622
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2629
2623
|
};
|
|
2630
|
-
const
|
|
2624
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2631
2625
|
const contents = map({});
|
|
2632
2626
|
const data = parsedOutput.body;
|
|
2633
2627
|
if (data.fieldList != null) {
|
|
2634
|
-
contents.fieldList =
|
|
2628
|
+
contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
|
|
2635
2629
|
}
|
|
2636
2630
|
if (data.message != null) {
|
|
2637
2631
|
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
@@ -2645,100 +2639,90 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2645
2639
|
});
|
|
2646
2640
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2647
2641
|
};
|
|
2648
|
-
const
|
|
2642
|
+
const se_AggregateColumn = (input, context) => {
|
|
2649
2643
|
return {
|
|
2650
|
-
...(input.columnNames != null && {
|
|
2651
|
-
columnNames: serializeAws_restJson1AnalysisRuleColumnNameList(input.columnNames, context),
|
|
2652
|
-
}),
|
|
2644
|
+
...(input.columnNames != null && { columnNames: se_AnalysisRuleColumnNameList(input.columnNames, context) }),
|
|
2653
2645
|
...(input.function != null && { function: input.function }),
|
|
2654
2646
|
};
|
|
2655
2647
|
};
|
|
2656
|
-
const
|
|
2648
|
+
const se_AggregateColumnList = (input, context) => {
|
|
2657
2649
|
return input
|
|
2658
2650
|
.filter((e) => e != null)
|
|
2659
2651
|
.map((entry) => {
|
|
2660
|
-
return
|
|
2652
|
+
return se_AggregateColumn(entry, context);
|
|
2661
2653
|
});
|
|
2662
2654
|
};
|
|
2663
|
-
const
|
|
2655
|
+
const se_AggregationConstraint = (input, context) => {
|
|
2664
2656
|
return {
|
|
2665
2657
|
...(input.columnName != null && { columnName: input.columnName }),
|
|
2666
2658
|
...(input.minimum != null && { minimum: input.minimum }),
|
|
2667
2659
|
...(input.type != null && { type: input.type }),
|
|
2668
2660
|
};
|
|
2669
2661
|
};
|
|
2670
|
-
const
|
|
2662
|
+
const se_AggregationConstraints = (input, context) => {
|
|
2671
2663
|
return input
|
|
2672
2664
|
.filter((e) => e != null)
|
|
2673
2665
|
.map((entry) => {
|
|
2674
|
-
return
|
|
2666
|
+
return se_AggregationConstraint(entry, context);
|
|
2675
2667
|
});
|
|
2676
2668
|
};
|
|
2677
|
-
const
|
|
2669
|
+
const se_AllowedColumnList = (input, context) => {
|
|
2678
2670
|
return input
|
|
2679
2671
|
.filter((e) => e != null)
|
|
2680
2672
|
.map((entry) => {
|
|
2681
2673
|
return entry;
|
|
2682
2674
|
});
|
|
2683
2675
|
};
|
|
2684
|
-
const
|
|
2676
|
+
const se_AnalysisRuleAggregation = (input, context) => {
|
|
2685
2677
|
return {
|
|
2686
2678
|
...(input.aggregateColumns != null && {
|
|
2687
|
-
aggregateColumns:
|
|
2679
|
+
aggregateColumns: se_AggregateColumnList(input.aggregateColumns, context),
|
|
2688
2680
|
}),
|
|
2689
2681
|
...(input.dimensionColumns != null && {
|
|
2690
|
-
dimensionColumns:
|
|
2691
|
-
}),
|
|
2692
|
-
...(input.joinColumns != null && {
|
|
2693
|
-
joinColumns: serializeAws_restJson1AnalysisRuleColumnList(input.joinColumns, context),
|
|
2682
|
+
dimensionColumns: se_AnalysisRuleColumnList(input.dimensionColumns, context),
|
|
2694
2683
|
}),
|
|
2684
|
+
...(input.joinColumns != null && { joinColumns: se_AnalysisRuleColumnList(input.joinColumns, context) }),
|
|
2695
2685
|
...(input.joinRequired != null && { joinRequired: input.joinRequired }),
|
|
2696
2686
|
...(input.outputConstraints != null && {
|
|
2697
|
-
outputConstraints:
|
|
2698
|
-
}),
|
|
2699
|
-
...(input.scalarFunctions != null && {
|
|
2700
|
-
scalarFunctions: serializeAws_restJson1ScalarFunctionsList(input.scalarFunctions, context),
|
|
2687
|
+
outputConstraints: se_AggregationConstraints(input.outputConstraints, context),
|
|
2701
2688
|
}),
|
|
2689
|
+
...(input.scalarFunctions != null && { scalarFunctions: se_ScalarFunctionsList(input.scalarFunctions, context) }),
|
|
2702
2690
|
};
|
|
2703
2691
|
};
|
|
2704
|
-
const
|
|
2692
|
+
const se_AnalysisRuleColumnList = (input, context) => {
|
|
2705
2693
|
return input
|
|
2706
2694
|
.filter((e) => e != null)
|
|
2707
2695
|
.map((entry) => {
|
|
2708
2696
|
return entry;
|
|
2709
2697
|
});
|
|
2710
2698
|
};
|
|
2711
|
-
const
|
|
2699
|
+
const se_AnalysisRuleColumnNameList = (input, context) => {
|
|
2712
2700
|
return input
|
|
2713
2701
|
.filter((e) => e != null)
|
|
2714
2702
|
.map((entry) => {
|
|
2715
2703
|
return entry;
|
|
2716
2704
|
});
|
|
2717
2705
|
};
|
|
2718
|
-
const
|
|
2706
|
+
const se_AnalysisRuleList = (input, context) => {
|
|
2719
2707
|
return {
|
|
2720
|
-
...(input.joinColumns != null && {
|
|
2721
|
-
|
|
2722
|
-
}),
|
|
2723
|
-
...(input.listColumns != null && {
|
|
2724
|
-
listColumns: serializeAws_restJson1AnalysisRuleColumnList(input.listColumns, context),
|
|
2725
|
-
}),
|
|
2708
|
+
...(input.joinColumns != null && { joinColumns: se_AnalysisRuleColumnList(input.joinColumns, context) }),
|
|
2709
|
+
...(input.listColumns != null && { listColumns: se_AnalysisRuleColumnList(input.listColumns, context) }),
|
|
2726
2710
|
};
|
|
2727
2711
|
};
|
|
2728
|
-
const
|
|
2712
|
+
const se_ConfiguredTableAnalysisRulePolicy = (input, context) => {
|
|
2729
2713
|
return models_0_1.ConfiguredTableAnalysisRulePolicy.visit(input, {
|
|
2730
|
-
v1: (value) => ({ v1:
|
|
2714
|
+
v1: (value) => ({ v1: se_ConfiguredTableAnalysisRulePolicyV1(value, context) }),
|
|
2731
2715
|
_: (name, value) => ({ name: value }),
|
|
2732
2716
|
});
|
|
2733
2717
|
};
|
|
2734
|
-
const
|
|
2718
|
+
const se_ConfiguredTableAnalysisRulePolicyV1 = (input, context) => {
|
|
2735
2719
|
return models_0_1.ConfiguredTableAnalysisRulePolicyV1.visit(input, {
|
|
2736
|
-
aggregation: (value) => ({ aggregation:
|
|
2737
|
-
list: (value) => ({ list:
|
|
2720
|
+
aggregation: (value) => ({ aggregation: se_AnalysisRuleAggregation(value, context) }),
|
|
2721
|
+
list: (value) => ({ list: se_AnalysisRuleList(value, context) }),
|
|
2738
2722
|
_: (name, value) => ({ name: value }),
|
|
2739
2723
|
});
|
|
2740
2724
|
};
|
|
2741
|
-
const
|
|
2725
|
+
const se_DataEncryptionMetadata = (input, context) => {
|
|
2742
2726
|
return {
|
|
2743
2727
|
...(input.allowCleartext != null && { allowCleartext: input.allowCleartext }),
|
|
2744
2728
|
...(input.allowDuplicates != null && { allowDuplicates: input.allowDuplicates }),
|
|
@@ -2748,81 +2732,79 @@ const serializeAws_restJson1DataEncryptionMetadata = (input, context) => {
|
|
|
2748
2732
|
...(input.preserveNulls != null && { preserveNulls: input.preserveNulls }),
|
|
2749
2733
|
};
|
|
2750
2734
|
};
|
|
2751
|
-
const
|
|
2735
|
+
const se_GlueTableReference = (input, context) => {
|
|
2752
2736
|
return {
|
|
2753
2737
|
...(input.databaseName != null && { databaseName: input.databaseName }),
|
|
2754
2738
|
...(input.tableName != null && { tableName: input.tableName }),
|
|
2755
2739
|
};
|
|
2756
2740
|
};
|
|
2757
|
-
const
|
|
2741
|
+
const se_MemberAbilities = (input, context) => {
|
|
2758
2742
|
return input
|
|
2759
2743
|
.filter((e) => e != null)
|
|
2760
2744
|
.map((entry) => {
|
|
2761
2745
|
return entry;
|
|
2762
2746
|
});
|
|
2763
2747
|
};
|
|
2764
|
-
const
|
|
2748
|
+
const se_MemberList = (input, context) => {
|
|
2765
2749
|
return input
|
|
2766
2750
|
.filter((e) => e != null)
|
|
2767
2751
|
.map((entry) => {
|
|
2768
|
-
return
|
|
2752
|
+
return se_MemberSpecification(entry, context);
|
|
2769
2753
|
});
|
|
2770
2754
|
};
|
|
2771
|
-
const
|
|
2755
|
+
const se_MemberSpecification = (input, context) => {
|
|
2772
2756
|
return {
|
|
2773
2757
|
...(input.accountId != null && { accountId: input.accountId }),
|
|
2774
2758
|
...(input.displayName != null && { displayName: input.displayName }),
|
|
2775
|
-
...(input.memberAbilities != null && {
|
|
2776
|
-
memberAbilities: serializeAws_restJson1MemberAbilities(input.memberAbilities, context),
|
|
2777
|
-
}),
|
|
2759
|
+
...(input.memberAbilities != null && { memberAbilities: se_MemberAbilities(input.memberAbilities, context) }),
|
|
2778
2760
|
};
|
|
2779
2761
|
};
|
|
2780
|
-
const
|
|
2762
|
+
const se_ProtectedQueryOutputConfiguration = (input, context) => {
|
|
2781
2763
|
return models_0_1.ProtectedQueryOutputConfiguration.visit(input, {
|
|
2782
|
-
s3: (value) => ({ s3:
|
|
2764
|
+
s3: (value) => ({ s3: se_ProtectedQueryS3OutputConfiguration(value, context) }),
|
|
2783
2765
|
_: (name, value) => ({ name: value }),
|
|
2784
2766
|
});
|
|
2785
2767
|
};
|
|
2786
|
-
const
|
|
2768
|
+
const se_ProtectedQueryResultConfiguration = (input, context) => {
|
|
2787
2769
|
return {
|
|
2788
2770
|
...(input.outputConfiguration != null && {
|
|
2789
|
-
outputConfiguration:
|
|
2771
|
+
outputConfiguration: se_ProtectedQueryOutputConfiguration(input.outputConfiguration, context),
|
|
2790
2772
|
}),
|
|
2791
2773
|
};
|
|
2792
2774
|
};
|
|
2793
|
-
const
|
|
2775
|
+
const se_ProtectedQueryS3OutputConfiguration = (input, context) => {
|
|
2794
2776
|
return {
|
|
2795
2777
|
...(input.bucket != null && { bucket: input.bucket }),
|
|
2796
2778
|
...(input.keyPrefix != null && { keyPrefix: input.keyPrefix }),
|
|
2797
2779
|
...(input.resultFormat != null && { resultFormat: input.resultFormat }),
|
|
2798
2780
|
};
|
|
2799
2781
|
};
|
|
2800
|
-
const
|
|
2782
|
+
const se_ProtectedQuerySQLParameters = (input, context) => {
|
|
2801
2783
|
return {
|
|
2802
2784
|
...(input.queryString != null && { queryString: input.queryString }),
|
|
2803
2785
|
};
|
|
2804
2786
|
};
|
|
2805
|
-
const
|
|
2787
|
+
const se_ScalarFunctionsList = (input, context) => {
|
|
2806
2788
|
return input
|
|
2807
2789
|
.filter((e) => e != null)
|
|
2808
2790
|
.map((entry) => {
|
|
2809
2791
|
return entry;
|
|
2810
2792
|
});
|
|
2811
2793
|
};
|
|
2812
|
-
const
|
|
2794
|
+
const se_TableAliasList = (input, context) => {
|
|
2813
2795
|
return input
|
|
2814
2796
|
.filter((e) => e != null)
|
|
2815
2797
|
.map((entry) => {
|
|
2816
2798
|
return entry;
|
|
2817
2799
|
});
|
|
2818
2800
|
};
|
|
2819
|
-
const
|
|
2801
|
+
const se_TableReference = (input, context) => {
|
|
2820
2802
|
return models_0_1.TableReference.visit(input, {
|
|
2821
|
-
glue: (value) => ({ glue:
|
|
2803
|
+
glue: (value) => ({ glue: se_GlueTableReference(value, context) }),
|
|
2822
2804
|
_: (name, value) => ({ name: value }),
|
|
2823
2805
|
});
|
|
2824
2806
|
};
|
|
2825
|
-
const
|
|
2807
|
+
const se_TagMap = (input, context) => {
|
|
2826
2808
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2827
2809
|
if (value === null) {
|
|
2828
2810
|
return acc;
|
|
@@ -2831,44 +2813,42 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2831
2813
|
return acc;
|
|
2832
2814
|
}, {});
|
|
2833
2815
|
};
|
|
2834
|
-
const
|
|
2816
|
+
const de_AggregateColumn = (output, context) => {
|
|
2835
2817
|
return {
|
|
2836
|
-
columnNames: output.columnNames != null
|
|
2837
|
-
? deserializeAws_restJson1AnalysisRuleColumnNameList(output.columnNames, context)
|
|
2838
|
-
: undefined,
|
|
2818
|
+
columnNames: output.columnNames != null ? de_AnalysisRuleColumnNameList(output.columnNames, context) : undefined,
|
|
2839
2819
|
function: (0, smithy_client_1.expectString)(output.function),
|
|
2840
2820
|
};
|
|
2841
2821
|
};
|
|
2842
|
-
const
|
|
2822
|
+
const de_AggregateColumnList = (output, context) => {
|
|
2843
2823
|
const retVal = (output || [])
|
|
2844
2824
|
.filter((e) => e != null)
|
|
2845
2825
|
.map((entry) => {
|
|
2846
2826
|
if (entry === null) {
|
|
2847
2827
|
return null;
|
|
2848
2828
|
}
|
|
2849
|
-
return
|
|
2829
|
+
return de_AggregateColumn(entry, context);
|
|
2850
2830
|
});
|
|
2851
2831
|
return retVal;
|
|
2852
2832
|
};
|
|
2853
|
-
const
|
|
2833
|
+
const de_AggregationConstraint = (output, context) => {
|
|
2854
2834
|
return {
|
|
2855
2835
|
columnName: (0, smithy_client_1.expectString)(output.columnName),
|
|
2856
2836
|
minimum: (0, smithy_client_1.expectInt32)(output.minimum),
|
|
2857
2837
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
2858
2838
|
};
|
|
2859
2839
|
};
|
|
2860
|
-
const
|
|
2840
|
+
const de_AggregationConstraints = (output, context) => {
|
|
2861
2841
|
const retVal = (output || [])
|
|
2862
2842
|
.filter((e) => e != null)
|
|
2863
2843
|
.map((entry) => {
|
|
2864
2844
|
if (entry === null) {
|
|
2865
2845
|
return null;
|
|
2866
2846
|
}
|
|
2867
|
-
return
|
|
2847
|
+
return de_AggregationConstraint(entry, context);
|
|
2868
2848
|
});
|
|
2869
2849
|
return retVal;
|
|
2870
2850
|
};
|
|
2871
|
-
const
|
|
2851
|
+
const de_AllowedColumnList = (output, context) => {
|
|
2872
2852
|
const retVal = (output || [])
|
|
2873
2853
|
.filter((e) => e != null)
|
|
2874
2854
|
.map((entry) => {
|
|
@@ -2879,39 +2859,27 @@ const deserializeAws_restJson1AllowedColumnList = (output, context) => {
|
|
|
2879
2859
|
});
|
|
2880
2860
|
return retVal;
|
|
2881
2861
|
};
|
|
2882
|
-
const
|
|
2862
|
+
const de_AnalysisRule = (output, context) => {
|
|
2883
2863
|
return {
|
|
2884
2864
|
collaborationId: (0, smithy_client_1.expectString)(output.collaborationId),
|
|
2885
2865
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
2886
2866
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2887
|
-
policy: output.policy != null
|
|
2888
|
-
? deserializeAws_restJson1AnalysisRulePolicy((0, smithy_client_1.expectUnion)(output.policy), context)
|
|
2889
|
-
: undefined,
|
|
2867
|
+
policy: output.policy != null ? de_AnalysisRulePolicy((0, smithy_client_1.expectUnion)(output.policy), context) : undefined,
|
|
2890
2868
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
2891
2869
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
2892
2870
|
};
|
|
2893
2871
|
};
|
|
2894
|
-
const
|
|
2872
|
+
const de_AnalysisRuleAggregation = (output, context) => {
|
|
2895
2873
|
return {
|
|
2896
|
-
aggregateColumns: output.aggregateColumns != null
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
dimensionColumns: output.dimensionColumns != null
|
|
2900
|
-
? deserializeAws_restJson1AnalysisRuleColumnList(output.dimensionColumns, context)
|
|
2901
|
-
: undefined,
|
|
2902
|
-
joinColumns: output.joinColumns != null
|
|
2903
|
-
? deserializeAws_restJson1AnalysisRuleColumnList(output.joinColumns, context)
|
|
2904
|
-
: undefined,
|
|
2874
|
+
aggregateColumns: output.aggregateColumns != null ? de_AggregateColumnList(output.aggregateColumns, context) : undefined,
|
|
2875
|
+
dimensionColumns: output.dimensionColumns != null ? de_AnalysisRuleColumnList(output.dimensionColumns, context) : undefined,
|
|
2876
|
+
joinColumns: output.joinColumns != null ? de_AnalysisRuleColumnList(output.joinColumns, context) : undefined,
|
|
2905
2877
|
joinRequired: (0, smithy_client_1.expectString)(output.joinRequired),
|
|
2906
|
-
outputConstraints: output.outputConstraints != null
|
|
2907
|
-
|
|
2908
|
-
: undefined,
|
|
2909
|
-
scalarFunctions: output.scalarFunctions != null
|
|
2910
|
-
? deserializeAws_restJson1ScalarFunctionsList(output.scalarFunctions, context)
|
|
2911
|
-
: undefined,
|
|
2878
|
+
outputConstraints: output.outputConstraints != null ? de_AggregationConstraints(output.outputConstraints, context) : undefined,
|
|
2879
|
+
scalarFunctions: output.scalarFunctions != null ? de_ScalarFunctionsList(output.scalarFunctions, context) : undefined,
|
|
2912
2880
|
};
|
|
2913
2881
|
};
|
|
2914
|
-
const
|
|
2882
|
+
const de_AnalysisRuleColumnList = (output, context) => {
|
|
2915
2883
|
const retVal = (output || [])
|
|
2916
2884
|
.filter((e) => e != null)
|
|
2917
2885
|
.map((entry) => {
|
|
@@ -2922,7 +2890,7 @@ const deserializeAws_restJson1AnalysisRuleColumnList = (output, context) => {
|
|
|
2922
2890
|
});
|
|
2923
2891
|
return retVal;
|
|
2924
2892
|
};
|
|
2925
|
-
const
|
|
2893
|
+
const de_AnalysisRuleColumnNameList = (output, context) => {
|
|
2926
2894
|
const retVal = (output || [])
|
|
2927
2895
|
.filter((e) => e != null)
|
|
2928
2896
|
.map((entry) => {
|
|
@@ -2933,38 +2901,34 @@ const deserializeAws_restJson1AnalysisRuleColumnNameList = (output, context) =>
|
|
|
2933
2901
|
});
|
|
2934
2902
|
return retVal;
|
|
2935
2903
|
};
|
|
2936
|
-
const
|
|
2904
|
+
const de_AnalysisRuleList = (output, context) => {
|
|
2937
2905
|
return {
|
|
2938
|
-
joinColumns: output.joinColumns != null
|
|
2939
|
-
|
|
2940
|
-
: undefined,
|
|
2941
|
-
listColumns: output.listColumns != null
|
|
2942
|
-
? deserializeAws_restJson1AnalysisRuleColumnList(output.listColumns, context)
|
|
2943
|
-
: undefined,
|
|
2906
|
+
joinColumns: output.joinColumns != null ? de_AnalysisRuleColumnList(output.joinColumns, context) : undefined,
|
|
2907
|
+
listColumns: output.listColumns != null ? de_AnalysisRuleColumnList(output.listColumns, context) : undefined,
|
|
2944
2908
|
};
|
|
2945
2909
|
};
|
|
2946
|
-
const
|
|
2910
|
+
const de_AnalysisRulePolicy = (output, context) => {
|
|
2947
2911
|
if (output.v1 != null) {
|
|
2948
2912
|
return {
|
|
2949
|
-
v1:
|
|
2913
|
+
v1: de_AnalysisRulePolicyV1((0, smithy_client_1.expectUnion)(output.v1), context),
|
|
2950
2914
|
};
|
|
2951
2915
|
}
|
|
2952
2916
|
return { $unknown: Object.entries(output)[0] };
|
|
2953
2917
|
};
|
|
2954
|
-
const
|
|
2918
|
+
const de_AnalysisRulePolicyV1 = (output, context) => {
|
|
2955
2919
|
if (output.aggregation != null) {
|
|
2956
2920
|
return {
|
|
2957
|
-
aggregation:
|
|
2921
|
+
aggregation: de_AnalysisRuleAggregation(output.aggregation, context),
|
|
2958
2922
|
};
|
|
2959
2923
|
}
|
|
2960
2924
|
if (output.list != null) {
|
|
2961
2925
|
return {
|
|
2962
|
-
list:
|
|
2926
|
+
list: de_AnalysisRuleList(output.list, context),
|
|
2963
2927
|
};
|
|
2964
2928
|
}
|
|
2965
2929
|
return { $unknown: Object.entries(output)[0] };
|
|
2966
2930
|
};
|
|
2967
|
-
const
|
|
2931
|
+
const de_AnalysisRuleTypeList = (output, context) => {
|
|
2968
2932
|
const retVal = (output || [])
|
|
2969
2933
|
.filter((e) => e != null)
|
|
2970
2934
|
.map((entry) => {
|
|
@@ -2975,32 +2939,32 @@ const deserializeAws_restJson1AnalysisRuleTypeList = (output, context) => {
|
|
|
2975
2939
|
});
|
|
2976
2940
|
return retVal;
|
|
2977
2941
|
};
|
|
2978
|
-
const
|
|
2942
|
+
const de_BatchGetSchemaError = (output, context) => {
|
|
2979
2943
|
return {
|
|
2980
2944
|
code: (0, smithy_client_1.expectString)(output.code),
|
|
2981
2945
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
2982
2946
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2983
2947
|
};
|
|
2984
2948
|
};
|
|
2985
|
-
const
|
|
2949
|
+
const de_BatchGetSchemaErrorList = (output, context) => {
|
|
2986
2950
|
const retVal = (output || [])
|
|
2987
2951
|
.filter((e) => e != null)
|
|
2988
2952
|
.map((entry) => {
|
|
2989
2953
|
if (entry === null) {
|
|
2990
2954
|
return null;
|
|
2991
2955
|
}
|
|
2992
|
-
return
|
|
2956
|
+
return de_BatchGetSchemaError(entry, context);
|
|
2993
2957
|
});
|
|
2994
2958
|
return retVal;
|
|
2995
2959
|
};
|
|
2996
|
-
const
|
|
2960
|
+
const de_Collaboration = (output, context) => {
|
|
2997
2961
|
return {
|
|
2998
2962
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2999
2963
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3000
2964
|
creatorAccountId: (0, smithy_client_1.expectString)(output.creatorAccountId),
|
|
3001
2965
|
creatorDisplayName: (0, smithy_client_1.expectString)(output.creatorDisplayName),
|
|
3002
2966
|
dataEncryptionMetadata: output.dataEncryptionMetadata != null
|
|
3003
|
-
?
|
|
2967
|
+
? de_DataEncryptionMetadata(output.dataEncryptionMetadata, context)
|
|
3004
2968
|
: undefined,
|
|
3005
2969
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3006
2970
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
@@ -3012,7 +2976,7 @@ const deserializeAws_restJson1Collaboration = (output, context) => {
|
|
|
3012
2976
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3013
2977
|
};
|
|
3014
2978
|
};
|
|
3015
|
-
const
|
|
2979
|
+
const de_CollaborationSummary = (output, context) => {
|
|
3016
2980
|
return {
|
|
3017
2981
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3018
2982
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
@@ -3026,88 +2990,82 @@ const deserializeAws_restJson1CollaborationSummary = (output, context) => {
|
|
|
3026
2990
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3027
2991
|
};
|
|
3028
2992
|
};
|
|
3029
|
-
const
|
|
2993
|
+
const de_CollaborationSummaryList = (output, context) => {
|
|
3030
2994
|
const retVal = (output || [])
|
|
3031
2995
|
.filter((e) => e != null)
|
|
3032
2996
|
.map((entry) => {
|
|
3033
2997
|
if (entry === null) {
|
|
3034
2998
|
return null;
|
|
3035
2999
|
}
|
|
3036
|
-
return
|
|
3000
|
+
return de_CollaborationSummary(entry, context);
|
|
3037
3001
|
});
|
|
3038
3002
|
return retVal;
|
|
3039
3003
|
};
|
|
3040
|
-
const
|
|
3004
|
+
const de_Column = (output, context) => {
|
|
3041
3005
|
return {
|
|
3042
3006
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3043
3007
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
3044
3008
|
};
|
|
3045
3009
|
};
|
|
3046
|
-
const
|
|
3010
|
+
const de_ColumnList = (output, context) => {
|
|
3047
3011
|
const retVal = (output || [])
|
|
3048
3012
|
.filter((e) => e != null)
|
|
3049
3013
|
.map((entry) => {
|
|
3050
3014
|
if (entry === null) {
|
|
3051
3015
|
return null;
|
|
3052
3016
|
}
|
|
3053
|
-
return
|
|
3017
|
+
return de_Column(entry, context);
|
|
3054
3018
|
});
|
|
3055
3019
|
return retVal;
|
|
3056
3020
|
};
|
|
3057
|
-
const
|
|
3021
|
+
const de_ConfiguredTable = (output, context) => {
|
|
3058
3022
|
return {
|
|
3059
|
-
allowedColumns: output.allowedColumns != null
|
|
3060
|
-
? deserializeAws_restJson1AllowedColumnList(output.allowedColumns, context)
|
|
3061
|
-
: undefined,
|
|
3023
|
+
allowedColumns: output.allowedColumns != null ? de_AllowedColumnList(output.allowedColumns, context) : undefined,
|
|
3062
3024
|
analysisMethod: (0, smithy_client_1.expectString)(output.analysisMethod),
|
|
3063
3025
|
analysisRuleTypes: output.analysisRuleTypes != null
|
|
3064
|
-
?
|
|
3026
|
+
? de_ConfiguredTableAnalysisRuleTypeList(output.analysisRuleTypes, context)
|
|
3065
3027
|
: undefined,
|
|
3066
3028
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3067
3029
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3068
3030
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3069
3031
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
3070
3032
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3071
|
-
tableReference: output.tableReference != null
|
|
3072
|
-
? deserializeAws_restJson1TableReference((0, smithy_client_1.expectUnion)(output.tableReference), context)
|
|
3073
|
-
: undefined,
|
|
3033
|
+
tableReference: output.tableReference != null ? de_TableReference((0, smithy_client_1.expectUnion)(output.tableReference), context) : undefined,
|
|
3074
3034
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3075
3035
|
};
|
|
3076
3036
|
};
|
|
3077
|
-
const
|
|
3037
|
+
const de_ConfiguredTableAnalysisRule = (output, context) => {
|
|
3078
3038
|
return {
|
|
3079
3039
|
configuredTableArn: (0, smithy_client_1.expectString)(output.configuredTableArn),
|
|
3080
3040
|
configuredTableId: (0, smithy_client_1.expectString)(output.configuredTableId),
|
|
3081
3041
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3082
|
-
policy: output.policy != null
|
|
3083
|
-
? deserializeAws_restJson1ConfiguredTableAnalysisRulePolicy((0, smithy_client_1.expectUnion)(output.policy), context)
|
|
3084
|
-
: undefined,
|
|
3042
|
+
policy: output.policy != null ? de_ConfiguredTableAnalysisRulePolicy((0, smithy_client_1.expectUnion)(output.policy), context) : undefined,
|
|
3085
3043
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
3086
3044
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3087
3045
|
};
|
|
3088
3046
|
};
|
|
3089
|
-
const
|
|
3047
|
+
const de_ConfiguredTableAnalysisRulePolicy = (output, context) => {
|
|
3090
3048
|
if (output.v1 != null) {
|
|
3091
3049
|
return {
|
|
3092
|
-
v1:
|
|
3050
|
+
v1: de_ConfiguredTableAnalysisRulePolicyV1((0, smithy_client_1.expectUnion)(output.v1), context),
|
|
3093
3051
|
};
|
|
3094
3052
|
}
|
|
3095
3053
|
return { $unknown: Object.entries(output)[0] };
|
|
3096
3054
|
};
|
|
3097
|
-
const
|
|
3055
|
+
const de_ConfiguredTableAnalysisRulePolicyV1 = (output, context) => {
|
|
3098
3056
|
if (output.aggregation != null) {
|
|
3099
3057
|
return {
|
|
3100
|
-
aggregation:
|
|
3058
|
+
aggregation: de_AnalysisRuleAggregation(output.aggregation, context),
|
|
3101
3059
|
};
|
|
3102
3060
|
}
|
|
3103
3061
|
if (output.list != null) {
|
|
3104
3062
|
return {
|
|
3105
|
-
list:
|
|
3063
|
+
list: de_AnalysisRuleList(output.list, context),
|
|
3106
3064
|
};
|
|
3107
3065
|
}
|
|
3108
3066
|
return { $unknown: Object.entries(output)[0] };
|
|
3109
3067
|
};
|
|
3110
|
-
const
|
|
3068
|
+
const de_ConfiguredTableAnalysisRuleTypeList = (output, context) => {
|
|
3111
3069
|
const retVal = (output || [])
|
|
3112
3070
|
.filter((e) => e != null)
|
|
3113
3071
|
.map((entry) => {
|
|
@@ -3118,7 +3076,7 @@ const deserializeAws_restJson1ConfiguredTableAnalysisRuleTypeList = (output, con
|
|
|
3118
3076
|
});
|
|
3119
3077
|
return retVal;
|
|
3120
3078
|
};
|
|
3121
|
-
const
|
|
3079
|
+
const de_ConfiguredTableAssociation = (output, context) => {
|
|
3122
3080
|
return {
|
|
3123
3081
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3124
3082
|
configuredTableArn: (0, smithy_client_1.expectString)(output.configuredTableArn),
|
|
@@ -3133,7 +3091,7 @@ const deserializeAws_restJson1ConfiguredTableAssociation = (output, context) =>
|
|
|
3133
3091
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3134
3092
|
};
|
|
3135
3093
|
};
|
|
3136
|
-
const
|
|
3094
|
+
const de_ConfiguredTableAssociationSummary = (output, context) => {
|
|
3137
3095
|
return {
|
|
3138
3096
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3139
3097
|
configuredTableId: (0, smithy_client_1.expectString)(output.configuredTableId),
|
|
@@ -3145,22 +3103,22 @@ const deserializeAws_restJson1ConfiguredTableAssociationSummary = (output, conte
|
|
|
3145
3103
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3146
3104
|
};
|
|
3147
3105
|
};
|
|
3148
|
-
const
|
|
3106
|
+
const de_ConfiguredTableAssociationSummaryList = (output, context) => {
|
|
3149
3107
|
const retVal = (output || [])
|
|
3150
3108
|
.filter((e) => e != null)
|
|
3151
3109
|
.map((entry) => {
|
|
3152
3110
|
if (entry === null) {
|
|
3153
3111
|
return null;
|
|
3154
3112
|
}
|
|
3155
|
-
return
|
|
3113
|
+
return de_ConfiguredTableAssociationSummary(entry, context);
|
|
3156
3114
|
});
|
|
3157
3115
|
return retVal;
|
|
3158
3116
|
};
|
|
3159
|
-
const
|
|
3117
|
+
const de_ConfiguredTableSummary = (output, context) => {
|
|
3160
3118
|
return {
|
|
3161
3119
|
analysisMethod: (0, smithy_client_1.expectString)(output.analysisMethod),
|
|
3162
3120
|
analysisRuleTypes: output.analysisRuleTypes != null
|
|
3163
|
-
?
|
|
3121
|
+
? de_ConfiguredTableAnalysisRuleTypeList(output.analysisRuleTypes, context)
|
|
3164
3122
|
: undefined,
|
|
3165
3123
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3166
3124
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
@@ -3169,18 +3127,18 @@ const deserializeAws_restJson1ConfiguredTableSummary = (output, context) => {
|
|
|
3169
3127
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3170
3128
|
};
|
|
3171
3129
|
};
|
|
3172
|
-
const
|
|
3130
|
+
const de_ConfiguredTableSummaryList = (output, context) => {
|
|
3173
3131
|
const retVal = (output || [])
|
|
3174
3132
|
.filter((e) => e != null)
|
|
3175
3133
|
.map((entry) => {
|
|
3176
3134
|
if (entry === null) {
|
|
3177
3135
|
return null;
|
|
3178
3136
|
}
|
|
3179
|
-
return
|
|
3137
|
+
return de_ConfiguredTableSummary(entry, context);
|
|
3180
3138
|
});
|
|
3181
3139
|
return retVal;
|
|
3182
3140
|
};
|
|
3183
|
-
const
|
|
3141
|
+
const de_DataEncryptionMetadata = (output, context) => {
|
|
3184
3142
|
return {
|
|
3185
3143
|
allowCleartext: (0, smithy_client_1.expectBoolean)(output.allowCleartext),
|
|
3186
3144
|
allowDuplicates: (0, smithy_client_1.expectBoolean)(output.allowDuplicates),
|
|
@@ -3188,13 +3146,13 @@ const deserializeAws_restJson1DataEncryptionMetadata = (output, context) => {
|
|
|
3188
3146
|
preserveNulls: (0, smithy_client_1.expectBoolean)(output.preserveNulls),
|
|
3189
3147
|
};
|
|
3190
3148
|
};
|
|
3191
|
-
const
|
|
3149
|
+
const de_GlueTableReference = (output, context) => {
|
|
3192
3150
|
return {
|
|
3193
3151
|
databaseName: (0, smithy_client_1.expectString)(output.databaseName),
|
|
3194
3152
|
tableName: (0, smithy_client_1.expectString)(output.tableName),
|
|
3195
3153
|
};
|
|
3196
3154
|
};
|
|
3197
|
-
const
|
|
3155
|
+
const de_MemberAbilities = (output, context) => {
|
|
3198
3156
|
const retVal = (output || [])
|
|
3199
3157
|
.filter((e) => e != null)
|
|
3200
3158
|
.map((entry) => {
|
|
@@ -3205,7 +3163,7 @@ const deserializeAws_restJson1MemberAbilities = (output, context) => {
|
|
|
3205
3163
|
});
|
|
3206
3164
|
return retVal;
|
|
3207
3165
|
};
|
|
3208
|
-
const
|
|
3166
|
+
const de_Membership = (output, context) => {
|
|
3209
3167
|
return {
|
|
3210
3168
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3211
3169
|
collaborationArn: (0, smithy_client_1.expectString)(output.collaborationArn),
|
|
@@ -3215,15 +3173,13 @@ const deserializeAws_restJson1Membership = (output, context) => {
|
|
|
3215
3173
|
collaborationName: (0, smithy_client_1.expectString)(output.collaborationName),
|
|
3216
3174
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3217
3175
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
3218
|
-
memberAbilities: output.memberAbilities != null
|
|
3219
|
-
? deserializeAws_restJson1MemberAbilities(output.memberAbilities, context)
|
|
3220
|
-
: undefined,
|
|
3176
|
+
memberAbilities: output.memberAbilities != null ? de_MemberAbilities(output.memberAbilities, context) : undefined,
|
|
3221
3177
|
queryLogStatus: (0, smithy_client_1.expectString)(output.queryLogStatus),
|
|
3222
3178
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
3223
3179
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3224
3180
|
};
|
|
3225
3181
|
};
|
|
3226
|
-
const
|
|
3182
|
+
const de_MembershipSummary = (output, context) => {
|
|
3227
3183
|
return {
|
|
3228
3184
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3229
3185
|
collaborationArn: (0, smithy_client_1.expectString)(output.collaborationArn),
|
|
@@ -3233,27 +3189,25 @@ const deserializeAws_restJson1MembershipSummary = (output, context) => {
|
|
|
3233
3189
|
collaborationName: (0, smithy_client_1.expectString)(output.collaborationName),
|
|
3234
3190
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3235
3191
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
3236
|
-
memberAbilities: output.memberAbilities != null
|
|
3237
|
-
? deserializeAws_restJson1MemberAbilities(output.memberAbilities, context)
|
|
3238
|
-
: undefined,
|
|
3192
|
+
memberAbilities: output.memberAbilities != null ? de_MemberAbilities(output.memberAbilities, context) : undefined,
|
|
3239
3193
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
3240
3194
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3241
3195
|
};
|
|
3242
3196
|
};
|
|
3243
|
-
const
|
|
3197
|
+
const de_MembershipSummaryList = (output, context) => {
|
|
3244
3198
|
const retVal = (output || [])
|
|
3245
3199
|
.filter((e) => e != null)
|
|
3246
3200
|
.map((entry) => {
|
|
3247
3201
|
if (entry === null) {
|
|
3248
3202
|
return null;
|
|
3249
3203
|
}
|
|
3250
|
-
return
|
|
3204
|
+
return de_MembershipSummary(entry, context);
|
|
3251
3205
|
});
|
|
3252
3206
|
return retVal;
|
|
3253
3207
|
};
|
|
3254
|
-
const
|
|
3208
|
+
const de_MemberSummary = (output, context) => {
|
|
3255
3209
|
return {
|
|
3256
|
-
abilities: output.abilities != null ?
|
|
3210
|
+
abilities: output.abilities != null ? de_MemberAbilities(output.abilities, context) : undefined,
|
|
3257
3211
|
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
3258
3212
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3259
3213
|
displayName: (0, smithy_client_1.expectString)(output.displayName),
|
|
@@ -3263,96 +3217,90 @@ const deserializeAws_restJson1MemberSummary = (output, context) => {
|
|
|
3263
3217
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3264
3218
|
};
|
|
3265
3219
|
};
|
|
3266
|
-
const
|
|
3220
|
+
const de_MemberSummaryList = (output, context) => {
|
|
3267
3221
|
const retVal = (output || [])
|
|
3268
3222
|
.filter((e) => e != null)
|
|
3269
3223
|
.map((entry) => {
|
|
3270
3224
|
if (entry === null) {
|
|
3271
3225
|
return null;
|
|
3272
3226
|
}
|
|
3273
|
-
return
|
|
3227
|
+
return de_MemberSummary(entry, context);
|
|
3274
3228
|
});
|
|
3275
3229
|
return retVal;
|
|
3276
3230
|
};
|
|
3277
|
-
const
|
|
3231
|
+
const de_ProtectedQuery = (output, context) => {
|
|
3278
3232
|
return {
|
|
3279
3233
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3280
|
-
error: output.error != null ?
|
|
3234
|
+
error: output.error != null ? de_ProtectedQueryError(output.error, context) : undefined,
|
|
3281
3235
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
3282
3236
|
membershipArn: (0, smithy_client_1.expectString)(output.membershipArn),
|
|
3283
3237
|
membershipId: (0, smithy_client_1.expectString)(output.membershipId),
|
|
3284
|
-
result: output.result != null ?
|
|
3238
|
+
result: output.result != null ? de_ProtectedQueryResult(output.result, context) : undefined,
|
|
3285
3239
|
resultConfiguration: output.resultConfiguration != null
|
|
3286
|
-
?
|
|
3287
|
-
: undefined,
|
|
3288
|
-
sqlParameters: output.sqlParameters != null
|
|
3289
|
-
? deserializeAws_restJson1ProtectedQuerySQLParameters(output.sqlParameters, context)
|
|
3290
|
-
: undefined,
|
|
3291
|
-
statistics: output.statistics != null
|
|
3292
|
-
? deserializeAws_restJson1ProtectedQueryStatistics(output.statistics, context)
|
|
3240
|
+
? de_ProtectedQueryResultConfiguration(output.resultConfiguration, context)
|
|
3293
3241
|
: undefined,
|
|
3242
|
+
sqlParameters: output.sqlParameters != null ? de_ProtectedQuerySQLParameters(output.sqlParameters, context) : undefined,
|
|
3243
|
+
statistics: output.statistics != null ? de_ProtectedQueryStatistics(output.statistics, context) : undefined,
|
|
3294
3244
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
3295
3245
|
};
|
|
3296
3246
|
};
|
|
3297
|
-
const
|
|
3247
|
+
const de_ProtectedQueryError = (output, context) => {
|
|
3298
3248
|
return {
|
|
3299
3249
|
code: (0, smithy_client_1.expectString)(output.code),
|
|
3300
3250
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
3301
3251
|
};
|
|
3302
3252
|
};
|
|
3303
|
-
const
|
|
3253
|
+
const de_ProtectedQueryOutput = (output, context) => {
|
|
3304
3254
|
if (output.s3 != null) {
|
|
3305
3255
|
return {
|
|
3306
|
-
s3:
|
|
3256
|
+
s3: de_ProtectedQueryS3Output(output.s3, context),
|
|
3307
3257
|
};
|
|
3308
3258
|
}
|
|
3309
3259
|
return { $unknown: Object.entries(output)[0] };
|
|
3310
3260
|
};
|
|
3311
|
-
const
|
|
3261
|
+
const de_ProtectedQueryOutputConfiguration = (output, context) => {
|
|
3312
3262
|
if (output.s3 != null) {
|
|
3313
3263
|
return {
|
|
3314
|
-
s3:
|
|
3264
|
+
s3: de_ProtectedQueryS3OutputConfiguration(output.s3, context),
|
|
3315
3265
|
};
|
|
3316
3266
|
}
|
|
3317
3267
|
return { $unknown: Object.entries(output)[0] };
|
|
3318
3268
|
};
|
|
3319
|
-
const
|
|
3269
|
+
const de_ProtectedQueryResult = (output, context) => {
|
|
3320
3270
|
return {
|
|
3321
|
-
output: output.output != null
|
|
3322
|
-
? deserializeAws_restJson1ProtectedQueryOutput((0, smithy_client_1.expectUnion)(output.output), context)
|
|
3323
|
-
: undefined,
|
|
3271
|
+
output: output.output != null ? de_ProtectedQueryOutput((0, smithy_client_1.expectUnion)(output.output), context) : undefined,
|
|
3324
3272
|
};
|
|
3325
3273
|
};
|
|
3326
|
-
const
|
|
3274
|
+
const de_ProtectedQueryResultConfiguration = (output, context) => {
|
|
3327
3275
|
return {
|
|
3328
3276
|
outputConfiguration: output.outputConfiguration != null
|
|
3329
|
-
?
|
|
3277
|
+
? de_ProtectedQueryOutputConfiguration((0, smithy_client_1.expectUnion)(output.outputConfiguration), context)
|
|
3330
3278
|
: undefined,
|
|
3331
3279
|
};
|
|
3332
3280
|
};
|
|
3333
|
-
const
|
|
3281
|
+
const de_ProtectedQueryS3Output = (output, context) => {
|
|
3334
3282
|
return {
|
|
3335
3283
|
location: (0, smithy_client_1.expectString)(output.location),
|
|
3336
3284
|
};
|
|
3337
3285
|
};
|
|
3338
|
-
const
|
|
3286
|
+
const de_ProtectedQueryS3OutputConfiguration = (output, context) => {
|
|
3339
3287
|
return {
|
|
3340
3288
|
bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
3341
3289
|
keyPrefix: (0, smithy_client_1.expectString)(output.keyPrefix),
|
|
3342
3290
|
resultFormat: (0, smithy_client_1.expectString)(output.resultFormat),
|
|
3343
3291
|
};
|
|
3344
3292
|
};
|
|
3345
|
-
const
|
|
3293
|
+
const de_ProtectedQuerySQLParameters = (output, context) => {
|
|
3346
3294
|
return {
|
|
3347
3295
|
queryString: (0, smithy_client_1.expectString)(output.queryString),
|
|
3348
3296
|
};
|
|
3349
3297
|
};
|
|
3350
|
-
const
|
|
3298
|
+
const de_ProtectedQueryStatistics = (output, context) => {
|
|
3351
3299
|
return {
|
|
3352
3300
|
totalDurationInMillis: (0, smithy_client_1.expectLong)(output.totalDurationInMillis),
|
|
3353
3301
|
};
|
|
3354
3302
|
};
|
|
3355
|
-
const
|
|
3303
|
+
const de_ProtectedQuerySummary = (output, context) => {
|
|
3356
3304
|
return {
|
|
3357
3305
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3358
3306
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
@@ -3361,18 +3309,18 @@ const deserializeAws_restJson1ProtectedQuerySummary = (output, context) => {
|
|
|
3361
3309
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
3362
3310
|
};
|
|
3363
3311
|
};
|
|
3364
|
-
const
|
|
3312
|
+
const de_ProtectedQuerySummaryList = (output, context) => {
|
|
3365
3313
|
const retVal = (output || [])
|
|
3366
3314
|
.filter((e) => e != null)
|
|
3367
3315
|
.map((entry) => {
|
|
3368
3316
|
if (entry === null) {
|
|
3369
3317
|
return null;
|
|
3370
3318
|
}
|
|
3371
|
-
return
|
|
3319
|
+
return de_ProtectedQuerySummary(entry, context);
|
|
3372
3320
|
});
|
|
3373
3321
|
return retVal;
|
|
3374
3322
|
};
|
|
3375
|
-
const
|
|
3323
|
+
const de_ScalarFunctionsList = (output, context) => {
|
|
3376
3324
|
const retVal = (output || [])
|
|
3377
3325
|
.filter((e) => e != null)
|
|
3378
3326
|
.map((entry) => {
|
|
@@ -3383,41 +3331,37 @@ const deserializeAws_restJson1ScalarFunctionsList = (output, context) => {
|
|
|
3383
3331
|
});
|
|
3384
3332
|
return retVal;
|
|
3385
3333
|
};
|
|
3386
|
-
const
|
|
3334
|
+
const de_Schema = (output, context) => {
|
|
3387
3335
|
return {
|
|
3388
3336
|
analysisMethod: (0, smithy_client_1.expectString)(output.analysisMethod),
|
|
3389
|
-
analysisRuleTypes: output.analysisRuleTypes != null
|
|
3390
|
-
? deserializeAws_restJson1AnalysisRuleTypeList(output.analysisRuleTypes, context)
|
|
3391
|
-
: undefined,
|
|
3337
|
+
analysisRuleTypes: output.analysisRuleTypes != null ? de_AnalysisRuleTypeList(output.analysisRuleTypes, context) : undefined,
|
|
3392
3338
|
collaborationArn: (0, smithy_client_1.expectString)(output.collaborationArn),
|
|
3393
3339
|
collaborationId: (0, smithy_client_1.expectString)(output.collaborationId),
|
|
3394
|
-
columns: output.columns != null ?
|
|
3340
|
+
columns: output.columns != null ? de_ColumnList(output.columns, context) : undefined,
|
|
3395
3341
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
3396
3342
|
creatorAccountId: (0, smithy_client_1.expectString)(output.creatorAccountId),
|
|
3397
3343
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3398
3344
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3399
|
-
partitionKeys: output.partitionKeys != null ?
|
|
3345
|
+
partitionKeys: output.partitionKeys != null ? de_ColumnList(output.partitionKeys, context) : undefined,
|
|
3400
3346
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
3401
3347
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3402
3348
|
};
|
|
3403
3349
|
};
|
|
3404
|
-
const
|
|
3350
|
+
const de_SchemaList = (output, context) => {
|
|
3405
3351
|
const retVal = (output || [])
|
|
3406
3352
|
.filter((e) => e != null)
|
|
3407
3353
|
.map((entry) => {
|
|
3408
3354
|
if (entry === null) {
|
|
3409
3355
|
return null;
|
|
3410
3356
|
}
|
|
3411
|
-
return
|
|
3357
|
+
return de_Schema(entry, context);
|
|
3412
3358
|
});
|
|
3413
3359
|
return retVal;
|
|
3414
3360
|
};
|
|
3415
|
-
const
|
|
3361
|
+
const de_SchemaSummary = (output, context) => {
|
|
3416
3362
|
return {
|
|
3417
3363
|
analysisMethod: (0, smithy_client_1.expectString)(output.analysisMethod),
|
|
3418
|
-
analysisRuleTypes: output.analysisRuleTypes != null
|
|
3419
|
-
? deserializeAws_restJson1AnalysisRuleTypeList(output.analysisRuleTypes, context)
|
|
3420
|
-
: undefined,
|
|
3364
|
+
analysisRuleTypes: output.analysisRuleTypes != null ? de_AnalysisRuleTypeList(output.analysisRuleTypes, context) : undefined,
|
|
3421
3365
|
collaborationArn: (0, smithy_client_1.expectString)(output.collaborationArn),
|
|
3422
3366
|
collaborationId: (0, smithy_client_1.expectString)(output.collaborationId),
|
|
3423
3367
|
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
@@ -3427,26 +3371,26 @@ const deserializeAws_restJson1SchemaSummary = (output, context) => {
|
|
|
3427
3371
|
updateTime: output.updateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateTime))) : undefined,
|
|
3428
3372
|
};
|
|
3429
3373
|
};
|
|
3430
|
-
const
|
|
3374
|
+
const de_SchemaSummaryList = (output, context) => {
|
|
3431
3375
|
const retVal = (output || [])
|
|
3432
3376
|
.filter((e) => e != null)
|
|
3433
3377
|
.map((entry) => {
|
|
3434
3378
|
if (entry === null) {
|
|
3435
3379
|
return null;
|
|
3436
3380
|
}
|
|
3437
|
-
return
|
|
3381
|
+
return de_SchemaSummary(entry, context);
|
|
3438
3382
|
});
|
|
3439
3383
|
return retVal;
|
|
3440
3384
|
};
|
|
3441
|
-
const
|
|
3385
|
+
const de_TableReference = (output, context) => {
|
|
3442
3386
|
if (output.glue != null) {
|
|
3443
3387
|
return {
|
|
3444
|
-
glue:
|
|
3388
|
+
glue: de_GlueTableReference(output.glue, context),
|
|
3445
3389
|
};
|
|
3446
3390
|
}
|
|
3447
3391
|
return { $unknown: Object.entries(output)[0] };
|
|
3448
3392
|
};
|
|
3449
|
-
const
|
|
3393
|
+
const de_TagMap = (output, context) => {
|
|
3450
3394
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3451
3395
|
if (value === null) {
|
|
3452
3396
|
return acc;
|
|
@@ -3455,20 +3399,20 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
3455
3399
|
return acc;
|
|
3456
3400
|
}, {});
|
|
3457
3401
|
};
|
|
3458
|
-
const
|
|
3402
|
+
const de_ValidationExceptionField = (output, context) => {
|
|
3459
3403
|
return {
|
|
3460
3404
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
3461
3405
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3462
3406
|
};
|
|
3463
3407
|
};
|
|
3464
|
-
const
|
|
3408
|
+
const de_ValidationExceptionFieldList = (output, context) => {
|
|
3465
3409
|
const retVal = (output || [])
|
|
3466
3410
|
.filter((e) => e != null)
|
|
3467
3411
|
.map((entry) => {
|
|
3468
3412
|
if (entry === null) {
|
|
3469
3413
|
return null;
|
|
3470
3414
|
}
|
|
3471
|
-
return
|
|
3415
|
+
return de_ValidationExceptionField(entry, context);
|
|
3472
3416
|
});
|
|
3473
3417
|
return retVal;
|
|
3474
3418
|
};
|