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