@aws-sdk/client-dataexchange 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist-cjs/commands/CancelJobCommand.js +2 -2
  2. package/dist-cjs/commands/CreateDataSetCommand.js +2 -2
  3. package/dist-cjs/commands/CreateEventActionCommand.js +2 -2
  4. package/dist-cjs/commands/CreateJobCommand.js +2 -2
  5. package/dist-cjs/commands/CreateRevisionCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteAssetCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteDataSetCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteEventActionCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteRevisionCommand.js +2 -2
  10. package/dist-cjs/commands/GetAssetCommand.js +2 -2
  11. package/dist-cjs/commands/GetDataSetCommand.js +2 -2
  12. package/dist-cjs/commands/GetEventActionCommand.js +2 -2
  13. package/dist-cjs/commands/GetJobCommand.js +2 -2
  14. package/dist-cjs/commands/GetRevisionCommand.js +2 -2
  15. package/dist-cjs/commands/ListDataSetRevisionsCommand.js +2 -2
  16. package/dist-cjs/commands/ListDataSetsCommand.js +2 -2
  17. package/dist-cjs/commands/ListEventActionsCommand.js +2 -2
  18. package/dist-cjs/commands/ListJobsCommand.js +2 -2
  19. package/dist-cjs/commands/ListRevisionAssetsCommand.js +2 -2
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  21. package/dist-cjs/commands/RevokeRevisionCommand.js +2 -2
  22. package/dist-cjs/commands/SendApiAssetCommand.js +2 -2
  23. package/dist-cjs/commands/StartJobCommand.js +2 -2
  24. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  25. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateAssetCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateDataSetCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateEventActionCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateRevisionCommand.js +2 -2
  30. package/dist-cjs/protocols/Aws_restJson1.js +544 -592
  31. package/dist-es/commands/CancelJobCommand.js +3 -3
  32. package/dist-es/commands/CreateDataSetCommand.js +3 -3
  33. package/dist-es/commands/CreateEventActionCommand.js +3 -3
  34. package/dist-es/commands/CreateJobCommand.js +3 -3
  35. package/dist-es/commands/CreateRevisionCommand.js +3 -3
  36. package/dist-es/commands/DeleteAssetCommand.js +3 -3
  37. package/dist-es/commands/DeleteDataSetCommand.js +3 -3
  38. package/dist-es/commands/DeleteEventActionCommand.js +3 -3
  39. package/dist-es/commands/DeleteRevisionCommand.js +3 -3
  40. package/dist-es/commands/GetAssetCommand.js +3 -3
  41. package/dist-es/commands/GetDataSetCommand.js +3 -3
  42. package/dist-es/commands/GetEventActionCommand.js +3 -3
  43. package/dist-es/commands/GetJobCommand.js +3 -3
  44. package/dist-es/commands/GetRevisionCommand.js +3 -3
  45. package/dist-es/commands/ListDataSetRevisionsCommand.js +3 -3
  46. package/dist-es/commands/ListDataSetsCommand.js +3 -3
  47. package/dist-es/commands/ListEventActionsCommand.js +3 -3
  48. package/dist-es/commands/ListJobsCommand.js +3 -3
  49. package/dist-es/commands/ListRevisionAssetsCommand.js +3 -3
  50. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  51. package/dist-es/commands/RevokeRevisionCommand.js +3 -3
  52. package/dist-es/commands/SendApiAssetCommand.js +3 -3
  53. package/dist-es/commands/StartJobCommand.js +3 -3
  54. package/dist-es/commands/TagResourceCommand.js +3 -3
  55. package/dist-es/commands/UntagResourceCommand.js +3 -3
  56. package/dist-es/commands/UpdateAssetCommand.js +3 -3
  57. package/dist-es/commands/UpdateDataSetCommand.js +3 -3
  58. package/dist-es/commands/UpdateEventActionCommand.js +3 -3
  59. package/dist-es/commands/UpdateRevisionCommand.js +3 -3
  60. package/dist-es/protocols/Aws_restJson1.js +484 -532
  61. package/dist-types/protocols/Aws_restJson1.d.ts +232 -58
  62. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +58 -58
  63. package/package.json +29 -29
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1RevokeRevisionCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListRevisionAssetsCommand = exports.deserializeAws_restJson1ListJobsCommand = exports.deserializeAws_restJson1ListEventActionsCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDataSetRevisionsCommand = exports.deserializeAws_restJson1GetRevisionCommand = exports.deserializeAws_restJson1GetJobCommand = exports.deserializeAws_restJson1GetEventActionCommand = exports.deserializeAws_restJson1GetDataSetCommand = exports.deserializeAws_restJson1GetAssetCommand = exports.deserializeAws_restJson1DeleteRevisionCommand = exports.deserializeAws_restJson1DeleteEventActionCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteAssetCommand = exports.deserializeAws_restJson1CreateRevisionCommand = exports.deserializeAws_restJson1CreateJobCommand = exports.deserializeAws_restJson1CreateEventActionCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CancelJobCommand = exports.serializeAws_restJson1UpdateRevisionCommand = exports.serializeAws_restJson1UpdateEventActionCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateAssetCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartJobCommand = exports.serializeAws_restJson1SendApiAssetCommand = exports.serializeAws_restJson1RevokeRevisionCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListRevisionAssetsCommand = exports.serializeAws_restJson1ListJobsCommand = exports.serializeAws_restJson1ListEventActionsCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDataSetRevisionsCommand = exports.serializeAws_restJson1GetRevisionCommand = exports.serializeAws_restJson1GetJobCommand = exports.serializeAws_restJson1GetEventActionCommand = exports.serializeAws_restJson1GetDataSetCommand = exports.serializeAws_restJson1GetAssetCommand = exports.serializeAws_restJson1DeleteRevisionCommand = exports.serializeAws_restJson1DeleteEventActionCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteAssetCommand = exports.serializeAws_restJson1CreateRevisionCommand = exports.serializeAws_restJson1CreateJobCommand = exports.serializeAws_restJson1CreateEventActionCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CancelJobCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateRevisionCommand = exports.deserializeAws_restJson1UpdateEventActionCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateAssetCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartJobCommand = exports.deserializeAws_restJson1SendApiAssetCommand = void 0;
3
+ exports.de_RevokeRevisionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRevisionAssetsCommand = exports.de_ListJobsCommand = exports.de_ListEventActionsCommand = exports.de_ListDataSetsCommand = exports.de_ListDataSetRevisionsCommand = exports.de_GetRevisionCommand = exports.de_GetJobCommand = exports.de_GetEventActionCommand = exports.de_GetDataSetCommand = exports.de_GetAssetCommand = exports.de_DeleteRevisionCommand = exports.de_DeleteEventActionCommand = exports.de_DeleteDataSetCommand = exports.de_DeleteAssetCommand = exports.de_CreateRevisionCommand = exports.de_CreateJobCommand = exports.de_CreateEventActionCommand = exports.de_CreateDataSetCommand = exports.de_CancelJobCommand = exports.se_UpdateRevisionCommand = exports.se_UpdateEventActionCommand = exports.se_UpdateDataSetCommand = exports.se_UpdateAssetCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartJobCommand = exports.se_SendApiAssetCommand = exports.se_RevokeRevisionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRevisionAssetsCommand = exports.se_ListJobsCommand = exports.se_ListEventActionsCommand = exports.se_ListDataSetsCommand = exports.se_ListDataSetRevisionsCommand = exports.se_GetRevisionCommand = exports.se_GetJobCommand = exports.se_GetEventActionCommand = exports.se_GetDataSetCommand = exports.se_GetAssetCommand = exports.se_DeleteRevisionCommand = exports.se_DeleteEventActionCommand = exports.se_DeleteDataSetCommand = exports.se_DeleteAssetCommand = exports.se_CreateRevisionCommand = exports.se_CreateJobCommand = exports.se_CreateEventActionCommand = exports.se_CreateDataSetCommand = exports.se_CancelJobCommand = void 0;
4
+ exports.de_UpdateRevisionCommand = exports.de_UpdateEventActionCommand = exports.de_UpdateDataSetCommand = exports.de_UpdateAssetCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartJobCommand = exports.de_SendApiAssetCommand = 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 DataExchangeServiceException_1 = require("../models/DataExchangeServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1CancelJobCommand = async (input, context) => {
9
+ const se_CancelJobCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {};
12
12
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/jobs/{JobId}";
@@ -22,8 +22,8 @@ const serializeAws_restJson1CancelJobCommand = async (input, context) => {
22
22
  body,
23
23
  });
24
24
  };
