@aws-sdk/client-finspace-data 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 (67) hide show
  1. package/dist-cjs/commands/AssociateUserToPermissionGroupCommand.js +2 -2
  2. package/dist-cjs/commands/CreateChangesetCommand.js +2 -2
  3. package/dist-cjs/commands/CreateDataViewCommand.js +2 -2
  4. package/dist-cjs/commands/CreateDatasetCommand.js +2 -2
  5. package/dist-cjs/commands/CreatePermissionGroupCommand.js +2 -2
  6. package/dist-cjs/commands/CreateUserCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteDatasetCommand.js +2 -2
  8. package/dist-cjs/commands/DeletePermissionGroupCommand.js +2 -2
  9. package/dist-cjs/commands/DisableUserCommand.js +2 -2
  10. package/dist-cjs/commands/DisassociateUserFromPermissionGroupCommand.js +2 -2
  11. package/dist-cjs/commands/EnableUserCommand.js +2 -2
  12. package/dist-cjs/commands/GetChangesetCommand.js +2 -2
  13. package/dist-cjs/commands/GetDataViewCommand.js +2 -2
  14. package/dist-cjs/commands/GetDatasetCommand.js +2 -2
  15. package/dist-cjs/commands/GetExternalDataViewAccessDetailsCommand.js +2 -2
  16. package/dist-cjs/commands/GetPermissionGroupCommand.js +2 -2
  17. package/dist-cjs/commands/GetProgrammaticAccessCredentialsCommand.js +2 -2
  18. package/dist-cjs/commands/GetUserCommand.js +2 -2
  19. package/dist-cjs/commands/GetWorkingLocationCommand.js +2 -2
  20. package/dist-cjs/commands/ListChangesetsCommand.js +2 -2
  21. package/dist-cjs/commands/ListDataViewsCommand.js +2 -2
  22. package/dist-cjs/commands/ListDatasetsCommand.js +2 -2
  23. package/dist-cjs/commands/ListPermissionGroupsByUserCommand.js +2 -2
  24. package/dist-cjs/commands/ListPermissionGroupsCommand.js +2 -2
  25. package/dist-cjs/commands/ListUsersByPermissionGroupCommand.js +2 -2
  26. package/dist-cjs/commands/ListUsersCommand.js +2 -2
  27. package/dist-cjs/commands/ResetUserPasswordCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateChangesetCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateDatasetCommand.js +2 -2
  30. package/dist-cjs/commands/UpdatePermissionGroupCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateUserCommand.js +2 -2
  32. package/dist-cjs/protocols/Aws_restJson1.js +479 -501
  33. package/dist-es/commands/AssociateUserToPermissionGroupCommand.js +3 -3
  34. package/dist-es/commands/CreateChangesetCommand.js +3 -3
  35. package/dist-es/commands/CreateDataViewCommand.js +3 -3
  36. package/dist-es/commands/CreateDatasetCommand.js +3 -3
  37. package/dist-es/commands/CreatePermissionGroupCommand.js +3 -3
  38. package/dist-es/commands/CreateUserCommand.js +3 -3
  39. package/dist-es/commands/DeleteDatasetCommand.js +3 -3
  40. package/dist-es/commands/DeletePermissionGroupCommand.js +3 -3
  41. package/dist-es/commands/DisableUserCommand.js +3 -3
  42. package/dist-es/commands/DisassociateUserFromPermissionGroupCommand.js +3 -3
  43. package/dist-es/commands/EnableUserCommand.js +3 -3
  44. package/dist-es/commands/GetChangesetCommand.js +3 -3
  45. package/dist-es/commands/GetDataViewCommand.js +3 -3
  46. package/dist-es/commands/GetDatasetCommand.js +3 -3
  47. package/dist-es/commands/GetExternalDataViewAccessDetailsCommand.js +3 -3
  48. package/dist-es/commands/GetPermissionGroupCommand.js +3 -3
  49. package/dist-es/commands/GetProgrammaticAccessCredentialsCommand.js +3 -3
  50. package/dist-es/commands/GetUserCommand.js +3 -3
  51. package/dist-es/commands/GetWorkingLocationCommand.js +3 -3
  52. package/dist-es/commands/ListChangesetsCommand.js +3 -3
  53. package/dist-es/commands/ListDataViewsCommand.js +3 -3
  54. package/dist-es/commands/ListDatasetsCommand.js +3 -3
  55. package/dist-es/commands/ListPermissionGroupsByUserCommand.js +3 -3
  56. package/dist-es/commands/ListPermissionGroupsCommand.js +3 -3
  57. package/dist-es/commands/ListUsersByPermissionGroupCommand.js +3 -3
  58. package/dist-es/commands/ListUsersCommand.js +3 -3
  59. package/dist-es/commands/ResetUserPasswordCommand.js +3 -3
  60. package/dist-es/commands/UpdateChangesetCommand.js +3 -3
  61. package/dist-es/commands/UpdateDatasetCommand.js +3 -3
  62. package/dist-es/commands/UpdatePermissionGroupCommand.js +3 -3
  63. package/dist-es/commands/UpdateUserCommand.js +3 -3
  64. package/dist-es/protocols/Aws_restJson1.js +415 -437
  65. package/dist-types/protocols/Aws_restJson1.d.ts +248 -62
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -62
  67. package/package.json +35 -35
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1GetWorkingLocationCommand = exports.deserializeAws_restJson1GetUserCommand = exports.deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand = exports.deserializeAws_restJson1GetPermissionGroupCommand = exports.deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand = exports.deserializeAws_restJson1GetDataViewCommand = exports.deserializeAws_restJson1GetDatasetCommand = exports.deserializeAws_restJson1GetChangesetCommand = exports.deserializeAws_restJson1EnableUserCommand = exports.deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand = exports.deserializeAws_restJson1DisableUserCommand = exports.deserializeAws_restJson1DeletePermissionGroupCommand = exports.deserializeAws_restJson1DeleteDatasetCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreatePermissionGroupCommand = exports.deserializeAws_restJson1CreateDataViewCommand = exports.deserializeAws_restJson1CreateDatasetCommand = exports.deserializeAws_restJson1CreateChangesetCommand = exports.deserializeAws_restJson1AssociateUserToPermissionGroupCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdatePermissionGroupCommand = exports.serializeAws_restJson1UpdateDatasetCommand = exports.serializeAws_restJson1UpdateChangesetCommand = exports.serializeAws_restJson1ResetUserPasswordCommand = exports.serializeAws_restJson1ListUsersByPermissionGroupCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListPermissionGroupsByUserCommand = exports.serializeAws_restJson1ListPermissionGroupsCommand = exports.serializeAws_restJson1ListDataViewsCommand = exports.serializeAws_restJson1ListDatasetsCommand = exports.serializeAws_restJson1ListChangesetsCommand = exports.serializeAws_restJson1GetWorkingLocationCommand = exports.serializeAws_restJson1GetUserCommand = exports.serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = exports.serializeAws_restJson1GetPermissionGroupCommand = exports.serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = exports.serializeAws_restJson1GetDataViewCommand = exports.serializeAws_restJson1GetDatasetCommand = exports.serializeAws_restJson1GetChangesetCommand = exports.serializeAws_restJson1EnableUserCommand = exports.serializeAws_restJson1DisassociateUserFromPermissionGroupCommand = exports.serializeAws_restJson1DisableUserCommand = exports.serializeAws_restJson1DeletePermissionGroupCommand = exports.serializeAws_restJson1DeleteDatasetCommand = exports.serializeAws_restJson1CreateUserCommand = exports.serializeAws_restJson1CreatePermissionGroupCommand = exports.serializeAws_restJson1CreateDataViewCommand = exports.serializeAws_restJson1CreateDatasetCommand = exports.serializeAws_restJson1CreateChangesetCommand = exports.serializeAws_restJson1AssociateUserToPermissionGroupCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdatePermissionGroupCommand = exports.deserializeAws_restJson1UpdateDatasetCommand = exports.deserializeAws_restJson1UpdateChangesetCommand = exports.deserializeAws_restJson1ResetUserPasswordCommand = exports.deserializeAws_restJson1ListUsersByPermissionGroupCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListPermissionGroupsByUserCommand = exports.deserializeAws_restJson1ListPermissionGroupsCommand = exports.deserializeAws_restJson1ListDataViewsCommand = exports.deserializeAws_restJson1ListDatasetsCommand = exports.deserializeAws_restJson1ListChangesetsCommand = void 0;
3
+ exports.de_GetWorkingLocationCommand = exports.de_GetUserCommand = exports.de_GetProgrammaticAccessCredentialsCommand = exports.de_GetPermissionGroupCommand = exports.de_GetExternalDataViewAccessDetailsCommand = exports.de_GetDataViewCommand = exports.de_GetDatasetCommand = exports.de_GetChangesetCommand = exports.de_EnableUserCommand = exports.de_DisassociateUserFromPermissionGroupCommand = exports.de_DisableUserCommand = exports.de_DeletePermissionGroupCommand = exports.de_DeleteDatasetCommand = exports.de_CreateUserCommand = exports.de_CreatePermissionGroupCommand = exports.de_CreateDataViewCommand = exports.de_CreateDatasetCommand = exports.de_CreateChangesetCommand = exports.de_AssociateUserToPermissionGroupCommand = exports.se_UpdateUserCommand = exports.se_UpdatePermissionGroupCommand = exports.se_UpdateDatasetCommand = exports.se_UpdateChangesetCommand = exports.se_ResetUserPasswordCommand = exports.se_ListUsersByPermissionGroupCommand = exports.se_ListUsersCommand = exports.se_ListPermissionGroupsByUserCommand = exports.se_ListPermissionGroupsCommand = exports.se_ListDataViewsCommand = exports.se_ListDatasetsCommand = exports.se_ListChangesetsCommand = exports.se_GetWorkingLocationCommand = exports.se_GetUserCommand = exports.se_GetProgrammaticAccessCredentialsCommand = exports.se_GetPermissionGroupCommand = exports.se_GetExternalDataViewAccessDetailsCommand = exports.se_GetDataViewCommand = exports.se_GetDatasetCommand = exports.se_GetChangesetCommand = exports.se_EnableUserCommand = exports.se_DisassociateUserFromPermissionGroupCommand = exports.se_DisableUserCommand = exports.se_DeletePermissionGroupCommand = exports.se_DeleteDatasetCommand = exports.se_CreateUserCommand = exports.se_CreatePermissionGroupCommand = exports.se_CreateDataViewCommand = exports.se_CreateDatasetCommand = exports.se_CreateChangesetCommand = exports.se_AssociateUserToPermissionGroupCommand = void 0;
4
+ exports.de_UpdateUserCommand = exports.de_UpdatePermissionGroupCommand = exports.de_UpdateDatasetCommand = exports.de_UpdateChangesetCommand = exports.de_ResetUserPasswordCommand = exports.de_ListUsersByPermissionGroupCommand = exports.de_ListUsersCommand = exports.de_ListPermissionGroupsByUserCommand = exports.de_ListPermissionGroupsCommand = exports.de_ListDataViewsCommand = exports.de_ListDatasetsCommand = exports.de_ListChangesetsCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
8
8
  const FinspaceDataServiceException_1 = require("../models/FinspaceDataServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
- const serializeAws_restJson1AssociateUserToPermissionGroupCommand = async (input, context) => {
10
+ const se_AssociateUserToPermissionGroupCommand = async (input, context) => {
11
11
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
12
12
  const headers = {
13
13
  "content-type": "application/json",
@@ -30,8 +30,8 @@ const serializeAws_restJson1AssociateUserToPermissionGroupCommand = async (input
30
30
  body,
31
31
  });
32
32
  };
33
- exports.serializeAws_restJson1AssociateUserToPermissionGroupCommand = serializeAws_restJson1AssociateUserToPermissionGroupCommand;
34
- const serializeAws_restJson1CreateChangesetCommand = async (input, context) => {
33
+ exports.se_AssociateUserToPermissionGroupCommand = se_AssociateUserToPermissionGroupCommand;
34
+ const se_CreateChangesetCommand = async (input, context) => {
35
35
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
36
36
  const headers = {
37
37
  "content-type": "application/json",
@@ -42,12 +42,8 @@ const serializeAws_restJson1CreateChangesetCommand = async (input, context) => {
42
42
  body = JSON.stringify({
43
43
  ...(input.changeType != null && { changeType: input.changeType }),
44
44
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
45
- ...(input.formatParams != null && {
46
- formatParams: serializeAws_restJson1FormatParams(input.formatParams, context),
47
- }),
48
- ...(input.sourceParams != null && {
49
- sourceParams: serializeAws_restJson1SourceParams(input.sourceParams, context),
50
- }),
45
+ ...(input.formatParams != null && { formatParams: se_FormatParams(input.formatParams, context) }),
46
+ ...(input.sourceParams != null && { sourceParams: se_SourceParams(input.sourceParams, context) }),
51
47
  });
52
48
  return new protocol_http_1.HttpRequest({
53
49
  protocol,
@@ -59,8 +55,8 @@ const serializeAws_restJson1CreateChangesetCommand = async (input, context) => {
59
55
  body,
60
56
  });
61
57
  };
62
- exports.serializeAws_restJson1CreateChangesetCommand = serializeAws_restJson1CreateChangesetCommand;
63
- const serializeAws_restJson1CreateDatasetCommand = async (input, context) => {
58
+ exports.se_CreateChangesetCommand = se_CreateChangesetCommand;
59
+ const se_CreateDatasetCommand = async (input, context) => {
64
60
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
65
61
  const headers = {
66
62
  "content-type": "application/json",
@@ -73,13 +69,11 @@ const serializeAws_restJson1CreateDatasetCommand = async (input, context) => {
73
69
  ...(input.datasetDescription != null && { datasetDescription: input.datasetDescription }),
74
70
  ...(input.datasetTitle != null && { datasetTitle: input.datasetTitle }),
75
71
  ...(input.kind != null && { kind: input.kind }),
76
- ...(input.ownerInfo != null && { ownerInfo: serializeAws_restJson1DatasetOwnerInfo(input.ownerInfo, context) }),
72
+ ...(input.ownerInfo != null && { ownerInfo: se_DatasetOwnerInfo(input.ownerInfo, context) }),
77
73
  ...(input.permissionGroupParams != null && {
78
- permissionGroupParams: serializeAws_restJson1PermissionGroupParams(input.permissionGroupParams, context),
79
- }),
80
- ...(input.schemaDefinition != null && {
81
- schemaDefinition: serializeAws_restJson1SchemaUnion(input.schemaDefinition, context),
74
+ permissionGroupParams: se_PermissionGroupParams(input.permissionGroupParams, context),
82
75
  }),
76
+ ...(input.schemaDefinition != null && { schemaDefinition: se_SchemaUnion(input.schemaDefinition, context) }),
83
77
  });
84
78
  return new protocol_http_1.HttpRequest({
85
79
  protocol,
@@ -91,8 +85,8 @@ const serializeAws_restJson1CreateDatasetCommand = async (input, context) => {
91
85
  body,
92
86
  });
93
87
  };
94
- exports.serializeAws_restJson1CreateDatasetCommand = serializeAws_restJson1CreateDatasetCommand;
95
- const serializeAws_restJson1CreateDataViewCommand = async (input, context) => {
88
+ exports.se_CreateDatasetCommand = se_CreateDatasetCommand;
89
+ const se_CreateDataViewCommand = async (input, context) => {
96
90
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
97
91
  const headers = {
98
92
  "content-type": "application/json",
@@ -105,12 +99,12 @@ const serializeAws_restJson1CreateDataViewCommand = async (input, context) => {
105
99
  ...(input.autoUpdate != null && { autoUpdate: input.autoUpdate }),
106
100
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
107
101
  ...(input.destinationTypeParams != null && {
108
- destinationTypeParams: serializeAws_restJson1DataViewDestinationTypeParams(input.destinationTypeParams, context),
102
+ destinationTypeParams: se_DataViewDestinationTypeParams(input.destinationTypeParams, context),
109
103
  }),
110
104
  ...(input.partitionColumns != null && {
111
- partitionColumns: serializeAws_restJson1PartitionColumnList(input.partitionColumns, context),
105
+ partitionColumns: se_PartitionColumnList(input.partitionColumns, context),
112
106
  }),
113
- ...(input.sortColumns != null && { sortColumns: serializeAws_restJson1SortColumnList(input.sortColumns, context) }),
107
+ ...(input.sortColumns != null && { sortColumns: se_SortColumnList(input.sortColumns, context) }),
114
108
  });
115
109
  return new protocol_http_1.HttpRequest({
116
110
  protocol,
@@ -122,8 +116,8 @@ const serializeAws_restJson1CreateDataViewCommand = async (input, context) => {
122
116
  body,
123
117
  });
124
118
  };
125
- exports.serializeAws_restJson1CreateDataViewCommand = serializeAws_restJson1CreateDataViewCommand;
126
- const serializeAws_restJson1CreatePermissionGroupCommand = async (input, context) => {
119
+ exports.se_CreateDataViewCommand = se_CreateDataViewCommand;
120
+ const se_CreatePermissionGroupCommand = async (input, context) => {
127
121
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
128
122
  const headers = {
129
123
  "content-type": "application/json",
@@ -132,7 +126,7 @@ const serializeAws_restJson1CreatePermissionGroupCommand = async (input, context
132
126
  let body;
133
127
  body = JSON.stringify({
134
128
  ...(input.applicationPermissions != null && {
135
- applicationPermissions: serializeAws_restJson1ApplicationPermissionList(input.applicationPermissions, context),
129
+ applicationPermissions: se_ApplicationPermissionList(input.applicationPermissions, context),
136
130
  }),
137
131
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
138
132
  ...(input.description != null && { description: input.description }),
@@ -148,8 +142,8 @@ const serializeAws_restJson1CreatePermissionGroupCommand = async (input, context
148
142
  body,
149
143
  });
150
144
  };
151
- exports.serializeAws_restJson1CreatePermissionGroupCommand = serializeAws_restJson1CreatePermissionGroupCommand;
152
- const serializeAws_restJson1CreateUserCommand = async (input, context) => {
145
+ exports.se_CreatePermissionGroupCommand = se_CreatePermissionGroupCommand;
146
+ const se_CreateUserCommand = async (input, context) => {
153
147
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
154
148
  const headers = {
155
149
  "content-type": "application/json",
@@ -175,8 +169,8 @@ const serializeAws_restJson1CreateUserCommand = async (input, context) => {
175
169
  body,
176
170
  });
177
171
  };
178
- exports.serializeAws_restJson1CreateUserCommand = serializeAws_restJson1CreateUserCommand;
179
- const serializeAws_restJson1DeleteDatasetCommand = async (input, context) => {
172
+ exports.se_CreateUserCommand = se_CreateUserCommand;
173
+ const se_DeleteDatasetCommand = async (input, context) => {
180
174
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
181
175
  const headers = {};
182
176
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasetsv2/{datasetId}";
@@ -196,8 +190,8 @@ const serializeAws_restJson1DeleteDatasetCommand = async (input, context) => {
196
190
  body,
197
191
  });
198
192
  };
199
- exports.serializeAws_restJson1DeleteDatasetCommand = serializeAws_restJson1DeleteDatasetCommand;
200
- const serializeAws_restJson1DeletePermissionGroupCommand = async (input, context) => {
193
+ exports.se_DeleteDatasetCommand = se_DeleteDatasetCommand;
194
+ const se_DeletePermissionGroupCommand = async (input, context) => {
201
195
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
202
196
  const headers = {};
203
197
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/permission-group/{permissionGroupId}";
@@ -217,8 +211,8 @@ const serializeAws_restJson1DeletePermissionGroupCommand = async (input, context
217
211
  body,
218
212
  });
219
213
  };
220
- exports.serializeAws_restJson1DeletePermissionGroupCommand = serializeAws_restJson1DeletePermissionGroupCommand;
221
- const serializeAws_restJson1DisableUserCommand = async (input, context) => {
214
+ exports.se_DeletePermissionGroupCommand = se_DeletePermissionGroupCommand;
215
+ const se_DisableUserCommand = async (input, context) => {
222
216
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
223
217
  const headers = {
224
218
  "content-type": "application/json",
@@ -239,8 +233,8 @@ const serializeAws_restJson1DisableUserCommand = async (input, context) => {
239
233
  body,
240
234
  });
241
235
  };
242
- exports.serializeAws_restJson1DisableUserCommand = serializeAws_restJson1DisableUserCommand;
243
- const serializeAws_restJson1DisassociateUserFromPermissionGroupCommand = async (input, context) => {
236
+ exports.se_DisableUserCommand = se_DisableUserCommand;
237
+ const se_DisassociateUserFromPermissionGroupCommand = async (input, context) => {
244
238
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
245
239
  const headers = {};
246
240
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -262,8 +256,8 @@ const serializeAws_restJson1DisassociateUserFromPermissionGroupCommand = async (
262
256
  body,
263
257
  });
264
258
  };
265
- exports.serializeAws_restJson1DisassociateUserFromPermissionGroupCommand = serializeAws_restJson1DisassociateUserFromPermissionGroupCommand;
266
- const serializeAws_restJson1EnableUserCommand = async (input, context) => {
259
+ exports.se_DisassociateUserFromPermissionGroupCommand = se_DisassociateUserFromPermissionGroupCommand;
260
+ const se_EnableUserCommand = async (input, context) => {
267
261
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
268
262
  const headers = {
269
263
  "content-type": "application/json",
@@ -284,8 +278,8 @@ const serializeAws_restJson1EnableUserCommand = async (input, context) => {
284
278
  body,
285
279
  });
286
280
  };
287
- exports.serializeAws_restJson1EnableUserCommand = serializeAws_restJson1EnableUserCommand;
288
- const serializeAws_restJson1GetChangesetCommand = async (input, context) => {
281
+ exports.se_EnableUserCommand = se_EnableUserCommand;
282
+ const se_GetChangesetCommand = async (input, context) => {
289
283
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
290
284
  const headers = {};
291
285
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -303,8 +297,8 @@ const serializeAws_restJson1GetChangesetCommand = async (input, context) => {
303
297
  body,
304
298
  });
305
299
  };
306
- exports.serializeAws_restJson1GetChangesetCommand = serializeAws_restJson1GetChangesetCommand;
307
- const serializeAws_restJson1GetDatasetCommand = async (input, context) => {
300
+ exports.se_GetChangesetCommand = se_GetChangesetCommand;
301
+ const se_GetDatasetCommand = async (input, context) => {
308
302
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
309
303
  const headers = {};
310
304
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasetsv2/{datasetId}";
@@ -320,8 +314,8 @@ const serializeAws_restJson1GetDatasetCommand = async (input, context) => {
320
314
  body,
321
315
  });
322
316
  };
323
- exports.serializeAws_restJson1GetDatasetCommand = serializeAws_restJson1GetDatasetCommand;
324
- const serializeAws_restJson1GetDataViewCommand = async (input, context) => {
317
+ exports.se_GetDatasetCommand = se_GetDatasetCommand;
318
+ const se_GetDataViewCommand = async (input, context) => {
325
319
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
326
320
  const headers = {};
327
321
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -339,8 +333,8 @@ const serializeAws_restJson1GetDataViewCommand = async (input, context) => {
339
333
  body,
340
334
  });
341
335
  };
342
- exports.serializeAws_restJson1GetDataViewCommand = serializeAws_restJson1GetDataViewCommand;
343
- const serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = async (input, context) => {
336
+ exports.se_GetDataViewCommand = se_GetDataViewCommand;
337
+ const se_GetExternalDataViewAccessDetailsCommand = async (input, context) => {
344
338
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
345
339
  const headers = {};
346
340
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -358,8 +352,8 @@ const serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = async (inp
358
352
  body,
359
353
  });
360
354
  };
361
- exports.serializeAws_restJson1GetExternalDataViewAccessDetailsCommand = serializeAws_restJson1GetExternalDataViewAccessDetailsCommand;
362
- const serializeAws_restJson1GetPermissionGroupCommand = async (input, context) => {
355
+ exports.se_GetExternalDataViewAccessDetailsCommand = se_GetExternalDataViewAccessDetailsCommand;
356
+ const se_GetPermissionGroupCommand = async (input, context) => {
363
357
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
364
358
  const headers = {};
365
359
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/permission-group/{permissionGroupId}";
@@ -375,8 +369,8 @@ const serializeAws_restJson1GetPermissionGroupCommand = async (input, context) =
375
369
  body,
376
370
  });
377
371
  };
378
- exports.serializeAws_restJson1GetPermissionGroupCommand = serializeAws_restJson1GetPermissionGroupCommand;
379
- const serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = async (input, context) => {
372
+ exports.se_GetPermissionGroupCommand = se_GetPermissionGroupCommand;
373
+ const se_GetProgrammaticAccessCredentialsCommand = async (input, context) => {
380
374
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
381
375
  const headers = {};
382
376
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/credentials/programmatic";
@@ -396,8 +390,8 @@ const serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = async (inp
396
390
  body,
397
391
  });
398
392
  };
399
- exports.serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = serializeAws_restJson1GetProgrammaticAccessCredentialsCommand;
400
- const serializeAws_restJson1GetUserCommand = async (input, context) => {
393
+ exports.se_GetProgrammaticAccessCredentialsCommand = se_GetProgrammaticAccessCredentialsCommand;
394
+ const se_GetUserCommand = async (input, context) => {
401
395
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
402
396
  const headers = {};
403
397
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/{userId}";
@@ -413,8 +407,8 @@ const serializeAws_restJson1GetUserCommand = async (input, context) => {
413
407
  body,
414
408
  });
415
409
  };
416
- exports.serializeAws_restJson1GetUserCommand = serializeAws_restJson1GetUserCommand;
417
- const serializeAws_restJson1GetWorkingLocationCommand = async (input, context) => {
410
+ exports.se_GetUserCommand = se_GetUserCommand;
411
+ const se_GetWorkingLocationCommand = async (input, context) => {
418
412
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
419
413
  const headers = {
420
414
  "content-type": "application/json",
@@ -434,8 +428,8 @@ const serializeAws_restJson1GetWorkingLocationCommand = async (input, context) =
434
428
  body,
435
429
  });
436
430
  };
437
- exports.serializeAws_restJson1GetWorkingLocationCommand = serializeAws_restJson1GetWorkingLocationCommand;
438
- const serializeAws_restJson1ListChangesetsCommand = async (input, context) => {
431
+ exports.se_GetWorkingLocationCommand = se_GetWorkingLocationCommand;
432
+ const se_ListChangesetsCommand = async (input, context) => {
439
433
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
440
434
  const headers = {};
441
435
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets/{datasetId}/changesetsv2";
@@ -456,8 +450,8 @@ const serializeAws_restJson1ListChangesetsCommand = async (input, context) => {
456
450
  body,
457
451
  });
458
452
  };
459
- exports.serializeAws_restJson1ListChangesetsCommand = serializeAws_restJson1ListChangesetsCommand;
460
- const serializeAws_restJson1ListDatasetsCommand = async (input, context) => {
453
+ exports.se_ListChangesetsCommand = se_ListChangesetsCommand;
454
+ const se_ListDatasetsCommand = async (input, context) => {
461
455
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
462
456
  const headers = {};
463
457
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasetsv2";
@@ -477,8 +471,8 @@ const serializeAws_restJson1ListDatasetsCommand = async (input, context) => {
477
471
  body,
478
472
  });
479
473
  };
480
- exports.serializeAws_restJson1ListDatasetsCommand = serializeAws_restJson1ListDatasetsCommand;
481
- const serializeAws_restJson1ListDataViewsCommand = async (input, context) => {
474
+ exports.se_ListDatasetsCommand = se_ListDatasetsCommand;
475
+ const se_ListDataViewsCommand = async (input, context) => {
482
476
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
483
477
  const headers = {};
484
478
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets/{datasetId}/dataviewsv2";
@@ -499,8 +493,8 @@ const serializeAws_restJson1ListDataViewsCommand = async (input, context) => {
499
493
  body,
500
494
  });
501
495
  };
502
- exports.serializeAws_restJson1ListDataViewsCommand = serializeAws_restJson1ListDataViewsCommand;
503
- const serializeAws_restJson1ListPermissionGroupsCommand = async (input, context) => {
496
+ exports.se_ListDataViewsCommand = se_ListDataViewsCommand;
497
+ const se_ListPermissionGroupsCommand = async (input, context) => {
504
498
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
505
499
  const headers = {};
506
500
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/permission-group";
@@ -520,8 +514,8 @@ const serializeAws_restJson1ListPermissionGroupsCommand = async (input, context)
520
514
  body,
521
515
  });
522
516
  };
523
- exports.serializeAws_restJson1ListPermissionGroupsCommand = serializeAws_restJson1ListPermissionGroupsCommand;
524
- const serializeAws_restJson1ListPermissionGroupsByUserCommand = async (input, context) => {
517
+ exports.se_ListPermissionGroupsCommand = se_ListPermissionGroupsCommand;
518
+ const se_ListPermissionGroupsByUserCommand = async (input, context) => {
525
519
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
526
520
  const headers = {};
527
521
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/{userId}/permission-groups";
@@ -542,8 +536,8 @@ const serializeAws_restJson1ListPermissionGroupsByUserCommand = async (input, co
542
536
  body,
543
537
  });
544
538
  };
545
- exports.serializeAws_restJson1ListPermissionGroupsByUserCommand = serializeAws_restJson1ListPermissionGroupsByUserCommand;
546
- const serializeAws_restJson1ListUsersCommand = async (input, context) => {
539
+ exports.se_ListPermissionGroupsByUserCommand = se_ListPermissionGroupsByUserCommand;
540
+ const se_ListUsersCommand = async (input, context) => {
547
541
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
548
542
  const headers = {};
549
543
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user";
@@ -563,8 +557,8 @@ const serializeAws_restJson1ListUsersCommand = async (input, context) => {
563
557
  body,
564
558
  });
565
559
  };
566
- exports.serializeAws_restJson1ListUsersCommand = serializeAws_restJson1ListUsersCommand;
567
- const serializeAws_restJson1ListUsersByPermissionGroupCommand = async (input, context) => {
560
+ exports.se_ListUsersCommand = se_ListUsersCommand;
561
+ const se_ListUsersByPermissionGroupCommand = async (input, context) => {
568
562
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
569
563
  const headers = {};
570
564
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -586,8 +580,8 @@ const serializeAws_restJson1ListUsersByPermissionGroupCommand = async (input, co
586
580
  body,
587
581
  });
588
582
  };
589
- exports.serializeAws_restJson1ListUsersByPermissionGroupCommand = serializeAws_restJson1ListUsersByPermissionGroupCommand;
590
- const serializeAws_restJson1ResetUserPasswordCommand = async (input, context) => {
583
+ exports.se_ListUsersByPermissionGroupCommand = se_ListUsersByPermissionGroupCommand;
584
+ const se_ResetUserPasswordCommand = async (input, context) => {
591
585
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
592
586
  const headers = {
593
587
  "content-type": "application/json",
@@ -608,8 +602,8 @@ const serializeAws_restJson1ResetUserPasswordCommand = async (input, context) =>
608
602
  body,
609
603
  });
610
604
  };
611
- exports.serializeAws_restJson1ResetUserPasswordCommand = serializeAws_restJson1ResetUserPasswordCommand;
612
- const serializeAws_restJson1UpdateChangesetCommand = async (input, context) => {
605
+ exports.se_ResetUserPasswordCommand = se_ResetUserPasswordCommand;
606
+ const se_UpdateChangesetCommand = async (input, context) => {
613
607
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
614
608
  const headers = {
615
609
  "content-type": "application/json",
@@ -621,12 +615,8 @@ const serializeAws_restJson1UpdateChangesetCommand = async (input, context) => {
621
615
  let body;
622
616
  body = JSON.stringify({
623
617
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
624
- ...(input.formatParams != null && {
625
- formatParams: serializeAws_restJson1FormatParams(input.formatParams, context),
626
- }),
627
- ...(input.sourceParams != null && {
628
- sourceParams: serializeAws_restJson1SourceParams(input.sourceParams, context),
629
- }),
618
+ ...(input.formatParams != null && { formatParams: se_FormatParams(input.formatParams, context) }),
619
+ ...(input.sourceParams != null && { sourceParams: se_SourceParams(input.sourceParams, context) }),
630
620
  });
631
621
  return new protocol_http_1.HttpRequest({
632
622
  protocol,
@@ -638,8 +628,8 @@ const serializeAws_restJson1UpdateChangesetCommand = async (input, context) => {
638
628
  body,
639
629
  });
640
630
  };
641
- exports.serializeAws_restJson1UpdateChangesetCommand = serializeAws_restJson1UpdateChangesetCommand;
642
- const serializeAws_restJson1UpdateDatasetCommand = async (input, context) => {
631
+ exports.se_UpdateChangesetCommand = se_UpdateChangesetCommand;
632
+ const se_UpdateDatasetCommand = async (input, context) => {
643
633
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
644
634
  const headers = {
645
635
  "content-type": "application/json",
@@ -653,9 +643,7 @@ const serializeAws_restJson1UpdateDatasetCommand = async (input, context) => {
653
643
  ...(input.datasetDescription != null && { datasetDescription: input.datasetDescription }),
654
644
  ...(input.datasetTitle != null && { datasetTitle: input.datasetTitle }),
655
645
  ...(input.kind != null && { kind: input.kind }),
656
- ...(input.schemaDefinition != null && {
657
- schemaDefinition: serializeAws_restJson1SchemaUnion(input.schemaDefinition, context),
658
- }),
646
+ ...(input.schemaDefinition != null && { schemaDefinition: se_SchemaUnion(input.schemaDefinition, context) }),
659
647
  });
660
648
  return new protocol_http_1.HttpRequest({
661
649
  protocol,
@@ -667,8 +655,8 @@ const serializeAws_restJson1UpdateDatasetCommand = async (input, context) => {
667
655
  body,
668
656
  });
669
657
  };
670
- exports.serializeAws_restJson1UpdateDatasetCommand = serializeAws_restJson1UpdateDatasetCommand;
671
- const serializeAws_restJson1UpdatePermissionGroupCommand = async (input, context) => {
658
+ exports.se_UpdateDatasetCommand = se_UpdateDatasetCommand;
659
+ const se_UpdatePermissionGroupCommand = async (input, context) => {
672
660
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
673
661
  const headers = {
674
662
  "content-type": "application/json",
@@ -678,7 +666,7 @@ const serializeAws_restJson1UpdatePermissionGroupCommand = async (input, context
678
666
  let body;
679
667
  body = JSON.stringify({
680
668
  ...(input.applicationPermissions != null && {
681
- applicationPermissions: serializeAws_restJson1ApplicationPermissionList(input.applicationPermissions, context),
669
+ applicationPermissions: se_ApplicationPermissionList(input.applicationPermissions, context),
682
670
  }),
683
671
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
684
672
  ...(input.description != null && { description: input.description }),
@@ -694,8 +682,8 @@ const serializeAws_restJson1UpdatePermissionGroupCommand = async (input, context
694
682
  body,
695
683
  });
696
684
  };
697
- exports.serializeAws_restJson1UpdatePermissionGroupCommand = serializeAws_restJson1UpdatePermissionGroupCommand;
698
- const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
685
+ exports.se_UpdatePermissionGroupCommand = se_UpdatePermissionGroupCommand;
686
+ const se_UpdateUserCommand = async (input, context) => {
699
687
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
700
688
  const headers = {
701
689
  "content-type": "application/json",
@@ -721,10 +709,10 @@ const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
721
709
  body,
722
710
  });
723
711
  };
724
- exports.serializeAws_restJson1UpdateUserCommand = serializeAws_restJson1UpdateUserCommand;
725
- const deserializeAws_restJson1AssociateUserToPermissionGroupCommand = async (output, context) => {
712
+ exports.se_UpdateUserCommand = se_UpdateUserCommand;
713
+ const de_AssociateUserToPermissionGroupCommand = async (output, context) => {
726
714
  if (output.statusCode !== 200 && output.statusCode >= 300) {
727
- return deserializeAws_restJson1AssociateUserToPermissionGroupCommandError(output, context);
715
+ return de_AssociateUserToPermissionGroupCommandError(output, context);
728
716
  }
729
717
  const contents = map({
730
718
  $metadata: deserializeMetadata(output),
@@ -735,8 +723,8 @@ const deserializeAws_restJson1AssociateUserToPermissionGroupCommand = async (out
735
723
  await collectBody(output.body, context);
736
724
  return contents;
737
725
  };
738
- exports.deserializeAws_restJson1AssociateUserToPermissionGroupCommand = deserializeAws_restJson1AssociateUserToPermissionGroupCommand;
739
- const deserializeAws_restJson1AssociateUserToPermissionGroupCommandError = async (output, context) => {
726
+ exports.de_AssociateUserToPermissionGroupCommand = de_AssociateUserToPermissionGroupCommand;
727
+ const de_AssociateUserToPermissionGroupCommandError = async (output, context) => {
740
728
  const parsedOutput = {
741
729
  ...output,
742
730
  body: await parseErrorBody(output.body, context),
@@ -745,22 +733,22 @@ const deserializeAws_restJson1AssociateUserToPermissionGroupCommandError = async
745
733
  switch (errorCode) {
746
734
  case "AccessDeniedException":
747
735
  case "com.amazonaws.finspacedata#AccessDeniedException":
748
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
736
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
749
737
  case "ConflictException":
750
738
  case "com.amazonaws.finspacedata#ConflictException":
751
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
739
+ throw await de_ConflictExceptionRes(parsedOutput, context);
752
740
  case "InternalServerException":
753
741
  case "com.amazonaws.finspacedata#InternalServerException":
754
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
742
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
755
743
  case "ResourceNotFoundException":
756
744
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
757
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
745
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
758
746
  case "ThrottlingException":
759
747
  case "com.amazonaws.finspacedata#ThrottlingException":
760
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
748
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
761
749
  case "ValidationException":
762
750
  case "com.amazonaws.finspacedata#ValidationException":
763
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
751
+ throw await de_ValidationExceptionRes(parsedOutput, context);
764
752
  default:
765
753
  const parsedBody = parsedOutput.body;
766
754
  (0, smithy_client_1.throwDefaultError)({
@@ -771,9 +759,9 @@ const deserializeAws_restJson1AssociateUserToPermissionGroupCommandError = async
771
759
  });
772
760
  }
773
761
  };
774
- const deserializeAws_restJson1CreateChangesetCommand = async (output, context) => {
762
+ const de_CreateChangesetCommand = async (output, context) => {
775
763
  if (output.statusCode !== 200 && output.statusCode >= 300) {
776
- return deserializeAws_restJson1CreateChangesetCommandError(output, context);
764
+ return de_CreateChangesetCommandError(output, context);
777
765
  }
778
766
  const contents = map({
779
767
  $metadata: deserializeMetadata(output),
@@ -787,8 +775,8 @@ const deserializeAws_restJson1CreateChangesetCommand = async (output, context) =
787
775
  }
788
776
  return contents;
789
777
  };
790
- exports.deserializeAws_restJson1CreateChangesetCommand = deserializeAws_restJson1CreateChangesetCommand;
791
- const deserializeAws_restJson1CreateChangesetCommandError = async (output, context) => {
778
+ exports.de_CreateChangesetCommand = de_CreateChangesetCommand;
779
+ const de_CreateChangesetCommandError = async (output, context) => {
792
780
  const parsedOutput = {
793
781
  ...output,
794
782
  body: await parseErrorBody(output.body, context),
@@ -797,25 +785,25 @@ const deserializeAws_restJson1CreateChangesetCommandError = async (output, conte
797
785
  switch (errorCode) {
798
786
  case "AccessDeniedException":
799
787
  case "com.amazonaws.finspacedata#AccessDeniedException":
800
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
788
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
801
789
  case "ConflictException":
802
790
  case "com.amazonaws.finspacedata#ConflictException":
803
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
791
+ throw await de_ConflictExceptionRes(parsedOutput, context);
804
792
  case "InternalServerException":
805
793
  case "com.amazonaws.finspacedata#InternalServerException":
806
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
794
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
807
795
  case "LimitExceededException":
808
796
  case "com.amazonaws.finspacedata#LimitExceededException":
809
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
797
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
810
798
  case "ResourceNotFoundException":
811
799
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
812
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
800
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
813
801
  case "ThrottlingException":
814
802
  case "com.amazonaws.finspacedata#ThrottlingException":
815
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
803
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
816
804
  case "ValidationException":
817
805
  case "com.amazonaws.finspacedata#ValidationException":
818
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
806
+ throw await de_ValidationExceptionRes(parsedOutput, context);
819
807
  default:
820
808
  const parsedBody = parsedOutput.body;
821
809
  (0, smithy_client_1.throwDefaultError)({
@@ -826,9 +814,9 @@ const deserializeAws_restJson1CreateChangesetCommandError = async (output, conte
826
814
  });
827
815
  }
828
816
  };
829
- const deserializeAws_restJson1CreateDatasetCommand = async (output, context) => {
817
+ const de_CreateDatasetCommand = async (output, context) => {
830
818
  if (output.statusCode !== 200 && output.statusCode >= 300) {
831
- return deserializeAws_restJson1CreateDatasetCommandError(output, context);
819
+ return de_CreateDatasetCommandError(output, context);
832
820
  }
833
821
  const contents = map({
834
822
  $metadata: deserializeMetadata(output),
@@ -839,8 +827,8 @@ const deserializeAws_restJson1CreateDatasetCommand = async (output, context) =>
839
827
  }
840
828
  return contents;
841
829
  };
842
- exports.deserializeAws_restJson1CreateDatasetCommand = deserializeAws_restJson1CreateDatasetCommand;
843
- const deserializeAws_restJson1CreateDatasetCommandError = async (output, context) => {
830
+ exports.de_CreateDatasetCommand = de_CreateDatasetCommand;
831
+ const de_CreateDatasetCommandError = async (output, context) => {
844
832
  const parsedOutput = {
845
833
  ...output,
846
834
  body: await parseErrorBody(output.body, context),
@@ -849,25 +837,25 @@ const deserializeAws_restJson1CreateDatasetCommandError = async (output, context
849
837
  switch (errorCode) {
850
838
  case "AccessDeniedException":
851
839
  case "com.amazonaws.finspacedata#AccessDeniedException":
852
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
840
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
853
841
  case "ConflictException":
854
842
  case "com.amazonaws.finspacedata#ConflictException":
855
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
843
+ throw await de_ConflictExceptionRes(parsedOutput, context);
856
844
  case "InternalServerException":
857
845
  case "com.amazonaws.finspacedata#InternalServerException":
858
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
846
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
859
847
  case "LimitExceededException":
860
848
  case "com.amazonaws.finspacedata#LimitExceededException":
861
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
849
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
862
850
  case "ResourceNotFoundException":
863
851
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
864
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
852
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
865
853
  case "ThrottlingException":
866
854
  case "com.amazonaws.finspacedata#ThrottlingException":
867
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
855
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
868
856
  case "ValidationException":
869
857
  case "com.amazonaws.finspacedata#ValidationException":
870
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
858
+ throw await de_ValidationExceptionRes(parsedOutput, context);
871
859
  default:
872
860
  const parsedBody = parsedOutput.body;
873
861
  (0, smithy_client_1.throwDefaultError)({
@@ -878,9 +866,9 @@ const deserializeAws_restJson1CreateDatasetCommandError = async (output, context
878
866
  });
879
867
  }
880
868
  };
881
- const deserializeAws_restJson1CreateDataViewCommand = async (output, context) => {
869
+ const de_CreateDataViewCommand = async (output, context) => {
882
870
  if (output.statusCode !== 200 && output.statusCode >= 300) {
883
- return deserializeAws_restJson1CreateDataViewCommandError(output, context);
871
+ return de_CreateDataViewCommandError(output, context);
884
872
  }
885
873
  const contents = map({
886
874
  $metadata: deserializeMetadata(output),
@@ -894,8 +882,8 @@ const deserializeAws_restJson1CreateDataViewCommand = async (output, context) =>
894
882
  }
895
883
  return contents;
896
884
  };
897
- exports.deserializeAws_restJson1CreateDataViewCommand = deserializeAws_restJson1CreateDataViewCommand;
898
- const deserializeAws_restJson1CreateDataViewCommandError = async (output, context) => {
885
+ exports.de_CreateDataViewCommand = de_CreateDataViewCommand;
886
+ const de_CreateDataViewCommandError = async (output, context) => {
899
887
  const parsedOutput = {
900
888
  ...output,
901
889
  body: await parseErrorBody(output.body, context),
@@ -904,22 +892,22 @@ const deserializeAws_restJson1CreateDataViewCommandError = async (output, contex
904
892
  switch (errorCode) {
905
893
  case "ConflictException":
906
894
  case "com.amazonaws.finspacedata#ConflictException":
907
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
895
+ throw await de_ConflictExceptionRes(parsedOutput, context);
908
896
  case "InternalServerException":
909
897
  case "com.amazonaws.finspacedata#InternalServerException":
910
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
898
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
911
899
  case "LimitExceededException":
912
900
  case "com.amazonaws.finspacedata#LimitExceededException":
913
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
901
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
914
902
  case "ResourceNotFoundException":
915
903
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
916
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
904
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
917
905
  case "ThrottlingException":
918
906
  case "com.amazonaws.finspacedata#ThrottlingException":
919
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
907
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
920
908
  case "ValidationException":
921
909
  case "com.amazonaws.finspacedata#ValidationException":
922
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
910
+ throw await de_ValidationExceptionRes(parsedOutput, context);
923
911
  default:
924
912
  const parsedBody = parsedOutput.body;
925
913
  (0, smithy_client_1.throwDefaultError)({
@@ -930,9 +918,9 @@ const deserializeAws_restJson1CreateDataViewCommandError = async (output, contex
930
918
  });
931
919
  }
932
920
  };
933
- const deserializeAws_restJson1CreatePermissionGroupCommand = async (output, context) => {
921
+ const de_CreatePermissionGroupCommand = async (output, context) => {
934
922
  if (output.statusCode !== 200 && output.statusCode >= 300) {
935
- return deserializeAws_restJson1CreatePermissionGroupCommandError(output, context);
923
+ return de_CreatePermissionGroupCommandError(output, context);
936
924
  }
937
925
  const contents = map({
938
926
  $metadata: deserializeMetadata(output),
@@ -943,8 +931,8 @@ const deserializeAws_restJson1CreatePermissionGroupCommand = async (output, cont
943
931
  }
944
932
  return contents;
945
933
  };
946
- exports.deserializeAws_restJson1CreatePermissionGroupCommand = deserializeAws_restJson1CreatePermissionGroupCommand;
947
- const deserializeAws_restJson1CreatePermissionGroupCommandError = async (output, context) => {
934
+ exports.de_CreatePermissionGroupCommand = de_CreatePermissionGroupCommand;
935
+ const de_CreatePermissionGroupCommandError = async (output, context) => {
948
936
  const parsedOutput = {
949
937
  ...output,
950
938
  body: await parseErrorBody(output.body, context),
@@ -953,22 +941,22 @@ const deserializeAws_restJson1CreatePermissionGroupCommandError = async (output,
953
941
  switch (errorCode) {
954
942
  case "AccessDeniedException":
955
943
  case "com.amazonaws.finspacedata#AccessDeniedException":
956
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
944
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
957
945
  case "ConflictException":
958
946
  case "com.amazonaws.finspacedata#ConflictException":
959
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
947
+ throw await de_ConflictExceptionRes(parsedOutput, context);
960
948
  case "InternalServerException":
961
949
  case "com.amazonaws.finspacedata#InternalServerException":
962
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
950
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
963
951
  case "LimitExceededException":
964
952
  case "com.amazonaws.finspacedata#LimitExceededException":
965
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
953
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
966
954
  case "ThrottlingException":
967
955
  case "com.amazonaws.finspacedata#ThrottlingException":
968
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
956
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
969
957
  case "ValidationException":
970
958
  case "com.amazonaws.finspacedata#ValidationException":
971
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
959
+ throw await de_ValidationExceptionRes(parsedOutput, context);
972
960
  default:
973
961
  const parsedBody = parsedOutput.body;
974
962
  (0, smithy_client_1.throwDefaultError)({
@@ -979,9 +967,9 @@ const deserializeAws_restJson1CreatePermissionGroupCommandError = async (output,
979
967
  });
980
968
  }
981
969
  };
982
- const deserializeAws_restJson1CreateUserCommand = async (output, context) => {
970
+ const de_CreateUserCommand = async (output, context) => {
983
971
  if (output.statusCode !== 200 && output.statusCode >= 300) {
984
- return deserializeAws_restJson1CreateUserCommandError(output, context);
972
+ return de_CreateUserCommandError(output, context);
985
973
  }
986
974
  const contents = map({
987
975
  $metadata: deserializeMetadata(output),
@@ -992,8 +980,8 @@ const deserializeAws_restJson1CreateUserCommand = async (output, context) => {
992
980
  }
993
981
  return contents;
994
982
  };
995
- exports.deserializeAws_restJson1CreateUserCommand = deserializeAws_restJson1CreateUserCommand;
996
- const deserializeAws_restJson1CreateUserCommandError = async (output, context) => {
983
+ exports.de_CreateUserCommand = de_CreateUserCommand;
984
+ const de_CreateUserCommandError = async (output, context) => {
997
985
  const parsedOutput = {
998
986
  ...output,
999
987
  body: await parseErrorBody(output.body, context),
@@ -1002,22 +990,22 @@ const deserializeAws_restJson1CreateUserCommandError = async (output, context) =
1002
990
  switch (errorCode) {
1003
991
  case "AccessDeniedException":
1004
992
  case "com.amazonaws.finspacedata#AccessDeniedException":
1005
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
993
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1006
994
  case "ConflictException":
1007
995
  case "com.amazonaws.finspacedata#ConflictException":
1008
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
996
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1009
997
  case "InternalServerException":
1010
998
  case "com.amazonaws.finspacedata#InternalServerException":
1011
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
999
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1012
1000
  case "LimitExceededException":
1013
1001
  case "com.amazonaws.finspacedata#LimitExceededException":
1014
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
1002
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1015
1003
  case "ThrottlingException":
1016
1004
  case "com.amazonaws.finspacedata#ThrottlingException":
1017
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1005
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1018
1006
  case "ValidationException":
1019
1007
  case "com.amazonaws.finspacedata#ValidationException":
1020
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1008
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1021
1009
  default:
1022
1010
  const parsedBody = parsedOutput.body;
1023
1011
  (0, smithy_client_1.throwDefaultError)({
@@ -1028,9 +1016,9 @@ const deserializeAws_restJson1CreateUserCommandError = async (output, context) =
1028
1016
  });
1029
1017
  }
1030
1018
  };
1031
- const deserializeAws_restJson1DeleteDatasetCommand = async (output, context) => {
1019
+ const de_DeleteDatasetCommand = async (output, context) => {
1032
1020
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1033
- return deserializeAws_restJson1DeleteDatasetCommandError(output, context);
1021
+ return de_DeleteDatasetCommandError(output, context);
1034
1022
  }
1035
1023
  const contents = map({
1036
1024
  $metadata: deserializeMetadata(output),
@@ -1041,8 +1029,8 @@ const deserializeAws_restJson1DeleteDatasetCommand = async (output, context) =>
1041
1029
  }
1042
1030
  return contents;
1043
1031
  };
1044
- exports.deserializeAws_restJson1DeleteDatasetCommand = deserializeAws_restJson1DeleteDatasetCommand;
1045
- const deserializeAws_restJson1DeleteDatasetCommandError = async (output, context) => {
1032
+ exports.de_DeleteDatasetCommand = de_DeleteDatasetCommand;
1033
+ const de_DeleteDatasetCommandError = async (output, context) => {
1046
1034
  const parsedOutput = {
1047
1035
  ...output,
1048
1036
  body: await parseErrorBody(output.body, context),
@@ -1051,25 +1039,25 @@ const deserializeAws_restJson1DeleteDatasetCommandError = async (output, context
1051
1039
  switch (errorCode) {
1052
1040
  case "AccessDeniedException":
1053
1041
  case "com.amazonaws.finspacedata#AccessDeniedException":
1054
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1042
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1055
1043
  case "ConflictException":
1056
1044
  case "com.amazonaws.finspacedata#ConflictException":
1057
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1045
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1058
1046
  case "InternalServerException":
1059
1047
  case "com.amazonaws.finspacedata#InternalServerException":
1060
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1048
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1061
1049
  case "LimitExceededException":
1062
1050
  case "com.amazonaws.finspacedata#LimitExceededException":
1063
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
1051
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1064
1052
  case "ResourceNotFoundException":
1065
1053
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1066
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1054
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1067
1055
  case "ThrottlingException":
1068
1056
  case "com.amazonaws.finspacedata#ThrottlingException":
1069
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1057
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1070
1058
  case "ValidationException":
1071
1059
  case "com.amazonaws.finspacedata#ValidationException":
1072
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1060
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1073
1061
  default:
1074
1062
  const parsedBody = parsedOutput.body;
1075
1063
  (0, smithy_client_1.throwDefaultError)({
@@ -1080,9 +1068,9 @@ const deserializeAws_restJson1DeleteDatasetCommandError = async (output, context
1080
1068
  });
1081
1069
  }
1082
1070
  };
1083
- const deserializeAws_restJson1DeletePermissionGroupCommand = async (output, context) => {
1071
+ const de_DeletePermissionGroupCommand = async (output, context) => {
1084
1072
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1085
- return deserializeAws_restJson1DeletePermissionGroupCommandError(output, context);
1073
+ return de_DeletePermissionGroupCommandError(output, context);
1086
1074
  }
1087
1075
  const contents = map({
1088
1076
  $metadata: deserializeMetadata(output),
@@ -1093,8 +1081,8 @@ const deserializeAws_restJson1DeletePermissionGroupCommand = async (output, cont
1093
1081
  }
1094
1082
  return contents;
1095
1083
  };
1096
- exports.deserializeAws_restJson1DeletePermissionGroupCommand = deserializeAws_restJson1DeletePermissionGroupCommand;
1097
- const deserializeAws_restJson1DeletePermissionGroupCommandError = async (output, context) => {
1084
+ exports.de_DeletePermissionGroupCommand = de_DeletePermissionGroupCommand;
1085
+ const de_DeletePermissionGroupCommandError = async (output, context) => {
1098
1086
  const parsedOutput = {
1099
1087
  ...output,
1100
1088
  body: await parseErrorBody(output.body, context),
@@ -1103,25 +1091,25 @@ const deserializeAws_restJson1DeletePermissionGroupCommandError = async (output,
1103
1091
  switch (errorCode) {
1104
1092
  case "AccessDeniedException":
1105
1093
  case "com.amazonaws.finspacedata#AccessDeniedException":
1106
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1094
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1107
1095
  case "ConflictException":
1108
1096
  case "com.amazonaws.finspacedata#ConflictException":
1109
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1097
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1110
1098
  case "InternalServerException":
1111
1099
  case "com.amazonaws.finspacedata#InternalServerException":
1112
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1100
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1113
1101
  case "LimitExceededException":
1114
1102
  case "com.amazonaws.finspacedata#LimitExceededException":
1115
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
1103
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1116
1104
  case "ResourceNotFoundException":
1117
1105
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1118
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1106
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1119
1107
  case "ThrottlingException":
1120
1108
  case "com.amazonaws.finspacedata#ThrottlingException":
1121
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1109
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1122
1110
  case "ValidationException":
1123
1111
  case "com.amazonaws.finspacedata#ValidationException":
1124
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1112
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1125
1113
  default:
1126
1114
  const parsedBody = parsedOutput.body;
1127
1115
  (0, smithy_client_1.throwDefaultError)({
@@ -1132,9 +1120,9 @@ const deserializeAws_restJson1DeletePermissionGroupCommandError = async (output,
1132
1120
  });
1133
1121
  }
1134
1122
  };
1135
- const deserializeAws_restJson1DisableUserCommand = async (output, context) => {
1123
+ const de_DisableUserCommand = async (output, context) => {
1136
1124
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
- return deserializeAws_restJson1DisableUserCommandError(output, context);
1125
+ return de_DisableUserCommandError(output, context);
1138
1126
  }
1139
1127
  const contents = map({
1140
1128
  $metadata: deserializeMetadata(output),
@@ -1145,8 +1133,8 @@ const deserializeAws_restJson1DisableUserCommand = async (output, context) => {
1145
1133
  }
1146
1134
  return contents;
1147
1135
  };
1148
- exports.deserializeAws_restJson1DisableUserCommand = deserializeAws_restJson1DisableUserCommand;
1149
- const deserializeAws_restJson1DisableUserCommandError = async (output, context) => {
1136
+ exports.de_DisableUserCommand = de_DisableUserCommand;
1137
+ const de_DisableUserCommandError = async (output, context) => {
1150
1138
  const parsedOutput = {
1151
1139
  ...output,
1152
1140
  body: await parseErrorBody(output.body, context),
@@ -1155,22 +1143,22 @@ const deserializeAws_restJson1DisableUserCommandError = async (output, context)
1155
1143
  switch (errorCode) {
1156
1144
  case "AccessDeniedException":
1157
1145
  case "com.amazonaws.finspacedata#AccessDeniedException":
1158
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1146
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1159
1147
  case "ConflictException":
1160
1148
  case "com.amazonaws.finspacedata#ConflictException":
1161
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1149
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1162
1150
  case "InternalServerException":
1163
1151
  case "com.amazonaws.finspacedata#InternalServerException":
1164
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1152
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1165
1153
  case "ResourceNotFoundException":
1166
1154
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1167
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1155
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1168
1156
  case "ThrottlingException":
1169
1157
  case "com.amazonaws.finspacedata#ThrottlingException":
1170
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1158
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1171
1159
  case "ValidationException":
1172
1160
  case "com.amazonaws.finspacedata#ValidationException":
1173
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1161
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1174
1162
  default:
1175
1163
  const parsedBody = parsedOutput.body;
1176
1164
  (0, smithy_client_1.throwDefaultError)({
@@ -1181,9 +1169,9 @@ const deserializeAws_restJson1DisableUserCommandError = async (output, context)
1181
1169
  });
1182
1170
  }
1183
1171
  };
1184
- const deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand = async (output, context) => {
1172
+ const de_DisassociateUserFromPermissionGroupCommand = async (output, context) => {
1185
1173
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1186
- return deserializeAws_restJson1DisassociateUserFromPermissionGroupCommandError(output, context);
1174
+ return de_DisassociateUserFromPermissionGroupCommandError(output, context);
1187
1175
  }
1188
1176
  const contents = map({
1189
1177
  $metadata: deserializeMetadata(output),
@@ -1194,8 +1182,8 @@ const deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand = async
1194
1182
  await collectBody(output.body, context);
1195
1183
  return contents;
1196
1184
  };
1197
- exports.deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand = deserializeAws_restJson1DisassociateUserFromPermissionGroupCommand;
1198
- const deserializeAws_restJson1DisassociateUserFromPermissionGroupCommandError = async (output, context) => {
1185
+ exports.de_DisassociateUserFromPermissionGroupCommand = de_DisassociateUserFromPermissionGroupCommand;
1186
+ const de_DisassociateUserFromPermissionGroupCommandError = async (output, context) => {
1199
1187
  const parsedOutput = {
1200
1188
  ...output,
1201
1189
  body: await parseErrorBody(output.body, context),
@@ -1204,22 +1192,22 @@ const deserializeAws_restJson1DisassociateUserFromPermissionGroupCommandError =
1204
1192
  switch (errorCode) {
1205
1193
  case "AccessDeniedException":
1206
1194
  case "com.amazonaws.finspacedata#AccessDeniedException":
1207
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1195
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1208
1196
  case "ConflictException":
1209
1197
  case "com.amazonaws.finspacedata#ConflictException":
1210
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1198
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1211
1199
  case "InternalServerException":
1212
1200
  case "com.amazonaws.finspacedata#InternalServerException":
1213
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1201
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1214
1202
  case "ResourceNotFoundException":
1215
1203
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1216
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1204
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1217
1205
  case "ThrottlingException":
1218
1206
  case "com.amazonaws.finspacedata#ThrottlingException":
1219
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1207
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1220
1208
  case "ValidationException":
1221
1209
  case "com.amazonaws.finspacedata#ValidationException":
1222
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1210
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1223
1211
  default:
1224
1212
  const parsedBody = parsedOutput.body;
1225
1213
  (0, smithy_client_1.throwDefaultError)({
@@ -1230,9 +1218,9 @@ const deserializeAws_restJson1DisassociateUserFromPermissionGroupCommandError =
1230
1218
  });
1231
1219
  }
1232
1220
  };
1233
- const deserializeAws_restJson1EnableUserCommand = async (output, context) => {
1221
+ const de_EnableUserCommand = async (output, context) => {
1234
1222
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1235
- return deserializeAws_restJson1EnableUserCommandError(output, context);
1223
+ return de_EnableUserCommandError(output, context);
1236
1224
  }
1237
1225
  const contents = map({
1238
1226
  $metadata: deserializeMetadata(output),
@@ -1243,8 +1231,8 @@ const deserializeAws_restJson1EnableUserCommand = async (output, context) => {
1243
1231
  }
1244
1232
  return contents;
1245
1233
  };
1246
- exports.deserializeAws_restJson1EnableUserCommand = deserializeAws_restJson1EnableUserCommand;
1247
- const deserializeAws_restJson1EnableUserCommandError = async (output, context) => {
1234
+ exports.de_EnableUserCommand = de_EnableUserCommand;
1235
+ const de_EnableUserCommandError = async (output, context) => {
1248
1236
  const parsedOutput = {
1249
1237
  ...output,
1250
1238
  body: await parseErrorBody(output.body, context),
@@ -1253,25 +1241,25 @@ const deserializeAws_restJson1EnableUserCommandError = async (output, context) =
1253
1241
  switch (errorCode) {
1254
1242
  case "AccessDeniedException":
1255
1243
  case "com.amazonaws.finspacedata#AccessDeniedException":
1256
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1244
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1257
1245
  case "ConflictException":
1258
1246
  case "com.amazonaws.finspacedata#ConflictException":
1259
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1247
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1260
1248
  case "InternalServerException":
1261
1249
  case "com.amazonaws.finspacedata#InternalServerException":
1262
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1250
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1263
1251
  case "LimitExceededException":
1264
1252
  case "com.amazonaws.finspacedata#LimitExceededException":
1265
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
1253
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1266
1254
  case "ResourceNotFoundException":
1267
1255
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1268
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1256
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1269
1257
  case "ThrottlingException":
1270
1258
  case "com.amazonaws.finspacedata#ThrottlingException":
1271
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1259
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1272
1260
  case "ValidationException":
1273
1261
  case "com.amazonaws.finspacedata#ValidationException":
1274
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1262
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1275
1263
  default:
1276
1264
  const parsedBody = parsedOutput.body;
1277
1265
  (0, smithy_client_1.throwDefaultError)({
@@ -1282,9 +1270,9 @@ const deserializeAws_restJson1EnableUserCommandError = async (output, context) =
1282
1270
  });
1283
1271
  }
1284
1272
  };
1285
- const deserializeAws_restJson1GetChangesetCommand = async (output, context) => {
1273
+ const de_GetChangesetCommand = async (output, context) => {
1286
1274
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1287
- return deserializeAws_restJson1GetChangesetCommandError(output, context);
1275
+ return de_GetChangesetCommandError(output, context);
1288
1276
  }
1289
1277
  const contents = map({
1290
1278
  $metadata: deserializeMetadata(output),
@@ -1312,13 +1300,13 @@ const deserializeAws_restJson1GetChangesetCommand = async (output, context) => {
1312
1300
  contents.datasetId = (0, smithy_client_1.expectString)(data.datasetId);
1313
1301
  }
1314
1302
  if (data.errorInfo != null) {
1315
- contents.errorInfo = deserializeAws_restJson1ChangesetErrorInfo(data.errorInfo, context);
1303
+ contents.errorInfo = de_ChangesetErrorInfo(data.errorInfo, context);
1316
1304
  }
1317
1305
  if (data.formatParams != null) {
1318
- contents.formatParams = deserializeAws_restJson1FormatParams(data.formatParams, context);
1306
+ contents.formatParams = de_FormatParams(data.formatParams, context);
1319
1307
  }
1320
1308
  if (data.sourceParams != null) {
1321
- contents.sourceParams = deserializeAws_restJson1SourceParams(data.sourceParams, context);
1309
+ contents.sourceParams = de_SourceParams(data.sourceParams, context);
1322
1310
  }
1323
1311
  if (data.status != null) {
1324
1312
  contents.status = (0, smithy_client_1.expectString)(data.status);
@@ -1331,8 +1319,8 @@ const deserializeAws_restJson1GetChangesetCommand = async (output, context) => {
1331
1319
  }
1332
1320
  return contents;
1333
1321
  };
1334
- exports.deserializeAws_restJson1GetChangesetCommand = deserializeAws_restJson1GetChangesetCommand;
1335
- const deserializeAws_restJson1GetChangesetCommandError = async (output, context) => {
1322
+ exports.de_GetChangesetCommand = de_GetChangesetCommand;
1323
+ const de_GetChangesetCommandError = async (output, context) => {
1336
1324
  const parsedOutput = {
1337
1325
  ...output,
1338
1326
  body: await parseErrorBody(output.body, context),
@@ -1341,22 +1329,22 @@ const deserializeAws_restJson1GetChangesetCommandError = async (output, context)
1341
1329
  switch (errorCode) {
1342
1330
  case "AccessDeniedException":
1343
1331
  case "com.amazonaws.finspacedata#AccessDeniedException":
1344
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1332
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1345
1333
  case "ConflictException":
1346
1334
  case "com.amazonaws.finspacedata#ConflictException":
1347
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1335
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1348
1336
  case "InternalServerException":
1349
1337
  case "com.amazonaws.finspacedata#InternalServerException":
1350
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1338
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1351
1339
  case "ResourceNotFoundException":
1352
1340
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1353
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1341
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1354
1342
  case "ThrottlingException":
1355
1343
  case "com.amazonaws.finspacedata#ThrottlingException":
1356
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1344
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1357
1345
  case "ValidationException":
1358
1346
  case "com.amazonaws.finspacedata#ValidationException":
1359
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1347
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1360
1348
  default:
1361
1349
  const parsedBody = parsedOutput.body;
1362
1350
  (0, smithy_client_1.throwDefaultError)({
@@ -1367,9 +1355,9 @@ const deserializeAws_restJson1GetChangesetCommandError = async (output, context)
1367
1355
  });
1368
1356
  }
1369
1357
  };
1370
- const deserializeAws_restJson1GetDatasetCommand = async (output, context) => {
1358
+ const de_GetDatasetCommand = async (output, context) => {
1371
1359
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1372
- return deserializeAws_restJson1GetDatasetCommandError(output, context);
1360
+ return de_GetDatasetCommandError(output, context);
1373
1361
  }
1374
1362
  const contents = map({
1375
1363
  $metadata: deserializeMetadata(output),
@@ -1400,15 +1388,15 @@ const deserializeAws_restJson1GetDatasetCommand = async (output, context) => {
1400
1388
  contents.lastModifiedTime = (0, smithy_client_1.expectLong)(data.lastModifiedTime);
1401
1389
  }
1402
1390
  if (data.schemaDefinition != null) {
1403
- contents.schemaDefinition = deserializeAws_restJson1SchemaUnion(data.schemaDefinition, context);
1391
+ contents.schemaDefinition = de_SchemaUnion(data.schemaDefinition, context);
1404
1392
  }
1405
1393
  if (data.status != null) {
1406
1394
  contents.status = (0, smithy_client_1.expectString)(data.status);
1407
1395
  }
1408
1396
  return contents;
1409
1397
  };
1410
- exports.deserializeAws_restJson1GetDatasetCommand = deserializeAws_restJson1GetDatasetCommand;
1411
- const deserializeAws_restJson1GetDatasetCommandError = async (output, context) => {
1398
+ exports.de_GetDatasetCommand = de_GetDatasetCommand;
1399
+ const de_GetDatasetCommandError = async (output, context) => {
1412
1400
  const parsedOutput = {
1413
1401
  ...output,
1414
1402
  body: await parseErrorBody(output.body, context),
@@ -1417,22 +1405,22 @@ const deserializeAws_restJson1GetDatasetCommandError = async (output, context) =
1417
1405
  switch (errorCode) {
1418
1406
  case "AccessDeniedException":
1419
1407
  case "com.amazonaws.finspacedata#AccessDeniedException":
1420
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1408
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1421
1409
  case "ConflictException":
1422
1410
  case "com.amazonaws.finspacedata#ConflictException":
1423
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1411
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1424
1412
  case "InternalServerException":
1425
1413
  case "com.amazonaws.finspacedata#InternalServerException":
1426
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1414
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1427
1415
  case "ResourceNotFoundException":
1428
1416
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1429
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1417
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1430
1418
  case "ThrottlingException":
1431
1419
  case "com.amazonaws.finspacedata#ThrottlingException":
1432
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1420
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1433
1421
  case "ValidationException":
1434
1422
  case "com.amazonaws.finspacedata#ValidationException":
1435
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1423
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1436
1424
  default:
1437
1425
  const parsedBody = parsedOutput.body;
1438
1426
  (0, smithy_client_1.throwDefaultError)({
@@ -1443,9 +1431,9 @@ const deserializeAws_restJson1GetDatasetCommandError = async (output, context) =
1443
1431
  });
1444
1432
  }
1445
1433
  };
1446
- const deserializeAws_restJson1GetDataViewCommand = async (output, context) => {
1434
+ const de_GetDataViewCommand = async (output, context) => {
1447
1435
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1448
- return deserializeAws_restJson1GetDataViewCommandError(output, context);
1436
+ return de_GetDataViewCommandError(output, context);
1449
1437
  }
1450
1438
  const contents = map({
1451
1439
  $metadata: deserializeMetadata(output),
@@ -1470,27 +1458,27 @@ const deserializeAws_restJson1GetDataViewCommand = async (output, context) => {
1470
1458
  contents.datasetId = (0, smithy_client_1.expectString)(data.datasetId);
1471
1459
  }
1472
1460
  if (data.destinationTypeParams != null) {
1473
- contents.destinationTypeParams = deserializeAws_restJson1DataViewDestinationTypeParams(data.destinationTypeParams, context);
1461
+ contents.destinationTypeParams = de_DataViewDestinationTypeParams(data.destinationTypeParams, context);
1474
1462
  }
1475
1463
  if (data.errorInfo != null) {
1476
- contents.errorInfo = deserializeAws_restJson1DataViewErrorInfo(data.errorInfo, context);
1464
+ contents.errorInfo = de_DataViewErrorInfo(data.errorInfo, context);
1477
1465
  }
1478
1466
  if (data.lastModifiedTime != null) {
1479
1467
  contents.lastModifiedTime = (0, smithy_client_1.expectLong)(data.lastModifiedTime);
1480
1468
  }
1481
1469
  if (data.partitionColumns != null) {
1482
- contents.partitionColumns = deserializeAws_restJson1PartitionColumnList(data.partitionColumns, context);
1470
+ contents.partitionColumns = de_PartitionColumnList(data.partitionColumns, context);
1483
1471
  }
1484
1472
  if (data.sortColumns != null) {
1485
- contents.sortColumns = deserializeAws_restJson1SortColumnList(data.sortColumns, context);
1473
+ contents.sortColumns = de_SortColumnList(data.sortColumns, context);
1486
1474
  }
1487
1475
  if (data.status != null) {
1488
1476
  contents.status = (0, smithy_client_1.expectString)(data.status);
1489
1477
  }
1490
1478
  return contents;
1491
1479
  };
1492
- exports.deserializeAws_restJson1GetDataViewCommand = deserializeAws_restJson1GetDataViewCommand;
1493
- const deserializeAws_restJson1GetDataViewCommandError = async (output, context) => {
1480
+ exports.de_GetDataViewCommand = de_GetDataViewCommand;
1481
+ const de_GetDataViewCommandError = async (output, context) => {
1494
1482
  const parsedOutput = {
1495
1483
  ...output,
1496
1484
  body: await parseErrorBody(output.body, context),
@@ -1499,19 +1487,19 @@ const deserializeAws_restJson1GetDataViewCommandError = async (output, context)
1499
1487
  switch (errorCode) {
1500
1488
  case "ConflictException":
1501
1489
  case "com.amazonaws.finspacedata#ConflictException":
1502
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1490
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1503
1491
  case "InternalServerException":
1504
1492
  case "com.amazonaws.finspacedata#InternalServerException":
1505
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1493
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1506
1494
  case "ResourceNotFoundException":
1507
1495
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1508
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1496
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1509
1497
  case "ThrottlingException":
1510
1498
  case "com.amazonaws.finspacedata#ThrottlingException":
1511
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1499
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1512
1500
  case "ValidationException":
1513
1501
  case "com.amazonaws.finspacedata#ValidationException":
1514
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1502
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1515
1503
  default:
1516
1504
  const parsedBody = parsedOutput.body;
1517
1505
  (0, smithy_client_1.throwDefaultError)({
@@ -1522,24 +1510,24 @@ const deserializeAws_restJson1GetDataViewCommandError = async (output, context)
1522
1510
  });
1523
1511
  }
1524
1512
  };
1525
- const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand = async (output, context) => {
1513
+ const de_GetExternalDataViewAccessDetailsCommand = async (output, context) => {
1526
1514
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1527
- return deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError(output, context);
1515
+ return de_GetExternalDataViewAccessDetailsCommandError(output, context);
1528
1516
  }
1529
1517
  const contents = map({
1530
1518
  $metadata: deserializeMetadata(output),
1531
1519
  });
1532
1520
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1533
1521
  if (data.credentials != null) {
1534
- contents.credentials = deserializeAws_restJson1AwsCredentials(data.credentials, context);
1522
+ contents.credentials = de_AwsCredentials(data.credentials, context);
1535
1523
  }
1536
1524
  if (data.s3Location != null) {
1537
- contents.s3Location = deserializeAws_restJson1S3Location(data.s3Location, context);
1525
+ contents.s3Location = de_S3Location(data.s3Location, context);
1538
1526
  }
1539
1527
  return contents;
1540
1528
  };
1541
- exports.deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand = deserializeAws_restJson1GetExternalDataViewAccessDetailsCommand;
1542
- const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError = async (output, context) => {
1529
+ exports.de_GetExternalDataViewAccessDetailsCommand = de_GetExternalDataViewAccessDetailsCommand;
1530
+ const de_GetExternalDataViewAccessDetailsCommandError = async (output, context) => {
1543
1531
  const parsedOutput = {
1544
1532
  ...output,
1545
1533
  body: await parseErrorBody(output.body, context),
@@ -1548,19 +1536,19 @@ const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError = asy
1548
1536
  switch (errorCode) {
1549
1537
  case "AccessDeniedException":
1550
1538
  case "com.amazonaws.finspacedata#AccessDeniedException":
1551
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1539
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1552
1540
  case "InternalServerException":
1553
1541
  case "com.amazonaws.finspacedata#InternalServerException":
1554
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1542
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1555
1543
  case "ResourceNotFoundException":
1556
1544
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1557
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1545
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1558
1546
  case "ThrottlingException":
1559
1547
  case "com.amazonaws.finspacedata#ThrottlingException":
1560
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1548
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1561
1549
  case "ValidationException":
1562
1550
  case "com.amazonaws.finspacedata#ValidationException":
1563
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1551
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1564
1552
  default:
1565
1553
  const parsedBody = parsedOutput.body;
1566
1554
  (0, smithy_client_1.throwDefaultError)({
@@ -1571,21 +1559,21 @@ const deserializeAws_restJson1GetExternalDataViewAccessDetailsCommandError = asy
1571
1559
  });
1572
1560
  }
1573
1561
  };
1574
- const deserializeAws_restJson1GetPermissionGroupCommand = async (output, context) => {
1562
+ const de_GetPermissionGroupCommand = async (output, context) => {
1575
1563
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1576
- return deserializeAws_restJson1GetPermissionGroupCommandError(output, context);
1564
+ return de_GetPermissionGroupCommandError(output, context);
1577
1565
  }
1578
1566
  const contents = map({
1579
1567
  $metadata: deserializeMetadata(output),
1580
1568
  });
1581
1569
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1582
1570
  if (data.permissionGroup != null) {
1583
- contents.permissionGroup = deserializeAws_restJson1PermissionGroup(data.permissionGroup, context);
1571
+ contents.permissionGroup = de_PermissionGroup(data.permissionGroup, context);
1584
1572
  }
1585
1573
  return contents;
1586
1574
  };
1587
- exports.deserializeAws_restJson1GetPermissionGroupCommand = deserializeAws_restJson1GetPermissionGroupCommand;
1588
- const deserializeAws_restJson1GetPermissionGroupCommandError = async (output, context) => {
1575
+ exports.de_GetPermissionGroupCommand = de_GetPermissionGroupCommand;
1576
+ const de_GetPermissionGroupCommandError = async (output, context) => {
1589
1577
  const parsedOutput = {
1590
1578
  ...output,
1591
1579
  body: await parseErrorBody(output.body, context),
@@ -1594,19 +1582,19 @@ const deserializeAws_restJson1GetPermissionGroupCommandError = async (output, co
1594
1582
  switch (errorCode) {
1595
1583
  case "AccessDeniedException":
1596
1584
  case "com.amazonaws.finspacedata#AccessDeniedException":
1597
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1585
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1598
1586
  case "InternalServerException":
1599
1587
  case "com.amazonaws.finspacedata#InternalServerException":
1600
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1588
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1601
1589
  case "ResourceNotFoundException":
1602
1590
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1603
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1591
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1604
1592
  case "ThrottlingException":
1605
1593
  case "com.amazonaws.finspacedata#ThrottlingException":
1606
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1594
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1607
1595
  case "ValidationException":
1608
1596
  case "com.amazonaws.finspacedata#ValidationException":
1609
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1597
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1610
1598
  default:
1611
1599
  const parsedBody = parsedOutput.body;
1612
1600
  (0, smithy_client_1.throwDefaultError)({
@@ -1617,24 +1605,24 @@ const deserializeAws_restJson1GetPermissionGroupCommandError = async (output, co
1617
1605
  });
1618
1606
  }
1619
1607
  };
1620
- const deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand = async (output, context) => {
1608
+ const de_GetProgrammaticAccessCredentialsCommand = async (output, context) => {
1621
1609
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1622
- return deserializeAws_restJson1GetProgrammaticAccessCredentialsCommandError(output, context);
1610
+ return de_GetProgrammaticAccessCredentialsCommandError(output, context);
1623
1611
  }
1624
1612
  const contents = map({
1625
1613
  $metadata: deserializeMetadata(output),
1626
1614
  });
1627
1615
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1628
1616
  if (data.credentials != null) {
1629
- contents.credentials = deserializeAws_restJson1Credentials(data.credentials, context);
1617
+ contents.credentials = de_Credentials(data.credentials, context);
1630
1618
  }
1631
1619
  if (data.durationInMinutes != null) {
1632
1620
  contents.durationInMinutes = (0, smithy_client_1.expectLong)(data.durationInMinutes);
1633
1621
  }
1634
1622
  return contents;
1635
1623
  };
1636
- exports.deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand = deserializeAws_restJson1GetProgrammaticAccessCredentialsCommand;
1637
- const deserializeAws_restJson1GetProgrammaticAccessCredentialsCommandError = async (output, context) => {
1624
+ exports.de_GetProgrammaticAccessCredentialsCommand = de_GetProgrammaticAccessCredentialsCommand;
1625
+ const de_GetProgrammaticAccessCredentialsCommandError = async (output, context) => {
1638
1626
  const parsedOutput = {
1639
1627
  ...output,
1640
1628
  body: await parseErrorBody(output.body, context),
@@ -1643,16 +1631,16 @@ const deserializeAws_restJson1GetProgrammaticAccessCredentialsCommandError = asy
1643
1631
  switch (errorCode) {
1644
1632
  case "AccessDeniedException":
1645
1633
  case "com.amazonaws.finspacedata#AccessDeniedException":
1646
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1634
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1647
1635
  case "InternalServerException":
1648
1636
  case "com.amazonaws.finspacedata#InternalServerException":
1649
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1637
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1650
1638
  case "ThrottlingException":
1651
1639
  case "com.amazonaws.finspacedata#ThrottlingException":
1652
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1640
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1653
1641
  case "ValidationException":
1654
1642
  case "com.amazonaws.finspacedata#ValidationException":
1655
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1643
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1656
1644
  default:
1657
1645
  const parsedBody = parsedOutput.body;
1658
1646
  (0, smithy_client_1.throwDefaultError)({
@@ -1663,9 +1651,9 @@ const deserializeAws_restJson1GetProgrammaticAccessCredentialsCommandError = asy
1663
1651
  });
1664
1652
  }
1665
1653
  };
1666
- const deserializeAws_restJson1GetUserCommand = async (output, context) => {
1654
+ const de_GetUserCommand = async (output, context) => {
1667
1655
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1668
- return deserializeAws_restJson1GetUserCommandError(output, context);
1656
+ return de_GetUserCommandError(output, context);
1669
1657
  }
1670
1658
  const contents = map({
1671
1659
  $metadata: deserializeMetadata(output),
@@ -1712,8 +1700,8 @@ const deserializeAws_restJson1GetUserCommand = async (output, context) => {
1712
1700
  }
1713
1701
  return contents;
1714
1702
  };
1715
- exports.deserializeAws_restJson1GetUserCommand = deserializeAws_restJson1GetUserCommand;
1716
- const deserializeAws_restJson1GetUserCommandError = async (output, context) => {
1703
+ exports.de_GetUserCommand = de_GetUserCommand;
1704
+ const de_GetUserCommandError = async (output, context) => {
1717
1705
  const parsedOutput = {
1718
1706
  ...output,
1719
1707
  body: await parseErrorBody(output.body, context),
@@ -1722,19 +1710,19 @@ const deserializeAws_restJson1GetUserCommandError = async (output, context) => {
1722
1710
  switch (errorCode) {
1723
1711
  case "AccessDeniedException":
1724
1712
  case "com.amazonaws.finspacedata#AccessDeniedException":
1725
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1713
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1726
1714
  case "InternalServerException":
1727
1715
  case "com.amazonaws.finspacedata#InternalServerException":
1728
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1716
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1729
1717
  case "ResourceNotFoundException":
1730
1718
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1731
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1719
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1732
1720
  case "ThrottlingException":
1733
1721
  case "com.amazonaws.finspacedata#ThrottlingException":
1734
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1722
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1735
1723
  case "ValidationException":
1736
1724
  case "com.amazonaws.finspacedata#ValidationException":
1737
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1725
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1738
1726
  default:
1739
1727
  const parsedBody = parsedOutput.body;
1740
1728
  (0, smithy_client_1.throwDefaultError)({
@@ -1745,9 +1733,9 @@ const deserializeAws_restJson1GetUserCommandError = async (output, context) => {
1745
1733
  });
1746
1734
  }
1747
1735
  };
1748
- const deserializeAws_restJson1GetWorkingLocationCommand = async (output, context) => {
1736
+ const de_GetWorkingLocationCommand = async (output, context) => {
1749
1737
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1750
- return deserializeAws_restJson1GetWorkingLocationCommandError(output, context);
1738
+ return de_GetWorkingLocationCommandError(output, context);
1751
1739
  }
1752
1740
  const contents = map({
1753
1741
  $metadata: deserializeMetadata(output),
@@ -1764,8 +1752,8 @@ const deserializeAws_restJson1GetWorkingLocationCommand = async (output, context
1764
1752
  }
1765
1753
  return contents;
1766
1754
  };
1767
- exports.deserializeAws_restJson1GetWorkingLocationCommand = deserializeAws_restJson1GetWorkingLocationCommand;
1768
- const deserializeAws_restJson1GetWorkingLocationCommandError = async (output, context) => {
1755
+ exports.de_GetWorkingLocationCommand = de_GetWorkingLocationCommand;
1756
+ const de_GetWorkingLocationCommandError = async (output, context) => {
1769
1757
  const parsedOutput = {
1770
1758
  ...output,
1771
1759
  body: await parseErrorBody(output.body, context),
@@ -1774,16 +1762,16 @@ const deserializeAws_restJson1GetWorkingLocationCommandError = async (output, co
1774
1762
  switch (errorCode) {
1775
1763
  case "AccessDeniedException":
1776
1764
  case "com.amazonaws.finspacedata#AccessDeniedException":
1777
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1765
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1778
1766
  case "InternalServerException":
1779
1767
  case "com.amazonaws.finspacedata#InternalServerException":
1780
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1768
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1781
1769
  case "ThrottlingException":
1782
1770
  case "com.amazonaws.finspacedata#ThrottlingException":
1783
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1771
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1784
1772
  case "ValidationException":
1785
1773
  case "com.amazonaws.finspacedata#ValidationException":
1786
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1774
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1787
1775
  default:
1788
1776
  const parsedBody = parsedOutput.body;
1789
1777
  (0, smithy_client_1.throwDefaultError)({
@@ -1794,24 +1782,24 @@ const deserializeAws_restJson1GetWorkingLocationCommandError = async (output, co
1794
1782
  });
1795
1783
  }
1796
1784
  };
1797
- const deserializeAws_restJson1ListChangesetsCommand = async (output, context) => {
1785
+ const de_ListChangesetsCommand = async (output, context) => {
1798
1786
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1799
- return deserializeAws_restJson1ListChangesetsCommandError(output, context);
1787
+ return de_ListChangesetsCommandError(output, context);
1800
1788
  }
1801
1789
  const contents = map({
1802
1790
  $metadata: deserializeMetadata(output),
1803
1791
  });
1804
1792
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1805
1793
  if (data.changesets != null) {
1806
- contents.changesets = deserializeAws_restJson1ChangesetList(data.changesets, context);
1794
+ contents.changesets = de_ChangesetList(data.changesets, context);
1807
1795
  }
1808
1796
  if (data.nextToken != null) {
1809
1797
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1810
1798
  }
1811
1799
  return contents;
1812
1800
  };
1813
- exports.deserializeAws_restJson1ListChangesetsCommand = deserializeAws_restJson1ListChangesetsCommand;
1814
- const deserializeAws_restJson1ListChangesetsCommandError = async (output, context) => {
1801
+ exports.de_ListChangesetsCommand = de_ListChangesetsCommand;
1802
+ const de_ListChangesetsCommandError = async (output, context) => {
1815
1803
  const parsedOutput = {
1816
1804
  ...output,
1817
1805
  body: await parseErrorBody(output.body, context),
@@ -1820,22 +1808,22 @@ const deserializeAws_restJson1ListChangesetsCommandError = async (output, contex
1820
1808
  switch (errorCode) {
1821
1809
  case "AccessDeniedException":
1822
1810
  case "com.amazonaws.finspacedata#AccessDeniedException":
1823
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1811
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1824
1812
  case "ConflictException":
1825
1813
  case "com.amazonaws.finspacedata#ConflictException":
1826
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1814
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1827
1815
  case "InternalServerException":
1828
1816
  case "com.amazonaws.finspacedata#InternalServerException":
1829
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1817
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1830
1818
  case "ResourceNotFoundException":
1831
1819
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1832
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1820
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1833
1821
  case "ThrottlingException":
1834
1822
  case "com.amazonaws.finspacedata#ThrottlingException":
1835
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1823
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1836
1824
  case "ValidationException":
1837
1825
  case "com.amazonaws.finspacedata#ValidationException":
1838
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1826
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1839
1827
  default:
1840
1828
  const parsedBody = parsedOutput.body;
1841
1829
  (0, smithy_client_1.throwDefaultError)({
@@ -1846,24 +1834,24 @@ const deserializeAws_restJson1ListChangesetsCommandError = async (output, contex
1846
1834
  });
1847
1835
  }
1848
1836
  };
1849
- const deserializeAws_restJson1ListDatasetsCommand = async (output, context) => {
1837
+ const de_ListDatasetsCommand = async (output, context) => {
1850
1838
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1851
- return deserializeAws_restJson1ListDatasetsCommandError(output, context);
1839
+ return de_ListDatasetsCommandError(output, context);
1852
1840
  }
1853
1841
  const contents = map({
1854
1842
  $metadata: deserializeMetadata(output),
1855
1843
  });
1856
1844
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1857
1845
  if (data.datasets != null) {
1858
- contents.datasets = deserializeAws_restJson1DatasetList(data.datasets, context);
1846
+ contents.datasets = de_DatasetList(data.datasets, context);
1859
1847
  }
1860
1848
  if (data.nextToken != null) {
1861
1849
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1862
1850
  }
1863
1851
  return contents;
1864
1852
  };
1865
- exports.deserializeAws_restJson1ListDatasetsCommand = deserializeAws_restJson1ListDatasetsCommand;
1866
- const deserializeAws_restJson1ListDatasetsCommandError = async (output, context) => {
1853
+ exports.de_ListDatasetsCommand = de_ListDatasetsCommand;
1854
+ const de_ListDatasetsCommandError = async (output, context) => {
1867
1855
  const parsedOutput = {
1868
1856
  ...output,
1869
1857
  body: await parseErrorBody(output.body, context),
@@ -1872,19 +1860,19 @@ const deserializeAws_restJson1ListDatasetsCommandError = async (output, context)
1872
1860
  switch (errorCode) {
1873
1861
  case "ConflictException":
1874
1862
  case "com.amazonaws.finspacedata#ConflictException":
1875
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1863
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1876
1864
  case "InternalServerException":
1877
1865
  case "com.amazonaws.finspacedata#InternalServerException":
1878
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1866
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1879
1867
  case "ResourceNotFoundException":
1880
1868
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1881
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1869
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1882
1870
  case "ThrottlingException":
1883
1871
  case "com.amazonaws.finspacedata#ThrottlingException":
1884
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1872
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1885
1873
  case "ValidationException":
1886
1874
  case "com.amazonaws.finspacedata#ValidationException":
1887
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1875
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1888
1876
  default:
1889
1877
  const parsedBody = parsedOutput.body;
1890
1878
  (0, smithy_client_1.throwDefaultError)({
@@ -1895,24 +1883,24 @@ const deserializeAws_restJson1ListDatasetsCommandError = async (output, context)
1895
1883
  });
1896
1884
  }
1897
1885
  };
1898
- const deserializeAws_restJson1ListDataViewsCommand = async (output, context) => {
1886
+ const de_ListDataViewsCommand = async (output, context) => {
1899
1887
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1900
- return deserializeAws_restJson1ListDataViewsCommandError(output, context);
1888
+ return de_ListDataViewsCommandError(output, context);
1901
1889
  }
1902
1890
  const contents = map({
1903
1891
  $metadata: deserializeMetadata(output),
1904
1892
  });
1905
1893
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1906
1894
  if (data.dataViews != null) {
1907
- contents.dataViews = deserializeAws_restJson1DataViewList(data.dataViews, context);
1895
+ contents.dataViews = de_DataViewList(data.dataViews, context);
1908
1896
  }
1909
1897
  if (data.nextToken != null) {
1910
1898
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1911
1899
  }
1912
1900
  return contents;
1913
1901
  };
1914
- exports.deserializeAws_restJson1ListDataViewsCommand = deserializeAws_restJson1ListDataViewsCommand;
1915
- const deserializeAws_restJson1ListDataViewsCommandError = async (output, context) => {
1902
+ exports.de_ListDataViewsCommand = de_ListDataViewsCommand;
1903
+ const de_ListDataViewsCommandError = async (output, context) => {
1916
1904
  const parsedOutput = {
1917
1905
  ...output,
1918
1906
  body: await parseErrorBody(output.body, context),
@@ -1921,19 +1909,19 @@ const deserializeAws_restJson1ListDataViewsCommandError = async (output, context
1921
1909
  switch (errorCode) {
1922
1910
  case "ConflictException":
1923
1911
  case "com.amazonaws.finspacedata#ConflictException":
1924
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1912
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1925
1913
  case "InternalServerException":
1926
1914
  case "com.amazonaws.finspacedata#InternalServerException":
1927
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1915
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1928
1916
  case "ResourceNotFoundException":
1929
1917
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
1930
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1918
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1931
1919
  case "ThrottlingException":
1932
1920
  case "com.amazonaws.finspacedata#ThrottlingException":
1933
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1921
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1934
1922
  case "ValidationException":
1935
1923
  case "com.amazonaws.finspacedata#ValidationException":
1936
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1924
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1937
1925
  default:
1938
1926
  const parsedBody = parsedOutput.body;
1939
1927
  (0, smithy_client_1.throwDefaultError)({
@@ -1944,9 +1932,9 @@ const deserializeAws_restJson1ListDataViewsCommandError = async (output, context
1944
1932
  });
1945
1933
  }
1946
1934
  };
1947
- const deserializeAws_restJson1ListPermissionGroupsCommand = async (output, context) => {
1935
+ const de_ListPermissionGroupsCommand = async (output, context) => {
1948
1936
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1949
- return deserializeAws_restJson1ListPermissionGroupsCommandError(output, context);
1937
+ return de_ListPermissionGroupsCommandError(output, context);
1950
1938
  }
1951
1939
  const contents = map({
1952
1940
  $metadata: deserializeMetadata(output),
@@ -1956,12 +1944,12 @@ const deserializeAws_restJson1ListPermissionGroupsCommand = async (output, conte
1956
1944
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1957
1945
  }
1958
1946
  if (data.permissionGroups != null) {
1959
- contents.permissionGroups = deserializeAws_restJson1PermissionGroupList(data.permissionGroups, context);
1947
+ contents.permissionGroups = de_PermissionGroupList(data.permissionGroups, context);
1960
1948
  }
1961
1949
  return contents;
1962
1950
  };
1963
- exports.deserializeAws_restJson1ListPermissionGroupsCommand = deserializeAws_restJson1ListPermissionGroupsCommand;
1964
- const deserializeAws_restJson1ListPermissionGroupsCommandError = async (output, context) => {
1951
+ exports.de_ListPermissionGroupsCommand = de_ListPermissionGroupsCommand;
1952
+ const de_ListPermissionGroupsCommandError = async (output, context) => {
1965
1953
  const parsedOutput = {
1966
1954
  ...output,
1967
1955
  body: await parseErrorBody(output.body, context),
@@ -1970,16 +1958,16 @@ const deserializeAws_restJson1ListPermissionGroupsCommandError = async (output,
1970
1958
  switch (errorCode) {
1971
1959
  case "AccessDeniedException":
1972
1960
  case "com.amazonaws.finspacedata#AccessDeniedException":
1973
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1961
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1974
1962
  case "InternalServerException":
1975
1963
  case "com.amazonaws.finspacedata#InternalServerException":
1976
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1964
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1977
1965
  case "ThrottlingException":
1978
1966
  case "com.amazonaws.finspacedata#ThrottlingException":
1979
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1967
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1980
1968
  case "ValidationException":
1981
1969
  case "com.amazonaws.finspacedata#ValidationException":
1982
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1970
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1983
1971
  default:
1984
1972
  const parsedBody = parsedOutput.body;
1985
1973
  (0, smithy_client_1.throwDefaultError)({
@@ -1990,9 +1978,9 @@ const deserializeAws_restJson1ListPermissionGroupsCommandError = async (output,
1990
1978
  });
1991
1979
  }
1992
1980
  };
1993
- const deserializeAws_restJson1ListPermissionGroupsByUserCommand = async (output, context) => {
1981
+ const de_ListPermissionGroupsByUserCommand = async (output, context) => {
1994
1982
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1995
- return deserializeAws_restJson1ListPermissionGroupsByUserCommandError(output, context);
1983
+ return de_ListPermissionGroupsByUserCommandError(output, context);
1996
1984
  }
1997
1985
  const contents = map({
1998
1986
  $metadata: deserializeMetadata(output),
@@ -2002,12 +1990,12 @@ const deserializeAws_restJson1ListPermissionGroupsByUserCommand = async (output,
2002
1990
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2003
1991
  }
2004
1992
  if (data.permissionGroups != null) {
2005
- contents.permissionGroups = deserializeAws_restJson1PermissionGroupByUserList(data.permissionGroups, context);
1993
+ contents.permissionGroups = de_PermissionGroupByUserList(data.permissionGroups, context);
2006
1994
  }
2007
1995
  return contents;
2008
1996
  };
2009
- exports.deserializeAws_restJson1ListPermissionGroupsByUserCommand = deserializeAws_restJson1ListPermissionGroupsByUserCommand;
2010
- const deserializeAws_restJson1ListPermissionGroupsByUserCommandError = async (output, context) => {
1997
+ exports.de_ListPermissionGroupsByUserCommand = de_ListPermissionGroupsByUserCommand;
1998
+ const de_ListPermissionGroupsByUserCommandError = async (output, context) => {
2011
1999
  const parsedOutput = {
2012
2000
  ...output,
2013
2001
  body: await parseErrorBody(output.body, context),
@@ -2016,19 +2004,19 @@ const deserializeAws_restJson1ListPermissionGroupsByUserCommandError = async (ou
2016
2004
  switch (errorCode) {
2017
2005
  case "AccessDeniedException":
2018
2006
  case "com.amazonaws.finspacedata#AccessDeniedException":
2019
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2007
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2020
2008
  case "InternalServerException":
2021
2009
  case "com.amazonaws.finspacedata#InternalServerException":
2022
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2010
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2023
2011
  case "ResourceNotFoundException":
2024
2012
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
2025
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2013
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2026
2014
  case "ThrottlingException":
2027
2015
  case "com.amazonaws.finspacedata#ThrottlingException":
2028
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2016
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2029
2017
  case "ValidationException":
2030
2018
  case "com.amazonaws.finspacedata#ValidationException":
2031
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2019
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2032
2020
  default:
2033
2021
  const parsedBody = parsedOutput.body;
2034
2022
  (0, smithy_client_1.throwDefaultError)({
@@ -2039,9 +2027,9 @@ const deserializeAws_restJson1ListPermissionGroupsByUserCommandError = async (ou
2039
2027
  });
2040
2028
  }
2041
2029
  };
2042
- const deserializeAws_restJson1ListUsersCommand = async (output, context) => {
2030
+ const de_ListUsersCommand = async (output, context) => {
2043
2031
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2044
- return deserializeAws_restJson1ListUsersCommandError(output, context);
2032
+ return de_ListUsersCommandError(output, context);
2045
2033
  }
2046
2034
  const contents = map({
2047
2035
  $metadata: deserializeMetadata(output),
@@ -2051,12 +2039,12 @@ const deserializeAws_restJson1ListUsersCommand = async (output, context) => {
2051
2039
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2052
2040
  }
2053
2041
  if (data.users != null) {
2054
- contents.users = deserializeAws_restJson1UserList(data.users, context);
2042
+ contents.users = de_UserList(data.users, context);
2055
2043
  }
2056
2044
  return contents;
2057
2045
  };
2058
- exports.deserializeAws_restJson1ListUsersCommand = deserializeAws_restJson1ListUsersCommand;
2059
- const deserializeAws_restJson1ListUsersCommandError = async (output, context) => {
2046
+ exports.de_ListUsersCommand = de_ListUsersCommand;
2047
+ const de_ListUsersCommandError = async (output, context) => {
2060
2048
  const parsedOutput = {
2061
2049
  ...output,
2062
2050
  body: await parseErrorBody(output.body, context),
@@ -2065,16 +2053,16 @@ const deserializeAws_restJson1ListUsersCommandError = async (output, context) =>
2065
2053
  switch (errorCode) {
2066
2054
  case "AccessDeniedException":
2067
2055
  case "com.amazonaws.finspacedata#AccessDeniedException":
2068
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2056
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2069
2057
  case "InternalServerException":
2070
2058
  case "com.amazonaws.finspacedata#InternalServerException":
2071
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2059
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2072
2060
  case "ThrottlingException":
2073
2061
  case "com.amazonaws.finspacedata#ThrottlingException":
2074
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2062
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2075
2063
  case "ValidationException":
2076
2064
  case "com.amazonaws.finspacedata#ValidationException":
2077
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2065
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2078
2066
  default:
2079
2067
  const parsedBody = parsedOutput.body;
2080
2068
  (0, smithy_client_1.throwDefaultError)({
@@ -2085,9 +2073,9 @@ const deserializeAws_restJson1ListUsersCommandError = async (output, context) =>
2085
2073
  });
2086
2074
  }
2087
2075
  };
2088
- const deserializeAws_restJson1ListUsersByPermissionGroupCommand = async (output, context) => {
2076
+ const de_ListUsersByPermissionGroupCommand = async (output, context) => {
2089
2077
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2090
- return deserializeAws_restJson1ListUsersByPermissionGroupCommandError(output, context);
2078
+ return de_ListUsersByPermissionGroupCommandError(output, context);
2091
2079
  }
2092
2080
  const contents = map({
2093
2081
  $metadata: deserializeMetadata(output),
@@ -2097,12 +2085,12 @@ const deserializeAws_restJson1ListUsersByPermissionGroupCommand = async (output,
2097
2085
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2098
2086
  }
2099
2087
  if (data.users != null) {
2100
- contents.users = deserializeAws_restJson1UserByPermissionGroupList(data.users, context);
2088
+ contents.users = de_UserByPermissionGroupList(data.users, context);
2101
2089
  }
2102
2090
  return contents;
2103
2091
  };
2104
- exports.deserializeAws_restJson1ListUsersByPermissionGroupCommand = deserializeAws_restJson1ListUsersByPermissionGroupCommand;
2105
- const deserializeAws_restJson1ListUsersByPermissionGroupCommandError = async (output, context) => {
2092
+ exports.de_ListUsersByPermissionGroupCommand = de_ListUsersByPermissionGroupCommand;
2093
+ const de_ListUsersByPermissionGroupCommandError = async (output, context) => {
2106
2094
  const parsedOutput = {
2107
2095
  ...output,
2108
2096
  body: await parseErrorBody(output.body, context),
@@ -2111,19 +2099,19 @@ const deserializeAws_restJson1ListUsersByPermissionGroupCommandError = async (ou
2111
2099
  switch (errorCode) {
2112
2100
  case "AccessDeniedException":
2113
2101
  case "com.amazonaws.finspacedata#AccessDeniedException":
2114
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2102
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2115
2103
  case "InternalServerException":
2116
2104
  case "com.amazonaws.finspacedata#InternalServerException":
2117
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2105
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2118
2106
  case "ResourceNotFoundException":
2119
2107
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
2120
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2108
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2121
2109
  case "ThrottlingException":
2122
2110
  case "com.amazonaws.finspacedata#ThrottlingException":
2123
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2111
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2124
2112
  case "ValidationException":
2125
2113
  case "com.amazonaws.finspacedata#ValidationException":
2126
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2114
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2127
2115
  default:
2128
2116
  const parsedBody = parsedOutput.body;
2129
2117
  (0, smithy_client_1.throwDefaultError)({
@@ -2134,9 +2122,9 @@ const deserializeAws_restJson1ListUsersByPermissionGroupCommandError = async (ou
2134
2122
  });
2135
2123
  }
2136
2124
  };
2137
- const deserializeAws_restJson1ResetUserPasswordCommand = async (output, context) => {
2125
+ const de_ResetUserPasswordCommand = async (output, context) => {
2138
2126
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2139
- return deserializeAws_restJson1ResetUserPasswordCommandError(output, context);
2127
+ return de_ResetUserPasswordCommandError(output, context);
2140
2128
  }
2141
2129
  const contents = map({
2142
2130
  $metadata: deserializeMetadata(output),
@@ -2150,8 +2138,8 @@ const deserializeAws_restJson1ResetUserPasswordCommand = async (output, context)
2150
2138
  }
2151
2139
  return contents;
2152
2140
  };
2153
- exports.deserializeAws_restJson1ResetUserPasswordCommand = deserializeAws_restJson1ResetUserPasswordCommand;
2154
- const deserializeAws_restJson1ResetUserPasswordCommandError = async (output, context) => {
2141
+ exports.de_ResetUserPasswordCommand = de_ResetUserPasswordCommand;
2142
+ const de_ResetUserPasswordCommandError = async (output, context) => {
2155
2143
  const parsedOutput = {
2156
2144
  ...output,
2157
2145
  body: await parseErrorBody(output.body, context),
@@ -2160,22 +2148,22 @@ const deserializeAws_restJson1ResetUserPasswordCommandError = async (output, con
2160
2148
  switch (errorCode) {
2161
2149
  case "AccessDeniedException":
2162
2150
  case "com.amazonaws.finspacedata#AccessDeniedException":
2163
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2151
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2164
2152
  case "ConflictException":
2165
2153
  case "com.amazonaws.finspacedata#ConflictException":
2166
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2154
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2167
2155
  case "InternalServerException":
2168
2156
  case "com.amazonaws.finspacedata#InternalServerException":
2169
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2157
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2170
2158
  case "ResourceNotFoundException":
2171
2159
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
2172
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2160
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2173
2161
  case "ThrottlingException":
2174
2162
  case "com.amazonaws.finspacedata#ThrottlingException":
2175
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2163
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2176
2164
  case "ValidationException":
2177
2165
  case "com.amazonaws.finspacedata#ValidationException":
2178
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2166
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2179
2167
  default:
2180
2168
  const parsedBody = parsedOutput.body;
2181
2169
  (0, smithy_client_1.throwDefaultError)({
@@ -2186,9 +2174,9 @@ const deserializeAws_restJson1ResetUserPasswordCommandError = async (output, con
2186
2174
  });
2187
2175
  }
2188
2176
  };
2189
- const deserializeAws_restJson1UpdateChangesetCommand = async (output, context) => {
2177
+ const de_UpdateChangesetCommand = async (output, context) => {
2190
2178
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2191
- return deserializeAws_restJson1UpdateChangesetCommandError(output, context);
2179
+ return de_UpdateChangesetCommandError(output, context);
2192
2180
  }
2193
2181
  const contents = map({
2194
2182
  $metadata: deserializeMetadata(output),
@@ -2202,8 +2190,8 @@ const deserializeAws_restJson1UpdateChangesetCommand = async (output, context) =
2202
2190
  }
2203
2191
  return contents;
2204
2192
  };
2205
- exports.deserializeAws_restJson1UpdateChangesetCommand = deserializeAws_restJson1UpdateChangesetCommand;
2206
- const deserializeAws_restJson1UpdateChangesetCommandError = async (output, context) => {
2193
+ exports.de_UpdateChangesetCommand = de_UpdateChangesetCommand;
2194
+ const de_UpdateChangesetCommandError = async (output, context) => {
2207
2195
  const parsedOutput = {
2208
2196
  ...output,
2209
2197
  body: await parseErrorBody(output.body, context),
@@ -2212,22 +2200,22 @@ const deserializeAws_restJson1UpdateChangesetCommandError = async (output, conte
2212
2200
  switch (errorCode) {
2213
2201
  case "AccessDeniedException":
2214
2202
  case "com.amazonaws.finspacedata#AccessDeniedException":
2215
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2203
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2216
2204
  case "ConflictException":
2217
2205
  case "com.amazonaws.finspacedata#ConflictException":
2218
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2206
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2219
2207
  case "InternalServerException":
2220
2208
  case "com.amazonaws.finspacedata#InternalServerException":
2221
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2209
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2222
2210
  case "ResourceNotFoundException":
2223
2211
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
2224
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2212
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2225
2213
  case "ThrottlingException":
2226
2214
  case "com.amazonaws.finspacedata#ThrottlingException":
2227
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2215
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2228
2216
  case "ValidationException":
2229
2217
  case "com.amazonaws.finspacedata#ValidationException":
2230
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2218
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2231
2219
  default:
2232
2220
  const parsedBody = parsedOutput.body;
2233
2221
  (0, smithy_client_1.throwDefaultError)({
@@ -2238,9 +2226,9 @@ const deserializeAws_restJson1UpdateChangesetCommandError = async (output, conte
2238
2226
  });
2239
2227
  }
2240
2228
  };
2241
- const deserializeAws_restJson1UpdateDatasetCommand = async (output, context) => {
2229
+ const de_UpdateDatasetCommand = async (output, context) => {
2242
2230
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2243
- return deserializeAws_restJson1UpdateDatasetCommandError(output, context);
2231
+ return de_UpdateDatasetCommandError(output, context);
2244
2232
  }
2245
2233
  const contents = map({
2246
2234
  $metadata: deserializeMetadata(output),
@@ -2251,8 +2239,8 @@ const deserializeAws_restJson1UpdateDatasetCommand = async (output, context) =>
2251
2239
  }
2252
2240
  return contents;
2253
2241
  };
2254
- exports.deserializeAws_restJson1UpdateDatasetCommand = deserializeAws_restJson1UpdateDatasetCommand;
2255
- const deserializeAws_restJson1UpdateDatasetCommandError = async (output, context) => {
2242
+ exports.de_UpdateDatasetCommand = de_UpdateDatasetCommand;
2243
+ const de_UpdateDatasetCommandError = async (output, context) => {
2256
2244
  const parsedOutput = {
2257
2245
  ...output,
2258
2246
  body: await parseErrorBody(output.body, context),
@@ -2261,22 +2249,22 @@ const deserializeAws_restJson1UpdateDatasetCommandError = async (output, context
2261
2249
  switch (errorCode) {
2262
2250
  case "AccessDeniedException":
2263
2251
  case "com.amazonaws.finspacedata#AccessDeniedException":
2264
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2252
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2265
2253
  case "ConflictException":
2266
2254
  case "com.amazonaws.finspacedata#ConflictException":
2267
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2255
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2268
2256
  case "InternalServerException":
2269
2257
  case "com.amazonaws.finspacedata#InternalServerException":
2270
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2258
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2271
2259
  case "ResourceNotFoundException":
2272
2260
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
2273
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2261
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2274
2262
  case "ThrottlingException":
2275
2263
  case "com.amazonaws.finspacedata#ThrottlingException":
2276
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2264
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2277
2265
  case "ValidationException":
2278
2266
  case "com.amazonaws.finspacedata#ValidationException":
2279
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2267
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2280
2268
  default:
2281
2269
  const parsedBody = parsedOutput.body;
2282
2270
  (0, smithy_client_1.throwDefaultError)({
@@ -2287,9 +2275,9 @@ const deserializeAws_restJson1UpdateDatasetCommandError = async (output, context
2287
2275
  });
2288
2276
  }
2289
2277
  };
2290
- const deserializeAws_restJson1UpdatePermissionGroupCommand = async (output, context) => {
2278
+ const de_UpdatePermissionGroupCommand = async (output, context) => {
2291
2279
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2292
- return deserializeAws_restJson1UpdatePermissionGroupCommandError(output, context);
2280
+ return de_UpdatePermissionGroupCommandError(output, context);
2293
2281
  }
2294
2282
  const contents = map({
2295
2283
  $metadata: deserializeMetadata(output),
@@ -2300,8 +2288,8 @@ const deserializeAws_restJson1UpdatePermissionGroupCommand = async (output, cont
2300
2288
  }
2301
2289
  return contents;
2302
2290
  };
2303
- exports.deserializeAws_restJson1UpdatePermissionGroupCommand = deserializeAws_restJson1UpdatePermissionGroupCommand;
2304
- const deserializeAws_restJson1UpdatePermissionGroupCommandError = async (output, context) => {
2291
+ exports.de_UpdatePermissionGroupCommand = de_UpdatePermissionGroupCommand;
2292
+ const de_UpdatePermissionGroupCommandError = async (output, context) => {
2305
2293
  const parsedOutput = {
2306
2294
  ...output,
2307
2295
  body: await parseErrorBody(output.body, context),
@@ -2310,22 +2298,22 @@ const deserializeAws_restJson1UpdatePermissionGroupCommandError = async (output,
2310
2298
  switch (errorCode) {
2311
2299
  case "AccessDeniedException":
2312
2300
  case "com.amazonaws.finspacedata#AccessDeniedException":
2313
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2301
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2314
2302
  case "ConflictException":
2315
2303
  case "com.amazonaws.finspacedata#ConflictException":
2316
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2304
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2317
2305
  case "InternalServerException":
2318
2306
  case "com.amazonaws.finspacedata#InternalServerException":
2319
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2307
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2320
2308
  case "ResourceNotFoundException":
2321
2309
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
2322
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2310
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2323
2311
  case "ThrottlingException":
2324
2312
  case "com.amazonaws.finspacedata#ThrottlingException":
2325
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2313
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2326
2314
  case "ValidationException":
2327
2315
  case "com.amazonaws.finspacedata#ValidationException":
2328
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2316
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2329
2317
  default:
2330
2318
  const parsedBody = parsedOutput.body;
2331
2319
  (0, smithy_client_1.throwDefaultError)({
@@ -2336,9 +2324,9 @@ const deserializeAws_restJson1UpdatePermissionGroupCommandError = async (output,
2336
2324
  });
2337
2325
  }
2338
2326
  };
2339
- const deserializeAws_restJson1UpdateUserCommand = async (output, context) => {
2327
+ const de_UpdateUserCommand = async (output, context) => {
2340
2328
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2341
- return deserializeAws_restJson1UpdateUserCommandError(output, context);
2329
+ return de_UpdateUserCommandError(output, context);
2342
2330
  }
2343
2331
  const contents = map({
2344
2332
  $metadata: deserializeMetadata(output),
@@ -2349,8 +2337,8 @@ const deserializeAws_restJson1UpdateUserCommand = async (output, context) => {
2349
2337
  }
2350
2338
  return contents;
2351
2339
  };
2352
- exports.deserializeAws_restJson1UpdateUserCommand = deserializeAws_restJson1UpdateUserCommand;
2353
- const deserializeAws_restJson1UpdateUserCommandError = async (output, context) => {
2340
+ exports.de_UpdateUserCommand = de_UpdateUserCommand;
2341
+ const de_UpdateUserCommandError = async (output, context) => {
2354
2342
  const parsedOutput = {
2355
2343
  ...output,
2356
2344
  body: await parseErrorBody(output.body, context),
@@ -2359,22 +2347,22 @@ const deserializeAws_restJson1UpdateUserCommandError = async (output, context) =
2359
2347
  switch (errorCode) {
2360
2348
  case "AccessDeniedException":
2361
2349
  case "com.amazonaws.finspacedata#AccessDeniedException":
2362
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2350
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2363
2351
  case "ConflictException":
2364
2352
  case "com.amazonaws.finspacedata#ConflictException":
2365
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2353
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2366
2354
  case "InternalServerException":
2367
2355
  case "com.amazonaws.finspacedata#InternalServerException":
2368
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2356
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2369
2357
  case "ResourceNotFoundException":
2370
2358
  case "com.amazonaws.finspacedata#ResourceNotFoundException":
2371
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2359
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2372
2360
  case "ThrottlingException":
2373
2361
  case "com.amazonaws.finspacedata#ThrottlingException":
2374
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2362
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2375
2363
  case "ValidationException":
2376
2364
  case "com.amazonaws.finspacedata#ValidationException":
2377
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2365
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2378
2366
  default:
2379
2367
  const parsedBody = parsedOutput.body;
2380
2368
  (0, smithy_client_1.throwDefaultError)({
@@ -2386,7 +2374,7 @@ const deserializeAws_restJson1UpdateUserCommandError = async (output, context) =
2386
2374
  }
2387
2375
  };
2388
2376
  const map = smithy_client_1.map;
2389
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2377
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2390
2378
  const contents = map({});
2391
2379
  const data = parsedOutput.body;
2392
2380
  if (data.message != null) {
@@ -2398,7 +2386,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2398
2386
  });
2399
2387
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2400
2388
  };
2401
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2389
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2402
2390
  const contents = map({});
2403
2391
  const data = parsedOutput.body;
2404
2392
  if (data.message != null) {
@@ -2413,7 +2401,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2413
2401
  });
2414
2402
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2415
2403
  };
2416
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2404
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2417
2405
  const contents = map({});
2418
2406
  const data = parsedOutput.body;
2419
2407
  if (data.message != null) {
@@ -2425,7 +2413,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2425
2413
  });
2426
2414
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2427
2415
  };
2428
- const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
2416
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
2429
2417
  const contents = map({});
2430
2418
  const data = parsedOutput.body;
2431
2419
  if (data.message != null) {
@@ -2437,7 +2425,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
2437
2425
  });
2438
2426
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2439
2427
  };
2440
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2428
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2441
2429
  const contents = map({});
2442
2430
  const data = parsedOutput.body;
2443
2431
  if (data.message != null) {
@@ -2452,7 +2440,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2452
2440
  });
2453
2441
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2454
2442
  };
2455
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2443
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2456
2444
  const contents = map({});
2457
2445
  const data = parsedOutput.body;
2458
2446
  const exception = new models_0_1.ThrottlingException({
@@ -2461,7 +2449,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2461
2449
  });
2462
2450
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2463
2451
  };
2464
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2452
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2465
2453
  const contents = map({});
2466
2454
  const data = parsedOutput.body;
2467
2455
  if (data.message != null) {
@@ -2476,53 +2464,53 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2476
2464
  });
2477
2465
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2478
2466
  };
2479
- const serializeAws_restJson1ApplicationPermissionList = (input, context) => {
2467
+ const se_ApplicationPermissionList = (input, context) => {
2480
2468
  return input
2481
2469
  .filter((e) => e != null)
2482
2470
  .map((entry) => {
2483
2471
  return entry;
2484
2472
  });
2485
2473
  };
2486
- const serializeAws_restJson1ColumnDefinition = (input, context) => {
2474
+ const se_ColumnDefinition = (input, context) => {
2487
2475
  return {
2488
2476
  ...(input.columnDescription != null && { columnDescription: input.columnDescription }),
2489
2477
  ...(input.columnName != null && { columnName: input.columnName }),
2490
2478
  ...(input.dataType != null && { dataType: input.dataType }),
2491
2479
  };
2492
2480
  };
2493
- const serializeAws_restJson1ColumnList = (input, context) => {
2481
+ const se_ColumnList = (input, context) => {
2494
2482
  return input
2495
2483
  .filter((e) => e != null)
2496
2484
  .map((entry) => {
2497
- return serializeAws_restJson1ColumnDefinition(entry, context);
2485
+ return se_ColumnDefinition(entry, context);
2498
2486
  });
2499
2487
  };
2500
- const serializeAws_restJson1ColumnNameList = (input, context) => {
2488
+ const se_ColumnNameList = (input, context) => {
2501
2489
  return input
2502
2490
  .filter((e) => e != null)
2503
2491
  .map((entry) => {
2504
2492
  return entry;
2505
2493
  });
2506
2494
  };
2507
- const serializeAws_restJson1DatasetOwnerInfo = (input, context) => {
2495
+ const se_DatasetOwnerInfo = (input, context) => {
2508
2496
  return {
2509
2497
  ...(input.email != null && { email: input.email }),
2510
2498
  ...(input.name != null && { name: input.name }),
2511
2499
  ...(input.phoneNumber != null && { phoneNumber: input.phoneNumber }),
2512
2500
  };
2513
2501
  };
2514
- const serializeAws_restJson1DataViewDestinationTypeParams = (input, context) => {
2502
+ const se_DataViewDestinationTypeParams = (input, context) => {
2515
2503
  return {
2516
2504
  ...(input.destinationType != null && { destinationType: input.destinationType }),
2517
2505
  ...(input.s3DestinationExportFileFormat != null && {
2518
2506
  s3DestinationExportFileFormat: input.s3DestinationExportFileFormat,
2519
2507
  }),
2520
2508
  ...(input.s3DestinationExportFileFormatOptions != null && {
2521
- s3DestinationExportFileFormatOptions: serializeAws_restJson1S3DestinationFormatOptions(input.s3DestinationExportFileFormatOptions, context),
2509
+ s3DestinationExportFileFormatOptions: se_S3DestinationFormatOptions(input.s3DestinationExportFileFormatOptions, context),
2522
2510
  }),
2523
2511
  };
2524
2512
  };
2525
- const serializeAws_restJson1FormatParams = (input, context) => {
2513
+ const se_FormatParams = (input, context) => {
2526
2514
  return Object.entries(input).reduce((acc, [key, value]) => {
2527
2515
  if (value === null) {
2528
2516
  return acc;
@@ -2531,34 +2519,34 @@ const serializeAws_restJson1FormatParams = (input, context) => {
2531
2519
  return acc;
2532
2520
  }, {});
2533
2521
  };
2534
- const serializeAws_restJson1PartitionColumnList = (input, context) => {
2522
+ const se_PartitionColumnList = (input, context) => {
2535
2523
  return input
2536
2524
  .filter((e) => e != null)
2537
2525
  .map((entry) => {
2538
2526
  return entry;
2539
2527
  });
2540
2528
  };
2541
- const serializeAws_restJson1PermissionGroupParams = (input, context) => {
2529
+ const se_PermissionGroupParams = (input, context) => {
2542
2530
  return {
2543
2531
  ...(input.datasetPermissions != null && {
2544
- datasetPermissions: serializeAws_restJson1ResourcePermissionsList(input.datasetPermissions, context),
2532
+ datasetPermissions: se_ResourcePermissionsList(input.datasetPermissions, context),
2545
2533
  }),
2546
2534
  ...(input.permissionGroupId != null && { permissionGroupId: input.permissionGroupId }),
2547
2535
  };
2548
2536
  };
2549
- const serializeAws_restJson1ResourcePermission = (input, context) => {
2537
+ const se_ResourcePermission = (input, context) => {
2550
2538
  return {
2551
2539
  ...(input.permission != null && { permission: input.permission }),
2552
2540
  };
2553
2541
  };
2554
- const serializeAws_restJson1ResourcePermissionsList = (input, context) => {
2542
+ const se_ResourcePermissionsList = (input, context) => {
2555
2543
  return input
2556
2544
  .filter((e) => e != null)
2557
2545
  .map((entry) => {
2558
- return serializeAws_restJson1ResourcePermission(entry, context);
2546
+ return se_ResourcePermission(entry, context);
2559
2547
  });
2560
2548
  };
2561
- const serializeAws_restJson1S3DestinationFormatOptions = (input, context) => {
2549
+ const se_S3DestinationFormatOptions = (input, context) => {
2562
2550
  return Object.entries(input).reduce((acc, [key, value]) => {
2563
2551
  if (value === null) {
2564
2552
  return acc;
@@ -2567,29 +2555,27 @@ const serializeAws_restJson1S3DestinationFormatOptions = (input, context) => {
2567
2555
  return acc;
2568
2556
  }, {});
2569
2557
  };
2570
- const serializeAws_restJson1SchemaDefinition = (input, context) => {
2558
+ const se_SchemaDefinition = (input, context) => {
2571
2559
  return {
2572
- ...(input.columns != null && { columns: serializeAws_restJson1ColumnList(input.columns, context) }),
2573
- ...(input.primaryKeyColumns != null && {
2574
- primaryKeyColumns: serializeAws_restJson1ColumnNameList(input.primaryKeyColumns, context),
2575
- }),
2560
+ ...(input.columns != null && { columns: se_ColumnList(input.columns, context) }),
2561
+ ...(input.primaryKeyColumns != null && { primaryKeyColumns: se_ColumnNameList(input.primaryKeyColumns, context) }),
2576
2562
  };
2577
2563
  };
2578
- const serializeAws_restJson1SchemaUnion = (input, context) => {
2564
+ const se_SchemaUnion = (input, context) => {
2579
2565
  return {
2580
2566
  ...(input.tabularSchemaConfig != null && {
2581
- tabularSchemaConfig: serializeAws_restJson1SchemaDefinition(input.tabularSchemaConfig, context),
2567
+ tabularSchemaConfig: se_SchemaDefinition(input.tabularSchemaConfig, context),
2582
2568
  }),
2583
2569
  };
2584
2570
  };
2585
- const serializeAws_restJson1SortColumnList = (input, context) => {
2571
+ const se_SortColumnList = (input, context) => {
2586
2572
  return input
2587
2573
  .filter((e) => e != null)
2588
2574
  .map((entry) => {
2589
2575
  return entry;
2590
2576
  });
2591
2577
  };
2592
- const serializeAws_restJson1SourceParams = (input, context) => {
2578
+ const se_SourceParams = (input, context) => {
2593
2579
  return Object.entries(input).reduce((acc, [key, value]) => {
2594
2580
  if (value === null) {
2595
2581
  return acc;
@@ -2598,7 +2584,7 @@ const serializeAws_restJson1SourceParams = (input, context) => {
2598
2584
  return acc;
2599
2585
  }, {});
2600
2586
  };
2601
- const deserializeAws_restJson1ApplicationPermissionList = (output, context) => {
2587
+ const de_ApplicationPermissionList = (output, context) => {
2602
2588
  const retVal = (output || [])
2603
2589
  .filter((e) => e != null)
2604
2590
  .map((entry) => {
@@ -2609,7 +2595,7 @@ const deserializeAws_restJson1ApplicationPermissionList = (output, context) => {
2609
2595
  });
2610
2596
  return retVal;
2611
2597
  };
2612
- const deserializeAws_restJson1AwsCredentials = (output, context) => {
2598
+ const de_AwsCredentials = (output, context) => {
2613
2599
  return {
2614
2600
  accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
2615
2601
  expiration: (0, smithy_client_1.expectLong)(output.expiration),
@@ -2617,24 +2603,24 @@ const deserializeAws_restJson1AwsCredentials = (output, context) => {
2617
2603
  sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
2618
2604
  };
2619
2605
  };
2620
- const deserializeAws_restJson1ChangesetErrorInfo = (output, context) => {
2606
+ const de_ChangesetErrorInfo = (output, context) => {
2621
2607
  return {
2622
2608
  errorCategory: (0, smithy_client_1.expectString)(output.errorCategory),
2623
2609
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
2624
2610
  };
2625
2611
  };
2626
- const deserializeAws_restJson1ChangesetList = (output, context) => {
2612
+ const de_ChangesetList = (output, context) => {
2627
2613
  const retVal = (output || [])
2628
2614
  .filter((e) => e != null)
2629
2615
  .map((entry) => {
2630
2616
  if (entry === null) {
2631
2617
  return null;
2632
2618
  }
2633
- return deserializeAws_restJson1ChangesetSummary(entry, context);
2619
+ return de_ChangesetSummary(entry, context);
2634
2620
  });
2635
2621
  return retVal;
2636
2622
  };
2637
- const deserializeAws_restJson1ChangesetSummary = (output, context) => {
2623
+ const de_ChangesetSummary = (output, context) => {
2638
2624
  return {
2639
2625
  activeFromTimestamp: (0, smithy_client_1.expectLong)(output.activeFromTimestamp),
2640
2626
  activeUntilTimestamp: (0, smithy_client_1.expectLong)(output.activeUntilTimestamp),
@@ -2643,33 +2629,33 @@ const deserializeAws_restJson1ChangesetSummary = (output, context) => {
2643
2629
  changesetId: (0, smithy_client_1.expectString)(output.changesetId),
2644
2630
  createTime: (0, smithy_client_1.expectLong)(output.createTime),
2645
2631
  datasetId: (0, smithy_client_1.expectString)(output.datasetId),
2646
- errorInfo: output.errorInfo != null ? deserializeAws_restJson1ChangesetErrorInfo(output.errorInfo, context) : undefined,
2647
- formatParams: output.formatParams != null ? deserializeAws_restJson1FormatParams(output.formatParams, context) : undefined,
2648
- sourceParams: output.sourceParams != null ? deserializeAws_restJson1SourceParams(output.sourceParams, context) : undefined,
2632
+ errorInfo: output.errorInfo != null ? de_ChangesetErrorInfo(output.errorInfo, context) : undefined,
2633
+ formatParams: output.formatParams != null ? de_FormatParams(output.formatParams, context) : undefined,
2634
+ sourceParams: output.sourceParams != null ? de_SourceParams(output.sourceParams, context) : undefined,
2649
2635
  status: (0, smithy_client_1.expectString)(output.status),
2650
2636
  updatedByChangesetId: (0, smithy_client_1.expectString)(output.updatedByChangesetId),
2651
2637
  updatesChangesetId: (0, smithy_client_1.expectString)(output.updatesChangesetId),
2652
2638
  };
2653
2639
  };
2654
- const deserializeAws_restJson1ColumnDefinition = (output, context) => {
2640
+ const de_ColumnDefinition = (output, context) => {
2655
2641
  return {
2656
2642
  columnDescription: (0, smithy_client_1.expectString)(output.columnDescription),
2657
2643
  columnName: (0, smithy_client_1.expectString)(output.columnName),
2658
2644
  dataType: (0, smithy_client_1.expectString)(output.dataType),
2659
2645
  };
2660
2646
  };
2661
- const deserializeAws_restJson1ColumnList = (output, context) => {
2647
+ const de_ColumnList = (output, context) => {
2662
2648
  const retVal = (output || [])
2663
2649
  .filter((e) => e != null)
2664
2650
  .map((entry) => {
2665
2651
  if (entry === null) {
2666
2652
  return null;
2667
2653
  }
2668
- return deserializeAws_restJson1ColumnDefinition(entry, context);
2654
+ return de_ColumnDefinition(entry, context);
2669
2655
  });
2670
2656
  return retVal;
2671
2657
  };
2672
- const deserializeAws_restJson1ColumnNameList = (output, context) => {
2658
+ const de_ColumnNameList = (output, context) => {
2673
2659
  const retVal = (output || [])
2674
2660
  .filter((e) => e != null)
2675
2661
  .map((entry) => {
@@ -2680,14 +2666,14 @@ const deserializeAws_restJson1ColumnNameList = (output, context) => {
2680
2666
  });
2681
2667
  return retVal;
2682
2668
  };
2683
- const deserializeAws_restJson1Credentials = (output, context) => {
2669
+ const de_Credentials = (output, context) => {
2684
2670
  return {
2685
2671
  accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
2686
2672
  secretAccessKey: (0, smithy_client_1.expectString)(output.secretAccessKey),
2687
2673
  sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
2688
2674
  };
2689
2675
  };
2690
- const deserializeAws_restJson1Dataset = (output, context) => {
2676
+ const de_Dataset = (output, context) => {
2691
2677
  return {
2692
2678
  alias: (0, smithy_client_1.expectString)(output.alias),
2693
2679
  createTime: (0, smithy_client_1.expectLong)(output.createTime),
@@ -2697,57 +2683,55 @@ const deserializeAws_restJson1Dataset = (output, context) => {
2697
2683
  datasetTitle: (0, smithy_client_1.expectString)(output.datasetTitle),
2698
2684
  kind: (0, smithy_client_1.expectString)(output.kind),
2699
2685
  lastModifiedTime: (0, smithy_client_1.expectLong)(output.lastModifiedTime),
2700
- ownerInfo: output.ownerInfo != null ? deserializeAws_restJson1DatasetOwnerInfo(output.ownerInfo, context) : undefined,
2701
- schemaDefinition: output.schemaDefinition != null
2702
- ? deserializeAws_restJson1SchemaUnion(output.schemaDefinition, context)
2703
- : undefined,
2686
+ ownerInfo: output.ownerInfo != null ? de_DatasetOwnerInfo(output.ownerInfo, context) : undefined,
2687
+ schemaDefinition: output.schemaDefinition != null ? de_SchemaUnion(output.schemaDefinition, context) : undefined,
2704
2688
  };
2705
2689
  };
2706
- const deserializeAws_restJson1DatasetList = (output, context) => {
2690
+ const de_DatasetList = (output, context) => {
2707
2691
  const retVal = (output || [])
2708
2692
  .filter((e) => e != null)
2709
2693
  .map((entry) => {
2710
2694
  if (entry === null) {
2711
2695
  return null;
2712
2696
  }
2713
- return deserializeAws_restJson1Dataset(entry, context);
2697
+ return de_Dataset(entry, context);
2714
2698
  });
2715
2699
  return retVal;
2716
2700
  };
2717
- const deserializeAws_restJson1DatasetOwnerInfo = (output, context) => {
2701
+ const de_DatasetOwnerInfo = (output, context) => {
2718
2702
  return {
2719
2703
  email: (0, smithy_client_1.expectString)(output.email),
2720
2704
  name: (0, smithy_client_1.expectString)(output.name),
2721
2705
  phoneNumber: (0, smithy_client_1.expectString)(output.phoneNumber),
2722
2706
  };
2723
2707
  };
2724
- const deserializeAws_restJson1DataViewDestinationTypeParams = (output, context) => {
2708
+ const de_DataViewDestinationTypeParams = (output, context) => {
2725
2709
  return {
2726
2710
  destinationType: (0, smithy_client_1.expectString)(output.destinationType),
2727
2711
  s3DestinationExportFileFormat: (0, smithy_client_1.expectString)(output.s3DestinationExportFileFormat),
2728
2712
  s3DestinationExportFileFormatOptions: output.s3DestinationExportFileFormatOptions != null
2729
- ? deserializeAws_restJson1S3DestinationFormatOptions(output.s3DestinationExportFileFormatOptions, context)
2713
+ ? de_S3DestinationFormatOptions(output.s3DestinationExportFileFormatOptions, context)
2730
2714
  : undefined,
2731
2715
  };
2732
2716
  };
2733
- const deserializeAws_restJson1DataViewErrorInfo = (output, context) => {
2717
+ const de_DataViewErrorInfo = (output, context) => {
2734
2718
  return {
2735
2719
  errorCategory: (0, smithy_client_1.expectString)(output.errorCategory),
2736
2720
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
2737
2721
  };
2738
2722
  };
2739
- const deserializeAws_restJson1DataViewList = (output, context) => {
2723
+ const de_DataViewList = (output, context) => {
2740
2724
  const retVal = (output || [])
2741
2725
  .filter((e) => e != null)
2742
2726
  .map((entry) => {
2743
2727
  if (entry === null) {
2744
2728
  return null;
2745
2729
  }
2746
- return deserializeAws_restJson1DataViewSummary(entry, context);
2730
+ return de_DataViewSummary(entry, context);
2747
2731
  });
2748
2732
  return retVal;
2749
2733
  };
2750
- const deserializeAws_restJson1DataViewSummary = (output, context) => {
2734
+ const de_DataViewSummary = (output, context) => {
2751
2735
  return {
2752
2736
  asOfTimestamp: (0, smithy_client_1.expectLong)(output.asOfTimestamp),
2753
2737
  autoUpdate: (0, smithy_client_1.expectBoolean)(output.autoUpdate),
@@ -2756,18 +2740,16 @@ const deserializeAws_restJson1DataViewSummary = (output, context) => {
2756
2740
  dataViewId: (0, smithy_client_1.expectString)(output.dataViewId),
2757
2741
  datasetId: (0, smithy_client_1.expectString)(output.datasetId),
2758
2742
  destinationTypeProperties: output.destinationTypeProperties != null
2759
- ? deserializeAws_restJson1DataViewDestinationTypeParams(output.destinationTypeProperties, context)
2743
+ ? de_DataViewDestinationTypeParams(output.destinationTypeProperties, context)
2760
2744
  : undefined,
2761
- errorInfo: output.errorInfo != null ? deserializeAws_restJson1DataViewErrorInfo(output.errorInfo, context) : undefined,
2745
+ errorInfo: output.errorInfo != null ? de_DataViewErrorInfo(output.errorInfo, context) : undefined,
2762
2746
  lastModifiedTime: (0, smithy_client_1.expectLong)(output.lastModifiedTime),
2763
- partitionColumns: output.partitionColumns != null
2764
- ? deserializeAws_restJson1PartitionColumnList(output.partitionColumns, context)
2765
- : undefined,
2766
- sortColumns: output.sortColumns != null ? deserializeAws_restJson1SortColumnList(output.sortColumns, context) : undefined,
2747
+ partitionColumns: output.partitionColumns != null ? de_PartitionColumnList(output.partitionColumns, context) : undefined,
2748
+ sortColumns: output.sortColumns != null ? de_SortColumnList(output.sortColumns, context) : undefined,
2767
2749
  status: (0, smithy_client_1.expectString)(output.status),
2768
2750
  };
2769
2751
  };
2770
- const deserializeAws_restJson1FormatParams = (output, context) => {
2752
+ const de_FormatParams = (output, context) => {
2771
2753
  return Object.entries(output).reduce((acc, [key, value]) => {
2772
2754
  if (value === null) {
2773
2755
  return acc;
@@ -2776,7 +2758,7 @@ const deserializeAws_restJson1FormatParams = (output, context) => {
2776
2758
  return acc;
2777
2759
  }, {});
2778
2760
  };
2779
- const deserializeAws_restJson1PartitionColumnList = (output, context) => {
2761
+ const de_PartitionColumnList = (output, context) => {
2780
2762
  const retVal = (output || [])
2781
2763
  .filter((e) => e != null)
2782
2764
  .map((entry) => {
@@ -2787,10 +2769,10 @@ const deserializeAws_restJson1PartitionColumnList = (output, context) => {
2787
2769
  });
2788
2770
  return retVal;
2789
2771
  };
2790
- const deserializeAws_restJson1PermissionGroup = (output, context) => {
2772
+ const de_PermissionGroup = (output, context) => {
2791
2773
  return {
2792
2774
  applicationPermissions: output.applicationPermissions != null
2793
- ? deserializeAws_restJson1ApplicationPermissionList(output.applicationPermissions, context)
2775
+ ? de_ApplicationPermissionList(output.applicationPermissions, context)
2794
2776
  : undefined,
2795
2777
  createTime: (0, smithy_client_1.expectLong)(output.createTime),
2796
2778
  description: (0, smithy_client_1.expectString)(output.description),
@@ -2800,36 +2782,36 @@ const deserializeAws_restJson1PermissionGroup = (output, context) => {
2800
2782
  permissionGroupId: (0, smithy_client_1.expectString)(output.permissionGroupId),
2801
2783
  };
2802
2784
  };
2803
- const deserializeAws_restJson1PermissionGroupByUser = (output, context) => {
2785
+ const de_PermissionGroupByUser = (output, context) => {
2804
2786
  return {
2805
2787
  membershipStatus: (0, smithy_client_1.expectString)(output.membershipStatus),
2806
2788
  name: (0, smithy_client_1.expectString)(output.name),
2807
2789
  permissionGroupId: (0, smithy_client_1.expectString)(output.permissionGroupId),
2808
2790
  };
2809
2791
  };
2810
- const deserializeAws_restJson1PermissionGroupByUserList = (output, context) => {
2792
+ const de_PermissionGroupByUserList = (output, context) => {
2811
2793
  const retVal = (output || [])
2812
2794
  .filter((e) => e != null)
2813
2795
  .map((entry) => {
2814
2796
  if (entry === null) {
2815
2797
  return null;
2816
2798
  }
2817
- return deserializeAws_restJson1PermissionGroupByUser(entry, context);
2799
+ return de_PermissionGroupByUser(entry, context);
2818
2800
  });
2819
2801
  return retVal;
2820
2802
  };
2821
- const deserializeAws_restJson1PermissionGroupList = (output, context) => {
2803
+ const de_PermissionGroupList = (output, context) => {
2822
2804
  const retVal = (output || [])
2823
2805
  .filter((e) => e != null)
2824
2806
  .map((entry) => {
2825
2807
  if (entry === null) {
2826
2808
  return null;
2827
2809
  }
2828
- return deserializeAws_restJson1PermissionGroup(entry, context);
2810
+ return de_PermissionGroup(entry, context);
2829
2811
  });
2830
2812
  return retVal;
2831
2813
  };
2832
- const deserializeAws_restJson1S3DestinationFormatOptions = (output, context) => {
2814
+ const de_S3DestinationFormatOptions = (output, context) => {
2833
2815
  return Object.entries(output).reduce((acc, [key, value]) => {
2834
2816
  if (value === null) {
2835
2817
  return acc;
@@ -2838,28 +2820,24 @@ const deserializeAws_restJson1S3DestinationFormatOptions = (output, context) =>
2838
2820
  return acc;
2839
2821
  }, {});
2840
2822
  };
2841
- const deserializeAws_restJson1S3Location = (output, context) => {
2823
+ const de_S3Location = (output, context) => {
2842
2824
  return {
2843
2825
  bucket: (0, smithy_client_1.expectString)(output.bucket),
2844
2826
  key: (0, smithy_client_1.expectString)(output.key),
2845
2827
  };
2846
2828
  };
2847
- const deserializeAws_restJson1SchemaDefinition = (output, context) => {
2829
+ const de_SchemaDefinition = (output, context) => {
2848
2830
  return {
2849
- columns: output.columns != null ? deserializeAws_restJson1ColumnList(output.columns, context) : undefined,
2850
- primaryKeyColumns: output.primaryKeyColumns != null
2851
- ? deserializeAws_restJson1ColumnNameList(output.primaryKeyColumns, context)
2852
- : undefined,
2831
+ columns: output.columns != null ? de_ColumnList(output.columns, context) : undefined,
2832
+ primaryKeyColumns: output.primaryKeyColumns != null ? de_ColumnNameList(output.primaryKeyColumns, context) : undefined,
2853
2833
  };
2854
2834
  };
2855
- const deserializeAws_restJson1SchemaUnion = (output, context) => {
2835
+ const de_SchemaUnion = (output, context) => {
2856
2836
  return {
2857
- tabularSchemaConfig: output.tabularSchemaConfig != null
2858
- ? deserializeAws_restJson1SchemaDefinition(output.tabularSchemaConfig, context)
2859
- : undefined,
2837
+ tabularSchemaConfig: output.tabularSchemaConfig != null ? de_SchemaDefinition(output.tabularSchemaConfig, context) : undefined,
2860
2838
  };
2861
2839
  };
2862
- const deserializeAws_restJson1SortColumnList = (output, context) => {
2840
+ const de_SortColumnList = (output, context) => {
2863
2841
  const retVal = (output || [])
2864
2842
  .filter((e) => e != null)
2865
2843
  .map((entry) => {
@@ -2870,7 +2848,7 @@ const deserializeAws_restJson1SortColumnList = (output, context) => {
2870
2848
  });
2871
2849
  return retVal;
2872
2850
  };
2873
- const deserializeAws_restJson1SourceParams = (output, context) => {
2851
+ const de_SourceParams = (output, context) => {
2874
2852
  return Object.entries(output).reduce((acc, [key, value]) => {
2875
2853
  if (value === null) {
2876
2854
  return acc;
@@ -2879,7 +2857,7 @@ const deserializeAws_restJson1SourceParams = (output, context) => {
2879
2857
  return acc;
2880
2858
  }, {});
2881
2859
  };
2882
- const deserializeAws_restJson1User = (output, context) => {
2860
+ const de_User = (output, context) => {
2883
2861
  return {
2884
2862
  apiAccess: (0, smithy_client_1.expectString)(output.apiAccess),
2885
2863
  apiAccessPrincipalArn: (0, smithy_client_1.expectString)(output.apiAccessPrincipalArn),
@@ -2896,7 +2874,7 @@ const deserializeAws_restJson1User = (output, context) => {
2896
2874
  userId: (0, smithy_client_1.expectString)(output.userId),
2897
2875
  };
2898
2876
  };
2899
- const deserializeAws_restJson1UserByPermissionGroup = (output, context) => {
2877
+ const de_UserByPermissionGroup = (output, context) => {
2900
2878
  return {
2901
2879
  apiAccess: (0, smithy_client_1.expectString)(output.apiAccess),
2902
2880
  apiAccessPrincipalArn: (0, smithy_client_1.expectString)(output.apiAccessPrincipalArn),
@@ -2909,25 +2887,25 @@ const deserializeAws_restJson1UserByPermissionGroup = (output, context) => {
2909
2887
  userId: (0, smithy_client_1.expectString)(output.userId),
2910
2888
  };
2911
2889
  };
2912
- const deserializeAws_restJson1UserByPermissionGroupList = (output, context) => {
2890
+ const de_UserByPermissionGroupList = (output, context) => {
2913
2891
  const retVal = (output || [])
2914
2892
  .filter((e) => e != null)
2915
2893
  .map((entry) => {
2916
2894
  if (entry === null) {
2917
2895
  return null;
2918
2896
  }
2919
- return deserializeAws_restJson1UserByPermissionGroup(entry, context);
2897
+ return de_UserByPermissionGroup(entry, context);
2920
2898
  });
2921
2899
  return retVal;
2922
2900
  };
2923
- const deserializeAws_restJson1UserList = (output, context) => {
2901
+ const de_UserList = (output, context) => {
2924
2902
  const retVal = (output || [])
2925
2903
  .filter((e) => e != null)
2926
2904
  .map((entry) => {
2927
2905
  if (entry === null) {
2928
2906
  return null;
2929
2907
  }
2930
- return deserializeAws_restJson1User(entry, context);
2908
+ return de_User(entry, context);
2931
2909
  });
2932
2910
  return retVal;
2933
2911
  };