25
- exports.serializeAws_restJson1CancelJobCommand = serializeAws_restJson1CancelJobCommand;
26
- const serializeAws_restJson1CreateDataSetCommand = async (input, context) => {
25
+ exports.se_CancelJobCommand = se_CancelJobCommand;
26
+ const se_CreateDataSetCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {
29
29
  "content-type": "application/json",
@@ -34,7 +34,7 @@ const serializeAws_restJson1CreateDataSetCommand = async (input, context) => {
34
34
  ...(input.AssetType != null && { AssetType: input.AssetType }),
35
35
  ...(input.Description != null && { Description: input.Description }),
36
36
  ...(input.Name != null && { Name: input.Name }),
37
- ...(input.Tags != null && { Tags: serializeAws_restJson1MapOf__string(input.Tags, context) }),
37
+ ...(input.Tags != null && { Tags: se_MapOf__string(input.Tags, context) }),
38
38
  });
39
39
  return new protocol_http_1.HttpRequest({
40
40
  protocol,
@@ -46,8 +46,8 @@ const serializeAws_restJson1CreateDataSetCommand = async (input, context) => {
46
46
  body,
47
47
  });
48
48
  };
49
- exports.serializeAws_restJson1CreateDataSetCommand = serializeAws_restJson1CreateDataSetCommand;
50
- const serializeAws_restJson1CreateEventActionCommand = async (input, context) => {
49
+ exports.se_CreateDataSetCommand = se_CreateDataSetCommand;
50
+ const se_CreateEventActionCommand = async (input, context) => {
51
51
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
52
52
  const headers = {
53
53
  "content-type": "application/json",
@@ -55,8 +55,8 @@ const serializeAws_restJson1CreateEventActionCommand = async (input, context) =>
55
55
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/event-actions";
56
56
  let body;
57
57
  body = JSON.stringify({
58
- ...(input.Action != null && { Action: serializeAws_restJson1Action(input.Action, context) }),
59
- ...(input.Event != null && { Event: serializeAws_restJson1Event(input.Event, context) }),
58
+ ...(input.Action != null && { Action: se_Action(input.Action, context) }),
59
+ ...(input.Event != null && { Event: se_Event(input.Event, context) }),
60
60
  });
61
61
  return new protocol_http_1.HttpRequest({
62
62
  protocol,
@@ -68,8 +68,8 @@ const serializeAws_restJson1CreateEventActionCommand = async (input, context) =>
68
68
  body,
69
69
  });
70
70
  };
71
- exports.serializeAws_restJson1CreateEventActionCommand = serializeAws_restJson1CreateEventActionCommand;
72
- const serializeAws_restJson1CreateJobCommand = async (input, context) => {
71
+ exports.se_CreateEventActionCommand = se_CreateEventActionCommand;
72
+ const se_CreateJobCommand = async (input, context) => {
73
73
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
74
74
  const headers = {
75
75
  "content-type": "application/json",
@@ -77,7 +77,7 @@ const serializeAws_restJson1CreateJobCommand = async (input, context) => {
77
77
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/jobs";
78
78
  let body;
79
79
  body = JSON.stringify({
80
- ...(input.Details != null && { Details: serializeAws_restJson1RequestDetails(input.Details, context) }),
80
+ ...(input.Details != null && { Details: se_RequestDetails(input.Details, context) }),
81
81
  ...(input.Type != null && { Type: input.Type }),
82
82
  });
83
83
  return new protocol_http_1.HttpRequest({
@@ -90,8 +90,8 @@ const serializeAws_restJson1CreateJobCommand = async (input, context) => {
90
90
  body,
91
91
  });
92
92
  };
93
- exports.serializeAws_restJson1CreateJobCommand = serializeAws_restJson1CreateJobCommand;
94
- const serializeAws_restJson1CreateRevisionCommand = async (input, context) => {
93
+ exports.se_CreateJobCommand = se_CreateJobCommand;
94
+ const se_CreateRevisionCommand = async (input, context) => {
95
95
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
96
96
  const headers = {
97
97
  "content-type": "application/json",
@@ -101,7 +101,7 @@ const serializeAws_restJson1CreateRevisionCommand = async (input, context) => {
101
101
  let body;
102
102
  body = JSON.stringify({
103
103
  ...(input.Comment != null && { Comment: input.Comment }),
104
- ...(input.Tags != null && { Tags: serializeAws_restJson1MapOf__string(input.Tags, context) }),
104
+ ...(input.Tags != null && { Tags: se_MapOf__string(input.Tags, context) }),
105
105
  });
106
106
  return new protocol_http_1.HttpRequest({
107
107
  protocol,
@@ -113,8 +113,8 @@ const serializeAws_restJson1CreateRevisionCommand = async (input, context) => {
113
113
  body,
114
114
  });
115
115
  };
116
- exports.serializeAws_restJson1CreateRevisionCommand = serializeAws_restJson1CreateRevisionCommand;
117
- const serializeAws_restJson1DeleteAssetCommand = async (input, context) => {
116
+ exports.se_CreateRevisionCommand = se_CreateRevisionCommand;
117
+ const se_DeleteAssetCommand = async (input, context) => {
118
118
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
119
119
  const headers = {};
120
120
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -133,8 +133,8 @@ const serializeAws_restJson1DeleteAssetCommand = async (input, context) => {
133
133
  body,
134
134
  });
135
135
  };
136
- exports.serializeAws_restJson1DeleteAssetCommand = serializeAws_restJson1DeleteAssetCommand;
137
- const serializeAws_restJson1DeleteDataSetCommand = async (input, context) => {
136
+ exports.se_DeleteAssetCommand = se_DeleteAssetCommand;
137
+ const se_DeleteDataSetCommand = async (input, context) => {
138
138
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
139
139
  const headers = {};
140
140
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/data-sets/{DataSetId}";
@@ -150,8 +150,8 @@ const serializeAws_restJson1DeleteDataSetCommand = async (input, context) => {
150
150
  body,
151
151
  });
152
152
  };
153
- exports.serializeAws_restJson1DeleteDataSetCommand = serializeAws_restJson1DeleteDataSetCommand;
154
- const serializeAws_restJson1DeleteEventActionCommand = async (input, context) => {
153
+ exports.se_DeleteDataSetCommand = se_DeleteDataSetCommand;
154
+ const se_DeleteEventActionCommand = async (input, context) => {
155
155
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
156
156
  const headers = {};
157
157
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/event-actions/{EventActionId}";
@@ -167,8 +167,8 @@ const serializeAws_restJson1DeleteEventActionCommand = async (input, context) =>
167
167
  body,
168
168
  });
169
169
  };
170
- exports.serializeAws_restJson1DeleteEventActionCommand = serializeAws_restJson1DeleteEventActionCommand;
171
- const serializeAws_restJson1DeleteRevisionCommand = async (input, context) => {
170
+ exports.se_DeleteEventActionCommand = se_DeleteEventActionCommand;
171
+ const se_DeleteRevisionCommand = async (input, context) => {
172
172
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
173
173
  const headers = {};
174
174
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -186,8 +186,8 @@ const serializeAws_restJson1DeleteRevisionCommand = async (input, context) => {
186
186
  body,
187
187
  });
188
188
  };
189
- exports.serializeAws_restJson1DeleteRevisionCommand = serializeAws_restJson1DeleteRevisionCommand;
190
- const serializeAws_restJson1GetAssetCommand = async (input, context) => {
189
+ exports.se_DeleteRevisionCommand = se_DeleteRevisionCommand;
190
+ const se_GetAssetCommand = async (input, context) => {
191
191
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
192
192
  const headers = {};
193
193
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -206,8 +206,8 @@ const serializeAws_restJson1GetAssetCommand = async (input, context) => {
206
206
  body,
207
207
  });
208
208
  };
209
- exports.serializeAws_restJson1GetAssetCommand = serializeAws_restJson1GetAssetCommand;
210
- const serializeAws_restJson1GetDataSetCommand = async (input, context) => {
209
+ exports.se_GetAssetCommand = se_GetAssetCommand;
210
+ const se_GetDataSetCommand = async (input, context) => {
211
211
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
212
212
  const headers = {};
213
213
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/data-sets/{DataSetId}";
@@ -223,8 +223,8 @@ const serializeAws_restJson1GetDataSetCommand = async (input, context) => {
223
223
  body,
224
224
  });
225
225
  };
226
- exports.serializeAws_restJson1GetDataSetCommand = serializeAws_restJson1GetDataSetCommand;
227
- const serializeAws_restJson1GetEventActionCommand = async (input, context) => {
226
+ exports.se_GetDataSetCommand = se_GetDataSetCommand;
227
+ const se_GetEventActionCommand = async (input, context) => {
228
228
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
229
229
  const headers = {};
230
230
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/event-actions/{EventActionId}";
@@ -240,8 +240,8 @@ const serializeAws_restJson1GetEventActionCommand = async (input, context) => {
240
240
  body,
241
241
  });
242
242
  };
243
- exports.serializeAws_restJson1GetEventActionCommand = serializeAws_restJson1GetEventActionCommand;
244
- const serializeAws_restJson1GetJobCommand = async (input, context) => {
243
+ exports.se_GetEventActionCommand = se_GetEventActionCommand;
244
+ const se_GetJobCommand = async (input, context) => {
245
245
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
246
246
  const headers = {};
247
247
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/jobs/{JobId}";
@@ -257,8 +257,8 @@ const serializeAws_restJson1GetJobCommand = async (input, context) => {
257
257
  body,
258
258
  });
259
259
  };
260
- exports.serializeAws_restJson1GetJobCommand = serializeAws_restJson1GetJobCommand;
261
- const serializeAws_restJson1GetRevisionCommand = async (input, context) => {
260
+ exports.se_GetJobCommand = se_GetJobCommand;
261
+ const se_GetRevisionCommand = async (input, context) => {
262
262
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
263
263
  const headers = {};
264
264
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -276,8 +276,8 @@ const serializeAws_restJson1GetRevisionCommand = async (input, context) => {
276
276
  body,
277
277
  });
278
278
  };
279
- exports.serializeAws_restJson1GetRevisionCommand = serializeAws_restJson1GetRevisionCommand;
280
- const serializeAws_restJson1ListDataSetRevisionsCommand = async (input, context) => {
279
+ exports.se_GetRevisionCommand = se_GetRevisionCommand;
280
+ const se_ListDataSetRevisionsCommand = async (input, context) => {
281
281
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
282
282
  const headers = {};
283
283
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/data-sets/{DataSetId}/revisions";
@@ -298,8 +298,8 @@ const serializeAws_restJson1ListDataSetRevisionsCommand = async (input, context)
298
298
  body,
299
299
  });
300
300
  };
301
- exports.serializeAws_restJson1ListDataSetRevisionsCommand = serializeAws_restJson1ListDataSetRevisionsCommand;
302
- const serializeAws_restJson1ListDataSetsCommand = async (input, context) => {
301
+ exports.se_ListDataSetRevisionsCommand = se_ListDataSetRevisionsCommand;
302
+ const se_ListDataSetsCommand = async (input, context) => {
303
303
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
304
304
  const headers = {};
305
305
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/data-sets";
@@ -320,8 +320,8 @@ const serializeAws_restJson1ListDataSetsCommand = async (input, context) => {
320
320
  body,
321
321
  });
322
322
  };
323
- exports.serializeAws_restJson1ListDataSetsCommand = serializeAws_restJson1ListDataSetsCommand;
324
- const serializeAws_restJson1ListEventActionsCommand = async (input, context) => {
323
+ exports.se_ListDataSetsCommand = se_ListDataSetsCommand;
324
+ const se_ListEventActionsCommand = async (input, context) => {
325
325
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
326
326
  const headers = {};
327
327
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/event-actions";
@@ -342,8 +342,8 @@ const serializeAws_restJson1ListEventActionsCommand = async (input, context) =>
342
342
  body,
343
343
  });
344
344
  };
345
- exports.serializeAws_restJson1ListEventActionsCommand = serializeAws_restJson1ListEventActionsCommand;
346
- const serializeAws_restJson1ListJobsCommand = async (input, context) => {
345
+ exports.se_ListEventActionsCommand = se_ListEventActionsCommand;
346
+ const se_ListJobsCommand = async (input, context) => {
347
347
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
348
348
  const headers = {};
349
349
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/jobs";
@@ -365,8 +365,8 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
365
365
  body,
366
366
  });
367
367
  };
368
- exports.serializeAws_restJson1ListJobsCommand = serializeAws_restJson1ListJobsCommand;
369
- const serializeAws_restJson1ListRevisionAssetsCommand = async (input, context) => {
368
+ exports.se_ListJobsCommand = se_ListJobsCommand;
369
+ const se_ListRevisionAssetsCommand = async (input, context) => {
370
370
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
371
371
  const headers = {};
372
372
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -389,8 +389,8 @@ const serializeAws_restJson1ListRevisionAssetsCommand = async (input, context) =
389
389
  body,
390
390
  });
391
391
  };
392
- exports.serializeAws_restJson1ListRevisionAssetsCommand = serializeAws_restJson1ListRevisionAssetsCommand;
393
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
392
+ exports.se_ListRevisionAssetsCommand = se_ListRevisionAssetsCommand;
393
+ const se_ListTagsForResourceCommand = async (input, context) => {
394
394
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
395
395
  const headers = {};
396
396
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -406,8 +406,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
406
406
  body,
407
407
  });
408
408
  };
409
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
410
- const serializeAws_restJson1RevokeRevisionCommand = async (input, context) => {
409
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
410
+ const se_RevokeRevisionCommand = async (input, context) => {
411
411
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
412
412
  const headers = {
413
413
  "content-type": "application/json",
@@ -430,8 +430,8 @@ const serializeAws_restJson1RevokeRevisionCommand = async (input, context) => {
430
430
  body,
431
431
  });
432
432
  };
433
- exports.serializeAws_restJson1RevokeRevisionCommand = serializeAws_restJson1RevokeRevisionCommand;
434
- const serializeAws_restJson1SendApiAssetCommand = async (input, context) => {
433
+ exports.se_RevokeRevisionCommand = se_RevokeRevisionCommand;
434
+ const se_SendApiAssetCommand = async (input, context) => {
435
435
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
436
436
  const headers = map({}, isSerializableHeaderValue, {
437
437
  "content-type": "text/plain",
@@ -472,8 +472,8 @@ const serializeAws_restJson1SendApiAssetCommand = async (input, context) => {
472
472
  body,
473
473
  });
474
474
  };
475
- exports.serializeAws_restJson1SendApiAssetCommand = serializeAws_restJson1SendApiAssetCommand;
476
- const serializeAws_restJson1StartJobCommand = async (input, context) => {
475
+ exports.se_SendApiAssetCommand = se_SendApiAssetCommand;
476
+ const se_StartJobCommand = async (input, context) => {
477
477
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
478
478
  const headers = {};
479
479
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/jobs/{JobId}";
@@ -489,8 +489,8 @@ const serializeAws_restJson1StartJobCommand = async (input, context) => {
489
489
  body,
490
490
  });
491
491
  };
492
- exports.serializeAws_restJson1StartJobCommand = serializeAws_restJson1StartJobCommand;
493
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
492
+ exports.se_StartJobCommand = se_StartJobCommand;
493
+ const se_TagResourceCommand = async (input, context) => {
494
494
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
495
495
  const headers = {
496
496
  "content-type": "application/json",
@@ -499,7 +499,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
499
499
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
500
500
  let body;
501
501
  body = JSON.stringify({
502
- ...(input.Tags != null && { tags: serializeAws_restJson1MapOf__string(input.Tags, context) }),
502
+ ...(input.Tags != null && { tags: se_MapOf__string(input.Tags, context) }),
503
503
  });
504
504
  return new protocol_http_1.HttpRequest({
505
505
  protocol,
@@ -511,8 +511,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
511
511
  body,
512
512
  });
513
513
  };
514
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
515
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
514
+ exports.se_TagResourceCommand = se_TagResourceCommand;
515
+ const se_UntagResourceCommand = async (input, context) => {
516
516
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
517
517
  const headers = {};
518
518
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -535,8 +535,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
535
535
  body,
536
536
  });
537
537
  };
538
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
539
- const serializeAws_restJson1UpdateAssetCommand = async (input, context) => {
538
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
539
+ const se_UpdateAssetCommand = async (input, context) => {
540
540
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
541
541
  const headers = {
542
542
  "content-type": "application/json",
@@ -560,8 +560,8 @@ const serializeAws_restJson1UpdateAssetCommand = async (input, context) => {
560
560
  body,
561
561
  });
562
562
  };
563
- exports.serializeAws_restJson1UpdateAssetCommand = serializeAws_restJson1UpdateAssetCommand;
564
- const serializeAws_restJson1UpdateDataSetCommand = async (input, context) => {
563
+ exports.se_UpdateAssetCommand = se_UpdateAssetCommand;
564
+ const se_UpdateDataSetCommand = async (input, context) => {
565
565
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
566
566
  const headers = {
567
567
  "content-type": "application/json",
@@ -583,8 +583,8 @@ const serializeAws_restJson1UpdateDataSetCommand = async (input, context) => {
583
583
  body,
584
584
  });
585
585
  };
586
- exports.serializeAws_restJson1UpdateDataSetCommand = serializeAws_restJson1UpdateDataSetCommand;
587
- const serializeAws_restJson1UpdateEventActionCommand = async (input, context) => {
586
+ exports.se_UpdateDataSetCommand = se_UpdateDataSetCommand;
587
+ const se_UpdateEventActionCommand = async (input, context) => {
588
588
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
589
589
  const headers = {
590
590
  "content-type": "application/json",
@@ -593,7 +593,7 @@ const serializeAws_restJson1UpdateEventActionCommand = async (input, context) =>
593
593
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventActionId", () => input.EventActionId, "{EventActionId}", false);
594
594
  let body;
595
595
  body = JSON.stringify({
596
- ...(input.Action != null && { Action: serializeAws_restJson1Action(input.Action, context) }),
596
+ ...(input.Action != null && { Action: se_Action(input.Action, context) }),
597
597
  });
598
598
  return new protocol_http_1.HttpRequest({
599
599
  protocol,
@@ -605,8 +605,8 @@ const serializeAws_restJson1UpdateEventActionCommand = async (input, context) =>
605
605
  body,
606
606
  });
607
607
  };
608
- exports.serializeAws_restJson1UpdateEventActionCommand = serializeAws_restJson1UpdateEventActionCommand;
609
- const serializeAws_restJson1UpdateRevisionCommand = async (input, context) => {
608
+ exports.se_UpdateEventActionCommand = se_UpdateEventActionCommand;
609
+ const se_UpdateRevisionCommand = async (input, context) => {
610
610
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
611
611
  const headers = {
612
612
  "content-type": "application/json",
@@ -630,10 +630,10 @@ const serializeAws_restJson1UpdateRevisionCommand = async (input, context) => {
630
630
  body,
631
631
  });
632
632
  };
633
- exports.serializeAws_restJson1UpdateRevisionCommand = serializeAws_restJson1UpdateRevisionCommand;
634
- const deserializeAws_restJson1CancelJobCommand = async (output, context) => {
633
+ exports.se_UpdateRevisionCommand = se_UpdateRevisionCommand;
634
+ const de_CancelJobCommand = async (output, context) => {
635
635
  if (output.statusCode !== 204 && output.statusCode >= 300) {
636
- return deserializeAws_restJson1CancelJobCommandError(output, context);
636
+ return de_CancelJobCommandError(output, context);
637
637
  }
638
638
  const contents = map({
639
639
  $metadata: deserializeMetadata(output),
@@ -641,8 +641,8 @@ const deserializeAws_restJson1CancelJobCommand = async (output, context) => {
641
641
  await collectBody(output.body, context);
642
642
  return contents;
643
643
  };
644
- exports.deserializeAws_restJson1CancelJobCommand = deserializeAws_restJson1CancelJobCommand;
645
- const deserializeAws_restJson1CancelJobCommandError = async (output, context) => {
644
+ exports.de_CancelJobCommand = de_CancelJobCommand;
645
+ const de_CancelJobCommandError = async (output, context) => {
646
646
  const parsedOutput = {
647
647
  ...output,
648
648
  body: await parseErrorBody(output.body, context),
@@ -651,19 +651,19 @@ const deserializeAws_restJson1CancelJobCommandError = async (output, context) =>
651
651
  switch (errorCode) {
652
652
  case "ConflictException":
653
653
  case "com.amazonaws.dataexchange#ConflictException":
654
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
654
+ throw await de_ConflictExceptionRes(parsedOutput, context);
655
655
  case "InternalServerException":
656
656
  case "com.amazonaws.dataexchange#InternalServerException":
657
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
657
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
658
658
  case "ResourceNotFoundException":
659
659
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
660
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
660
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
661
661
  case "ThrottlingException":
662
662
  case "com.amazonaws.dataexchange#ThrottlingException":
663
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
663
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
664
664
  case "ValidationException":
665
665
  case "com.amazonaws.dataexchange#ValidationException":
666
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
666
+ throw await de_ValidationExceptionRes(parsedOutput, context);
667
667
  default:
668
668
  const parsedBody = parsedOutput.body;
669
669
  (0, smithy_client_1.throwDefaultError)({
@@ -674,9 +674,9 @@ const deserializeAws_restJson1CancelJobCommandError = async (output, context) =>
674
674
  });
675
675
  }
676
676
  };
677
- const deserializeAws_restJson1CreateDataSetCommand = async (output, context) => {
677
+ const de_CreateDataSetCommand = async (output, context) => {
678
678
  if (output.statusCode !== 201 && output.statusCode >= 300) {
679
- return deserializeAws_restJson1CreateDataSetCommandError(output, context);
679
+ return de_CreateDataSetCommandError(output, context);
680
680
  }
681
681
  const contents = map({
682
682
  $metadata: deserializeMetadata(output),
@@ -704,21 +704,21 @@ const deserializeAws_restJson1CreateDataSetCommand = async (output, context) =>
704
704
  contents.Origin = (0, smithy_client_1.expectString)(data.Origin);
705
705
  }
706
706
  if (data.OriginDetails != null) {
707
- contents.OriginDetails = deserializeAws_restJson1OriginDetails(data.OriginDetails, context);
707
+ contents.OriginDetails = de_OriginDetails(data.OriginDetails, context);
708
708
  }
709
709
  if (data.SourceId != null) {
710
710
  contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
711
711
  }
712
712
  if (data.Tags != null) {
713
- contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
713
+ contents.Tags = de_MapOf__string(data.Tags, context);
714
714
  }
715
715
  if (data.UpdatedAt != null) {
716
716
  contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
717
717
  }
718
718
  return contents;
719
719
  };
720
- exports.deserializeAws_restJson1CreateDataSetCommand = deserializeAws_restJson1CreateDataSetCommand;
721
- const deserializeAws_restJson1CreateDataSetCommandError = async (output, context) => {
720
+ exports.de_CreateDataSetCommand = de_CreateDataSetCommand;
721
+ const de_CreateDataSetCommandError = async (output, context) => {
722
722
  const parsedOutput = {
723
723
  ...output,
724
724
  body: await parseErrorBody(output.body, context),
@@ -727,19 +727,19 @@ const deserializeAws_restJson1CreateDataSetCommandError = async (output, context
727
727
  switch (errorCode) {
728
728
  case "AccessDeniedException":
729
729
  case "com.amazonaws.dataexchange#AccessDeniedException":
730
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
730
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
731
731
  case "InternalServerException":
732
732
  case "com.amazonaws.dataexchange#InternalServerException":
733
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
733
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
734
734
  case "ServiceLimitExceededException":
735
735
  case "com.amazonaws.dataexchange#ServiceLimitExceededException":
736
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
736
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
737
737
  case "ThrottlingException":
738
738
  case "com.amazonaws.dataexchange#ThrottlingException":
739
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
739
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
740
740
  case "ValidationException":
741
741
  case "com.amazonaws.dataexchange#ValidationException":
742
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
742
+ throw await de_ValidationExceptionRes(parsedOutput, context);
743
743
  default:
744
744
  const parsedBody = parsedOutput.body;
745
745
  (0, smithy_client_1.throwDefaultError)({
@@ -750,16 +750,16 @@ const deserializeAws_restJson1CreateDataSetCommandError = async (output, context
750
750
  });
751
751
  }
752
752
  };
753
- const deserializeAws_restJson1CreateEventActionCommand = async (output, context) => {
753
+ const de_CreateEventActionCommand = async (output, context) => {
754
754
  if (output.statusCode !== 201 && output.statusCode >= 300) {
755
- return deserializeAws_restJson1CreateEventActionCommandError(output, context);
755
+ return de_CreateEventActionCommandError(output, context);
756
756
  }
757
757
  const contents = map({
758
758
  $metadata: deserializeMetadata(output),
759
759
  });
760
760
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
761
761
  if (data.Action != null) {
762
- contents.Action = deserializeAws_restJson1Action(data.Action, context);
762
+ contents.Action = de_Action(data.Action, context);
763
763
  }
764
764
  if (data.Arn != null) {
765
765
  contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
@@ -768,7 +768,7 @@ const deserializeAws_restJson1CreateEventActionCommand = async (output, context)
768
768
  contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
769
769
  }
770
770
  if (data.Event != null) {
771
- contents.Event = deserializeAws_restJson1Event(data.Event, context);
771
+ contents.Event = de_Event(data.Event, context);
772
772
  }
773
773
  if (data.Id != null) {
774
774
  contents.Id = (0, smithy_client_1.expectString)(data.Id);
@@ -778,8 +778,8 @@ const deserializeAws_restJson1CreateEventActionCommand = async (output, context)
778
778
  }
779
779
  return contents;
780
780
  };
781
- exports.deserializeAws_restJson1CreateEventActionCommand = deserializeAws_restJson1CreateEventActionCommand;
782
- const deserializeAws_restJson1CreateEventActionCommandError = async (output, context) => {
781
+ exports.de_CreateEventActionCommand = de_CreateEventActionCommand;
782
+ const de_CreateEventActionCommandError = async (output, context) => {
783
783
  const parsedOutput = {
784
784
  ...output,
785
785
  body: await parseErrorBody(output.body, context),
@@ -788,19 +788,19 @@ const deserializeAws_restJson1CreateEventActionCommandError = async (output, con
788
788
  switch (errorCode) {
789
789
  case "AccessDeniedException":
790
790
  case "com.amazonaws.dataexchange#AccessDeniedException":
791
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
791
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
792
792
  case "InternalServerException":
793
793
  case "com.amazonaws.dataexchange#InternalServerException":
794
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
794
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
795
795
  case "ServiceLimitExceededException":
796
796
  case "com.amazonaws.dataexchange#ServiceLimitExceededException":
797
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
797
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
798
798
  case "ThrottlingException":
799
799
  case "com.amazonaws.dataexchange#ThrottlingException":
800
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
800
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
801
801
  case "ValidationException":
802
802
  case "com.amazonaws.dataexchange#ValidationException":
803
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
803
+ throw await de_ValidationExceptionRes(parsedOutput, context);
804
804
  default:
805
805
  const parsedBody = parsedOutput.body;
806
806
  (0, smithy_client_1.throwDefaultError)({
@@ -811,9 +811,9 @@ const deserializeAws_restJson1CreateEventActionCommandError = async (output, con
811
811
  });
812
812
  }
813
813
  };
814
- const deserializeAws_restJson1CreateJobCommand = async (output, context) => {
814
+ const de_CreateJobCommand = async (output, context) => {
815
815
  if (output.statusCode !== 201 && output.statusCode >= 300) {
816
- return deserializeAws_restJson1CreateJobCommandError(output, context);
816
+ return de_CreateJobCommandError(output, context);
817
817
  }
818
818
  const contents = map({
819
819
  $metadata: deserializeMetadata(output),
@@ -826,10 +826,10 @@ const deserializeAws_restJson1CreateJobCommand = async (output, context) => {
826
826
  contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
827
827
  }
828
828
  if (data.Details != null) {
829
- contents.Details = deserializeAws_restJson1ResponseDetails(data.Details, context);
829
+ contents.Details = de_ResponseDetails(data.Details, context);
830
830
  }
831
831
  if (data.Errors != null) {
832
- contents.Errors = deserializeAws_restJson1ListOfJobError(data.Errors, context);
832
+ contents.Errors = de_ListOfJobError(data.Errors, context);
833
833
  }
834
834
  if (data.Id != null) {
835
835
  contents.Id = (0, smithy_client_1.expectString)(data.Id);
@@ -845,8 +845,8 @@ const deserializeAws_restJson1CreateJobCommand = async (output, context) => {
845
845
  }
846
846
  return contents;
847
847
  };
848
- exports.deserializeAws_restJson1CreateJobCommand = deserializeAws_restJson1CreateJobCommand;
849
- const deserializeAws_restJson1CreateJobCommandError = async (output, context) => {
848
+ exports.de_CreateJobCommand = de_CreateJobCommand;
849
+ const de_CreateJobCommandError = async (output, context) => {
850
850
  const parsedOutput = {
851
851
  ...output,
852
852
  body: await parseErrorBody(output.body, context),
@@ -855,22 +855,22 @@ const deserializeAws_restJson1CreateJobCommandError = async (output, context) =>
855
855
  switch (errorCode) {
856
856
  case "AccessDeniedException":
857
857
  case "com.amazonaws.dataexchange#AccessDeniedException":
858
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
858
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
859
859
  case "ConflictException":
860
860
  case "com.amazonaws.dataexchange#ConflictException":
861
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
861
+ throw await de_ConflictExceptionRes(parsedOutput, context);
862
862
  case "InternalServerException":
863
863
  case "com.amazonaws.dataexchange#InternalServerException":
864
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
864
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
865
865
  case "ResourceNotFoundException":
866
866
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
867
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
867
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
868
868
  case "ThrottlingException":
869
869
  case "com.amazonaws.dataexchange#ThrottlingException":
870
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
870
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
871
871
  case "ValidationException":
872
872
  case "com.amazonaws.dataexchange#ValidationException":
873
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
873
+ throw await de_ValidationExceptionRes(parsedOutput, context);
874
874
  default:
875
875
  const parsedBody = parsedOutput.body;
876
876
  (0, smithy_client_1.throwDefaultError)({
@@ -881,9 +881,9 @@ const deserializeAws_restJson1CreateJobCommandError = async (output, context) =>
881
881
  });
882
882
  }
883
883
  };
884
- const deserializeAws_restJson1CreateRevisionCommand = async (output, context) => {
884
+ const de_CreateRevisionCommand = async (output, context) => {
885
885
  if (output.statusCode !== 201 && output.statusCode >= 300) {
886
- return deserializeAws_restJson1CreateRevisionCommandError(output, context);
886
+ return de_CreateRevisionCommandError(output, context);
887
887
  }
888
888
  const contents = map({
889
889
  $metadata: deserializeMetadata(output),
@@ -920,15 +920,15 @@ const deserializeAws_restJson1CreateRevisionCommand = async (output, context) =>
920
920
  contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
921
921
  }
922
922
  if (data.Tags != null) {
923
- contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
923
+ contents.Tags = de_MapOf__string(data.Tags, context);
924
924
  }
925
925
  if (data.UpdatedAt != null) {
926
926
  contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
927
927
  }
928
928
  return contents;
929
929
  };
930
- exports.deserializeAws_restJson1CreateRevisionCommand = deserializeAws_restJson1CreateRevisionCommand;
931
- const deserializeAws_restJson1CreateRevisionCommandError = async (output, context) => {
930
+ exports.de_CreateRevisionCommand = de_CreateRevisionCommand;
931
+ const de_CreateRevisionCommandError = async (output, context) => {
932
932
  const parsedOutput = {
933
933
  ...output,
934
934
  body: await parseErrorBody(output.body, context),
@@ -937,19 +937,19 @@ const deserializeAws_restJson1CreateRevisionCommandError = async (output, contex
937
937
  switch (errorCode) {
938
938
  case "AccessDeniedException":
939
939
  case "com.amazonaws.dataexchange#AccessDeniedException":
940
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
940
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
941
941
  case "InternalServerException":
942
942
  case "com.amazonaws.dataexchange#InternalServerException":
943
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
943
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
944
944
  case "ResourceNotFoundException":
945
945
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
946
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
946
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
947
947
  case "ThrottlingException":
948
948
  case "com.amazonaws.dataexchange#ThrottlingException":
949
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
949
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
950
950
  case "ValidationException":
951
951
  case "com.amazonaws.dataexchange#ValidationException":
952
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
952
+ throw await de_ValidationExceptionRes(parsedOutput, context);
953
953
  default:
954
954
  const parsedBody = parsedOutput.body;
955
955
  (0, smithy_client_1.throwDefaultError)({
@@ -960,9 +960,9 @@ const deserializeAws_restJson1CreateRevisionCommandError = async (output, contex
960
960
  });
961
961
  }
962
962
  };
963
- const deserializeAws_restJson1DeleteAssetCommand = async (output, context) => {
963
+ const de_DeleteAssetCommand = async (output, context) => {
964
964
  if (output.statusCode !== 204 && output.statusCode >= 300) {
965
- return deserializeAws_restJson1DeleteAssetCommandError(output, context);
965
+ return de_DeleteAssetCommandError(output, context);
966
966
  }
967
967
  const contents = map({
968
968
  $metadata: deserializeMetadata(output),
@@ -970,8 +970,8 @@ const deserializeAws_restJson1DeleteAssetCommand = async (output, context) => {
970
970
  await collectBody(output.body, context);
971
971
  return contents;
972
972
  };
973
- exports.deserializeAws_restJson1DeleteAssetCommand = deserializeAws_restJson1DeleteAssetCommand;
974
- const deserializeAws_restJson1DeleteAssetCommandError = async (output, context) => {
973
+ exports.de_DeleteAssetCommand = de_DeleteAssetCommand;
974
+ const de_DeleteAssetCommandError = async (output, context) => {
975
975
  const parsedOutput = {
976
976
  ...output,
977
977
  body: await parseErrorBody(output.body, context),
@@ -980,22 +980,22 @@ const deserializeAws_restJson1DeleteAssetCommandError = async (output, context)
980
980
  switch (errorCode) {
981
981
  case "AccessDeniedException":
982
982
  case "com.amazonaws.dataexchange#AccessDeniedException":
983
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
983
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
984
984
  case "ConflictException":
985
985
  case "com.amazonaws.dataexchange#ConflictException":
986
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
986
+ throw await de_ConflictExceptionRes(parsedOutput, context);
987
987
  case "InternalServerException":
988
988
  case "com.amazonaws.dataexchange#InternalServerException":
989
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
989
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
990
990
  case "ResourceNotFoundException":
991
991
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
992
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
992
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
993
993
  case "ThrottlingException":
994
994
  case "com.amazonaws.dataexchange#ThrottlingException":
995
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
995
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
996
996
  case "ValidationException":
997
997
  case "com.amazonaws.dataexchange#ValidationException":
998
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
998
+ throw await de_ValidationExceptionRes(parsedOutput, context);
999
999
  default:
1000
1000
  const parsedBody = parsedOutput.body;
1001
1001
  (0, smithy_client_1.throwDefaultError)({
@@ -1006,9 +1006,9 @@ const deserializeAws_restJson1DeleteAssetCommandError = async (output, context)
1006
1006
  });
1007
1007
  }
1008
1008
  };
1009
- const deserializeAws_restJson1DeleteDataSetCommand = async (output, context) => {
1009
+ const de_DeleteDataSetCommand = async (output, context) => {
1010
1010
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1011
- return deserializeAws_restJson1DeleteDataSetCommandError(output, context);
1011
+ return de_DeleteDataSetCommandError(output, context);
1012
1012
  }
1013
1013
  const contents = map({
1014
1014
  $metadata: deserializeMetadata(output),
@@ -1016,8 +1016,8 @@ const deserializeAws_restJson1DeleteDataSetCommand = async (output, context) =>
1016
1016
  await collectBody(output.body, context);
1017
1017
  return contents;
1018
1018
  };
1019
- exports.deserializeAws_restJson1DeleteDataSetCommand = deserializeAws_restJson1DeleteDataSetCommand;
1020
- const deserializeAws_restJson1DeleteDataSetCommandError = async (output, context) => {
1019
+ exports.de_DeleteDataSetCommand = de_DeleteDataSetCommand;
1020
+ const de_DeleteDataSetCommandError = async (output, context) => {
1021
1021
  const parsedOutput = {
1022
1022
  ...output,
1023
1023
  body: await parseErrorBody(output.body, context),
@@ -1026,22 +1026,22 @@ const deserializeAws_restJson1DeleteDataSetCommandError = async (output, context
1026
1026
  switch (errorCode) {
1027
1027
  case "AccessDeniedException":
1028
1028
  case "com.amazonaws.dataexchange#AccessDeniedException":
1029
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1029
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1030
1030
  case "ConflictException":
1031
1031
  case "com.amazonaws.dataexchange#ConflictException":
1032
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1032
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1033
1033
  case "InternalServerException":
1034
1034
  case "com.amazonaws.dataexchange#InternalServerException":
1035
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1035
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1036
1036
  case "ResourceNotFoundException":
1037
1037
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1038
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1038
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1039
1039
  case "ThrottlingException":
1040
1040
  case "com.amazonaws.dataexchange#ThrottlingException":
1041
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1041
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1042
1042
  case "ValidationException":
1043
1043
  case "com.amazonaws.dataexchange#ValidationException":
1044
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1044
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1045
1045
  default:
1046
1046
  const parsedBody = parsedOutput.body;
1047
1047
  (0, smithy_client_1.throwDefaultError)({
@@ -1052,9 +1052,9 @@ const deserializeAws_restJson1DeleteDataSetCommandError = async (output, context
1052
1052
  });
1053
1053
  }
1054
1054
  };
1055
- const deserializeAws_restJson1DeleteEventActionCommand = async (output, context) => {
1055
+ const de_DeleteEventActionCommand = async (output, context) => {
1056
1056
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1057
- return deserializeAws_restJson1DeleteEventActionCommandError(output, context);
1057
+ return de_DeleteEventActionCommandError(output, context);
1058
1058
  }
1059
1059
  const contents = map({
1060
1060
  $metadata: deserializeMetadata(output),
@@ -1062,8 +1062,8 @@ const deserializeAws_restJson1DeleteEventActionCommand = async (output, context)
1062
1062
  await collectBody(output.body, context);
1063
1063
  return contents;
1064
1064
  };
1065
- exports.deserializeAws_restJson1DeleteEventActionCommand = deserializeAws_restJson1DeleteEventActionCommand;
1066
- const deserializeAws_restJson1DeleteEventActionCommandError = async (output, context) => {
1065
+ exports.de_DeleteEventActionCommand = de_DeleteEventActionCommand;
1066
+ const de_DeleteEventActionCommandError = async (output, context) => {
1067
1067
  const parsedOutput = {
1068
1068
  ...output,
1069
1069
  body: await parseErrorBody(output.body, context),
@@ -1072,16 +1072,16 @@ const deserializeAws_restJson1DeleteEventActionCommandError = async (output, con
1072
1072
  switch (errorCode) {
1073
1073
  case "InternalServerException":
1074
1074
  case "com.amazonaws.dataexchange#InternalServerException":
1075
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1075
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1076
1076
  case "ResourceNotFoundException":
1077
1077
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1078
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1078
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1079
1079
  case "ThrottlingException":
1080
1080
  case "com.amazonaws.dataexchange#ThrottlingException":
1081
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1081
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1082
1082
  case "ValidationException":
1083
1083
  case "com.amazonaws.dataexchange#ValidationException":
1084
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1084
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1085
1085
  default:
1086
1086
  const parsedBody = parsedOutput.body;
1087
1087
  (0, smithy_client_1.throwDefaultError)({
@@ -1092,9 +1092,9 @@ const deserializeAws_restJson1DeleteEventActionCommandError = async (output, con
1092
1092
  });
1093
1093
  }
1094
1094
  };
1095
- const deserializeAws_restJson1DeleteRevisionCommand = async (output, context) => {
1095
+ const de_DeleteRevisionCommand = async (output, context) => {
1096
1096
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1097
- return deserializeAws_restJson1DeleteRevisionCommandError(output, context);
1097
+ return de_DeleteRevisionCommandError(output, context);
1098
1098
  }
1099
1099
  const contents = map({
1100
1100
  $metadata: deserializeMetadata(output),
@@ -1102,8 +1102,8 @@ const deserializeAws_restJson1DeleteRevisionCommand = async (output, context) =>
1102
1102
  await collectBody(output.body, context);
1103
1103
  return contents;
1104
1104
  };
1105
- exports.deserializeAws_restJson1DeleteRevisionCommand = deserializeAws_restJson1DeleteRevisionCommand;
1106
- const deserializeAws_restJson1DeleteRevisionCommandError = async (output, context) => {
1105
+ exports.de_DeleteRevisionCommand = de_DeleteRevisionCommand;
1106
+ const de_DeleteRevisionCommandError = async (output, context) => {
1107
1107
  const parsedOutput = {
1108
1108
  ...output,
1109
1109
  body: await parseErrorBody(output.body, context),
@@ -1112,22 +1112,22 @@ const deserializeAws_restJson1DeleteRevisionCommandError = async (output, contex
1112
1112
  switch (errorCode) {
1113
1113
  case "AccessDeniedException":
1114
1114
  case "com.amazonaws.dataexchange#AccessDeniedException":
1115
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1115
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1116
1116
  case "ConflictException":
1117
1117
  case "com.amazonaws.dataexchange#ConflictException":
1118
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1118
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1119
1119
  case "InternalServerException":
1120
1120
  case "com.amazonaws.dataexchange#InternalServerException":
1121
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1121
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1122
1122
  case "ResourceNotFoundException":
1123
1123
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1124
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1124
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1125
1125
  case "ThrottlingException":
1126
1126
  case "com.amazonaws.dataexchange#ThrottlingException":
1127
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1127
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1128
1128
  case "ValidationException":
1129
1129
  case "com.amazonaws.dataexchange#ValidationException":
1130
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1130
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1131
1131
  default:
1132
1132
  const parsedBody = parsedOutput.body;
1133
1133
  (0, smithy_client_1.throwDefaultError)({
@@ -1138,9 +1138,9 @@ const deserializeAws_restJson1DeleteRevisionCommandError = async (output, contex
1138
1138
  });
1139
1139
  }
1140
1140
  };
1141
- const deserializeAws_restJson1GetAssetCommand = async (output, context) => {
1141
+ const de_GetAssetCommand = async (output, context) => {
1142
1142
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1143
- return deserializeAws_restJson1GetAssetCommandError(output, context);
1143
+ return de_GetAssetCommandError(output, context);
1144
1144
  }
1145
1145
  const contents = map({
1146
1146
  $metadata: deserializeMetadata(output),
@@ -1150,7 +1150,7 @@ const deserializeAws_restJson1GetAssetCommand = async (output, context) => {
1150
1150
  contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1151
1151
  }
1152
1152
  if (data.AssetDetails != null) {
1153
- contents.AssetDetails = deserializeAws_restJson1AssetDetails(data.AssetDetails, context);
1153
+ contents.AssetDetails = de_AssetDetails(data.AssetDetails, context);
1154
1154
  }
1155
1155
  if (data.AssetType != null) {
1156
1156
  contents.AssetType = (0, smithy_client_1.expectString)(data.AssetType);
@@ -1178,8 +1178,8 @@ const deserializeAws_restJson1GetAssetCommand = async (output, context) => {
1178
1178
  }
1179
1179
  return contents;
1180
1180
  };
1181
- exports.deserializeAws_restJson1GetAssetCommand = deserializeAws_restJson1GetAssetCommand;
1182
- const deserializeAws_restJson1GetAssetCommandError = async (output, context) => {
1181
+ exports.de_GetAssetCommand = de_GetAssetCommand;
1182
+ const de_GetAssetCommandError = async (output, context) => {
1183
1183
  const parsedOutput = {
1184
1184
  ...output,
1185
1185
  body: await parseErrorBody(output.body, context),
@@ -1188,16 +1188,16 @@ const deserializeAws_restJson1GetAssetCommandError = async (output, context) =>
1188
1188
  switch (errorCode) {
1189
1189
  case "InternalServerException":
1190
1190
  case "com.amazonaws.dataexchange#InternalServerException":
1191
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1191
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1192
1192
  case "ResourceNotFoundException":
1193
1193
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1194
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1194
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1195
1195
  case "ThrottlingException":
1196
1196
  case "com.amazonaws.dataexchange#ThrottlingException":
1197
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1197
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1198
1198
  case "ValidationException":
1199
1199
  case "com.amazonaws.dataexchange#ValidationException":
1200
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1200
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1201
1201
  default:
1202
1202
  const parsedBody = parsedOutput.body;
1203
1203
  (0, smithy_client_1.throwDefaultError)({
@@ -1208,9 +1208,9 @@ const deserializeAws_restJson1GetAssetCommandError = async (output, context) =>
1208
1208
  });
1209
1209
  }
1210
1210
  };
1211
- const deserializeAws_restJson1GetDataSetCommand = async (output, context) => {
1211
+ const de_GetDataSetCommand = async (output, context) => {
1212
1212
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1213
- return deserializeAws_restJson1GetDataSetCommandError(output, context);
1213
+ return de_GetDataSetCommandError(output, context);
1214
1214
  }
1215
1215
  const contents = map({
1216
1216
  $metadata: deserializeMetadata(output),
@@ -1238,21 +1238,21 @@ const deserializeAws_restJson1GetDataSetCommand = async (output, context) => {
1238
1238
  contents.Origin = (0, smithy_client_1.expectString)(data.Origin);
1239
1239
  }
1240
1240
  if (data.OriginDetails != null) {
1241
- contents.OriginDetails = deserializeAws_restJson1OriginDetails(data.OriginDetails, context);
1241
+ contents.OriginDetails = de_OriginDetails(data.OriginDetails, context);
1242
1242
  }
1243
1243
  if (data.SourceId != null) {
1244
1244
  contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
1245
1245
  }
1246
1246
  if (data.Tags != null) {
1247
- contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
1247
+ contents.Tags = de_MapOf__string(data.Tags, context);
1248
1248
  }
1249
1249
  if (data.UpdatedAt != null) {
1250
1250
  contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
1251
1251
  }
1252
1252
  return contents;
1253
1253
  };
1254
- exports.deserializeAws_restJson1GetDataSetCommand = deserializeAws_restJson1GetDataSetCommand;
1255
- const deserializeAws_restJson1GetDataSetCommandError = async (output, context) => {
1254
+ exports.de_GetDataSetCommand = de_GetDataSetCommand;
1255
+ const de_GetDataSetCommandError = async (output, context) => {
1256
1256
  const parsedOutput = {
1257
1257
  ...output,
1258
1258
  body: await parseErrorBody(output.body, context),
@@ -1261,16 +1261,16 @@ const deserializeAws_restJson1GetDataSetCommandError = async (output, context) =
1261
1261
  switch (errorCode) {
1262
1262
  case "InternalServerException":
1263
1263
  case "com.amazonaws.dataexchange#InternalServerException":
1264
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1264
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1265
1265
  case "ResourceNotFoundException":
1266
1266
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1267
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1267
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1268
1268
  case "ThrottlingException":
1269
1269
  case "com.amazonaws.dataexchange#ThrottlingException":
1270
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1270
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1271
1271
  case "ValidationException":
1272
1272
  case "com.amazonaws.dataexchange#ValidationException":
1273
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1273
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1274
1274
  default:
1275
1275
  const parsedBody = parsedOutput.body;
1276
1276
  (0, smithy_client_1.throwDefaultError)({
@@ -1281,16 +1281,16 @@ const deserializeAws_restJson1GetDataSetCommandError = async (output, context) =
1281
1281
  });
1282
1282
  }
1283
1283
  };
1284
- const deserializeAws_restJson1GetEventActionCommand = async (output, context) => {
1284
+ const de_GetEventActionCommand = async (output, context) => {
1285
1285
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1286
- return deserializeAws_restJson1GetEventActionCommandError(output, context);
1286
+ return de_GetEventActionCommandError(output, context);
1287
1287
  }
1288
1288
  const contents = map({
1289
1289
  $metadata: deserializeMetadata(output),
1290
1290
  });
1291
1291
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1292
1292
  if (data.Action != null) {
1293
- contents.Action = deserializeAws_restJson1Action(data.Action, context);
1293
+ contents.Action = de_Action(data.Action, context);
1294
1294
  }
1295
1295
  if (data.Arn != null) {
1296
1296
  contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
@@ -1299,7 +1299,7 @@ const deserializeAws_restJson1GetEventActionCommand = async (output, context) =>
1299
1299
  contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
1300
1300
  }
1301
1301
  if (data.Event != null) {
1302
- contents.Event = deserializeAws_restJson1Event(data.Event, context);
1302
+ contents.Event = de_Event(data.Event, context);
1303
1303
  }
1304
1304
  if (data.Id != null) {
1305
1305
  contents.Id = (0, smithy_client_1.expectString)(data.Id);
@@ -1309,8 +1309,8 @@ const deserializeAws_restJson1GetEventActionCommand = async (output, context) =>
1309
1309
  }
1310
1310
  return contents;
1311
1311
  };
1312
- exports.deserializeAws_restJson1GetEventActionCommand = deserializeAws_restJson1GetEventActionCommand;
1313
- const deserializeAws_restJson1GetEventActionCommandError = async (output, context) => {
1312
+ exports.de_GetEventActionCommand = de_GetEventActionCommand;
1313
+ const de_GetEventActionCommandError = async (output, context) => {
1314
1314
  const parsedOutput = {
1315
1315
  ...output,
1316
1316
  body: await parseErrorBody(output.body, context),
@@ -1319,16 +1319,16 @@ const deserializeAws_restJson1GetEventActionCommandError = async (output, contex
1319
1319
  switch (errorCode) {
1320
1320
  case "InternalServerException":
1321
1321
  case "com.amazonaws.dataexchange#InternalServerException":
1322
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1322
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1323
1323
  case "ResourceNotFoundException":
1324
1324
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1325
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1325
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1326
1326
  case "ThrottlingException":
1327
1327
  case "com.amazonaws.dataexchange#ThrottlingException":
1328
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1328
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1329
1329
  case "ValidationException":
1330
1330
  case "com.amazonaws.dataexchange#ValidationException":
1331
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1331
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1332
1332
  default:
1333
1333
  const parsedBody = parsedOutput.body;
1334
1334
  (0, smithy_client_1.throwDefaultError)({
@@ -1339,9 +1339,9 @@ const deserializeAws_restJson1GetEventActionCommandError = async (output, contex
1339
1339
  });
1340
1340
  }
1341
1341
  };
1342
- const deserializeAws_restJson1GetJobCommand = async (output, context) => {
1342
+ const de_GetJobCommand = async (output, context) => {
1343
1343
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1344
- return deserializeAws_restJson1GetJobCommandError(output, context);
1344
+ return de_GetJobCommandError(output, context);
1345
1345
  }
1346
1346
  const contents = map({
1347
1347
  $metadata: deserializeMetadata(output),
@@ -1354,10 +1354,10 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
1354
1354
  contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
1355
1355
  }
1356
1356
  if (data.Details != null) {
1357
- contents.Details = deserializeAws_restJson1ResponseDetails(data.Details, context);
1357
+ contents.Details = de_ResponseDetails(data.Details, context);
1358
1358
  }
1359
1359
  if (data.Errors != null) {
1360
- contents.Errors = deserializeAws_restJson1ListOfJobError(data.Errors, context);
1360
+ contents.Errors = de_ListOfJobError(data.Errors, context);
1361
1361
  }
1362
1362
  if (data.Id != null) {
1363
1363
  contents.Id = (0, smithy_client_1.expectString)(data.Id);
@@ -1373,8 +1373,8 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
1373
1373
  }
1374
1374
  return contents;
1375
1375
  };
1376
- exports.deserializeAws_restJson1GetJobCommand = deserializeAws_restJson1GetJobCommand;
1377
- const deserializeAws_restJson1GetJobCommandError = async (output, context) => {
1376
+ exports.de_GetJobCommand = de_GetJobCommand;
1377
+ const de_GetJobCommandError = async (output, context) => {
1378
1378
  const parsedOutput = {
1379
1379
  ...output,
1380
1380
  body: await parseErrorBody(output.body, context),
@@ -1383,16 +1383,16 @@ const deserializeAws_restJson1GetJobCommandError = async (output, context) => {
1383
1383
  switch (errorCode) {
1384
1384
  case "InternalServerException":
1385
1385
  case "com.amazonaws.dataexchange#InternalServerException":
1386
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1386
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1387
1387
  case "ResourceNotFoundException":
1388
1388
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1389
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1389
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1390
1390
  case "ThrottlingException":
1391
1391
  case "com.amazonaws.dataexchange#ThrottlingException":
1392
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1392
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1393
1393
  case "ValidationException":
1394
1394
  case "com.amazonaws.dataexchange#ValidationException":
1395
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1395
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1396
1396
  default:
1397
1397
  const parsedBody = parsedOutput.body;
1398
1398
  (0, smithy_client_1.throwDefaultError)({
@@ -1403,9 +1403,9 @@ const deserializeAws_restJson1GetJobCommandError = async (output, context) => {
1403
1403
  });
1404
1404
  }
1405
1405
  };
1406
- const deserializeAws_restJson1GetRevisionCommand = async (output, context) => {
1406
+ const de_GetRevisionCommand = async (output, context) => {
1407
1407
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1408
- return deserializeAws_restJson1GetRevisionCommandError(output, context);
1408
+ return de_GetRevisionCommandError(output, context);
1409
1409
  }
1410
1410
  const contents = map({
1411
1411
  $metadata: deserializeMetadata(output),
@@ -1442,15 +1442,15 @@ const deserializeAws_restJson1GetRevisionCommand = async (output, context) => {
1442
1442
  contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
1443
1443
  }
1444
1444
  if (data.Tags != null) {
1445
- contents.Tags = deserializeAws_restJson1MapOf__string(data.Tags, context);
1445
+ contents.Tags = de_MapOf__string(data.Tags, context);
1446
1446
  }
1447
1447
  if (data.UpdatedAt != null) {
1448
1448
  contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.UpdatedAt));
1449
1449
  }
1450
1450
  return contents;
1451
1451
  };
1452
- exports.deserializeAws_restJson1GetRevisionCommand = deserializeAws_restJson1GetRevisionCommand;
1453
- const deserializeAws_restJson1GetRevisionCommandError = async (output, context) => {
1452
+ exports.de_GetRevisionCommand = de_GetRevisionCommand;
1453
+ const de_GetRevisionCommandError = async (output, context) => {
1454
1454
  const parsedOutput = {
1455
1455
  ...output,
1456
1456
  body: await parseErrorBody(output.body, context),
@@ -1459,16 +1459,16 @@ const deserializeAws_restJson1GetRevisionCommandError = async (output, context)
1459
1459
  switch (errorCode) {
1460
1460
  case "InternalServerException":
1461
1461
  case "com.amazonaws.dataexchange#InternalServerException":
1462
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1462
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1463
1463
  case "ResourceNotFoundException":
1464
1464
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1465
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1465
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1466
1466
  case "ThrottlingException":
1467
1467
  case "com.amazonaws.dataexchange#ThrottlingException":
1468
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1468
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1469
1469
  case "ValidationException":
1470
1470
  case "com.amazonaws.dataexchange#ValidationException":
1471
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1471
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1472
1472
  default:
1473
1473
  const parsedBody = parsedOutput.body;
1474
1474
  (0, smithy_client_1.throwDefaultError)({
@@ -1479,9 +1479,9 @@ const deserializeAws_restJson1GetRevisionCommandError = async (output, context)
1479
1479
  });
1480
1480
  }
1481
1481
  };
1482
- const deserializeAws_restJson1ListDataSetRevisionsCommand = async (output, context) => {
1482
+ const de_ListDataSetRevisionsCommand = async (output, context) => {
1483
1483
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1484
- return deserializeAws_restJson1ListDataSetRevisionsCommandError(output, context);
1484
+ return de_ListDataSetRevisionsCommandError(output, context);
1485
1485
  }
1486
1486
  const contents = map({
1487
1487
  $metadata: deserializeMetadata(output),
@@ -1491,12 +1491,12 @@ const deserializeAws_restJson1ListDataSetRevisionsCommand = async (output, conte
1491
1491
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1492
1492
  }
1493
1493
  if (data.Revisions != null) {
1494
- contents.Revisions = deserializeAws_restJson1ListOfRevisionEntry(data.Revisions, context);
1494
+ contents.Revisions = de_ListOfRevisionEntry(data.Revisions, context);
1495
1495
  }
1496
1496
  return contents;
1497
1497
  };
1498
- exports.deserializeAws_restJson1ListDataSetRevisionsCommand = deserializeAws_restJson1ListDataSetRevisionsCommand;
1499
- const deserializeAws_restJson1ListDataSetRevisionsCommandError = async (output, context) => {
1498
+ exports.de_ListDataSetRevisionsCommand = de_ListDataSetRevisionsCommand;
1499
+ const de_ListDataSetRevisionsCommandError = async (output, context) => {
1500
1500
  const parsedOutput = {
1501
1501
  ...output,
1502
1502
  body: await parseErrorBody(output.body, context),
@@ -1505,16 +1505,16 @@ const deserializeAws_restJson1ListDataSetRevisionsCommandError = async (output,
1505
1505
  switch (errorCode) {
1506
1506
  case "InternalServerException":
1507
1507
  case "com.amazonaws.dataexchange#InternalServerException":
1508
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1508
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1509
1509
  case "ResourceNotFoundException":
1510
1510
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1511
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1511
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1512
1512
  case "ThrottlingException":
1513
1513
  case "com.amazonaws.dataexchange#ThrottlingException":
1514
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1514
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1515
1515
  case "ValidationException":
1516
1516
  case "com.amazonaws.dataexchange#ValidationException":
1517
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1517
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1518
1518
  default:
1519
1519
  const parsedBody = parsedOutput.body;
1520
1520
  (0, smithy_client_1.throwDefaultError)({
@@ -1525,24 +1525,24 @@ const deserializeAws_restJson1ListDataSetRevisionsCommandError = async (output,
1525
1525
  });
1526
1526
  }
1527
1527
  };
1528
- const deserializeAws_restJson1ListDataSetsCommand = async (output, context) => {
1528
+ const de_ListDataSetsCommand = async (output, context) => {
1529
1529
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1530
- return deserializeAws_restJson1ListDataSetsCommandError(output, context);
1530
+ return de_ListDataSetsCommandError(output, context);
1531
1531
  }
1532
1532
  const contents = map({
1533
1533
  $metadata: deserializeMetadata(output),
1534
1534
  });
1535
1535
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1536
1536
  if (data.DataSets != null) {
1537
- contents.DataSets = deserializeAws_restJson1ListOfDataSetEntry(data.DataSets, context);
1537
+ contents.DataSets = de_ListOfDataSetEntry(data.DataSets, context);
1538
1538
  }
1539
1539
  if (data.NextToken != null) {
1540
1540
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1541
1541
  }
1542
1542
  return contents;
1543
1543
  };
1544
- exports.deserializeAws_restJson1ListDataSetsCommand = deserializeAws_restJson1ListDataSetsCommand;
1545
- const deserializeAws_restJson1ListDataSetsCommandError = async (output, context) => {
1544
+ exports.de_ListDataSetsCommand = de_ListDataSetsCommand;
1545
+ const de_ListDataSetsCommandError = async (output, context) => {
1546
1546
  const parsedOutput = {
1547
1547
  ...output,
1548
1548
  body: await parseErrorBody(output.body, context),
@@ -1551,16 +1551,16 @@ const deserializeAws_restJson1ListDataSetsCommandError = async (output, context)
1551
1551
  switch (errorCode) {
1552
1552
  case "InternalServerException":
1553
1553
  case "com.amazonaws.dataexchange#InternalServerException":
1554
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1554
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1555
1555
  case "ResourceNotFoundException":
1556
1556
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1557
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1557
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1558
1558
  case "ThrottlingException":
1559
1559
  case "com.amazonaws.dataexchange#ThrottlingException":
1560
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1560
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1561
1561
  case "ValidationException":
1562
1562
  case "com.amazonaws.dataexchange#ValidationException":
1563
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1563
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1564
1564
  default:
1565
1565
  const parsedBody = parsedOutput.body;
1566
1566
  (0, smithy_client_1.throwDefaultError)({
@@ -1571,24 +1571,24 @@ const deserializeAws_restJson1ListDataSetsCommandError = async (output, context)
1571
1571
  });
1572
1572
  }
1573
1573
  };
1574
- const deserializeAws_restJson1ListEventActionsCommand = async (output, context) => {
1574
+ const de_ListEventActionsCommand = async (output, context) => {
1575
1575
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1576
- return deserializeAws_restJson1ListEventActionsCommandError(output, context);
1576
+ return de_ListEventActionsCommandError(output, context);
1577
1577
  }
1578
1578
  const contents = map({
1579
1579
  $metadata: deserializeMetadata(output),
1580
1580
  });
1581
1581
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1582
1582
  if (data.EventActions != null) {
1583
- contents.EventActions = deserializeAws_restJson1ListOfEventActionEntry(data.EventActions, context);
1583
+ contents.EventActions = de_ListOfEventActionEntry(data.EventActions, context);
1584
1584
  }
1585
1585
  if (data.NextToken != null) {
1586
1586
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1587
1587
  }
1588
1588
  return contents;
1589
1589
  };
1590
- exports.deserializeAws_restJson1ListEventActionsCommand = deserializeAws_restJson1ListEventActionsCommand;
1591
- const deserializeAws_restJson1ListEventActionsCommandError = async (output, context) => {
1590
+ exports.de_ListEventActionsCommand = de_ListEventActionsCommand;
1591
+ const de_ListEventActionsCommandError = async (output, context) => {
1592
1592
  const parsedOutput = {
1593
1593
  ...output,
1594
1594
  body: await parseErrorBody(output.body, context),
@@ -1597,16 +1597,16 @@ const deserializeAws_restJson1ListEventActionsCommandError = async (output, cont
1597
1597
  switch (errorCode) {
1598
1598
  case "InternalServerException":
1599
1599
  case "com.amazonaws.dataexchange#InternalServerException":
1600
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1600
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1601
1601
  case "ResourceNotFoundException":
1602
1602
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1603
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1603
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1604
1604
  case "ThrottlingException":
1605
1605
  case "com.amazonaws.dataexchange#ThrottlingException":
1606
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1606
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1607
1607
  case "ValidationException":
1608
1608
  case "com.amazonaws.dataexchange#ValidationException":
1609
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1609
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1610
1610
  default:
1611
1611
  const parsedBody = parsedOutput.body;
1612
1612
  (0, smithy_client_1.throwDefaultError)({
@@ -1617,24 +1617,24 @@ const deserializeAws_restJson1ListEventActionsCommandError = async (output, cont
1617
1617
  });
1618
1618
  }
1619
1619
  };
1620
- const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
1620
+ const de_ListJobsCommand = async (output, context) => {
1621
1621
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1622
- return deserializeAws_restJson1ListJobsCommandError(output, context);
1622
+ return de_ListJobsCommandError(output, context);
1623
1623
  }
1624
1624
  const contents = map({
1625
1625
  $metadata: deserializeMetadata(output),
1626
1626
  });
1627
1627
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1628
1628
  if (data.Jobs != null) {
1629
- contents.Jobs = deserializeAws_restJson1ListOfJobEntry(data.Jobs, context);
1629
+ contents.Jobs = de_ListOfJobEntry(data.Jobs, context);
1630
1630
  }
1631
1631
  if (data.NextToken != null) {
1632
1632
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1633
1633
  }
1634
1634
  return contents;
1635
1635
  };
1636
- exports.deserializeAws_restJson1ListJobsCommand = deserializeAws_restJson1ListJobsCommand;
1637
- const deserializeAws_restJson1ListJobsCommandError = async (output, context) => {
1636
+ exports.de_ListJobsCommand = de_ListJobsCommand;
1637
+ const de_ListJobsCommandError = async (output, context) => {
1638
1638
  const parsedOutput = {
1639
1639
  ...output,
1640
1640
  body: await parseErrorBody(output.body, context),
@@ -1643,16 +1643,16 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
1643
1643
  switch (errorCode) {
1644
1644
  case "InternalServerException":
1645
1645
  case "com.amazonaws.dataexchange#InternalServerException":
1646
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1646
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1647
1647
  case "ResourceNotFoundException":
1648
1648
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1649
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1649
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1650
1650
  case "ThrottlingException":
1651
1651
  case "com.amazonaws.dataexchange#ThrottlingException":
1652
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1652
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1653
1653
  case "ValidationException":
1654
1654
  case "com.amazonaws.dataexchange#ValidationException":
1655
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1655
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1656
1656
  default:
1657
1657
  const parsedBody = parsedOutput.body;
1658
1658
  (0, smithy_client_1.throwDefaultError)({
@@ -1663,24 +1663,24 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
1663
1663
  });
1664
1664
  }
1665
1665
  };
1666
- const deserializeAws_restJson1ListRevisionAssetsCommand = async (output, context) => {
1666
+ const de_ListRevisionAssetsCommand = async (output, context) => {
1667
1667
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1668
- return deserializeAws_restJson1ListRevisionAssetsCommandError(output, context);
1668
+ return de_ListRevisionAssetsCommandError(output, context);
1669
1669
  }
1670
1670
  const contents = map({
1671
1671
  $metadata: deserializeMetadata(output),
1672
1672
  });
1673
1673
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1674
1674
  if (data.Assets != null) {
1675
- contents.Assets = deserializeAws_restJson1ListOfAssetEntry(data.Assets, context);
1675
+ contents.Assets = de_ListOfAssetEntry(data.Assets, context);
1676
1676
  }
1677
1677
  if (data.NextToken != null) {
1678
1678
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1679
1679
  }
1680
1680
  return contents;
1681
1681
  };
1682
- exports.deserializeAws_restJson1ListRevisionAssetsCommand = deserializeAws_restJson1ListRevisionAssetsCommand;
1683
- const deserializeAws_restJson1ListRevisionAssetsCommandError = async (output, context) => {
1682
+ exports.de_ListRevisionAssetsCommand = de_ListRevisionAssetsCommand;
1683
+ const de_ListRevisionAssetsCommandError = async (output, context) => {
1684
1684
  const parsedOutput = {
1685
1685
  ...output,
1686
1686
  body: await parseErrorBody(output.body, context),
@@ -1689,16 +1689,16 @@ const deserializeAws_restJson1ListRevisionAssetsCommandError = async (output, co
1689
1689
  switch (errorCode) {
1690
1690
  case "InternalServerException":
1691
1691
  case "com.amazonaws.dataexchange#InternalServerException":
1692
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1692
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1693
1693
  case "ResourceNotFoundException":
1694
1694
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1695
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1695
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1696
1696
  case "ThrottlingException":
1697
1697
  case "com.amazonaws.dataexchange#ThrottlingException":
1698
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1698
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1699
1699
  case "ValidationException":
1700
1700
  case "com.amazonaws.dataexchange#ValidationException":
1701
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1701
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1702
1702
  default:
1703
1703
  const parsedBody = parsedOutput.body;
1704
1704
  (0, smithy_client_1.throwDefaultError)({
@@ -1709,21 +1709,21 @@ const deserializeAws_restJson1ListRevisionAssetsCommandError = async (output, co
1709
1709
  });
1710
1710
  }
1711
1711
  };
1712
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1712
+ const de_ListTagsForResourceCommand = async (output, context) => {
1713
1713
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1714
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1714
+ return de_ListTagsForResourceCommandError(output, context);
1715
1715
  }
1716
1716
  const contents = map({
1717
1717
  $metadata: deserializeMetadata(output),
1718
1718
  });
1719
1719
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1720
1720
  if (data.tags != null) {
1721
- contents.Tags = deserializeAws_restJson1MapOf__string(data.tags, context);
1721
+ contents.Tags = de_MapOf__string(data.tags, context);
1722
1722
  }
1723
1723
  return contents;
1724
1724
  };
1725
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1726
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1725
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1726
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1727
1727
  const parsedOutput = {
1728
1728
  ...output,
1729
1729
  body: await parseErrorBody(output.body, context),
@@ -1737,9 +1737,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1737
1737
  errorCode,
1738
1738
  });
1739
1739
  };
1740
- const deserializeAws_restJson1RevokeRevisionCommand = async (output, context) => {
1740
+ const de_RevokeRevisionCommand = async (output, context) => {
1741
1741
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1742
- return deserializeAws_restJson1RevokeRevisionCommandError(output, context);
1742
+ return de_RevokeRevisionCommandError(output, context);
1743
1743
  }
1744
1744
  const contents = map({
1745
1745
  $metadata: deserializeMetadata(output),
@@ -1780,8 +1780,8 @@ const deserializeAws_restJson1RevokeRevisionCommand = async (output, context) =>
1780
1780
  }
1781
1781
  return contents;
1782
1782
  };
1783
- exports.deserializeAws_restJson1RevokeRevisionCommand = deserializeAws_restJson1RevokeRevisionCommand;
1784
- const deserializeAws_restJson1RevokeRevisionCommandError = async (output, context) => {
1783
+ exports.de_RevokeRevisionCommand = de_RevokeRevisionCommand;
1784
+ const de_RevokeRevisionCommandError = async (output, context) => {
1785
1785
  const parsedOutput = {
1786
1786
  ...output,
1787
1787
  body: await parseErrorBody(output.body, context),
@@ -1790,22 +1790,22 @@ const deserializeAws_restJson1RevokeRevisionCommandError = async (output, contex
1790
1790
  switch (errorCode) {
1791
1791
  case "AccessDeniedException":
1792
1792
  case "com.amazonaws.dataexchange#AccessDeniedException":
1793
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1793
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1794
1794
  case "ConflictException":
1795
1795
  case "com.amazonaws.dataexchange#ConflictException":
1796
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1796
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1797
1797
  case "InternalServerException":
1798
1798
  case "com.amazonaws.dataexchange#InternalServerException":
1799
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1799
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1800
1800
  case "ResourceNotFoundException":
1801
1801
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1802
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1802
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1803
1803
  case "ThrottlingException":
1804
1804
  case "com.amazonaws.dataexchange#ThrottlingException":
1805
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1805
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1806
1806
  case "ValidationException":
1807
1807
  case "com.amazonaws.dataexchange#ValidationException":
1808
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1808
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1809
1809
  default:
1810
1810
  const parsedBody = parsedOutput.body;
1811
1811
  (0, smithy_client_1.throwDefaultError)({
@@ -1816,9 +1816,9 @@ const deserializeAws_restJson1RevokeRevisionCommandError = async (output, contex
1816
1816
  });
1817
1817
  }
1818
1818
  };
1819
- const deserializeAws_restJson1SendApiAssetCommand = async (output, context) => {
1819
+ const de_SendApiAssetCommand = async (output, context) => {
1820
1820
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1821
- return deserializeAws_restJson1SendApiAssetCommandError(output, context);
1821
+ return de_SendApiAssetCommandError(output, context);
1822
1822
  }
1823
1823
  const contents = map({
1824
1824
  $metadata: deserializeMetadata(output),
@@ -1836,8 +1836,8 @@ const deserializeAws_restJson1SendApiAssetCommand = async (output, context) => {
1836
1836
  contents.Body = (0, smithy_client_1.expectString)(data);
1837
1837
  return contents;
1838
1838
  };
1839
- exports.deserializeAws_restJson1SendApiAssetCommand = deserializeAws_restJson1SendApiAssetCommand;
1840
- const deserializeAws_restJson1SendApiAssetCommandError = async (output, context) => {
1839
+ exports.de_SendApiAssetCommand = de_SendApiAssetCommand;
1840
+ const de_SendApiAssetCommandError = async (output, context) => {
1841
1841
  const parsedOutput = {
1842
1842
  ...output,
1843
1843
  body: await parseErrorBody(output.body, context),
@@ -1846,19 +1846,19 @@ const deserializeAws_restJson1SendApiAssetCommandError = async (output, context)
1846
1846
  switch (errorCode) {
1847
1847
  case "AccessDeniedException":
1848
1848
  case "com.amazonaws.dataexchange#AccessDeniedException":
1849
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1849
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1850
1850
  case "InternalServerException":
1851
1851
  case "com.amazonaws.dataexchange#InternalServerException":
1852
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1852
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1853
1853
  case "ResourceNotFoundException":
1854
1854
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1855
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1855
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1856
1856
  case "ThrottlingException":
1857
1857
  case "com.amazonaws.dataexchange#ThrottlingException":
1858
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1858
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1859
1859
  case "ValidationException":
1860
1860
  case "com.amazonaws.dataexchange#ValidationException":
1861
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1861
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1862
1862
  default:
1863
1863
  const parsedBody = parsedOutput.body;
1864
1864
  (0, smithy_client_1.throwDefaultError)({
@@ -1869,9 +1869,9 @@ const deserializeAws_restJson1SendApiAssetCommandError = async (output, context)
1869
1869
  });
1870
1870
  }
1871
1871
  };
1872
- const deserializeAws_restJson1StartJobCommand = async (output, context) => {
1872
+ const de_StartJobCommand = async (output, context) => {
1873
1873
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1874
- return deserializeAws_restJson1StartJobCommandError(output, context);
1874
+ return de_StartJobCommandError(output, context);
1875
1875
  }
1876
1876
  const contents = map({
1877
1877
  $metadata: deserializeMetadata(output),
@@ -1879,8 +1879,8 @@ const deserializeAws_restJson1StartJobCommand = async (output, context) => {
1879
1879
  await collectBody(output.body, context);
1880
1880
  return contents;
1881
1881
  };
1882
- exports.deserializeAws_restJson1StartJobCommand = deserializeAws_restJson1StartJobCommand;
1883
- const deserializeAws_restJson1StartJobCommandError = async (output, context) => {
1882
+ exports.de_StartJobCommand = de_StartJobCommand;
1883
+ const de_StartJobCommandError = async (output, context) => {
1884
1884
  const parsedOutput = {
1885
1885
  ...output,
1886
1886
  body: await parseErrorBody(output.body, context),
@@ -1889,22 +1889,22 @@ const deserializeAws_restJson1StartJobCommandError = async (output, context) =>
1889
1889
  switch (errorCode) {
1890
1890
  case "AccessDeniedException":
1891
1891
  case "com.amazonaws.dataexchange#AccessDeniedException":
1892
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1892
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1893
1893
  case "ConflictException":
1894
1894
  case "com.amazonaws.dataexchange#ConflictException":
1895
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1895
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1896
1896
  case "InternalServerException":
1897
1897
  case "com.amazonaws.dataexchange#InternalServerException":
1898
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1898
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1899
1899
  case "ResourceNotFoundException":
1900
1900
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
1901
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1901
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1902
1902
  case "ThrottlingException":
1903
1903
  case "com.amazonaws.dataexchange#ThrottlingException":
1904
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1904
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1905
1905
  case "ValidationException":
1906
1906
  case "com.amazonaws.dataexchange#ValidationException":
1907
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1907
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1908
1908
  default:
1909
1909
  const parsedBody = parsedOutput.body;
1910
1910
  (0, smithy_client_1.throwDefaultError)({
@@ -1915,9 +1915,9 @@ const deserializeAws_restJson1StartJobCommandError = async (output, context) =>
1915
1915
  });
1916
1916
  }
1917
1917
  };
1918
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1918
+ const de_TagResourceCommand = async (output, context) => {
1919
1919
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1920
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1920
+ return de_TagResourceCommandError(output, context);
1921
1921
  }
1922
1922
  const contents = map({
1923
1923
  $metadata: deserializeMetadata(output),
@@ -1925,8 +1925,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1925
1925
  await collectBody(output.body, context);
1926
1926
  return contents;
1927
1927
  };
1928
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1929
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1928
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1929
+ const de_TagResourceCommandError = async (output, context) => {
1930
1930
  const parsedOutput = {
1931
1931
  ...output,
1932
1932
  body: await parseErrorBody(output.body, context),
@@ -1940,9 +1940,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1940
1940
  errorCode,
1941
1941
  });
1942
1942
  };
1943
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1943
+ const de_UntagResourceCommand = async (output, context) => {
1944
1944
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1945
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1945
+ return de_UntagResourceCommandError(output, context);
1946
1946
  }
1947
1947
  const contents = map({
1948
1948
  $metadata: deserializeMetadata(output),
@@ -1950,8 +1950,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1950
1950
  await collectBody(output.body, context);
1951
1951
  return contents;
1952
1952
  };
1953
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1954
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1953
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1954
+ const de_UntagResourceCommandError = async (output, context) => {
1955
1955
  const parsedOutput = {
1956
1956
  ...output,
1957
1957
  body: await parseErrorBody(output.body, context),
@@ -1965,9 +1965,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1965
1965
  errorCode,
1966
1966
  });
1967
1967
  };
1968
- const deserializeAws_restJson1UpdateAssetCommand = async (output, context) => {
1968
+ const de_UpdateAssetCommand = async (output, context) => {
1969
1969
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1970
- return deserializeAws_restJson1UpdateAssetCommandError(output, context);
1970
+ return de_UpdateAssetCommandError(output, context);
1971
1971
  }
1972
1972
  const contents = map({
1973
1973
  $metadata: deserializeMetadata(output),
@@ -1977,7 +1977,7 @@ const deserializeAws_restJson1UpdateAssetCommand = async (output, context) => {
1977
1977
  contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1978
1978
  }
1979
1979
  if (data.AssetDetails != null) {
1980
- contents.AssetDetails = deserializeAws_restJson1AssetDetails(data.AssetDetails, context);
1980
+ contents.AssetDetails = de_AssetDetails(data.AssetDetails, context);
1981
1981
  }
1982
1982
  if (data.AssetType != null) {
1983
1983
  contents.AssetType = (0, smithy_client_1.expectString)(data.AssetType);
@@ -2005,8 +2005,8 @@ const deserializeAws_restJson1UpdateAssetCommand = async (output, context) => {
2005
2005
  }
2006
2006
  return contents;
2007
2007
  };
2008
- exports.deserializeAws_restJson1UpdateAssetCommand = deserializeAws_restJson1UpdateAssetCommand;
2009
- const deserializeAws_restJson1UpdateAssetCommandError = async (output, context) => {
2008
+ exports.de_UpdateAssetCommand = de_UpdateAssetCommand;
2009
+ const de_UpdateAssetCommandError = async (output, context) => {
2010
2010
  const parsedOutput = {
2011
2011
  ...output,
2012
2012
  body: await parseErrorBody(output.body, context),
@@ -2015,22 +2015,22 @@ const deserializeAws_restJson1UpdateAssetCommandError = async (output, context)
2015
2015
  switch (errorCode) {
2016
2016
  case "AccessDeniedException":
2017
2017
  case "com.amazonaws.dataexchange#AccessDeniedException":
2018
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2018
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2019
2019
  case "ConflictException":
2020
2020
  case "com.amazonaws.dataexchange#ConflictException":
2021
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2021
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2022
2022
  case "InternalServerException":
2023
2023
  case "com.amazonaws.dataexchange#InternalServerException":
2024
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2024
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2025
2025
  case "ResourceNotFoundException":
2026
2026
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
2027
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2027
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2028
2028
  case "ThrottlingException":
2029
2029
  case "com.amazonaws.dataexchange#ThrottlingException":
2030
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2030
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2031
2031
  case "ValidationException":
2032
2032
  case "com.amazonaws.dataexchange#ValidationException":
2033
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2033
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2034
2034
  default:
2035
2035
  const parsedBody = parsedOutput.body;
2036
2036
  (0, smithy_client_1.throwDefaultError)({
@@ -2041,9 +2041,9 @@ const deserializeAws_restJson1UpdateAssetCommandError = async (output, context)
2041
2041
  });
2042
2042
  }
2043
2043
  };
2044
- const deserializeAws_restJson1UpdateDataSetCommand = async (output, context) => {
2044
+ const de_UpdateDataSetCommand = async (output, context) => {
2045
2045
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2046
- return deserializeAws_restJson1UpdateDataSetCommandError(output, context);
2046
+ return de_UpdateDataSetCommandError(output, context);
2047
2047
  }
2048
2048
  const contents = map({
2049
2049
  $metadata: deserializeMetadata(output),
@@ -2071,7 +2071,7 @@ const deserializeAws_restJson1UpdateDataSetCommand = async (output, context) =>
2071
2071
  contents.Origin = (0, smithy_client_1.expectString)(data.Origin);
2072
2072
  }
2073
2073
  if (data.OriginDetails != null) {
2074
- contents.OriginDetails = deserializeAws_restJson1OriginDetails(data.OriginDetails, context);
2074
+ contents.OriginDetails = de_OriginDetails(data.OriginDetails, context);
2075
2075
  }
2076
2076
  if (data.SourceId != null) {
2077
2077
  contents.SourceId = (0, smithy_client_1.expectString)(data.SourceId);
@@ -2081,8 +2081,8 @@ const deserializeAws_restJson1UpdateDataSetCommand = async (output, context) =>
2081
2081
  }
2082
2082
  return contents;
2083
2083
  };
2084
- exports.deserializeAws_restJson1UpdateDataSetCommand = deserializeAws_restJson1UpdateDataSetCommand;
2085
- const deserializeAws_restJson1UpdateDataSetCommandError = async (output, context) => {
2084
+ exports.de_UpdateDataSetCommand = de_UpdateDataSetCommand;
2085
+ const de_UpdateDataSetCommandError = async (output, context) => {
2086
2086
  const parsedOutput = {
2087
2087
  ...output,
2088
2088
  body: await parseErrorBody(output.body, context),
@@ -2091,19 +2091,19 @@ const deserializeAws_restJson1UpdateDataSetCommandError = async (output, context
2091
2091
  switch (errorCode) {
2092
2092
  case "AccessDeniedException":
2093
2093
  case "com.amazonaws.dataexchange#AccessDeniedException":
2094
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2094
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2095
2095
  case "InternalServerException":
2096
2096
  case "com.amazonaws.dataexchange#InternalServerException":
2097
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2097
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2098
2098
  case "ResourceNotFoundException":
2099
2099
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
2100
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2100
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2101
2101
  case "ThrottlingException":
2102
2102
  case "com.amazonaws.dataexchange#ThrottlingException":
2103
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2103
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2104
2104
  case "ValidationException":
2105
2105
  case "com.amazonaws.dataexchange#ValidationException":
2106
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2106
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2107
2107
  default:
2108
2108
  const parsedBody = parsedOutput.body;
2109
2109
  (0, smithy_client_1.throwDefaultError)({
@@ -2114,16 +2114,16 @@ const deserializeAws_restJson1UpdateDataSetCommandError = async (output, context
2114
2114
  });
2115
2115
  }
2116
2116
  };
2117
- const deserializeAws_restJson1UpdateEventActionCommand = async (output, context) => {
2117
+ const de_UpdateEventActionCommand = async (output, context) => {
2118
2118
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2119
- return deserializeAws_restJson1UpdateEventActionCommandError(output, context);
2119
+ return de_UpdateEventActionCommandError(output, context);
2120
2120
  }
2121
2121
  const contents = map({
2122
2122
  $metadata: deserializeMetadata(output),
2123
2123
  });
2124
2124
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2125
2125
  if (data.Action != null) {
2126
- contents.Action = deserializeAws_restJson1Action(data.Action, context);
2126
+ contents.Action = de_Action(data.Action, context);
2127
2127
  }
2128
2128
  if (data.Arn != null) {
2129
2129
  contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
@@ -2132,7 +2132,7 @@ const deserializeAws_restJson1UpdateEventActionCommand = async (output, context)
2132
2132
  contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreatedAt));
2133
2133
  }
2134
2134
  if (data.Event != null) {
2135
- contents.Event = deserializeAws_restJson1Event(data.Event, context);
2135
+ contents.Event = de_Event(data.Event, context);
2136
2136
  }
2137
2137
  if (data.Id != null) {
2138
2138
  contents.Id = (0, smithy_client_1.expectString)(data.Id);
@@ -2142,8 +2142,8 @@ const deserializeAws_restJson1UpdateEventActionCommand = async (output, context)
2142
2142
  }
2143
2143
  return contents;
2144
2144
  };
2145
- exports.deserializeAws_restJson1UpdateEventActionCommand = deserializeAws_restJson1UpdateEventActionCommand;
2146
- const deserializeAws_restJson1UpdateEventActionCommandError = async (output, context) => {
2145
+ exports.de_UpdateEventActionCommand = de_UpdateEventActionCommand;
2146
+ const de_UpdateEventActionCommandError = async (output, context) => {
2147
2147
  const parsedOutput = {
2148
2148
  ...output,
2149
2149
  body: await parseErrorBody(output.body, context),
@@ -2152,19 +2152,19 @@ const deserializeAws_restJson1UpdateEventActionCommandError = async (output, con
2152
2152
  switch (errorCode) {
2153
2153
  case "AccessDeniedException":
2154
2154
  case "com.amazonaws.dataexchange#AccessDeniedException":
2155
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2155
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2156
2156
  case "InternalServerException":
2157
2157
  case "com.amazonaws.dataexchange#InternalServerException":
2158
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2158
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2159
2159
  case "ResourceNotFoundException":
2160
2160
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
2161
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2161
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2162
2162
  case "ThrottlingException":
2163
2163
  case "com.amazonaws.dataexchange#ThrottlingException":
2164
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2164
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2165
2165
  case "ValidationException":
2166
2166
  case "com.amazonaws.dataexchange#ValidationException":
2167
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2167
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2168
2168
  default:
2169
2169
  const parsedBody = parsedOutput.body;
2170
2170
  (0, smithy_client_1.throwDefaultError)({
@@ -2175,9 +2175,9 @@ const deserializeAws_restJson1UpdateEventActionCommandError = async (output, con
2175
2175
  });
2176
2176
  }
2177
2177
  };
2178
- const deserializeAws_restJson1UpdateRevisionCommand = async (output, context) => {
2178
+ const de_UpdateRevisionCommand = async (output, context) => {
2179
2179
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2180
- return deserializeAws_restJson1UpdateRevisionCommandError(output, context);
2180
+ return de_UpdateRevisionCommandError(output, context);
2181
2181
  }
2182
2182
  const contents = map({
2183
2183
  $metadata: deserializeMetadata(output),
@@ -2218,8 +2218,8 @@ const deserializeAws_restJson1UpdateRevisionCommand = async (output, context) =>
2218
2218
  }
2219
2219
  return contents;
2220
2220
  };
2221
- exports.deserializeAws_restJson1UpdateRevisionCommand = deserializeAws_restJson1UpdateRevisionCommand;
2222
- const deserializeAws_restJson1UpdateRevisionCommandError = async (output, context) => {
2221
+ exports.de_UpdateRevisionCommand = de_UpdateRevisionCommand;
2222
+ const de_UpdateRevisionCommandError = async (output, context) => {
2223
2223
  const parsedOutput = {
2224
2224
  ...output,
2225
2225
  body: await parseErrorBody(output.body, context),
@@ -2228,22 +2228,22 @@ const deserializeAws_restJson1UpdateRevisionCommandError = async (output, contex
2228
2228
  switch (errorCode) {
2229
2229
  case "AccessDeniedException":
2230
2230
  case "com.amazonaws.dataexchange#AccessDeniedException":
2231
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2231
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2232
2232
  case "ConflictException":
2233
2233
  case "com.amazonaws.dataexchange#ConflictException":
2234
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2234
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2235
2235
  case "InternalServerException":
2236
2236
  case "com.amazonaws.dataexchange#InternalServerException":
2237
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2237
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2238
2238
  case "ResourceNotFoundException":
2239
2239
  case "com.amazonaws.dataexchange#ResourceNotFoundException":
2240
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2240
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2241
2241
  case "ThrottlingException":
2242
2242
  case "com.amazonaws.dataexchange#ThrottlingException":
2243
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2243
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2244
2244
  case "ValidationException":
2245
2245
  case "com.amazonaws.dataexchange#ValidationException":
2246
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2246
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2247
2247
  default:
2248
2248
  const parsedBody = parsedOutput.body;
2249
2249
  (0, smithy_client_1.throwDefaultError)({
@@ -2255,7 +2255,7 @@ const deserializeAws_restJson1UpdateRevisionCommandError = async (output, contex
2255
2255
  }
2256
2256
  };
2257
2257
  const map = smithy_client_1.map;
2258
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2258
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2259
2259
  const contents = map({});
2260
2260
  const data = parsedOutput.body;
2261
2261
  if (data.Message != null) {
@@ -2267,7 +2267,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2267
2267
  });
2268
2268
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2269
2269
  };
2270
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2270
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2271
2271
  const contents = map({});
2272
2272
  const data = parsedOutput.body;
2273
2273
  if (data.Message != null) {
@@ -2285,7 +2285,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2285
2285
  });
2286
2286
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2287
2287
  };
2288
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2288
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2289
2289
  const contents = map({});
2290
2290
  const data = parsedOutput.body;
2291
2291
  if (data.Message != null) {
@@ -2297,7 +2297,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2297
2297
  });
2298
2298
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2299
2299
  };
2300
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2300
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2301
2301
  const contents = map({});
2302
2302
  const data = parsedOutput.body;
2303
2303
  if (data.Message != null) {
@@ -2315,7 +2315,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2315
2315
  });
2316
2316
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2317
2317
  };
2318
- const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (parsedOutput, context) => {
2318
+ const de_ServiceLimitExceededExceptionRes = async (parsedOutput, context) => {
2319
2319
  const contents = map({});
2320
2320
  const data = parsedOutput.body;
2321
2321
  if (data.LimitName != null) {
@@ -2333,7 +2333,7 @@ const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (par
2333
2333
  });
2334
2334
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2335
2335
  };
2336
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2336
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2337
2337
  const contents = map({});
2338
2338
  const data = parsedOutput.body;
2339
2339
  if (data.Message != null) {
@@ -2345,7 +2345,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2345
2345
  });
2346
2346
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2347
2347
  };
2348
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2348
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2349
2349
  const contents = map({});
2350
2350
  const data = parsedOutput.body;
2351
2351
  if (data.ExceptionCause != null) {
@@ -2360,103 +2360,95 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2360
2360
  });
2361
2361
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2362
2362
  };
2363
- const serializeAws_restJson1Action = (input, context) => {
2363
+ const se_Action = (input, context) => {
2364
2364
  return {
2365
2365
  ...(input.ExportRevisionToS3 != null && {
2366
- ExportRevisionToS3: serializeAws_restJson1AutoExportRevisionToS3RequestDetails(input.ExportRevisionToS3, context),
2366
+ ExportRevisionToS3: se_AutoExportRevisionToS3RequestDetails(input.ExportRevisionToS3, context),
2367
2367
  }),
2368
2368
  };
2369
2369
  };
2370
- const serializeAws_restJson1AssetDestinationEntry = (input, context) => {
2370
+ const se_AssetDestinationEntry = (input, context) => {
2371
2371
  return {
2372
2372
  ...(input.AssetId != null && { AssetId: input.AssetId }),
2373
2373
  ...(input.Bucket != null && { Bucket: input.Bucket }),
2374
2374
  ...(input.Key != null && { Key: input.Key }),
2375
2375
  };
2376
2376
  };
2377
- const serializeAws_restJson1AssetSourceEntry = (input, context) => {
2377
+ const se_AssetSourceEntry = (input, context) => {
2378
2378
  return {
2379
2379
  ...(input.Bucket != null && { Bucket: input.Bucket }),
2380
2380
  ...(input.Key != null && { Key: input.Key }),
2381
2381
  };
2382
2382
  };
2383
- const serializeAws_restJson1AutoExportRevisionDestinationEntry = (input, context) => {
2383
+ const se_AutoExportRevisionDestinationEntry = (input, context) => {
2384
2384
  return {
2385
2385
  ...(input.Bucket != null && { Bucket: input.Bucket }),
2386
2386
  ...(input.KeyPattern != null && { KeyPattern: input.KeyPattern }),
2387
2387
  };
2388
2388
  };
2389
- const serializeAws_restJson1AutoExportRevisionToS3RequestDetails = (input, context) => {
2389
+ const se_AutoExportRevisionToS3RequestDetails = (input, context) => {
2390
2390
  return {
2391
- ...(input.Encryption != null && {
2392
- Encryption: serializeAws_restJson1ExportServerSideEncryption(input.Encryption, context),
2393
- }),
2391
+ ...(input.Encryption != null && { Encryption: se_ExportServerSideEncryption(input.Encryption, context) }),
2394
2392
  ...(input.RevisionDestination != null && {
2395
- RevisionDestination: serializeAws_restJson1AutoExportRevisionDestinationEntry(input.RevisionDestination, context),
2393
+ RevisionDestination: se_AutoExportRevisionDestinationEntry(input.RevisionDestination, context),
2396
2394
  }),
2397
2395
  };
2398
2396
  };
2399
- const serializeAws_restJson1CreateS3DataAccessFromS3BucketRequestDetails = (input, context) => {
2397
+ const se_CreateS3DataAccessFromS3BucketRequestDetails = (input, context) => {
2400
2398
  return {
2401
- ...(input.AssetSource != null && {
2402
- AssetSource: serializeAws_restJson1S3DataAccessAssetSourceEntry(input.AssetSource, context),
2403
- }),
2399
+ ...(input.AssetSource != null && { AssetSource: se_S3DataAccessAssetSourceEntry(input.AssetSource, context) }),
2404
2400
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2405
2401
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2406
2402
  };
2407
2403
  };
2408
- const serializeAws_restJson1DatabaseLFTagPolicyAndPermissions = (input, context) => {
2404
+ const se_DatabaseLFTagPolicyAndPermissions = (input, context) => {
2409
2405
  return {
2410
- ...(input.Expression != null && { Expression: serializeAws_restJson1ListOfLFTags(input.Expression, context) }),
2406
+ ...(input.Expression != null && { Expression: se_ListOfLFTags(input.Expression, context) }),
2411
2407
  ...(input.Permissions != null && {
2412
- Permissions: serializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions(input.Permissions, context),
2408
+ Permissions: se_ListOfDatabaseLFTagPolicyPermissions(input.Permissions, context),
2413
2409
  }),
2414
2410
  };
2415
2411
  };
2416
- const serializeAws_restJson1Event = (input, context) => {
2412
+ const se_Event = (input, context) => {
2417
2413
  return {
2418
2414
  ...(input.RevisionPublished != null && {
2419
- RevisionPublished: serializeAws_restJson1RevisionPublished(input.RevisionPublished, context),
2415
+ RevisionPublished: se_RevisionPublished(input.RevisionPublished, context),
2420
2416
  }),
2421
2417
  };
2422
2418
  };
2423
- const serializeAws_restJson1ExportAssetsToS3RequestDetails = (input, context) => {
2419
+ const se_ExportAssetsToS3RequestDetails = (input, context) => {
2424
2420
  return {
2425
2421
  ...(input.AssetDestinations != null && {
2426
- AssetDestinations: serializeAws_restJson1ListOfAssetDestinationEntry(input.AssetDestinations, context),
2422
+ AssetDestinations: se_ListOfAssetDestinationEntry(input.AssetDestinations, context),
2427
2423
  }),
2428
2424
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2429
- ...(input.Encryption != null && {
2430
- Encryption: serializeAws_restJson1ExportServerSideEncryption(input.Encryption, context),
2431
- }),
2425
+ ...(input.Encryption != null && { Encryption: se_ExportServerSideEncryption(input.Encryption, context) }),
2432
2426
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2433
2427
  };
2434
2428
  };
2435
- const serializeAws_restJson1ExportAssetToSignedUrlRequestDetails = (input, context) => {
2429
+ const se_ExportAssetToSignedUrlRequestDetails = (input, context) => {
2436
2430
  return {
2437
2431
  ...(input.AssetId != null && { AssetId: input.AssetId }),
2438
2432
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2439
2433
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2440
2434
  };
2441
2435
  };
2442
- const serializeAws_restJson1ExportRevisionsToS3RequestDetails = (input, context) => {
2436
+ const se_ExportRevisionsToS3RequestDetails = (input, context) => {
2443
2437
  return {
2444
2438
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2445
- ...(input.Encryption != null && {
2446
- Encryption: serializeAws_restJson1ExportServerSideEncryption(input.Encryption, context),
2447
- }),
2439
+ ...(input.Encryption != null && { Encryption: se_ExportServerSideEncryption(input.Encryption, context) }),
2448
2440
  ...(input.RevisionDestinations != null && {
2449
- RevisionDestinations: serializeAws_restJson1ListOfRevisionDestinationEntry(input.RevisionDestinations, context),
2441
+ RevisionDestinations: se_ListOfRevisionDestinationEntry(input.RevisionDestinations, context),
2450
2442
  }),
2451
2443
  };
2452
2444
  };
2453
- const serializeAws_restJson1ExportServerSideEncryption = (input, context) => {
2445
+ const se_ExportServerSideEncryption = (input, context) => {
2454
2446
  return {
2455
2447
  ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
2456
2448
  ...(input.Type != null && { Type: input.Type }),
2457
2449
  };
2458
2450
  };
2459
- const serializeAws_restJson1ImportAssetFromApiGatewayApiRequestDetails = (input, context) => {
2451
+ const se_ImportAssetFromApiGatewayApiRequestDetails = (input, context) => {
2460
2452
  return {
2461
2453
  ...(input.ApiDescription != null && { ApiDescription: input.ApiDescription }),
2462
2454
  ...(input.ApiId != null && { ApiId: input.ApiId }),
@@ -2469,7 +2461,7 @@ const serializeAws_restJson1ImportAssetFromApiGatewayApiRequestDetails = (input,
2469
2461
  ...(input.Stage != null && { Stage: input.Stage }),
2470
2462
  };
2471
2463
  };
2472
- const serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails = (input, context) => {
2464
+ const se_ImportAssetFromSignedUrlRequestDetails = (input, context) => {
2473
2465
  return {
2474
2466
  ...(input.AssetName != null && { AssetName: input.AssetName }),
2475
2467
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
@@ -2477,118 +2469,114 @@ const serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails = (input, con
2477
2469
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2478
2470
  };
2479
2471
  };
2480
- const serializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyRequestDetails = (input, context) => {
2472
+ const se_ImportAssetsFromLakeFormationTagPolicyRequestDetails = (input, context) => {
2481
2473
  return {
2482
2474
  ...(input.CatalogId != null && { CatalogId: input.CatalogId }),
2483
2475
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2484
- ...(input.Database != null && {
2485
- Database: serializeAws_restJson1DatabaseLFTagPolicyAndPermissions(input.Database, context),
2486
- }),
2476
+ ...(input.Database != null && { Database: se_DatabaseLFTagPolicyAndPermissions(input.Database, context) }),
2487
2477
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2488
2478
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
2489
- ...(input.Table != null && { Table: serializeAws_restJson1TableLFTagPolicyAndPermissions(input.Table, context) }),
2479
+ ...(input.Table != null && { Table: se_TableLFTagPolicyAndPermissions(input.Table, context) }),
2490
2480
  };
2491
2481
  };
2492
- const serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails = (input, context) => {
2482
+ const se_ImportAssetsFromRedshiftDataSharesRequestDetails = (input, context) => {
2493
2483
  return {
2494
2484
  ...(input.AssetSources != null && {
2495
- AssetSources: serializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry(input.AssetSources, context),
2485
+ AssetSources: se_ListOfRedshiftDataShareAssetSourceEntry(input.AssetSources, context),
2496
2486
  }),
2497
2487
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2498
2488
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2499
2489
  };
2500
2490
  };
2501
- const serializeAws_restJson1ImportAssetsFromS3RequestDetails = (input, context) => {
2491
+ const se_ImportAssetsFromS3RequestDetails = (input, context) => {
2502
2492
  return {
2503
- ...(input.AssetSources != null && {
2504
- AssetSources: serializeAws_restJson1ListOfAssetSourceEntry(input.AssetSources, context),
2505
- }),
2493
+ ...(input.AssetSources != null && { AssetSources: se_ListOfAssetSourceEntry(input.AssetSources, context) }),
2506
2494
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2507
2495
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2508
2496
  };
2509
2497
  };
2510
- const serializeAws_restJson1KmsKeyToGrant = (input, context) => {
2498
+ const se_KmsKeyToGrant = (input, context) => {
2511
2499
  return {
2512
2500
  ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
2513
2501
  };
2514
2502
  };
2515
- const serializeAws_restJson1LFTag = (input, context) => {
2503
+ const se_LFTag = (input, context) => {
2516
2504
  return {
2517
2505
  ...(input.TagKey != null && { TagKey: input.TagKey }),
2518
- ...(input.TagValues != null && { TagValues: serializeAws_restJson1ListOfLFTagValues(input.TagValues, context) }),
2506
+ ...(input.TagValues != null && { TagValues: se_ListOfLFTagValues(input.TagValues, context) }),
2519
2507
  };
2520
2508
  };
2521
- const serializeAws_restJson1ListOf__string = (input, context) => {
2509
+ const se_ListOf__string = (input, context) => {
2522
2510
  return input
2523
2511
  .filter((e) => e != null)
2524
2512
  .map((entry) => {
2525
2513
  return entry;
2526
2514
  });
2527
2515
  };
2528
- const serializeAws_restJson1ListOfAssetDestinationEntry = (input, context) => {
2516
+ const se_ListOfAssetDestinationEntry = (input, context) => {
2529
2517
  return input
2530
2518
  .filter((e) => e != null)
2531
2519
  .map((entry) => {
2532
- return serializeAws_restJson1AssetDestinationEntry(entry, context);
2520
+ return se_AssetDestinationEntry(entry, context);
2533
2521
  });
2534
2522
  };
2535
- const serializeAws_restJson1ListOfAssetSourceEntry = (input, context) => {
2523
+ const se_ListOfAssetSourceEntry = (input, context) => {
2536
2524
  return input
2537
2525
  .filter((e) => e != null)
2538
2526
  .map((entry) => {
2539
- return serializeAws_restJson1AssetSourceEntry(entry, context);
2527
+ return se_AssetSourceEntry(entry, context);
2540
2528
  });
2541
2529
  };
2542
- const serializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions = (input, context) => {
2530
+ const se_ListOfDatabaseLFTagPolicyPermissions = (input, context) => {
2543
2531
  return input
2544
2532
  .filter((e) => e != null)
2545
2533
  .map((entry) => {
2546
2534
  return entry;
2547
2535
  });
2548
2536
  };
2549
- const serializeAws_restJson1ListOfKmsKeysToGrant = (input, context) => {
2537
+ const se_ListOfKmsKeysToGrant = (input, context) => {
2550
2538
  return input
2551
2539
  .filter((e) => e != null)
2552
2540
  .map((entry) => {
2553
- return serializeAws_restJson1KmsKeyToGrant(entry, context);
2541
+ return se_KmsKeyToGrant(entry, context);
2554
2542
  });
2555
2543
  };
2556
- const serializeAws_restJson1ListOfLFTags = (input, context) => {
2544
+ const se_ListOfLFTags = (input, context) => {
2557
2545
  return input
2558
2546
  .filter((e) => e != null)
2559
2547
  .map((entry) => {
2560
- return serializeAws_restJson1LFTag(entry, context);
2548
+ return se_LFTag(entry, context);
2561
2549
  });
2562
2550
  };
2563
- const serializeAws_restJson1ListOfLFTagValues = (input, context) => {
2551
+ const se_ListOfLFTagValues = (input, context) => {
2564
2552
  return input
2565
2553
  .filter((e) => e != null)
2566
2554
  .map((entry) => {
2567
2555
  return entry;
2568
2556
  });
2569
2557
  };
2570
- const serializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (input, context) => {
2558
+ const se_ListOfRedshiftDataShareAssetSourceEntry = (input, context) => {
2571
2559
  return input
2572
2560
  .filter((e) => e != null)
2573
2561
  .map((entry) => {
2574
- return serializeAws_restJson1RedshiftDataShareAssetSourceEntry(entry, context);
2562
+ return se_RedshiftDataShareAssetSourceEntry(entry, context);
2575
2563
  });
2576
2564
  };
2577
- const serializeAws_restJson1ListOfRevisionDestinationEntry = (input, context) => {
2565
+ const se_ListOfRevisionDestinationEntry = (input, context) => {
2578
2566
  return input
2579
2567
  .filter((e) => e != null)
2580
2568
  .map((entry) => {
2581
- return serializeAws_restJson1RevisionDestinationEntry(entry, context);
2569
+ return se_RevisionDestinationEntry(entry, context);
2582
2570
  });
2583
2571
  };
2584
- const serializeAws_restJson1ListOfTableTagPolicyLFPermissions = (input, context) => {
2572
+ const se_ListOfTableTagPolicyLFPermissions = (input, context) => {
2585
2573
  return input
2586
2574
  .filter((e) => e != null)
2587
2575
  .map((entry) => {
2588
2576
  return entry;
2589
2577
  });
2590
2578
  };
2591
- const serializeAws_restJson1MapOf__string = (input, context) => {
2579
+ const se_MapOf__string = (input, context) => {
2592
2580
  return Object.entries(input).reduce((acc, [key, value]) => {
2593
2581
  if (value === null) {
2594
2582
  return acc;
@@ -2597,80 +2585,76 @@ const serializeAws_restJson1MapOf__string = (input, context) => {
2597
2585
  return acc;
2598
2586
  }, {});
2599
2587
  };
2600
- const serializeAws_restJson1RedshiftDataShareAssetSourceEntry = (input, context) => {
2588
+ const se_RedshiftDataShareAssetSourceEntry = (input, context) => {
2601
2589
  return {
2602
2590
  ...(input.DataShareArn != null && { DataShareArn: input.DataShareArn }),
2603
2591
  };
2604
2592
  };
2605
- const serializeAws_restJson1RequestDetails = (input, context) => {
2593
+ const se_RequestDetails = (input, context) => {
2606
2594
  return {
2607
2595
  ...(input.CreateS3DataAccessFromS3Bucket != null && {
2608
- CreateS3DataAccessFromS3Bucket: serializeAws_restJson1CreateS3DataAccessFromS3BucketRequestDetails(input.CreateS3DataAccessFromS3Bucket, context),
2596
+ CreateS3DataAccessFromS3Bucket: se_CreateS3DataAccessFromS3BucketRequestDetails(input.CreateS3DataAccessFromS3Bucket, context),
2609
2597
  }),
2610
2598
  ...(input.ExportAssetToSignedUrl != null && {
2611
- ExportAssetToSignedUrl: serializeAws_restJson1ExportAssetToSignedUrlRequestDetails(input.ExportAssetToSignedUrl, context),
2599
+ ExportAssetToSignedUrl: se_ExportAssetToSignedUrlRequestDetails(input.ExportAssetToSignedUrl, context),
2612
2600
  }),
2613
2601
  ...(input.ExportAssetsToS3 != null && {
2614
- ExportAssetsToS3: serializeAws_restJson1ExportAssetsToS3RequestDetails(input.ExportAssetsToS3, context),
2602
+ ExportAssetsToS3: se_ExportAssetsToS3RequestDetails(input.ExportAssetsToS3, context),
2615
2603
  }),
2616
2604
  ...(input.ExportRevisionsToS3 != null && {
2617
- ExportRevisionsToS3: serializeAws_restJson1ExportRevisionsToS3RequestDetails(input.ExportRevisionsToS3, context),
2605
+ ExportRevisionsToS3: se_ExportRevisionsToS3RequestDetails(input.ExportRevisionsToS3, context),
2618
2606
  }),
2619
2607
  ...(input.ImportAssetFromApiGatewayApi != null && {
2620
- ImportAssetFromApiGatewayApi: serializeAws_restJson1ImportAssetFromApiGatewayApiRequestDetails(input.ImportAssetFromApiGatewayApi, context),
2608
+ ImportAssetFromApiGatewayApi: se_ImportAssetFromApiGatewayApiRequestDetails(input.ImportAssetFromApiGatewayApi, context),
2621
2609
  }),
2622
2610
  ...(input.ImportAssetFromSignedUrl != null && {
2623
- ImportAssetFromSignedUrl: serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails(input.ImportAssetFromSignedUrl, context),
2611
+ ImportAssetFromSignedUrl: se_ImportAssetFromSignedUrlRequestDetails(input.ImportAssetFromSignedUrl, context),
2624
2612
  }),
2625
2613
  ...(input.ImportAssetsFromLakeFormationTagPolicy != null && {
2626
- ImportAssetsFromLakeFormationTagPolicy: serializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyRequestDetails(input.ImportAssetsFromLakeFormationTagPolicy, context),
2614
+ ImportAssetsFromLakeFormationTagPolicy: se_ImportAssetsFromLakeFormationTagPolicyRequestDetails(input.ImportAssetsFromLakeFormationTagPolicy, context),
2627
2615
  }),
2628
2616
  ...(input.ImportAssetsFromRedshiftDataShares != null && {
2629
- ImportAssetsFromRedshiftDataShares: serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails(input.ImportAssetsFromRedshiftDataShares, context),
2617
+ ImportAssetsFromRedshiftDataShares: se_ImportAssetsFromRedshiftDataSharesRequestDetails(input.ImportAssetsFromRedshiftDataShares, context),
2630
2618
  }),
2631
2619
  ...(input.ImportAssetsFromS3 != null && {
2632
- ImportAssetsFromS3: serializeAws_restJson1ImportAssetsFromS3RequestDetails(input.ImportAssetsFromS3, context),
2620
+ ImportAssetsFromS3: se_ImportAssetsFromS3RequestDetails(input.ImportAssetsFromS3, context),
2633
2621
  }),
2634
2622
  };
2635
2623
  };
2636
- const serializeAws_restJson1RevisionDestinationEntry = (input, context) => {
2624
+ const se_RevisionDestinationEntry = (input, context) => {
2637
2625
  return {
2638
2626
  ...(input.Bucket != null && { Bucket: input.Bucket }),
2639
2627
  ...(input.KeyPattern != null && { KeyPattern: input.KeyPattern }),
2640
2628
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2641
2629
  };
2642
2630
  };
2643
- const serializeAws_restJson1RevisionPublished = (input, context) => {
2631
+ const se_RevisionPublished = (input, context) => {
2644
2632
  return {
2645
2633
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2646
2634
  };
2647
2635
  };
2648
- const serializeAws_restJson1S3DataAccessAssetSourceEntry = (input, context) => {
2636
+ const se_S3DataAccessAssetSourceEntry = (input, context) => {
2649
2637
  return {
2650
2638
  ...(input.Bucket != null && { Bucket: input.Bucket }),
2651
- ...(input.KeyPrefixes != null && { KeyPrefixes: serializeAws_restJson1ListOf__string(input.KeyPrefixes, context) }),
2652
- ...(input.Keys != null && { Keys: serializeAws_restJson1ListOf__string(input.Keys, context) }),
2653
- ...(input.KmsKeysToGrant != null && {
2654
- KmsKeysToGrant: serializeAws_restJson1ListOfKmsKeysToGrant(input.KmsKeysToGrant, context),
2655
- }),
2639
+ ...(input.KeyPrefixes != null && { KeyPrefixes: se_ListOf__string(input.KeyPrefixes, context) }),
2640
+ ...(input.Keys != null && { Keys: se_ListOf__string(input.Keys, context) }),
2641
+ ...(input.KmsKeysToGrant != null && { KmsKeysToGrant: se_ListOfKmsKeysToGrant(input.KmsKeysToGrant, context) }),
2656
2642
  };
2657
2643
  };
2658
- const serializeAws_restJson1TableLFTagPolicyAndPermissions = (input, context) => {
2644
+ const se_TableLFTagPolicyAndPermissions = (input, context) => {
2659
2645
  return {
2660
- ...(input.Expression != null && { Expression: serializeAws_restJson1ListOfLFTags(input.Expression, context) }),
2661
- ...(input.Permissions != null && {
2662
- Permissions: serializeAws_restJson1ListOfTableTagPolicyLFPermissions(input.Permissions, context),
2663
- }),
2646
+ ...(input.Expression != null && { Expression: se_ListOfLFTags(input.Expression, context) }),
2647
+ ...(input.Permissions != null && { Permissions: se_ListOfTableTagPolicyLFPermissions(input.Permissions, context) }),
2664
2648
  };
2665
2649
  };
2666
- const deserializeAws_restJson1Action = (output, context) => {
2650
+ const de_Action = (output, context) => {
2667
2651
  return {
2668
2652
  ExportRevisionToS3: output.ExportRevisionToS3 != null
2669
- ? deserializeAws_restJson1AutoExportRevisionToS3RequestDetails(output.ExportRevisionToS3, context)
2653
+ ? de_AutoExportRevisionToS3RequestDetails(output.ExportRevisionToS3, context)
2670
2654
  : undefined,
2671
2655
  };
2672
2656
  };
2673
- const deserializeAws_restJson1ApiGatewayApiAsset = (output, context) => {
2657
+ const de_ApiGatewayApiAsset = (output, context) => {
2674
2658
  return {
2675
2659
  ApiDescription: (0, smithy_client_1.expectString)(output.ApiDescription),
2676
2660
  ApiEndpoint: (0, smithy_client_1.expectString)(output.ApiEndpoint),
@@ -2685,36 +2669,30 @@ const deserializeAws_restJson1ApiGatewayApiAsset = (output, context) => {
2685
2669
  Stage: (0, smithy_client_1.expectString)(output.Stage),
2686
2670
  };
2687
2671
  };
2688
- const deserializeAws_restJson1AssetDestinationEntry = (output, context) => {
2672
+ const de_AssetDestinationEntry = (output, context) => {
2689
2673
  return {
2690
2674
  AssetId: (0, smithy_client_1.expectString)(output.AssetId),
2691
2675
  Bucket: (0, smithy_client_1.expectString)(output.Bucket),
2692
2676
  Key: (0, smithy_client_1.expectString)(output.Key),
2693
2677
  };
2694
2678
  };
2695
- const deserializeAws_restJson1AssetDetails = (output, context) => {
2679
+ const de_AssetDetails = (output, context) => {
2696
2680
  return {
2697
- ApiGatewayApiAsset: output.ApiGatewayApiAsset != null
2698
- ? deserializeAws_restJson1ApiGatewayApiAsset(output.ApiGatewayApiAsset, context)
2699
- : undefined,
2681
+ ApiGatewayApiAsset: output.ApiGatewayApiAsset != null ? de_ApiGatewayApiAsset(output.ApiGatewayApiAsset, context) : undefined,
2700
2682
  LakeFormationDataPermissionAsset: output.LakeFormationDataPermissionAsset != null
2701
- ? deserializeAws_restJson1LakeFormationDataPermissionAsset(output.LakeFormationDataPermissionAsset, context)
2683
+ ? de_LakeFormationDataPermissionAsset(output.LakeFormationDataPermissionAsset, context)
2702
2684
  : undefined,
2703
2685
  RedshiftDataShareAsset: output.RedshiftDataShareAsset != null
2704
- ? deserializeAws_restJson1RedshiftDataShareAsset(output.RedshiftDataShareAsset, context)
2705
- : undefined,
2706
- S3DataAccessAsset: output.S3DataAccessAsset != null
2707
- ? deserializeAws_restJson1S3DataAccessAsset(output.S3DataAccessAsset, context)
2708
- : undefined,
2709
- S3SnapshotAsset: output.S3SnapshotAsset != null
2710
- ? deserializeAws_restJson1S3SnapshotAsset(output.S3SnapshotAsset, context)
2686
+ ? de_RedshiftDataShareAsset(output.RedshiftDataShareAsset, context)
2711
2687
  : undefined,
2688
+ S3DataAccessAsset: output.S3DataAccessAsset != null ? de_S3DataAccessAsset(output.S3DataAccessAsset, context) : undefined,
2689
+ S3SnapshotAsset: output.S3SnapshotAsset != null ? de_S3SnapshotAsset(output.S3SnapshotAsset, context) : undefined,
2712
2690
  };
2713
2691
  };
2714
- const deserializeAws_restJson1AssetEntry = (output, context) => {
2692
+ const de_AssetEntry = (output, context) => {
2715
2693
  return {
2716
2694
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2717
- AssetDetails: output.AssetDetails != null ? deserializeAws_restJson1AssetDetails(output.AssetDetails, context) : undefined,
2695
+ AssetDetails: output.AssetDetails != null ? de_AssetDetails(output.AssetDetails, context) : undefined,
2718
2696
  AssetType: (0, smithy_client_1.expectString)(output.AssetType),
2719
2697
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
2720
2698
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
@@ -2725,51 +2703,45 @@ const deserializeAws_restJson1AssetEntry = (output, context) => {
2725
2703
  UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
2726
2704
  };
2727
2705
  };
2728
- const deserializeAws_restJson1AssetSourceEntry = (output, context) => {
2706
+ const de_AssetSourceEntry = (output, context) => {
2729
2707
  return {
2730
2708
  Bucket: (0, smithy_client_1.expectString)(output.Bucket),
2731
2709
  Key: (0, smithy_client_1.expectString)(output.Key),
2732
2710
  };
2733
2711
  };
2734
- const deserializeAws_restJson1AutoExportRevisionDestinationEntry = (output, context) => {
2712
+ const de_AutoExportRevisionDestinationEntry = (output, context) => {
2735
2713
  return {
2736
2714
  Bucket: (0, smithy_client_1.expectString)(output.Bucket),
2737
2715
  KeyPattern: (0, smithy_client_1.expectString)(output.KeyPattern),
2738
2716
  };
2739
2717
  };
2740
- const deserializeAws_restJson1AutoExportRevisionToS3RequestDetails = (output, context) => {
2718
+ const de_AutoExportRevisionToS3RequestDetails = (output, context) => {
2741
2719
  return {
2742
- Encryption: output.Encryption != null
2743
- ? deserializeAws_restJson1ExportServerSideEncryption(output.Encryption, context)
2744
- : undefined,
2720
+ Encryption: output.Encryption != null ? de_ExportServerSideEncryption(output.Encryption, context) : undefined,
2745
2721
  RevisionDestination: output.RevisionDestination != null
2746
- ? deserializeAws_restJson1AutoExportRevisionDestinationEntry(output.RevisionDestination, context)
2722
+ ? de_AutoExportRevisionDestinationEntry(output.RevisionDestination, context)
2747
2723
  : undefined,
2748
2724
  };
2749
2725
  };
2750
- const deserializeAws_restJson1CreateS3DataAccessFromS3BucketResponseDetails = (output, context) => {
2726
+ const de_CreateS3DataAccessFromS3BucketResponseDetails = (output, context) => {
2751
2727
  return {
2752
- AssetSource: output.AssetSource != null
2753
- ? deserializeAws_restJson1S3DataAccessAssetSourceEntry(output.AssetSource, context)
2754
- : undefined,
2728
+ AssetSource: output.AssetSource != null ? de_S3DataAccessAssetSourceEntry(output.AssetSource, context) : undefined,
2755
2729
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2756
2730
  RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
2757
2731
  };
2758
2732
  };
2759
- const deserializeAws_restJson1DatabaseLFTagPolicy = (output, context) => {
2733
+ const de_DatabaseLFTagPolicy = (output, context) => {
2760
2734
  return {
2761
- Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
2735
+ Expression: output.Expression != null ? de_ListOfLFTags(output.Expression, context) : undefined,
2762
2736
  };
2763
2737
  };
2764
- const deserializeAws_restJson1DatabaseLFTagPolicyAndPermissions = (output, context) => {
2738
+ const de_DatabaseLFTagPolicyAndPermissions = (output, context) => {
2765
2739
  return {
2766
- Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
2767
- Permissions: output.Permissions != null
2768
- ? deserializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions(output.Permissions, context)
2769
- : undefined,
2740
+ Expression: output.Expression != null ? de_ListOfLFTags(output.Expression, context) : undefined,
2741
+ Permissions: output.Permissions != null ? de_ListOfDatabaseLFTagPolicyPermissions(output.Permissions, context) : undefined,
2770
2742
  };
2771
2743
  };
2772
- const deserializeAws_restJson1DataSetEntry = (output, context) => {
2744
+ const de_DataSetEntry = (output, context) => {
2773
2745
  return {
2774
2746
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2775
2747
  AssetType: (0, smithy_client_1.expectString)(output.AssetType),
@@ -2778,51 +2750,45 @@ const deserializeAws_restJson1DataSetEntry = (output, context) => {
2778
2750
  Id: (0, smithy_client_1.expectString)(output.Id),
2779
2751
  Name: (0, smithy_client_1.expectString)(output.Name),
2780
2752
  Origin: (0, smithy_client_1.expectString)(output.Origin),
2781
- OriginDetails: output.OriginDetails != null ? deserializeAws_restJson1OriginDetails(output.OriginDetails, context) : undefined,
2753
+ OriginDetails: output.OriginDetails != null ? de_OriginDetails(output.OriginDetails, context) : undefined,
2782
2754
  SourceId: (0, smithy_client_1.expectString)(output.SourceId),
2783
2755
  UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
2784
2756
  };
2785
2757
  };
2786
- const deserializeAws_restJson1Details = (output, context) => {
2758
+ const de_Details = (output, context) => {
2787
2759
  return {
2788
2760
  ImportAssetFromSignedUrlJobErrorDetails: output.ImportAssetFromSignedUrlJobErrorDetails != null
2789
- ? deserializeAws_restJson1ImportAssetFromSignedUrlJobErrorDetails(output.ImportAssetFromSignedUrlJobErrorDetails, context)
2761
+ ? de_ImportAssetFromSignedUrlJobErrorDetails(output.ImportAssetFromSignedUrlJobErrorDetails, context)
2790
2762
  : undefined,
2791
2763
  ImportAssetsFromS3JobErrorDetails: output.ImportAssetsFromS3JobErrorDetails != null
2792
- ? deserializeAws_restJson1ListOfAssetSourceEntry(output.ImportAssetsFromS3JobErrorDetails, context)
2764
+ ? de_ListOfAssetSourceEntry(output.ImportAssetsFromS3JobErrorDetails, context)
2793
2765
  : undefined,
2794
2766
  };
2795
2767
  };
2796
- const deserializeAws_restJson1Event = (output, context) => {
2768
+ const de_Event = (output, context) => {
2797
2769
  return {
2798
- RevisionPublished: output.RevisionPublished != null
2799
- ? deserializeAws_restJson1RevisionPublished(output.RevisionPublished, context)
2800
- : undefined,
2770
+ RevisionPublished: output.RevisionPublished != null ? de_RevisionPublished(output.RevisionPublished, context) : undefined,
2801
2771
  };
2802
2772
  };
2803
- const deserializeAws_restJson1EventActionEntry = (output, context) => {
2773
+ const de_EventActionEntry = (output, context) => {
2804
2774
  return {
2805
- Action: output.Action != null ? deserializeAws_restJson1Action(output.Action, context) : undefined,
2775
+ Action: output.Action != null ? de_Action(output.Action, context) : undefined,
2806
2776
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2807
2777
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
2808
- Event: output.Event != null ? deserializeAws_restJson1Event(output.Event, context) : undefined,
2778
+ Event: output.Event != null ? de_Event(output.Event, context) : undefined,
2809
2779
  Id: (0, smithy_client_1.expectString)(output.Id),
2810
2780
  UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
2811
2781
  };
2812
2782
  };
2813
- const deserializeAws_restJson1ExportAssetsToS3ResponseDetails = (output, context) => {
2783
+ const de_ExportAssetsToS3ResponseDetails = (output, context) => {
2814
2784
  return {
2815
- AssetDestinations: output.AssetDestinations != null
2816
- ? deserializeAws_restJson1ListOfAssetDestinationEntry(output.AssetDestinations, context)
2817
- : undefined,
2785
+ AssetDestinations: output.AssetDestinations != null ? de_ListOfAssetDestinationEntry(output.AssetDestinations, context) : undefined,
2818
2786
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2819
- Encryption: output.Encryption != null
2820
- ? deserializeAws_restJson1ExportServerSideEncryption(output.Encryption, context)
2821
- : undefined,
2787
+ Encryption: output.Encryption != null ? de_ExportServerSideEncryption(output.Encryption, context) : undefined,
2822
2788
  RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
2823
2789
  };
2824
2790
  };
2825
- const deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails = (output, context) => {
2791
+ const de_ExportAssetToSignedUrlResponseDetails = (output, context) => {
2826
2792
  return {
2827
2793
  AssetId: (0, smithy_client_1.expectString)(output.AssetId),
2828
2794
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
@@ -2833,25 +2799,23 @@ const deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails = (output, c
2833
2799
  : undefined,
2834
2800
  };
2835
2801
  };
2836
- const deserializeAws_restJson1ExportRevisionsToS3ResponseDetails = (output, context) => {
2802
+ const de_ExportRevisionsToS3ResponseDetails = (output, context) => {
2837
2803
  return {
2838
2804
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2839
- Encryption: output.Encryption != null
2840
- ? deserializeAws_restJson1ExportServerSideEncryption(output.Encryption, context)
2841
- : undefined,
2805
+ Encryption: output.Encryption != null ? de_ExportServerSideEncryption(output.Encryption, context) : undefined,
2842
2806
  EventActionArn: (0, smithy_client_1.expectString)(output.EventActionArn),
2843
2807
  RevisionDestinations: output.RevisionDestinations != null
2844
- ? deserializeAws_restJson1ListOfRevisionDestinationEntry(output.RevisionDestinations, context)
2808
+ ? de_ListOfRevisionDestinationEntry(output.RevisionDestinations, context)
2845
2809
  : undefined,
2846
2810
  };
2847
2811
  };
2848
- const deserializeAws_restJson1ExportServerSideEncryption = (output, context) => {
2812
+ const de_ExportServerSideEncryption = (output, context) => {
2849
2813
  return {
2850
2814
  KmsKeyArn: (0, smithy_client_1.expectString)(output.KmsKeyArn),
2851
2815
  Type: (0, smithy_client_1.expectString)(output.Type),
2852
2816
  };
2853
2817
  };
2854
- const deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails = (output, context) => {
2818
+ const de_ImportAssetFromApiGatewayApiResponseDetails = (output, context) => {
2855
2819
  return {
2856
2820
  ApiDescription: (0, smithy_client_1.expectString)(output.ApiDescription),
2857
2821
  ApiId: (0, smithy_client_1.expectString)(output.ApiId),
@@ -2868,12 +2832,12 @@ const deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails = (out
2868
2832
  Stage: (0, smithy_client_1.expectString)(output.Stage),
2869
2833
  };
2870
2834
  };
2871
- const deserializeAws_restJson1ImportAssetFromSignedUrlJobErrorDetails = (output, context) => {
2835
+ const de_ImportAssetFromSignedUrlJobErrorDetails = (output, context) => {
2872
2836
  return {
2873
2837
  AssetName: (0, smithy_client_1.expectString)(output.AssetName),
2874
2838
  };
2875
2839
  };
2876
- const deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = (output, context) => {
2840
+ const de_ImportAssetFromSignedUrlResponseDetails = (output, context) => {
2877
2841
  return {
2878
2842
  AssetName: (0, smithy_client_1.expectString)(output.AssetName),
2879
2843
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
@@ -2885,52 +2849,48 @@ const deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = (output,
2885
2849
  : undefined,
2886
2850
  };
2887
2851
  };
2888
- const deserializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyResponseDetails = (output, context) => {
2852
+ const de_ImportAssetsFromLakeFormationTagPolicyResponseDetails = (output, context) => {
2889
2853
  return {
2890
2854
  CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
2891
2855
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2892
- Database: output.Database != null
2893
- ? deserializeAws_restJson1DatabaseLFTagPolicyAndPermissions(output.Database, context)
2894
- : undefined,
2856
+ Database: output.Database != null ? de_DatabaseLFTagPolicyAndPermissions(output.Database, context) : undefined,
2895
2857
  RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
2896
2858
  RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
2897
- Table: output.Table != null ? deserializeAws_restJson1TableLFTagPolicyAndPermissions(output.Table, context) : undefined,
2859
+ Table: output.Table != null ? de_TableLFTagPolicyAndPermissions(output.Table, context) : undefined,
2898
2860
  };
2899
2861
  };
2900
- const deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails = (output, context) => {
2862
+ const de_ImportAssetsFromRedshiftDataSharesResponseDetails = (output, context) => {
2901
2863
  return {
2902
2864
  AssetSources: output.AssetSources != null
2903
- ? deserializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry(output.AssetSources, context)
2865
+ ? de_ListOfRedshiftDataShareAssetSourceEntry(output.AssetSources, context)
2904
2866
  : undefined,
2905
2867
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2906
2868
  RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
2907
2869
  };
2908
2870
  };
2909
- const deserializeAws_restJson1ImportAssetsFromS3ResponseDetails = (output, context) => {
2871
+ const de_ImportAssetsFromS3ResponseDetails = (output, context) => {
2910
2872
  return {
2911
- AssetSources: output.AssetSources != null
2912
- ? deserializeAws_restJson1ListOfAssetSourceEntry(output.AssetSources, context)
2913
- : undefined,
2873
+ AssetSources: output.AssetSources != null ? de_ListOfAssetSourceEntry(output.AssetSources, context) : undefined,
2914
2874
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2915
2875
  RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
2916
2876
  };
2917
2877
  };
2918
- const deserializeAws_restJson1JobEntry = (output, context) => {
2878
+ const de_JobEntry = (output, context) => {
2919
2879
  return {
2920
2880
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2921
2881
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedAt)) : undefined,
2922
- Details: output.Details != null ? deserializeAws_restJson1ResponseDetails(output.Details, context) : undefined,
2923
- Errors: output.Errors != null ? deserializeAws_restJson1ListOfJobError(output.Errors, context) : undefined,
2882
+ Details: output.Details != null ? de_ResponseDetails(output.Details, context) : undefined,
2883
+ Errors: output.Errors != null ? de_ListOfJobError(output.Errors, context) : undefined,
2924
2884
  Id: (0, smithy_client_1.expectString)(output.Id),
2925
2885
  State: (0, smithy_client_1.expectString)(output.State),
2926
2886
  Type: (0, smithy_client_1.expectString)(output.Type),
2927
2887
  UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
2928
2888
  };
2929
2889
  };
2930
- const deserializeAws_restJson1JobError = (output, context) => {
2890
+ const de_JobError = (output, context) => {
2931
2891
  return {
2932
2892
  Code: (0, smithy_client_1.expectString)(output.Code),
2933
- Details: output.Details != null ? deserializeAws_restJson1Details(output.Details, context) : undefined,
2893
+ Details: output.Details != null ? de_Details(output.Details, context) : undefined,
2934
2894
  LimitName: (0, smithy_client_1.expectString)(output.LimitName),
2935
2895
  LimitValue: (0, smithy_client_1.limitedParseDouble)(output.LimitValue),
2936
2896
  Message: (0, smithy_client_1.expectString)(output.Message),
@@ -2938,48 +2898,46 @@ const deserializeAws_restJson1JobError = (output, context) => {
2938
2898
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2939
2899
  };
2940
2900
  };
2941
- const deserializeAws_restJson1KmsKeyToGrant = (output, context) => {
2901
+ const de_KmsKeyToGrant = (output, context) => {
2942
2902
  return {
2943
2903
  KmsKeyArn: (0, smithy_client_1.expectString)(output.KmsKeyArn),
2944
2904
  };
2945
2905
  };
2946
- const deserializeAws_restJson1LakeFormationDataPermissionAsset = (output, context) => {
2906
+ const de_LakeFormationDataPermissionAsset = (output, context) => {
2947
2907
  return {
2948
2908
  LakeFormationDataPermissionDetails: output.LakeFormationDataPermissionDetails != null
2949
- ? deserializeAws_restJson1LakeFormationDataPermissionDetails(output.LakeFormationDataPermissionDetails, context)
2909
+ ? de_LakeFormationDataPermissionDetails(output.LakeFormationDataPermissionDetails, context)
2950
2910
  : undefined,
2951
2911
  LakeFormationDataPermissionType: (0, smithy_client_1.expectString)(output.LakeFormationDataPermissionType),
2952
- Permissions: output.Permissions != null ? deserializeAws_restJson1ListOfLFPermissions(output.Permissions, context) : undefined,
2912
+ Permissions: output.Permissions != null ? de_ListOfLFPermissions(output.Permissions, context) : undefined,
2953
2913
  RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
2954
2914
  };
2955
2915
  };
2956
- const deserializeAws_restJson1LakeFormationDataPermissionDetails = (output, context) => {
2916
+ const de_LakeFormationDataPermissionDetails = (output, context) => {
2957
2917
  return {
2958
- LFTagPolicy: output.LFTagPolicy != null ? deserializeAws_restJson1LFTagPolicyDetails(output.LFTagPolicy, context) : undefined,
2918
+ LFTagPolicy: output.LFTagPolicy != null ? de_LFTagPolicyDetails(output.LFTagPolicy, context) : undefined,
2959
2919
  };
2960
2920
  };
2961
- const deserializeAws_restJson1LFResourceDetails = (output, context) => {
2921
+ const de_LFResourceDetails = (output, context) => {
2962
2922
  return {
2963
- Database: output.Database != null ? deserializeAws_restJson1DatabaseLFTagPolicy(output.Database, context) : undefined,
2964
- Table: output.Table != null ? deserializeAws_restJson1TableLFTagPolicy(output.Table, context) : undefined,
2923
+ Database: output.Database != null ? de_DatabaseLFTagPolicy(output.Database, context) : undefined,
2924
+ Table: output.Table != null ? de_TableLFTagPolicy(output.Table, context) : undefined,
2965
2925
  };
2966
2926
  };
2967
- const deserializeAws_restJson1LFTag = (output, context) => {
2927
+ const de_LFTag = (output, context) => {
2968
2928
  return {
2969
2929
  TagKey: (0, smithy_client_1.expectString)(output.TagKey),
2970
- TagValues: output.TagValues != null ? deserializeAws_restJson1ListOfLFTagValues(output.TagValues, context) : undefined,
2930
+ TagValues: output.TagValues != null ? de_ListOfLFTagValues(output.TagValues, context) : undefined,
2971
2931
  };
2972
2932
  };
2973
- const deserializeAws_restJson1LFTagPolicyDetails = (output, context) => {
2933
+ const de_LFTagPolicyDetails = (output, context) => {
2974
2934
  return {
2975
2935
  CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
2976
- ResourceDetails: output.ResourceDetails != null
2977
- ? deserializeAws_restJson1LFResourceDetails(output.ResourceDetails, context)
2978
- : undefined,
2936
+ ResourceDetails: output.ResourceDetails != null ? de_LFResourceDetails(output.ResourceDetails, context) : undefined,
2979
2937
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2980
2938
  };
2981
2939
  };
2982
- const deserializeAws_restJson1ListOf__string = (output, context) => {
2940
+ const de_ListOf__string = (output, context) => {
2983
2941
  const retVal = (output || [])
2984
2942
  .filter((e) => e != null)
2985
2943
  .map((entry) => {
@@ -2990,40 +2948,40 @@ const deserializeAws_restJson1ListOf__string = (output, context) => {
2990
2948
  });
2991
2949
  return retVal;
2992
2950
  };
2993
- const deserializeAws_restJson1ListOfAssetDestinationEntry = (output, context) => {
2951
+ const de_ListOfAssetDestinationEntry = (output, context) => {
2994
2952
  const retVal = (output || [])
2995
2953
  .filter((e) => e != null)
2996
2954
  .map((entry) => {
2997
2955
  if (entry === null) {
2998
2956
  return null;
2999
2957
  }
3000
- return deserializeAws_restJson1AssetDestinationEntry(entry, context);
2958
+ return de_AssetDestinationEntry(entry, context);
3001
2959
  });
3002
2960
  return retVal;
3003
2961
  };
3004
- const deserializeAws_restJson1ListOfAssetEntry = (output, context) => {
2962
+ const de_ListOfAssetEntry = (output, context) => {
3005
2963
  const retVal = (output || [])
3006
2964
  .filter((e) => e != null)
3007
2965
  .map((entry) => {
3008
2966
  if (entry === null) {
3009
2967
  return null;
3010
2968
  }
3011
- return deserializeAws_restJson1AssetEntry(entry, context);
2969
+ return de_AssetEntry(entry, context);
3012
2970
  });
3013
2971
  return retVal;
3014
2972
  };
3015
- const deserializeAws_restJson1ListOfAssetSourceEntry = (output, context) => {
2973
+ const de_ListOfAssetSourceEntry = (output, context) => {
3016
2974
  const retVal = (output || [])
3017
2975
  .filter((e) => e != null)
3018
2976
  .map((entry) => {
3019
2977
  if (entry === null) {
3020
2978
  return null;
3021
2979
  }
3022
- return deserializeAws_restJson1AssetSourceEntry(entry, context);
2980
+ return de_AssetSourceEntry(entry, context);
3023
2981
  });
3024
2982
  return retVal;
3025
2983
  };
3026
- const deserializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions = (output, context) => {
2984
+ const de_ListOfDatabaseLFTagPolicyPermissions = (output, context) => {
3027
2985
  const retVal = (output || [])
3028
2986
  .filter((e) => e != null)
3029
2987
  .map((entry) => {
@@ -3034,62 +2992,62 @@ const deserializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions = (output, co
3034
2992
  });
3035
2993
  return retVal;
3036
2994
  };
3037
- const deserializeAws_restJson1ListOfDataSetEntry = (output, context) => {
2995
+ const de_ListOfDataSetEntry = (output, context) => {
3038
2996
  const retVal = (output || [])
3039
2997
  .filter((e) => e != null)
3040
2998
  .map((entry) => {
3041
2999
  if (entry === null) {
3042
3000
  return null;
3043
3001
  }
3044
- return deserializeAws_restJson1DataSetEntry(entry, context);
3002
+ return de_DataSetEntry(entry, context);
3045
3003
  });
3046
3004
  return retVal;
3047
3005
  };
3048
- const deserializeAws_restJson1ListOfEventActionEntry = (output, context) => {
3006
+ const de_ListOfEventActionEntry = (output, context) => {
3049
3007
  const retVal = (output || [])
3050
3008
  .filter((e) => e != null)
3051
3009
  .map((entry) => {
3052
3010
  if (entry === null) {
3053
3011
  return null;
3054
3012
  }
3055
- return deserializeAws_restJson1EventActionEntry(entry, context);
3013
+ return de_EventActionEntry(entry, context);
3056
3014
  });
3057
3015
  return retVal;
3058
3016
  };
3059
- const deserializeAws_restJson1ListOfJobEntry = (output, context) => {
3017
+ const de_ListOfJobEntry = (output, context) => {
3060
3018
  const retVal = (output || [])
3061
3019
  .filter((e) => e != null)
3062
3020
  .map((entry) => {
3063
3021
  if (entry === null) {
3064
3022
  return null;
3065
3023
  }
3066
- return deserializeAws_restJson1JobEntry(entry, context);
3024
+ return de_JobEntry(entry, context);
3067
3025
  });
3068
3026
  return retVal;
3069
3027
  };
3070
- const deserializeAws_restJson1ListOfJobError = (output, context) => {
3028
+ const de_ListOfJobError = (output, context) => {
3071
3029
  const retVal = (output || [])
3072
3030
  .filter((e) => e != null)
3073
3031
  .map((entry) => {
3074
3032
  if (entry === null) {
3075
3033
  return null;
3076
3034
  }
3077
- return deserializeAws_restJson1JobError(entry, context);
3035
+ return de_JobError(entry, context);
3078
3036
  });
3079
3037
  return retVal;
3080
3038
  };
3081
- const deserializeAws_restJson1ListOfKmsKeysToGrant = (output, context) => {
3039
+ const de_ListOfKmsKeysToGrant = (output, context) => {
3082
3040
  const retVal = (output || [])
3083
3041
  .filter((e) => e != null)
3084
3042
  .map((entry) => {
3085
3043
  if (entry === null) {
3086
3044
  return null;
3087
3045
  }
3088
- return deserializeAws_restJson1KmsKeyToGrant(entry, context);
3046
+ return de_KmsKeyToGrant(entry, context);
3089
3047
  });
3090
3048
  return retVal;
3091
3049
  };
3092
- const deserializeAws_restJson1ListOfLFPermissions = (output, context) => {
3050
+ const de_ListOfLFPermissions = (output, context) => {
3093
3051
  const retVal = (output || [])
3094
3052
  .filter((e) => e != null)
3095
3053
  .map((entry) => {
@@ -3100,18 +3058,18 @@ const deserializeAws_restJson1ListOfLFPermissions = (output, context) => {
3100
3058
  });
3101
3059
  return retVal;
3102
3060
  };
3103
- const deserializeAws_restJson1ListOfLFTags = (output, context) => {
3061
+ const de_ListOfLFTags = (output, context) => {
3104
3062
  const retVal = (output || [])
3105
3063
  .filter((e) => e != null)
3106
3064
  .map((entry) => {
3107
3065
  if (entry === null) {
3108
3066
  return null;
3109
3067
  }
3110
- return deserializeAws_restJson1LFTag(entry, context);
3068
+ return de_LFTag(entry, context);
3111
3069
  });
3112
3070
  return retVal;
3113
3071
  };
3114
- const deserializeAws_restJson1ListOfLFTagValues = (output, context) => {
3072
+ const de_ListOfLFTagValues = (output, context) => {
3115
3073
  const retVal = (output || [])
3116
3074
  .filter((e) => e != null)
3117
3075
  .map((entry) => {
@@ -3122,40 +3080,40 @@ const deserializeAws_restJson1ListOfLFTagValues = (output, context) => {
3122
3080
  });
3123
3081
  return retVal;
3124
3082
  };
3125
- const deserializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (output, context) => {
3083
+ const de_ListOfRedshiftDataShareAssetSourceEntry = (output, context) => {
3126
3084
  const retVal = (output || [])
3127
3085
  .filter((e) => e != null)
3128
3086
  .map((entry) => {
3129
3087
  if (entry === null) {
3130
3088
  return null;
3131
3089
  }
3132
- return deserializeAws_restJson1RedshiftDataShareAssetSourceEntry(entry, context);
3090
+ return de_RedshiftDataShareAssetSourceEntry(entry, context);
3133
3091
  });
3134
3092
  return retVal;
3135
3093
  };
3136
- const deserializeAws_restJson1ListOfRevisionDestinationEntry = (output, context) => {
3094
+ const de_ListOfRevisionDestinationEntry = (output, context) => {
3137
3095
  const retVal = (output || [])
3138
3096
  .filter((e) => e != null)
3139
3097
  .map((entry) => {
3140
3098
  if (entry === null) {
3141
3099
  return null;
3142
3100
  }
3143
- return deserializeAws_restJson1RevisionDestinationEntry(entry, context);
3101
+ return de_RevisionDestinationEntry(entry, context);
3144
3102
  });
3145
3103
  return retVal;
3146
3104
  };
3147
- const deserializeAws_restJson1ListOfRevisionEntry = (output, context) => {
3105
+ const de_ListOfRevisionEntry = (output, context) => {
3148
3106
  const retVal = (output || [])
3149
3107
  .filter((e) => e != null)
3150
3108
  .map((entry) => {
3151
3109
  if (entry === null) {
3152
3110
  return null;
3153
3111
  }
3154
- return deserializeAws_restJson1RevisionEntry(entry, context);
3112
+ return de_RevisionEntry(entry, context);
3155
3113
  });
3156
3114
  return retVal;
3157
3115
  };
3158
- const deserializeAws_restJson1ListOfTableTagPolicyLFPermissions = (output, context) => {
3116
+ const de_ListOfTableTagPolicyLFPermissions = (output, context) => {
3159
3117
  const retVal = (output || [])
3160
3118
  .filter((e) => e != null)
3161
3119
  .map((entry) => {
@@ -3166,7 +3124,7 @@ const deserializeAws_restJson1ListOfTableTagPolicyLFPermissions = (output, conte
3166
3124
  });
3167
3125
  return retVal;
3168
3126
  };
3169
- const deserializeAws_restJson1MapOf__string = (output, context) => {
3127
+ const de_MapOf__string = (output, context) => {
3170
3128
  return Object.entries(output).reduce((acc, [key, value]) => {
3171
3129
  if (value === null) {
3172
3130
  return acc;
@@ -3175,60 +3133,60 @@ const deserializeAws_restJson1MapOf__string = (output, context) => {
3175
3133
  return acc;
3176
3134
  }, {});
3177
3135
  };
3178
- const deserializeAws_restJson1OriginDetails = (output, context) => {
3136
+ const de_OriginDetails = (output, context) => {
3179
3137
  return {
3180
3138
  ProductId: (0, smithy_client_1.expectString)(output.ProductId),
3181
3139
  };
3182
3140
  };
3183
- const deserializeAws_restJson1RedshiftDataShareAsset = (output, context) => {
3141
+ const de_RedshiftDataShareAsset = (output, context) => {
3184
3142
  return {
3185
3143
  Arn: (0, smithy_client_1.expectString)(output.Arn),
3186
3144
  };
3187
3145
  };
3188
- const deserializeAws_restJson1RedshiftDataShareAssetSourceEntry = (output, context) => {
3146
+ const de_RedshiftDataShareAssetSourceEntry = (output, context) => {
3189
3147
  return {
3190
3148
  DataShareArn: (0, smithy_client_1.expectString)(output.DataShareArn),
3191
3149
  };
3192
3150
  };
3193
- const deserializeAws_restJson1ResponseDetails = (output, context) => {
3151
+ const de_ResponseDetails = (output, context) => {
3194
3152
  return {
3195
3153
  CreateS3DataAccessFromS3Bucket: output.CreateS3DataAccessFromS3Bucket != null
3196
- ? deserializeAws_restJson1CreateS3DataAccessFromS3BucketResponseDetails(output.CreateS3DataAccessFromS3Bucket, context)
3154
+ ? de_CreateS3DataAccessFromS3BucketResponseDetails(output.CreateS3DataAccessFromS3Bucket, context)
3197
3155
  : undefined,
3198
3156
  ExportAssetToSignedUrl: output.ExportAssetToSignedUrl != null
3199
- ? deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails(output.ExportAssetToSignedUrl, context)
3157
+ ? de_ExportAssetToSignedUrlResponseDetails(output.ExportAssetToSignedUrl, context)
3200
3158
  : undefined,
3201
3159
  ExportAssetsToS3: output.ExportAssetsToS3 != null
3202
- ? deserializeAws_restJson1ExportAssetsToS3ResponseDetails(output.ExportAssetsToS3, context)
3160
+ ? de_ExportAssetsToS3ResponseDetails(output.ExportAssetsToS3, context)
3203
3161
  : undefined,
3204
3162
  ExportRevisionsToS3: output.ExportRevisionsToS3 != null
3205
- ? deserializeAws_restJson1ExportRevisionsToS3ResponseDetails(output.ExportRevisionsToS3, context)
3163
+ ? de_ExportRevisionsToS3ResponseDetails(output.ExportRevisionsToS3, context)
3206
3164
  : undefined,
3207
3165
  ImportAssetFromApiGatewayApi: output.ImportAssetFromApiGatewayApi != null
3208
- ? deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails(output.ImportAssetFromApiGatewayApi, context)
3166
+ ? de_ImportAssetFromApiGatewayApiResponseDetails(output.ImportAssetFromApiGatewayApi, context)
3209
3167
  : undefined,
3210
3168
  ImportAssetFromSignedUrl: output.ImportAssetFromSignedUrl != null
3211
- ? deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails(output.ImportAssetFromSignedUrl, context)
3169
+ ? de_ImportAssetFromSignedUrlResponseDetails(output.ImportAssetFromSignedUrl, context)
3212
3170
  : undefined,
3213
3171
  ImportAssetsFromLakeFormationTagPolicy: output.ImportAssetsFromLakeFormationTagPolicy != null
3214
- ? deserializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyResponseDetails(output.ImportAssetsFromLakeFormationTagPolicy, context)
3172
+ ? de_ImportAssetsFromLakeFormationTagPolicyResponseDetails(output.ImportAssetsFromLakeFormationTagPolicy, context)
3215
3173
  : undefined,
3216
3174
  ImportAssetsFromRedshiftDataShares: output.ImportAssetsFromRedshiftDataShares != null
3217
- ? deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails(output.ImportAssetsFromRedshiftDataShares, context)
3175
+ ? de_ImportAssetsFromRedshiftDataSharesResponseDetails(output.ImportAssetsFromRedshiftDataShares, context)
3218
3176
  : undefined,
3219
3177
  ImportAssetsFromS3: output.ImportAssetsFromS3 != null
3220
- ? deserializeAws_restJson1ImportAssetsFromS3ResponseDetails(output.ImportAssetsFromS3, context)
3178
+ ? de_ImportAssetsFromS3ResponseDetails(output.ImportAssetsFromS3, context)
3221
3179
  : undefined,
3222
3180
  };
3223
3181
  };
3224
- const deserializeAws_restJson1RevisionDestinationEntry = (output, context) => {
3182
+ const de_RevisionDestinationEntry = (output, context) => {
3225
3183
  return {
3226
3184
  Bucket: (0, smithy_client_1.expectString)(output.Bucket),
3227
3185
  KeyPattern: (0, smithy_client_1.expectString)(output.KeyPattern),
3228
3186
  RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
3229
3187
  };
3230
3188
  };
3231
- const deserializeAws_restJson1RevisionEntry = (output, context) => {
3189
+ const de_RevisionEntry = (output, context) => {
3232
3190
  return {
3233
3191
  Arn: (0, smithy_client_1.expectString)(output.Arn),
3234
3192
  Comment: (0, smithy_client_1.expectString)(output.Comment),
@@ -3243,49 +3201,43 @@ const deserializeAws_restJson1RevisionEntry = (output, context) => {
3243
3201
  UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedAt)) : undefined,
3244
3202
  };
3245
3203
  };
3246
- const deserializeAws_restJson1RevisionPublished = (output, context) => {
3204
+ const de_RevisionPublished = (output, context) => {
3247
3205
  return {
3248
3206
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
3249
3207
  };
3250
3208
  };
3251
- const deserializeAws_restJson1S3DataAccessAsset = (output, context) => {
3209
+ const de_S3DataAccessAsset = (output, context) => {
3252
3210
  return {
3253
3211
  Bucket: (0, smithy_client_1.expectString)(output.Bucket),
3254
- KeyPrefixes: output.KeyPrefixes != null ? deserializeAws_restJson1ListOf__string(output.KeyPrefixes, context) : undefined,
3255
- Keys: output.Keys != null ? deserializeAws_restJson1ListOf__string(output.Keys, context) : undefined,
3256
- KmsKeysToGrant: output.KmsKeysToGrant != null
3257
- ? deserializeAws_restJson1ListOfKmsKeysToGrant(output.KmsKeysToGrant, context)
3258
- : undefined,
3212
+ KeyPrefixes: output.KeyPrefixes != null ? de_ListOf__string(output.KeyPrefixes, context) : undefined,
3213
+ Keys: output.Keys != null ? de_ListOf__string(output.Keys, context) : undefined,
3214
+ KmsKeysToGrant: output.KmsKeysToGrant != null ? de_ListOfKmsKeysToGrant(output.KmsKeysToGrant, context) : undefined,
3259
3215
  S3AccessPointAlias: (0, smithy_client_1.expectString)(output.S3AccessPointAlias),
3260
3216
  S3AccessPointArn: (0, smithy_client_1.expectString)(output.S3AccessPointArn),
3261
3217
  };
3262
3218
  };
3263
- const deserializeAws_restJson1S3DataAccessAssetSourceEntry = (output, context) => {
3219
+ const de_S3DataAccessAssetSourceEntry = (output, context) => {
3264
3220
  return {
3265
3221
  Bucket: (0, smithy_client_1.expectString)(output.Bucket),
3266
- KeyPrefixes: output.KeyPrefixes != null ? deserializeAws_restJson1ListOf__string(output.KeyPrefixes, context) : undefined,
3267
- Keys: output.Keys != null ? deserializeAws_restJson1ListOf__string(output.Keys, context) : undefined,
3268
- KmsKeysToGrant: output.KmsKeysToGrant != null
3269
- ? deserializeAws_restJson1ListOfKmsKeysToGrant(output.KmsKeysToGrant, context)
3270
- : undefined,
3222
+ KeyPrefixes: output.KeyPrefixes != null ? de_ListOf__string(output.KeyPrefixes, context) : undefined,
3223
+ Keys: output.Keys != null ? de_ListOf__string(output.Keys, context) : undefined,
3224
+ KmsKeysToGrant: output.KmsKeysToGrant != null ? de_ListOfKmsKeysToGrant(output.KmsKeysToGrant, context) : undefined,
3271
3225
  };
3272
3226
  };
3273
- const deserializeAws_restJson1S3SnapshotAsset = (output, context) => {
3227
+ const de_S3SnapshotAsset = (output, context) => {
3274
3228
  return {
3275
3229
  Size: (0, smithy_client_1.limitedParseDouble)(output.Size),
3276
3230
  };
3277
3231
  };
3278
- const deserializeAws_restJson1TableLFTagPolicy = (output, context) => {
3232
+ const de_TableLFTagPolicy = (output, context) => {
3279
3233
  return {
3280
- Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
3234
+ Expression: output.Expression != null ? de_ListOfLFTags(output.Expression, context) : undefined,
3281
3235
  };
3282
3236
  };
3283
- const deserializeAws_restJson1TableLFTagPolicyAndPermissions = (output, context) => {
3237
+ const de_TableLFTagPolicyAndPermissions = (output, context) => {
3284
3238
  return {
3285
- Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
3286
- Permissions: output.Permissions != null
3287
- ? deserializeAws_restJson1ListOfTableTagPolicyLFPermissions(output.Permissions, context)
3288
- : undefined,
3239
+ Expression: output.Expression != null ? de_ListOfLFTags(output.Expression, context) : undefined,
3240
+ Permissions: output.Permissions != null ? de_ListOfTableTagPolicyLFPermissions(output.Permissions, context) : undefined,
3289
3241
  };
3290
3242
  };
3291
3243
  const deserializeMetadata = (output) => ({