@aws-sdk/client-securitylake 3.306.0 → 3.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist-cjs/commands/CreateAwsLogSourceCommand.js +2 -2
  2. package/dist-cjs/commands/CreateCustomLogSourceCommand.js +2 -2
  3. package/dist-cjs/commands/CreateDatalakeAutoEnableCommand.js +2 -2
  4. package/dist-cjs/commands/CreateDatalakeCommand.js +2 -2
  5. package/dist-cjs/commands/CreateDatalakeDelegatedAdminCommand.js +2 -2
  6. package/dist-cjs/commands/CreateDatalakeExceptionsSubscriptionCommand.js +2 -2
  7. package/dist-cjs/commands/CreateSubscriberCommand.js +2 -2
  8. package/dist-cjs/commands/CreateSubscriptionNotificationConfigurationCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteAwsLogSourceCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteCustomLogSourceCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteDatalakeAutoEnableCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteDatalakeCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteDatalakeDelegatedAdminCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteDatalakeExceptionsSubscriptionCommand.js +2 -2
  15. package/dist-cjs/commands/DeleteSubscriberCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteSubscriptionNotificationConfigurationCommand.js +2 -2
  17. package/dist-cjs/commands/GetDatalakeAutoEnableCommand.js +2 -2
  18. package/dist-cjs/commands/GetDatalakeCommand.js +2 -2
  19. package/dist-cjs/commands/GetDatalakeExceptionsExpiryCommand.js +2 -2
  20. package/dist-cjs/commands/GetDatalakeExceptionsSubscriptionCommand.js +2 -2
  21. package/dist-cjs/commands/GetDatalakeStatusCommand.js +2 -2
  22. package/dist-cjs/commands/GetSubscriberCommand.js +2 -2
  23. package/dist-cjs/commands/ListDatalakeExceptionsCommand.js +2 -2
  24. package/dist-cjs/commands/ListLogSourcesCommand.js +2 -2
  25. package/dist-cjs/commands/ListSubscribersCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateDatalakeCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateDatalakeExceptionsExpiryCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateDatalakeExceptionsSubscriptionCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateSubscriberCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateSubscriptionNotificationConfigurationCommand.js +2 -2
  31. package/dist-cjs/protocols/Aws_restJson1.js +475 -481
  32. package/dist-es/commands/CreateAwsLogSourceCommand.js +3 -3
  33. package/dist-es/commands/CreateCustomLogSourceCommand.js +3 -3
  34. package/dist-es/commands/CreateDatalakeAutoEnableCommand.js +3 -3
  35. package/dist-es/commands/CreateDatalakeCommand.js +3 -3
  36. package/dist-es/commands/CreateDatalakeDelegatedAdminCommand.js +3 -3
  37. package/dist-es/commands/CreateDatalakeExceptionsSubscriptionCommand.js +3 -3
  38. package/dist-es/commands/CreateSubscriberCommand.js +3 -3
  39. package/dist-es/commands/CreateSubscriptionNotificationConfigurationCommand.js +3 -3
  40. package/dist-es/commands/DeleteAwsLogSourceCommand.js +3 -3
  41. package/dist-es/commands/DeleteCustomLogSourceCommand.js +3 -3
  42. package/dist-es/commands/DeleteDatalakeAutoEnableCommand.js +3 -3
  43. package/dist-es/commands/DeleteDatalakeCommand.js +3 -3
  44. package/dist-es/commands/DeleteDatalakeDelegatedAdminCommand.js +3 -3
  45. package/dist-es/commands/DeleteDatalakeExceptionsSubscriptionCommand.js +3 -3
  46. package/dist-es/commands/DeleteSubscriberCommand.js +3 -3
  47. package/dist-es/commands/DeleteSubscriptionNotificationConfigurationCommand.js +3 -3
  48. package/dist-es/commands/GetDatalakeAutoEnableCommand.js +3 -3
  49. package/dist-es/commands/GetDatalakeCommand.js +3 -3
  50. package/dist-es/commands/GetDatalakeExceptionsExpiryCommand.js +3 -3
  51. package/dist-es/commands/GetDatalakeExceptionsSubscriptionCommand.js +3 -3
  52. package/dist-es/commands/GetDatalakeStatusCommand.js +3 -3
  53. package/dist-es/commands/GetSubscriberCommand.js +3 -3
  54. package/dist-es/commands/ListDatalakeExceptionsCommand.js +3 -3
  55. package/dist-es/commands/ListLogSourcesCommand.js +3 -3
  56. package/dist-es/commands/ListSubscribersCommand.js +3 -3
  57. package/dist-es/commands/UpdateDatalakeCommand.js +3 -3
  58. package/dist-es/commands/UpdateDatalakeExceptionsExpiryCommand.js +3 -3
  59. package/dist-es/commands/UpdateDatalakeExceptionsSubscriptionCommand.js +3 -3
  60. package/dist-es/commands/UpdateSubscriberCommand.js +3 -3
  61. package/dist-es/commands/UpdateSubscriptionNotificationConfigurationCommand.js +3 -3
  62. package/dist-es/protocols/Aws_restJson1.js +413 -419
  63. package/dist-types/protocols/Aws_restJson1.d.ts +240 -60
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -60
  65. package/package.json +35 -35
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = exports.deserializeAws_restJson1GetDatalakeExceptionsExpiryCommand = exports.deserializeAws_restJson1GetDatalakeAutoEnableCommand = exports.deserializeAws_restJson1GetDatalakeCommand = exports.deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = exports.deserializeAws_restJson1DeleteSubscriberCommand = exports.deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = exports.deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = exports.deserializeAws_restJson1DeleteDatalakeAutoEnableCommand = exports.deserializeAws_restJson1DeleteDatalakeCommand = exports.deserializeAws_restJson1DeleteCustomLogSourceCommand = exports.deserializeAws_restJson1DeleteAwsLogSourceCommand = exports.deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = exports.deserializeAws_restJson1CreateSubscriberCommand = exports.deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = exports.deserializeAws_restJson1CreateDatalakeDelegatedAdminCommand = exports.deserializeAws_restJson1CreateDatalakeAutoEnableCommand = exports.deserializeAws_restJson1CreateDatalakeCommand = exports.deserializeAws_restJson1CreateCustomLogSourceCommand = exports.deserializeAws_restJson1CreateAwsLogSourceCommand = exports.serializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = exports.serializeAws_restJson1UpdateSubscriberCommand = exports.serializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = exports.serializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = exports.serializeAws_restJson1UpdateDatalakeCommand = exports.serializeAws_restJson1ListSubscribersCommand = exports.serializeAws_restJson1ListLogSourcesCommand = exports.serializeAws_restJson1ListDatalakeExceptionsCommand = exports.serializeAws_restJson1GetSubscriberCommand = exports.serializeAws_restJson1GetDatalakeStatusCommand = exports.serializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = exports.serializeAws_restJson1GetDatalakeExceptionsExpiryCommand = exports.serializeAws_restJson1GetDatalakeAutoEnableCommand = exports.serializeAws_restJson1GetDatalakeCommand = exports.serializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = exports.serializeAws_restJson1DeleteSubscriberCommand = exports.serializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = exports.serializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = exports.serializeAws_restJson1DeleteDatalakeAutoEnableCommand = exports.serializeAws_restJson1DeleteDatalakeCommand = exports.serializeAws_restJson1DeleteCustomLogSourceCommand = exports.serializeAws_restJson1DeleteAwsLogSourceCommand = exports.serializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = exports.serializeAws_restJson1CreateSubscriberCommand = exports.serializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = exports.serializeAws_restJson1CreateDatalakeDelegatedAdminCommand = exports.serializeAws_restJson1CreateDatalakeAutoEnableCommand = exports.serializeAws_restJson1CreateDatalakeCommand = exports.serializeAws_restJson1CreateCustomLogSourceCommand = exports.serializeAws_restJson1CreateAwsLogSourceCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = exports.deserializeAws_restJson1UpdateSubscriberCommand = exports.deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = exports.deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = exports.deserializeAws_restJson1UpdateDatalakeCommand = exports.deserializeAws_restJson1ListSubscribersCommand = exports.deserializeAws_restJson1ListLogSourcesCommand = exports.deserializeAws_restJson1ListDatalakeExceptionsCommand = exports.deserializeAws_restJson1GetSubscriberCommand = exports.deserializeAws_restJson1GetDatalakeStatusCommand = void 0;
3
+ exports.de_GetDatalakeExceptionsSubscriptionCommand = exports.de_GetDatalakeExceptionsExpiryCommand = exports.de_GetDatalakeAutoEnableCommand = exports.de_GetDatalakeCommand = exports.de_DeleteSubscriptionNotificationConfigurationCommand = exports.de_DeleteSubscriberCommand = exports.de_DeleteDatalakeExceptionsSubscriptionCommand = exports.de_DeleteDatalakeDelegatedAdminCommand = exports.de_DeleteDatalakeAutoEnableCommand = exports.de_DeleteDatalakeCommand = exports.de_DeleteCustomLogSourceCommand = exports.de_DeleteAwsLogSourceCommand = exports.de_CreateSubscriptionNotificationConfigurationCommand = exports.de_CreateSubscriberCommand = exports.de_CreateDatalakeExceptionsSubscriptionCommand = exports.de_CreateDatalakeDelegatedAdminCommand = exports.de_CreateDatalakeAutoEnableCommand = exports.de_CreateDatalakeCommand = exports.de_CreateCustomLogSourceCommand = exports.de_CreateAwsLogSourceCommand = exports.se_UpdateSubscriptionNotificationConfigurationCommand = exports.se_UpdateSubscriberCommand = exports.se_UpdateDatalakeExceptionsSubscriptionCommand = exports.se_UpdateDatalakeExceptionsExpiryCommand = exports.se_UpdateDatalakeCommand = exports.se_ListSubscribersCommand = exports.se_ListLogSourcesCommand = exports.se_ListDatalakeExceptionsCommand = exports.se_GetSubscriberCommand = exports.se_GetDatalakeStatusCommand = exports.se_GetDatalakeExceptionsSubscriptionCommand = exports.se_GetDatalakeExceptionsExpiryCommand = exports.se_GetDatalakeAutoEnableCommand = exports.se_GetDatalakeCommand = exports.se_DeleteSubscriptionNotificationConfigurationCommand = exports.se_DeleteSubscriberCommand = exports.se_DeleteDatalakeExceptionsSubscriptionCommand = exports.se_DeleteDatalakeDelegatedAdminCommand = exports.se_DeleteDatalakeAutoEnableCommand = exports.se_DeleteDatalakeCommand = exports.se_DeleteCustomLogSourceCommand = exports.se_DeleteAwsLogSourceCommand = exports.se_CreateSubscriptionNotificationConfigurationCommand = exports.se_CreateSubscriberCommand = exports.se_CreateDatalakeExceptionsSubscriptionCommand = exports.se_CreateDatalakeDelegatedAdminCommand = exports.se_CreateDatalakeAutoEnableCommand = exports.se_CreateDatalakeCommand = exports.se_CreateCustomLogSourceCommand = exports.se_CreateAwsLogSourceCommand = void 0;
4
+ exports.de_UpdateSubscriptionNotificationConfigurationCommand = exports.de_UpdateSubscriberCommand = exports.de_UpdateDatalakeExceptionsSubscriptionCommand = exports.de_UpdateDatalakeExceptionsExpiryCommand = exports.de_UpdateDatalakeCommand = exports.de_ListSubscribersCommand = exports.de_ListLogSourcesCommand = exports.de_ListDatalakeExceptionsCommand = exports.de_GetSubscriberCommand = exports.de_GetDatalakeStatusCommand = 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 models_0_1 = require("../models/models_0");
8
8
  const SecurityLakeServiceException_1 = require("../models/SecurityLakeServiceException");
9
- const serializeAws_restJson1CreateAwsLogSourceCommand = async (input, context) => {
9
+ const se_CreateAwsLogSourceCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -15,15 +15,15 @@ const serializeAws_restJson1CreateAwsLogSourceCommand = async (input, context) =
15
15
  let body;
16
16
  body = JSON.stringify({
17
17
  ...(input.enableAllDimensions != null && {
18
- enableAllDimensions: serializeAws_restJson1AllDimensionsMap(input.enableAllDimensions, context),
18
+ enableAllDimensions: se_AllDimensionsMap(input.enableAllDimensions, context),
19
19
  }),
20
20
  ...(input.enableSingleDimension != null && {
21
- enableSingleDimension: serializeAws_restJson1InputSet(input.enableSingleDimension, context),
21
+ enableSingleDimension: se_InputSet(input.enableSingleDimension, context),
22
22
  }),
23
23
  ...(input.enableTwoDimensions != null && {
24
- enableTwoDimensions: serializeAws_restJson1TwoDimensionsMap(input.enableTwoDimensions, context),
24
+ enableTwoDimensions: se_TwoDimensionsMap(input.enableTwoDimensions, context),
25
25
  }),
26
- ...(input.inputOrder != null && { inputOrder: serializeAws_restJson1DimensionSet(input.inputOrder, context) }),
26
+ ...(input.inputOrder != null && { inputOrder: se_DimensionSet(input.inputOrder, context) }),
27
27
  });
28
28
  return new protocol_http_1.HttpRequest({
29
29
  protocol,
@@ -35,8 +35,8 @@ const serializeAws_restJson1CreateAwsLogSourceCommand = async (input, context) =
35
35
  body,
36
36
  });
37
37
  };
38
- exports.serializeAws_restJson1CreateAwsLogSourceCommand = serializeAws_restJson1CreateAwsLogSourceCommand;
39
- const serializeAws_restJson1CreateCustomLogSourceCommand = async (input, context) => {
38
+ exports.se_CreateAwsLogSourceCommand = se_CreateAwsLogSourceCommand;
39
+ const se_CreateCustomLogSourceCommand = async (input, context) => {
40
40
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
41
41
  const headers = {
42
42
  "content-type": "application/json",
@@ -59,8 +59,8 @@ const serializeAws_restJson1CreateCustomLogSourceCommand = async (input, context
59
59
  body,
60
60
  });
61
61
  };
62
- exports.serializeAws_restJson1CreateCustomLogSourceCommand = serializeAws_restJson1CreateCustomLogSourceCommand;
63
- const serializeAws_restJson1CreateDatalakeCommand = async (input, context) => {
62
+ exports.se_CreateCustomLogSourceCommand = se_CreateCustomLogSourceCommand;
63
+ const se_CreateDatalakeCommand = async (input, context) => {
64
64
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
65
65
  const headers = {
66
66
  "content-type": "application/json",
@@ -69,11 +69,11 @@ const serializeAws_restJson1CreateDatalakeCommand = async (input, context) => {
69
69
  let body;
70
70
  body = JSON.stringify({
71
71
  ...(input.configurations != null && {
72
- configurations: serializeAws_restJson1LakeConfigurationRequestMap(input.configurations, context),
72
+ configurations: se_LakeConfigurationRequestMap(input.configurations, context),
73
73
  }),
74
74
  ...(input.enableAll != null && { enableAll: input.enableAll }),
75
75
  ...(input.metaStoreManagerRoleArn != null && { metaStoreManagerRoleArn: input.metaStoreManagerRoleArn }),
76
- ...(input.regions != null && { regions: serializeAws_restJson1RegionSet(input.regions, context) }),
76
+ ...(input.regions != null && { regions: se_RegionSet(input.regions, context) }),
77
77
  });
78
78
  return new protocol_http_1.HttpRequest({
79
79
  protocol,
@@ -85,8 +85,8 @@ const serializeAws_restJson1CreateDatalakeCommand = async (input, context) => {
85
85
  body,
86
86
  });
87
87
  };
88
- exports.serializeAws_restJson1CreateDatalakeCommand = serializeAws_restJson1CreateDatalakeCommand;
89
- const serializeAws_restJson1CreateDatalakeAutoEnableCommand = async (input, context) => {
88
+ exports.se_CreateDatalakeCommand = se_CreateDatalakeCommand;
89
+ const se_CreateDatalakeAutoEnableCommand = async (input, context) => {
90
90
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
91
91
  const headers = {
92
92
  "content-type": "application/json",
@@ -95,7 +95,7 @@ const serializeAws_restJson1CreateDatalakeAutoEnableCommand = async (input, cont
95
95
  let body;
96
96
  body = JSON.stringify({
97
97
  ...(input.configurationForNewAccounts != null && {
98
- configurationForNewAccounts: serializeAws_restJson1AutoEnableNewRegionConfigurationList(input.configurationForNewAccounts, context),
98
+ configurationForNewAccounts: se_AutoEnableNewRegionConfigurationList(input.configurationForNewAccounts, context),
99
99
  }),
100
100
  });
101
101
  return new protocol_http_1.HttpRequest({
@@ -108,8 +108,8 @@ const serializeAws_restJson1CreateDatalakeAutoEnableCommand = async (input, cont
108
108
  body,
109
109
  });
110
110
  };
111
- exports.serializeAws_restJson1CreateDatalakeAutoEnableCommand = serializeAws_restJson1CreateDatalakeAutoEnableCommand;
112
- const serializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async (input, context) => {
111
+ exports.se_CreateDatalakeAutoEnableCommand = se_CreateDatalakeAutoEnableCommand;
112
+ const se_CreateDatalakeDelegatedAdminCommand = async (input, context) => {
113
113
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
114
114
  const headers = {
115
115
  "content-type": "application/json",
@@ -129,8 +129,8 @@ const serializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async (input,
129
129
  body,
130
130
  });
131
131
  };
132
- exports.serializeAws_restJson1CreateDatalakeDelegatedAdminCommand = serializeAws_restJson1CreateDatalakeDelegatedAdminCommand;
133
- const serializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
132
+ exports.se_CreateDatalakeDelegatedAdminCommand = se_CreateDatalakeDelegatedAdminCommand;
133
+ const se_CreateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
134
134
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
135
135
  const headers = {
136
136
  "content-type": "application/json",
@@ -151,8 +151,8 @@ const serializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = async
151
151
  body,
152
152
  });
153
153
  };
154
- exports.serializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = serializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand;
155
- const serializeAws_restJson1CreateSubscriberCommand = async (input, context) => {
154
+ exports.se_CreateDatalakeExceptionsSubscriptionCommand = se_CreateDatalakeExceptionsSubscriptionCommand;
155
+ const se_CreateSubscriberCommand = async (input, context) => {
156
156
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
157
157
  const headers = {
158
158
  "content-type": "application/json",
@@ -160,10 +160,10 @@ const serializeAws_restJson1CreateSubscriberCommand = async (input, context) =>
160
160
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers";
161
161
  let body;
162
162
  body = JSON.stringify({
163
- ...(input.accessTypes != null && { accessTypes: serializeAws_restJson1AccessTypeList(input.accessTypes, context) }),
163
+ ...(input.accessTypes != null && { accessTypes: se_AccessTypeList(input.accessTypes, context) }),
164
164
  ...(input.accountId != null && { accountId: input.accountId }),
165
165
  ...(input.externalId != null && { externalId: input.externalId }),
166
- ...(input.sourceTypes != null && { sourceTypes: serializeAws_restJson1SourceTypeList(input.sourceTypes, context) }),
166
+ ...(input.sourceTypes != null && { sourceTypes: se_SourceTypeList(input.sourceTypes, context) }),
167
167
  ...(input.subscriberDescription != null && { subscriberDescription: input.subscriberDescription }),
168
168
  ...(input.subscriberName != null && { subscriberName: input.subscriberName }),
169
169
  });
@@ -177,8 +177,8 @@ const serializeAws_restJson1CreateSubscriberCommand = async (input, context) =>
177
177
  body,
178
178
  });
179
179
  };
180
- exports.serializeAws_restJson1CreateSubscriberCommand = serializeAws_restJson1CreateSubscriberCommand;
181
- const serializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = async (input, context) => {
180
+ exports.se_CreateSubscriberCommand = se_CreateSubscriberCommand;
181
+ const se_CreateSubscriptionNotificationConfigurationCommand = async (input, context) => {
182
182
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
183
183
  const headers = {
184
184
  "content-type": "application/json",
@@ -205,8 +205,8 @@ const serializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand =
205
205
  body,
206
206
  });
207
207
  };
208
- exports.serializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = serializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand;
209
- const serializeAws_restJson1DeleteAwsLogSourceCommand = async (input, context) => {
208
+ exports.se_CreateSubscriptionNotificationConfigurationCommand = se_CreateSubscriptionNotificationConfigurationCommand;
209
+ const se_DeleteAwsLogSourceCommand = async (input, context) => {
210
210
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
211
211
  const headers = {
212
212
  "content-type": "application/json",
@@ -215,15 +215,15 @@ const serializeAws_restJson1DeleteAwsLogSourceCommand = async (input, context) =
215
215
  let body;
216
216
  body = JSON.stringify({
217
217
  ...(input.disableAllDimensions != null && {
218
- disableAllDimensions: serializeAws_restJson1AllDimensionsMap(input.disableAllDimensions, context),
218
+ disableAllDimensions: se_AllDimensionsMap(input.disableAllDimensions, context),
219
219
  }),
220
220
  ...(input.disableSingleDimension != null && {
221
- disableSingleDimension: serializeAws_restJson1InputSet(input.disableSingleDimension, context),
221
+ disableSingleDimension: se_InputSet(input.disableSingleDimension, context),
222
222
  }),
223
223
  ...(input.disableTwoDimensions != null && {
224
- disableTwoDimensions: serializeAws_restJson1TwoDimensionsMap(input.disableTwoDimensions, context),
224
+ disableTwoDimensions: se_TwoDimensionsMap(input.disableTwoDimensions, context),
225
225
  }),
226
- ...(input.inputOrder != null && { inputOrder: serializeAws_restJson1DimensionSet(input.inputOrder, context) }),
226
+ ...(input.inputOrder != null && { inputOrder: se_DimensionSet(input.inputOrder, context) }),
227
227
  });
228
228
  return new protocol_http_1.HttpRequest({
229
229
  protocol,
@@ -235,8 +235,8 @@ const serializeAws_restJson1DeleteAwsLogSourceCommand = async (input, context) =
235
235
  body,
236
236
  });
237
237
  };
238
- exports.serializeAws_restJson1DeleteAwsLogSourceCommand = serializeAws_restJson1DeleteAwsLogSourceCommand;
239
- const serializeAws_restJson1DeleteCustomLogSourceCommand = async (input, context) => {
238
+ exports.se_DeleteAwsLogSourceCommand = se_DeleteAwsLogSourceCommand;
239
+ const se_DeleteCustomLogSourceCommand = async (input, context) => {
240
240
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
241
241
  const headers = {};
242
242
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/custom";
@@ -255,8 +255,8 @@ const serializeAws_restJson1DeleteCustomLogSourceCommand = async (input, context
255
255
  body,
256
256
  });
257
257
  };
258
- exports.serializeAws_restJson1DeleteCustomLogSourceCommand = serializeAws_restJson1DeleteCustomLogSourceCommand;
259
- const serializeAws_restJson1DeleteDatalakeCommand = async (input, context) => {
258
+ exports.se_DeleteCustomLogSourceCommand = se_DeleteCustomLogSourceCommand;
259
+ const se_DeleteDatalakeCommand = async (input, context) => {
260
260
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
261
261
  const headers = {
262
262
  "content-type": "application/json",
@@ -274,8 +274,8 @@ const serializeAws_restJson1DeleteDatalakeCommand = async (input, context) => {
274
274
  body,
275
275
  });
276
276
  };
277
- exports.serializeAws_restJson1DeleteDatalakeCommand = serializeAws_restJson1DeleteDatalakeCommand;
278
- const serializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (input, context) => {
277
+ exports.se_DeleteDatalakeCommand = se_DeleteDatalakeCommand;
278
+ const se_DeleteDatalakeAutoEnableCommand = async (input, context) => {
279
279
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
280
280
  const headers = {
281
281
  "content-type": "application/json",
@@ -284,7 +284,7 @@ const serializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (input, cont
284
284
  let body;
285
285
  body = JSON.stringify({
286
286
  ...(input.removeFromConfigurationForNewAccounts != null && {
287
- removeFromConfigurationForNewAccounts: serializeAws_restJson1AutoEnableNewRegionConfigurationList(input.removeFromConfigurationForNewAccounts, context),
287
+ removeFromConfigurationForNewAccounts: se_AutoEnableNewRegionConfigurationList(input.removeFromConfigurationForNewAccounts, context),
288
288
  }),
289
289
  });
290
290
  return new protocol_http_1.HttpRequest({
@@ -297,8 +297,8 @@ const serializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (input, cont
297
297
  body,
298
298
  });
299
299
  };
300
- exports.serializeAws_restJson1DeleteDatalakeAutoEnableCommand = serializeAws_restJson1DeleteDatalakeAutoEnableCommand;
301
- const serializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async (input, context) => {
300
+ exports.se_DeleteDatalakeAutoEnableCommand = se_DeleteDatalakeAutoEnableCommand;
301
+ const se_DeleteDatalakeDelegatedAdminCommand = async (input, context) => {
302
302
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
303
303
  const headers = {};
304
304
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/delegate/{account}";
@@ -314,8 +314,8 @@ const serializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async (input,
314
314
  body,
315
315
  });
316
316
  };
317
- exports.serializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = serializeAws_restJson1DeleteDatalakeDelegatedAdminCommand;
318
- const serializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = async (input, context) => {
317
+ exports.se_DeleteDatalakeDelegatedAdminCommand = se_DeleteDatalakeDelegatedAdminCommand;
318
+ const se_DeleteDatalakeExceptionsSubscriptionCommand = async (input, context) => {
319
319
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
320
320
  const headers = {
321
321
  "content-type": "application/json",
@@ -333,8 +333,8 @@ const serializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = async
333
333
  body,
334
334
  });
335
335
  };
336
- exports.serializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = serializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand;
337
- const serializeAws_restJson1DeleteSubscriberCommand = async (input, context) => {
336
+ exports.se_DeleteDatalakeExceptionsSubscriptionCommand = se_DeleteDatalakeExceptionsSubscriptionCommand;
337
+ const se_DeleteSubscriberCommand = async (input, context) => {
338
338
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
339
339
  const headers = {};
340
340
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers";
@@ -353,8 +353,8 @@ const serializeAws_restJson1DeleteSubscriberCommand = async (input, context) =>
353
353
  body,
354
354
  });
355
355
  };
356
- exports.serializeAws_restJson1DeleteSubscriberCommand = serializeAws_restJson1DeleteSubscriberCommand;
357
- const serializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = async (input, context) => {
356
+ exports.se_DeleteSubscriberCommand = se_DeleteSubscriberCommand;
357
+ const se_DeleteSubscriptionNotificationConfigurationCommand = async (input, context) => {
358
358
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
359
359
  const headers = {};
360
360
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -371,8 +371,8 @@ const serializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand =
371
371
  body,
372
372
  });
373
373
  };
374
- exports.serializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = serializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand;
375
- const serializeAws_restJson1GetDatalakeCommand = async (input, context) => {
374
+ exports.se_DeleteSubscriptionNotificationConfigurationCommand = se_DeleteSubscriptionNotificationConfigurationCommand;
375
+ const se_GetDatalakeCommand = async (input, context) => {
376
376
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
377
377
  const headers = {
378
378
  "content-type": "application/json",
@@ -390,8 +390,8 @@ const serializeAws_restJson1GetDatalakeCommand = async (input, context) => {
390
390
  body,
391
391
  });
392
392
  };
393
- exports.serializeAws_restJson1GetDatalakeCommand = serializeAws_restJson1GetDatalakeCommand;
394
- const serializeAws_restJson1GetDatalakeAutoEnableCommand = async (input, context) => {
393
+ exports.se_GetDatalakeCommand = se_GetDatalakeCommand;
394
+ const se_GetDatalakeAutoEnableCommand = async (input, context) => {
395
395
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
396
396
  const headers = {
397
397
  "content-type": "application/json",
@@ -409,8 +409,8 @@ const serializeAws_restJson1GetDatalakeAutoEnableCommand = async (input, context
409
409
  body,
410
410
  });
411
411
  };
412
- exports.serializeAws_restJson1GetDatalakeAutoEnableCommand = serializeAws_restJson1GetDatalakeAutoEnableCommand;
413
- const serializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async (input, context) => {
412
+ exports.se_GetDatalakeAutoEnableCommand = se_GetDatalakeAutoEnableCommand;
413
+ const se_GetDatalakeExceptionsExpiryCommand = async (input, context) => {
414
414
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
415
415
  const headers = {
416
416
  "content-type": "application/json",
@@ -428,8 +428,8 @@ const serializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async (input, c
428
428
  body,
429
429
  });
430
430
  };
431
- exports.serializeAws_restJson1GetDatalakeExceptionsExpiryCommand = serializeAws_restJson1GetDatalakeExceptionsExpiryCommand;
432
- const serializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = async (input, context) => {
431
+ exports.se_GetDatalakeExceptionsExpiryCommand = se_GetDatalakeExceptionsExpiryCommand;
432
+ const se_GetDatalakeExceptionsSubscriptionCommand = async (input, context) => {
433
433
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
434
434
  const headers = {
435
435
  "content-type": "application/json",
@@ -447,8 +447,8 @@ const serializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = async (in
447
447
  body,
448
448
  });
449
449
  };
450
- exports.serializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = serializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand;
451
- const serializeAws_restJson1GetDatalakeStatusCommand = async (input, context) => {
450
+ exports.se_GetDatalakeExceptionsSubscriptionCommand = se_GetDatalakeExceptionsSubscriptionCommand;
451
+ const se_GetDatalakeStatusCommand = async (input, context) => {
452
452
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
453
453
  const headers = {
454
454
  "content-type": "application/json",
@@ -456,7 +456,7 @@ const serializeAws_restJson1GetDatalakeStatusCommand = async (input, context) =>
456
456
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/status";
457
457
  let body;
458
458
  body = JSON.stringify({
459
- ...(input.accountSet != null && { accountSet: serializeAws_restJson1InputSet(input.accountSet, context) }),
459
+ ...(input.accountSet != null && { accountSet: se_InputSet(input.accountSet, context) }),
460
460
  ...(input.maxAccountResults != null && { maxAccountResults: input.maxAccountResults }),
461
461
  ...(input.nextToken != null && { nextToken: input.nextToken }),
462
462
  });
@@ -470,8 +470,8 @@ const serializeAws_restJson1GetDatalakeStatusCommand = async (input, context) =>
470
470
  body,
471
471
  });
472
472
  };
473
- exports.serializeAws_restJson1GetDatalakeStatusCommand = serializeAws_restJson1GetDatalakeStatusCommand;
474
- const serializeAws_restJson1GetSubscriberCommand = async (input, context) => {
473
+ exports.se_GetDatalakeStatusCommand = se_GetDatalakeStatusCommand;
474
+ const se_GetSubscriberCommand = async (input, context) => {
475
475
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
476
476
  const headers = {};
477
477
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers/{id}";
@@ -487,8 +487,8 @@ const serializeAws_restJson1GetSubscriberCommand = async (input, context) => {
487
487
  body,
488
488
  });
489
489
  };
490
- exports.serializeAws_restJson1GetSubscriberCommand = serializeAws_restJson1GetSubscriberCommand;
491
- const serializeAws_restJson1ListDatalakeExceptionsCommand = async (input, context) => {
490
+ exports.se_GetSubscriberCommand = se_GetSubscriberCommand;
491
+ const se_ListDatalakeExceptionsCommand = async (input, context) => {
492
492
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
493
493
  const headers = {
494
494
  "content-type": "application/json",
@@ -498,7 +498,7 @@ const serializeAws_restJson1ListDatalakeExceptionsCommand = async (input, contex
498
498
  body = JSON.stringify({
499
499
  ...(input.maxFailures != null && { maxFailures: input.maxFailures }),
500
500
  ...(input.nextToken != null && { nextToken: input.nextToken }),
501
- ...(input.regionSet != null && { regionSet: serializeAws_restJson1RegionSet(input.regionSet, context) }),
501
+ ...(input.regionSet != null && { regionSet: se_RegionSet(input.regionSet, context) }),
502
502
  });
503
503
  return new protocol_http_1.HttpRequest({
504
504
  protocol,
@@ -510,8 +510,8 @@ const serializeAws_restJson1ListDatalakeExceptionsCommand = async (input, contex
510
510
  body,
511
511
  });
512
512
  };
513
- exports.serializeAws_restJson1ListDatalakeExceptionsCommand = serializeAws_restJson1ListDatalakeExceptionsCommand;
514
- const serializeAws_restJson1ListLogSourcesCommand = async (input, context) => {
513
+ exports.se_ListDatalakeExceptionsCommand = se_ListDatalakeExceptionsCommand;
514
+ const se_ListLogSourcesCommand = async (input, context) => {
515
515
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
516
516
  const headers = {
517
517
  "content-type": "application/json",
@@ -519,15 +519,13 @@ const serializeAws_restJson1ListLogSourcesCommand = async (input, context) => {
519
519
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/list";
520
520
  let body;
521
521
  body = JSON.stringify({
522
- ...(input.inputOrder != null && { inputOrder: serializeAws_restJson1DimensionSet(input.inputOrder, context) }),
522
+ ...(input.inputOrder != null && { inputOrder: se_DimensionSet(input.inputOrder, context) }),
523
523
  ...(input.listAllDimensions != null && {
524
- listAllDimensions: serializeAws_restJson1AllDimensionsMap(input.listAllDimensions, context),
525
- }),
526
- ...(input.listSingleDimension != null && {
527
- listSingleDimension: serializeAws_restJson1InputSet(input.listSingleDimension, context),
524
+ listAllDimensions: se_AllDimensionsMap(input.listAllDimensions, context),
528
525
  }),
526
+ ...(input.listSingleDimension != null && { listSingleDimension: se_InputSet(input.listSingleDimension, context) }),
529
527
  ...(input.listTwoDimensions != null && {
530
- listTwoDimensions: serializeAws_restJson1TwoDimensionsMap(input.listTwoDimensions, context),
528
+ listTwoDimensions: se_TwoDimensionsMap(input.listTwoDimensions, context),
531
529
  }),
532
530
  ...(input.maxResults != null && { maxResults: input.maxResults }),
533
531
  ...(input.nextToken != null && { nextToken: input.nextToken }),
@@ -542,8 +540,8 @@ const serializeAws_restJson1ListLogSourcesCommand = async (input, context) => {
542
540
  body,
543
541
  });
544
542
  };
545
- exports.serializeAws_restJson1ListLogSourcesCommand = serializeAws_restJson1ListLogSourcesCommand;
546
- const serializeAws_restJson1ListSubscribersCommand = async (input, context) => {
543
+ exports.se_ListLogSourcesCommand = se_ListLogSourcesCommand;
544
+ const se_ListSubscribersCommand = async (input, context) => {
547
545
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
548
546
  const headers = {};
549
547
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers";
@@ -563,8 +561,8 @@ const serializeAws_restJson1ListSubscribersCommand = async (input, context) => {
563
561
  body,
564
562
  });
565
563
  };
566
- exports.serializeAws_restJson1ListSubscribersCommand = serializeAws_restJson1ListSubscribersCommand;
567
- const serializeAws_restJson1UpdateDatalakeCommand = async (input, context) => {
564
+ exports.se_ListSubscribersCommand = se_ListSubscribersCommand;
565
+ const se_UpdateDatalakeCommand = async (input, context) => {
568
566
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
569
567
  const headers = {
570
568
  "content-type": "application/json",
@@ -573,7 +571,7 @@ const serializeAws_restJson1UpdateDatalakeCommand = async (input, context) => {
573
571
  let body;
574
572
  body = JSON.stringify({
575
573
  ...(input.configurations != null && {
576
- configurations: serializeAws_restJson1LakeConfigurationRequestMap(input.configurations, context),
574
+ configurations: se_LakeConfigurationRequestMap(input.configurations, context),
577
575
  }),
578
576
  });
579
577
  return new protocol_http_1.HttpRequest({
@@ -586,8 +584,8 @@ const serializeAws_restJson1UpdateDatalakeCommand = async (input, context) => {
586
584
  body,
587
585
  });
588
586
  };
589
- exports.serializeAws_restJson1UpdateDatalakeCommand = serializeAws_restJson1UpdateDatalakeCommand;
590
- const serializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = async (input, context) => {
587
+ exports.se_UpdateDatalakeCommand = se_UpdateDatalakeCommand;
588
+ const se_UpdateDatalakeExceptionsExpiryCommand = async (input, context) => {
591
589
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
592
590
  const headers = {
593
591
  "content-type": "application/json",
@@ -607,8 +605,8 @@ const serializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = async (input
607
605
  body,
608
606
  });
609
607
  };
610
- exports.serializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = serializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand;
611
- const serializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
608
+ exports.se_UpdateDatalakeExceptionsExpiryCommand = se_UpdateDatalakeExceptionsExpiryCommand;
609
+ const se_UpdateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
612
610
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
613
611
  const headers = {
614
612
  "content-type": "application/json",
@@ -629,8 +627,8 @@ const serializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = async
629
627
  body,
630
628
  });
631
629
  };
632
- exports.serializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = serializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand;
633
- const serializeAws_restJson1UpdateSubscriberCommand = async (input, context) => {
630
+ exports.se_UpdateDatalakeExceptionsSubscriptionCommand = se_UpdateDatalakeExceptionsSubscriptionCommand;
631
+ const se_UpdateSubscriberCommand = async (input, context) => {
634
632
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
635
633
  const headers = {
636
634
  "content-type": "application/json",
@@ -640,7 +638,7 @@ const serializeAws_restJson1UpdateSubscriberCommand = async (input, context) =>
640
638
  let body;
641
639
  body = JSON.stringify({
642
640
  ...(input.externalId != null && { externalId: input.externalId }),
643
- ...(input.sourceTypes != null && { sourceTypes: serializeAws_restJson1SourceTypeList(input.sourceTypes, context) }),
641
+ ...(input.sourceTypes != null && { sourceTypes: se_SourceTypeList(input.sourceTypes, context) }),
644
642
  ...(input.subscriberDescription != null && { subscriberDescription: input.subscriberDescription }),
645
643
  ...(input.subscriberName != null && { subscriberName: input.subscriberName }),
646
644
  });
@@ -654,8 +652,8 @@ const serializeAws_restJson1UpdateSubscriberCommand = async (input, context) =>
654
652
  body,
655
653
  });
656
654
  };
657
- exports.serializeAws_restJson1UpdateSubscriberCommand = serializeAws_restJson1UpdateSubscriberCommand;
658
- const serializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = async (input, context) => {
655
+ exports.se_UpdateSubscriberCommand = se_UpdateSubscriberCommand;
656
+ const se_UpdateSubscriptionNotificationConfigurationCommand = async (input, context) => {
659
657
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
660
658
  const headers = {
661
659
  "content-type": "application/json",
@@ -682,25 +680,25 @@ const serializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand =
682
680
  body,
683
681
  });
684
682
  };
685
- exports.serializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = serializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand;
686
- const deserializeAws_restJson1CreateAwsLogSourceCommand = async (output, context) => {
683
+ exports.se_UpdateSubscriptionNotificationConfigurationCommand = se_UpdateSubscriptionNotificationConfigurationCommand;
684
+ const de_CreateAwsLogSourceCommand = async (output, context) => {
687
685
  if (output.statusCode !== 200 && output.statusCode >= 300) {
688
- return deserializeAws_restJson1CreateAwsLogSourceCommandError(output, context);
686
+ return de_CreateAwsLogSourceCommandError(output, context);
689
687
  }
690
688
  const contents = map({
691
689
  $metadata: deserializeMetadata(output),
692
690
  });
693
691
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
694
692
  if (data.failed != null) {
695
- contents.failed = deserializeAws_restJson1AccountList(data.failed, context);
693
+ contents.failed = de_AccountList(data.failed, context);
696
694
  }
697
695
  if (data.processing != null) {
698
- contents.processing = deserializeAws_restJson1AccountList(data.processing, context);
696
+ contents.processing = de_AccountList(data.processing, context);
699
697
  }
700
698
  return contents;
701
699
  };
702
- exports.deserializeAws_restJson1CreateAwsLogSourceCommand = deserializeAws_restJson1CreateAwsLogSourceCommand;
703
- const deserializeAws_restJson1CreateAwsLogSourceCommandError = async (output, context) => {
700
+ exports.de_CreateAwsLogSourceCommand = de_CreateAwsLogSourceCommand;
701
+ const de_CreateAwsLogSourceCommandError = async (output, context) => {
704
702
  const parsedOutput = {
705
703
  ...output,
706
704
  body: await parseErrorBody(output.body, context),
@@ -709,22 +707,22 @@ const deserializeAws_restJson1CreateAwsLogSourceCommandError = async (output, co
709
707
  switch (errorCode) {
710
708
  case "AccessDeniedException":
711
709
  case "com.amazonaws.securitylake#AccessDeniedException":
712
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
710
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
713
711
  case "AccountNotFoundException":
714
712
  case "com.amazonaws.securitylake#AccountNotFoundException":
715
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
713
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
716
714
  case "InternalServerException":
717
715
  case "com.amazonaws.securitylake#InternalServerException":
718
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
716
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
719
717
  case "ResourceNotFoundException":
720
718
  case "com.amazonaws.securitylake#ResourceNotFoundException":
721
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
719
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
722
720
  case "S3Exception":
723
721
  case "com.amazonaws.securitylake#S3Exception":
724
- throw await deserializeAws_restJson1S3ExceptionResponse(parsedOutput, context);
722
+ throw await de_S3ExceptionRes(parsedOutput, context);
725
723
  case "ValidationException":
726
724
  case "com.amazonaws.securitylake#ValidationException":
727
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
725
+ throw await de_ValidationExceptionRes(parsedOutput, context);
728
726
  default:
729
727
  const parsedBody = parsedOutput.body;
730
728
  (0, smithy_client_1.throwDefaultError)({
@@ -735,9 +733,9 @@ const deserializeAws_restJson1CreateAwsLogSourceCommandError = async (output, co
735
733
  });
736
734
  }
737
735
  };
738
- const deserializeAws_restJson1CreateCustomLogSourceCommand = async (output, context) => {
736
+ const de_CreateCustomLogSourceCommand = async (output, context) => {
739
737
  if (output.statusCode !== 200 && output.statusCode >= 300) {
740
- return deserializeAws_restJson1CreateCustomLogSourceCommandError(output, context);
738
+ return de_CreateCustomLogSourceCommandError(output, context);
741
739
  }
742
740
  const contents = map({
743
741
  $metadata: deserializeMetadata(output),
@@ -760,8 +758,8 @@ const deserializeAws_restJson1CreateCustomLogSourceCommand = async (output, cont
760
758
  }
761
759
  return contents;
762
760
  };
763
- exports.deserializeAws_restJson1CreateCustomLogSourceCommand = deserializeAws_restJson1CreateCustomLogSourceCommand;
764
- const deserializeAws_restJson1CreateCustomLogSourceCommandError = async (output, context) => {
761
+ exports.de_CreateCustomLogSourceCommand = de_CreateCustomLogSourceCommand;
762
+ const de_CreateCustomLogSourceCommandError = async (output, context) => {
765
763
  const parsedOutput = {
766
764
  ...output,
767
765
  body: await parseErrorBody(output.body, context),
@@ -770,25 +768,25 @@ const deserializeAws_restJson1CreateCustomLogSourceCommandError = async (output,
770
768
  switch (errorCode) {
771
769
  case "AccessDeniedException":
772
770
  case "com.amazonaws.securitylake#AccessDeniedException":
773
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
771
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
774
772
  case "AccountNotFoundException":
775
773
  case "com.amazonaws.securitylake#AccountNotFoundException":
776
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
774
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
777
775
  case "BucketNotFoundException":
778
776
  case "com.amazonaws.securitylake#BucketNotFoundException":
779
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
777
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
780
778
  case "ConflictSourceNamesException":
781
779
  case "com.amazonaws.securitylake#ConflictSourceNamesException":
782
- throw await deserializeAws_restJson1ConflictSourceNamesExceptionResponse(parsedOutput, context);
780
+ throw await de_ConflictSourceNamesExceptionRes(parsedOutput, context);
783
781
  case "InternalServerException":
784
782
  case "com.amazonaws.securitylake#InternalServerException":
785
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
783
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
786
784
  case "ResourceNotFoundException":
787
785
  case "com.amazonaws.securitylake#ResourceNotFoundException":
788
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
786
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
789
787
  case "ValidationException":
790
788
  case "com.amazonaws.securitylake#ValidationException":
791
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
789
+ throw await de_ValidationExceptionRes(parsedOutput, context);
792
790
  default:
793
791
  const parsedBody = parsedOutput.body;
794
792
  (0, smithy_client_1.throwDefaultError)({
@@ -799,9 +797,9 @@ const deserializeAws_restJson1CreateCustomLogSourceCommandError = async (output,
799
797
  });
800
798
  }
801
799
  };
802
- const deserializeAws_restJson1CreateDatalakeCommand = async (output, context) => {
800
+ const de_CreateDatalakeCommand = async (output, context) => {
803
801
  if (output.statusCode !== 200 && output.statusCode >= 300) {
804
- return deserializeAws_restJson1CreateDatalakeCommandError(output, context);
802
+ return de_CreateDatalakeCommandError(output, context);
805
803
  }
806
804
  const contents = map({
807
805
  $metadata: deserializeMetadata(output),
@@ -809,8 +807,8 @@ const deserializeAws_restJson1CreateDatalakeCommand = async (output, context) =>
809
807
  await collectBody(output.body, context);
810
808
  return contents;
811
809
  };
812
- exports.deserializeAws_restJson1CreateDatalakeCommand = deserializeAws_restJson1CreateDatalakeCommand;
813
- const deserializeAws_restJson1CreateDatalakeCommandError = async (output, context) => {
810
+ exports.de_CreateDatalakeCommand = de_CreateDatalakeCommand;
811
+ const de_CreateDatalakeCommandError = async (output, context) => {
814
812
  const parsedOutput = {
815
813
  ...output,
816
814
  body: await parseErrorBody(output.body, context),
@@ -819,25 +817,25 @@ const deserializeAws_restJson1CreateDatalakeCommandError = async (output, contex
819
817
  switch (errorCode) {
820
818
  case "AccessDeniedException":
821
819
  case "com.amazonaws.securitylake#AccessDeniedException":
822
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
820
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
823
821
  case "ConflictException":
824
822
  case "com.amazonaws.securitylake#ConflictException":
825
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
823
+ throw await de_ConflictExceptionRes(parsedOutput, context);
826
824
  case "InternalServerException":
827
825
  case "com.amazonaws.securitylake#InternalServerException":
828
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
826
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
829
827
  case "ResourceNotFoundException":
830
828
  case "com.amazonaws.securitylake#ResourceNotFoundException":
831
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
829
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
832
830
  case "ServiceQuotaExceededException":
833
831
  case "com.amazonaws.securitylake#ServiceQuotaExceededException":
834
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
832
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
835
833
  case "ThrottlingException":
836
834
  case "com.amazonaws.securitylake#ThrottlingException":
837
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
835
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
838
836
  case "ValidationException":
839
837
  case "com.amazonaws.securitylake#ValidationException":
840
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
838
+ throw await de_ValidationExceptionRes(parsedOutput, context);
841
839
  default:
842
840
  const parsedBody = parsedOutput.body;
843
841
  (0, smithy_client_1.throwDefaultError)({
@@ -848,9 +846,9 @@ const deserializeAws_restJson1CreateDatalakeCommandError = async (output, contex
848
846
  });
849
847
  }
850
848
  };
851
- const deserializeAws_restJson1CreateDatalakeAutoEnableCommand = async (output, context) => {
849
+ const de_CreateDatalakeAutoEnableCommand = async (output, context) => {
852
850
  if (output.statusCode !== 200 && output.statusCode >= 300) {
853
- return deserializeAws_restJson1CreateDatalakeAutoEnableCommandError(output, context);
851
+ return de_CreateDatalakeAutoEnableCommandError(output, context);
854
852
  }
855
853
  const contents = map({
856
854
  $metadata: deserializeMetadata(output),
@@ -858,8 +856,8 @@ const deserializeAws_restJson1CreateDatalakeAutoEnableCommand = async (output, c
858
856
  await collectBody(output.body, context);
859
857
  return contents;
860
858
  };
861
- exports.deserializeAws_restJson1CreateDatalakeAutoEnableCommand = deserializeAws_restJson1CreateDatalakeAutoEnableCommand;
862
- const deserializeAws_restJson1CreateDatalakeAutoEnableCommandError = async (output, context) => {
859
+ exports.de_CreateDatalakeAutoEnableCommand = de_CreateDatalakeAutoEnableCommand;
860
+ const de_CreateDatalakeAutoEnableCommandError = async (output, context) => {
863
861
  const parsedOutput = {
864
862
  ...output,
865
863
  body: await parseErrorBody(output.body, context),
@@ -868,16 +866,16 @@ const deserializeAws_restJson1CreateDatalakeAutoEnableCommandError = async (outp
868
866
  switch (errorCode) {
869
867
  case "AccessDeniedException":
870
868
  case "com.amazonaws.securitylake#AccessDeniedException":
871
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
869
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
872
870
  case "AccountNotFoundException":
873
871
  case "com.amazonaws.securitylake#AccountNotFoundException":
874
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
872
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
875
873
  case "InternalServerException":
876
874
  case "com.amazonaws.securitylake#InternalServerException":
877
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
875
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
878
876
  case "ValidationException":
879
877
  case "com.amazonaws.securitylake#ValidationException":
880
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
878
+ throw await de_ValidationExceptionRes(parsedOutput, context);
881
879
  default:
882
880
  const parsedBody = parsedOutput.body;
883
881
  (0, smithy_client_1.throwDefaultError)({
@@ -888,9 +886,9 @@ const deserializeAws_restJson1CreateDatalakeAutoEnableCommandError = async (outp
888
886
  });
889
887
  }
890
888
  };
891
- const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async (output, context) => {
889
+ const de_CreateDatalakeDelegatedAdminCommand = async (output, context) => {
892
890
  if (output.statusCode !== 200 && output.statusCode >= 300) {
893
- return deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError(output, context);
891
+ return de_CreateDatalakeDelegatedAdminCommandError(output, context);
894
892
  }
895
893
  const contents = map({
896
894
  $metadata: deserializeMetadata(output),
@@ -898,8 +896,8 @@ const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async (outpu
898
896
  await collectBody(output.body, context);
899
897
  return contents;
900
898
  };
901
- exports.deserializeAws_restJson1CreateDatalakeDelegatedAdminCommand = deserializeAws_restJson1CreateDatalakeDelegatedAdminCommand;
902
- const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError = async (output, context) => {
899
+ exports.de_CreateDatalakeDelegatedAdminCommand = de_CreateDatalakeDelegatedAdminCommand;
900
+ const de_CreateDatalakeDelegatedAdminCommandError = async (output, context) => {
903
901
  const parsedOutput = {
904
902
  ...output,
905
903
  body: await parseErrorBody(output.body, context),
@@ -908,16 +906,16 @@ const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError = async (
908
906
  switch (errorCode) {
909
907
  case "AccessDeniedException":
910
908
  case "com.amazonaws.securitylake#AccessDeniedException":
911
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
909
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
912
910
  case "InternalServerException":
913
911
  case "com.amazonaws.securitylake#InternalServerException":
914
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
912
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
915
913
  case "ThrottlingException":
916
914
  case "com.amazonaws.securitylake#ThrottlingException":
917
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
915
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
918
916
  case "ValidationException":
919
917
  case "com.amazonaws.securitylake#ValidationException":
920
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
918
+ throw await de_ValidationExceptionRes(parsedOutput, context);
921
919
  default:
922
920
  const parsedBody = parsedOutput.body;
923
921
  (0, smithy_client_1.throwDefaultError)({
@@ -928,9 +926,9 @@ const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError = async (
928
926
  });
929
927
  }
930
928
  };
931
- const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
929
+ const de_CreateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
932
930
  if (output.statusCode !== 200 && output.statusCode >= 300) {
933
- return deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError(output, context);
931
+ return de_CreateDatalakeExceptionsSubscriptionCommandError(output, context);
934
932
  }
935
933
  const contents = map({
936
934
  $metadata: deserializeMetadata(output),
@@ -938,8 +936,8 @@ const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = asyn
938
936
  await collectBody(output.body, context);
939
937
  return contents;
940
938
  };
941
- exports.deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand;
942
- const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
939
+ exports.de_CreateDatalakeExceptionsSubscriptionCommand = de_CreateDatalakeExceptionsSubscriptionCommand;
940
+ const de_CreateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
943
941
  const parsedOutput = {
944
942
  ...output,
945
943
  body: await parseErrorBody(output.body, context),
@@ -948,16 +946,16 @@ const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError =
948
946
  switch (errorCode) {
949
947
  case "AccessDeniedException":
950
948
  case "com.amazonaws.securitylake#AccessDeniedException":
951
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
949
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
952
950
  case "AccountNotFoundException":
953
951
  case "com.amazonaws.securitylake#AccountNotFoundException":
954
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
952
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
955
953
  case "InternalServerException":
956
954
  case "com.amazonaws.securitylake#InternalServerException":
957
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
955
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
958
956
  case "ValidationException":
959
957
  case "com.amazonaws.securitylake#ValidationException":
960
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
958
+ throw await de_ValidationExceptionRes(parsedOutput, context);
961
959
  default:
962
960
  const parsedBody = parsedOutput.body;
963
961
  (0, smithy_client_1.throwDefaultError)({
@@ -968,9 +966,9 @@ const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError =
968
966
  });
969
967
  }
970
968
  };
971
- const deserializeAws_restJson1CreateSubscriberCommand = async (output, context) => {
969
+ const de_CreateSubscriberCommand = async (output, context) => {
972
970
  if (output.statusCode !== 200 && output.statusCode >= 300) {
973
- return deserializeAws_restJson1CreateSubscriberCommandError(output, context);
971
+ return de_CreateSubscriberCommandError(output, context);
974
972
  }
975
973
  const contents = map({
976
974
  $metadata: deserializeMetadata(output),
@@ -996,8 +994,8 @@ const deserializeAws_restJson1CreateSubscriberCommand = async (output, context)
996
994
  }
997
995
  return contents;
998
996
  };
999
- exports.deserializeAws_restJson1CreateSubscriberCommand = deserializeAws_restJson1CreateSubscriberCommand;
1000
- const deserializeAws_restJson1CreateSubscriberCommandError = async (output, context) => {
997
+ exports.de_CreateSubscriberCommand = de_CreateSubscriberCommand;
998
+ const de_CreateSubscriberCommandError = async (output, context) => {
1001
999
  const parsedOutput = {
1002
1000
  ...output,
1003
1001
  body: await parseErrorBody(output.body, context),
@@ -1006,28 +1004,28 @@ const deserializeAws_restJson1CreateSubscriberCommandError = async (output, cont
1006
1004
  switch (errorCode) {
1007
1005
  case "AccessDeniedException":
1008
1006
  case "com.amazonaws.securitylake#AccessDeniedException":
1009
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1007
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1010
1008
  case "AccountNotFoundException":
1011
1009
  case "com.amazonaws.securitylake#AccountNotFoundException":
1012
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1010
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1013
1011
  case "BucketNotFoundException":
1014
1012
  case "com.amazonaws.securitylake#BucketNotFoundException":
1015
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
1013
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
1016
1014
  case "ConflictSubscriptionException":
1017
1015
  case "com.amazonaws.securitylake#ConflictSubscriptionException":
1018
- throw await deserializeAws_restJson1ConflictSubscriptionExceptionResponse(parsedOutput, context);
1016
+ throw await de_ConflictSubscriptionExceptionRes(parsedOutput, context);
1019
1017
  case "InternalServerException":
1020
1018
  case "com.amazonaws.securitylake#InternalServerException":
1021
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1019
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1022
1020
  case "InvalidInputException":
1023
1021
  case "com.amazonaws.securitylake#InvalidInputException":
1024
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1022
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1025
1023
  case "ResourceNotFoundException":
1026
1024
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1027
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1025
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1028
1026
  case "ValidationException":
1029
1027
  case "com.amazonaws.securitylake#ValidationException":
1030
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1028
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1031
1029
  default:
1032
1030
  const parsedBody = parsedOutput.body;
1033
1031
  (0, smithy_client_1.throwDefaultError)({
@@ -1038,9 +1036,9 @@ const deserializeAws_restJson1CreateSubscriberCommandError = async (output, cont
1038
1036
  });
1039
1037
  }
1040
1038
  };
1041
- const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = async (output, context) => {
1039
+ const de_CreateSubscriptionNotificationConfigurationCommand = async (output, context) => {
1042
1040
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1043
- return deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommandError(output, context);
1041
+ return de_CreateSubscriptionNotificationConfigurationCommandError(output, context);
1044
1042
  }
1045
1043
  const contents = map({
1046
1044
  $metadata: deserializeMetadata(output),
@@ -1051,8 +1049,8 @@ const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand
1051
1049
  }
1052
1050
  return contents;
1053
1051
  };
1054
- exports.deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand;
1055
- const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1052
+ exports.de_CreateSubscriptionNotificationConfigurationCommand = de_CreateSubscriptionNotificationConfigurationCommand;
1053
+ const de_CreateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1056
1054
  const parsedOutput = {
1057
1055
  ...output,
1058
1056
  body: await parseErrorBody(output.body, context),
@@ -1061,25 +1059,25 @@ const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand
1061
1059
  switch (errorCode) {
1062
1060
  case "AccessDeniedException":
1063
1061
  case "com.amazonaws.securitylake#AccessDeniedException":
1064
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1062
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1065
1063
  case "AccountNotFoundException":
1066
1064
  case "com.amazonaws.securitylake#AccountNotFoundException":
1067
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1065
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1068
1066
  case "ConcurrentModificationException":
1069
1067
  case "com.amazonaws.securitylake#ConcurrentModificationException":
1070
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1068
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1071
1069
  case "InternalServerException":
1072
1070
  case "com.amazonaws.securitylake#InternalServerException":
1073
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1071
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1074
1072
  case "InvalidInputException":
1075
1073
  case "com.amazonaws.securitylake#InvalidInputException":
1076
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1074
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1077
1075
  case "ResourceNotFoundException":
1078
1076
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1079
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1077
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1080
1078
  case "ValidationException":
1081
1079
  case "com.amazonaws.securitylake#ValidationException":
1082
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1080
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1083
1081
  default:
1084
1082
  const parsedBody = parsedOutput.body;
1085
1083
  (0, smithy_client_1.throwDefaultError)({
@@ -1090,24 +1088,24 @@ const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand
1090
1088
  });
1091
1089
  }
1092
1090
  };
1093
- const deserializeAws_restJson1DeleteAwsLogSourceCommand = async (output, context) => {
1091
+ const de_DeleteAwsLogSourceCommand = async (output, context) => {
1094
1092
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1095
- return deserializeAws_restJson1DeleteAwsLogSourceCommandError(output, context);
1093
+ return de_DeleteAwsLogSourceCommandError(output, context);
1096
1094
  }
1097
1095
  const contents = map({
1098
1096
  $metadata: deserializeMetadata(output),
1099
1097
  });
1100
1098
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1101
1099
  if (data.failed != null) {
1102
- contents.failed = deserializeAws_restJson1AccountList(data.failed, context);
1100
+ contents.failed = de_AccountList(data.failed, context);
1103
1101
  }
1104
1102
  if (data.processing != null) {
1105
- contents.processing = deserializeAws_restJson1AccountList(data.processing, context);
1103
+ contents.processing = de_AccountList(data.processing, context);
1106
1104
  }
1107
1105
  return contents;
1108
1106
  };
1109
- exports.deserializeAws_restJson1DeleteAwsLogSourceCommand = deserializeAws_restJson1DeleteAwsLogSourceCommand;
1110
- const deserializeAws_restJson1DeleteAwsLogSourceCommandError = async (output, context) => {
1107
+ exports.de_DeleteAwsLogSourceCommand = de_DeleteAwsLogSourceCommand;
1108
+ const de_DeleteAwsLogSourceCommandError = async (output, context) => {
1111
1109
  const parsedOutput = {
1112
1110
  ...output,
1113
1111
  body: await parseErrorBody(output.body, context),
@@ -1116,16 +1114,16 @@ const deserializeAws_restJson1DeleteAwsLogSourceCommandError = async (output, co
1116
1114
  switch (errorCode) {
1117
1115
  case "AccessDeniedException":
1118
1116
  case "com.amazonaws.securitylake#AccessDeniedException":
1119
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1117
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1120
1118
  case "AccountNotFoundException":
1121
1119
  case "com.amazonaws.securitylake#AccountNotFoundException":
1122
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1120
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1123
1121
  case "InternalServerException":
1124
1122
  case "com.amazonaws.securitylake#InternalServerException":
1125
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1123
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1126
1124
  case "ValidationException":
1127
1125
  case "com.amazonaws.securitylake#ValidationException":
1128
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1126
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1129
1127
  default:
1130
1128
  const parsedBody = parsedOutput.body;
1131
1129
  (0, smithy_client_1.throwDefaultError)({
@@ -1136,9 +1134,9 @@ const deserializeAws_restJson1DeleteAwsLogSourceCommandError = async (output, co
1136
1134
  });
1137
1135
  }
1138
1136
  };
1139
- const deserializeAws_restJson1DeleteCustomLogSourceCommand = async (output, context) => {
1137
+ const de_DeleteCustomLogSourceCommand = async (output, context) => {
1140
1138
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1141
- return deserializeAws_restJson1DeleteCustomLogSourceCommandError(output, context);
1139
+ return de_DeleteCustomLogSourceCommandError(output, context);
1142
1140
  }
1143
1141
  const contents = map({
1144
1142
  $metadata: deserializeMetadata(output),
@@ -1149,8 +1147,8 @@ const deserializeAws_restJson1DeleteCustomLogSourceCommand = async (output, cont
1149
1147
  }
1150
1148
  return contents;
1151
1149
  };
1152
- exports.deserializeAws_restJson1DeleteCustomLogSourceCommand = deserializeAws_restJson1DeleteCustomLogSourceCommand;
1153
- const deserializeAws_restJson1DeleteCustomLogSourceCommandError = async (output, context) => {
1150
+ exports.de_DeleteCustomLogSourceCommand = de_DeleteCustomLogSourceCommand;
1151
+ const de_DeleteCustomLogSourceCommandError = async (output, context) => {
1154
1152
  const parsedOutput = {
1155
1153
  ...output,
1156
1154
  body: await parseErrorBody(output.body, context),
@@ -1159,25 +1157,25 @@ const deserializeAws_restJson1DeleteCustomLogSourceCommandError = async (output,
1159
1157
  switch (errorCode) {
1160
1158
  case "AccessDeniedException":
1161
1159
  case "com.amazonaws.securitylake#AccessDeniedException":
1162
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1160
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1163
1161
  case "AccountNotFoundException":
1164
1162
  case "com.amazonaws.securitylake#AccountNotFoundException":
1165
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1163
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1166
1164
  case "BucketNotFoundException":
1167
1165
  case "com.amazonaws.securitylake#BucketNotFoundException":
1168
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
1166
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
1169
1167
  case "ConflictSourceNamesException":
1170
1168
  case "com.amazonaws.securitylake#ConflictSourceNamesException":
1171
- throw await deserializeAws_restJson1ConflictSourceNamesExceptionResponse(parsedOutput, context);
1169
+ throw await de_ConflictSourceNamesExceptionRes(parsedOutput, context);
1172
1170
  case "InternalServerException":
1173
1171
  case "com.amazonaws.securitylake#InternalServerException":
1174
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1172
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1175
1173
  case "ResourceNotFoundException":
1176
1174
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1177
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1175
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1178
1176
  case "ValidationException":
1179
1177
  case "com.amazonaws.securitylake#ValidationException":
1180
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1178
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1181
1179
  default:
1182
1180
  const parsedBody = parsedOutput.body;
1183
1181
  (0, smithy_client_1.throwDefaultError)({
@@ -1188,9 +1186,9 @@ const deserializeAws_restJson1DeleteCustomLogSourceCommandError = async (output,
1188
1186
  });
1189
1187
  }
1190
1188
  };
1191
- const deserializeAws_restJson1DeleteDatalakeCommand = async (output, context) => {
1189
+ const de_DeleteDatalakeCommand = async (output, context) => {
1192
1190
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1193
- return deserializeAws_restJson1DeleteDatalakeCommandError(output, context);
1191
+ return de_DeleteDatalakeCommandError(output, context);
1194
1192
  }
1195
1193
  const contents = map({
1196
1194
  $metadata: deserializeMetadata(output),
@@ -1198,8 +1196,8 @@ const deserializeAws_restJson1DeleteDatalakeCommand = async (output, context) =>
1198
1196
  await collectBody(output.body, context);
1199
1197
  return contents;
1200
1198
  };
1201
- exports.deserializeAws_restJson1DeleteDatalakeCommand = deserializeAws_restJson1DeleteDatalakeCommand;
1202
- const deserializeAws_restJson1DeleteDatalakeCommandError = async (output, context) => {
1199
+ exports.de_DeleteDatalakeCommand = de_DeleteDatalakeCommand;
1200
+ const de_DeleteDatalakeCommandError = async (output, context) => {
1203
1201
  const parsedOutput = {
1204
1202
  ...output,
1205
1203
  body: await parseErrorBody(output.body, context),
@@ -1208,25 +1206,25 @@ const deserializeAws_restJson1DeleteDatalakeCommandError = async (output, contex
1208
1206
  switch (errorCode) {
1209
1207
  case "AccessDeniedException":
1210
1208
  case "com.amazonaws.securitylake#AccessDeniedException":
1211
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1209
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1212
1210
  case "ConflictException":
1213
1211
  case "com.amazonaws.securitylake#ConflictException":
1214
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1212
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1215
1213
  case "InternalServerException":
1216
1214
  case "com.amazonaws.securitylake#InternalServerException":
1217
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1215
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1218
1216
  case "ResourceNotFoundException":
1219
1217
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1220
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1218
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1221
1219
  case "ServiceQuotaExceededException":
1222
1220
  case "com.amazonaws.securitylake#ServiceQuotaExceededException":
1223
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1221
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1224
1222
  case "ThrottlingException":
1225
1223
  case "com.amazonaws.securitylake#ThrottlingException":
1226
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1224
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1227
1225
  case "ValidationException":
1228
1226
  case "com.amazonaws.securitylake#ValidationException":
1229
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1227
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1230
1228
  default:
1231
1229
  const parsedBody = parsedOutput.body;
1232
1230
  (0, smithy_client_1.throwDefaultError)({
@@ -1237,9 +1235,9 @@ const deserializeAws_restJson1DeleteDatalakeCommandError = async (output, contex
1237
1235
  });
1238
1236
  }
1239
1237
  };
1240
- const deserializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (output, context) => {
1238
+ const de_DeleteDatalakeAutoEnableCommand = async (output, context) => {
1241
1239
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1242
- return deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError(output, context);
1240
+ return de_DeleteDatalakeAutoEnableCommandError(output, context);
1243
1241
  }
1244
1242
  const contents = map({
1245
1243
  $metadata: deserializeMetadata(output),
@@ -1247,8 +1245,8 @@ const deserializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (output, c
1247
1245
  await collectBody(output.body, context);
1248
1246
  return contents;
1249
1247
  };
1250
- exports.deserializeAws_restJson1DeleteDatalakeAutoEnableCommand = deserializeAws_restJson1DeleteDatalakeAutoEnableCommand;
1251
- const deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError = async (output, context) => {
1248
+ exports.de_DeleteDatalakeAutoEnableCommand = de_DeleteDatalakeAutoEnableCommand;
1249
+ const de_DeleteDatalakeAutoEnableCommandError = async (output, context) => {
1252
1250
  const parsedOutput = {
1253
1251
  ...output,
1254
1252
  body: await parseErrorBody(output.body, context),
@@ -1257,16 +1255,16 @@ const deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError = async (outp
1257
1255
  switch (errorCode) {
1258
1256
  case "AccessDeniedException":
1259
1257
  case "com.amazonaws.securitylake#AccessDeniedException":
1260
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1258
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1261
1259
  case "AccountNotFoundException":
1262
1260
  case "com.amazonaws.securitylake#AccountNotFoundException":
1263
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1261
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1264
1262
  case "InternalServerException":
1265
1263
  case "com.amazonaws.securitylake#InternalServerException":
1266
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1264
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1267
1265
  case "ValidationException":
1268
1266
  case "com.amazonaws.securitylake#ValidationException":
1269
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1267
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1270
1268
  default:
1271
1269
  const parsedBody = parsedOutput.body;
1272
1270
  (0, smithy_client_1.throwDefaultError)({
@@ -1277,9 +1275,9 @@ const deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError = async (outp
1277
1275
  });
1278
1276
  }
1279
1277
  };
1280
- const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async (output, context) => {
1278
+ const de_DeleteDatalakeDelegatedAdminCommand = async (output, context) => {
1281
1279
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1282
- return deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError(output, context);
1280
+ return de_DeleteDatalakeDelegatedAdminCommandError(output, context);
1283
1281
  }
1284
1282
  const contents = map({
1285
1283
  $metadata: deserializeMetadata(output),
@@ -1287,8 +1285,8 @@ const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async (outpu
1287
1285
  await collectBody(output.body, context);
1288
1286
  return contents;
1289
1287
  };
1290
- exports.deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommand;
1291
- const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError = async (output, context) => {
1288
+ exports.de_DeleteDatalakeDelegatedAdminCommand = de_DeleteDatalakeDelegatedAdminCommand;
1289
+ const de_DeleteDatalakeDelegatedAdminCommandError = async (output, context) => {
1292
1290
  const parsedOutput = {
1293
1291
  ...output,
1294
1292
  body: await parseErrorBody(output.body, context),
@@ -1297,16 +1295,16 @@ const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError = async (
1297
1295
  switch (errorCode) {
1298
1296
  case "AccessDeniedException":
1299
1297
  case "com.amazonaws.securitylake#AccessDeniedException":
1300
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1298
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1301
1299
  case "InternalServerException":
1302
1300
  case "com.amazonaws.securitylake#InternalServerException":
1303
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1301
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1304
1302
  case "ThrottlingException":
1305
1303
  case "com.amazonaws.securitylake#ThrottlingException":
1306
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1304
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1307
1305
  case "ValidationException":
1308
1306
  case "com.amazonaws.securitylake#ValidationException":
1309
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1307
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1310
1308
  default:
1311
1309
  const parsedBody = parsedOutput.body;
1312
1310
  (0, smithy_client_1.throwDefaultError)({
@@ -1317,9 +1315,9 @@ const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError = async (
1317
1315
  });
1318
1316
  }
1319
1317
  };
1320
- const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1318
+ const de_DeleteDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1321
1319
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1322
- return deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError(output, context);
1320
+ return de_DeleteDatalakeExceptionsSubscriptionCommandError(output, context);
1323
1321
  }
1324
1322
  const contents = map({
1325
1323
  $metadata: deserializeMetadata(output),
@@ -1330,8 +1328,8 @@ const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = asyn
1330
1328
  }
1331
1329
  return contents;
1332
1330
  };
1333
- exports.deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand;
1334
- const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1331
+ exports.de_DeleteDatalakeExceptionsSubscriptionCommand = de_DeleteDatalakeExceptionsSubscriptionCommand;
1332
+ const de_DeleteDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1335
1333
  const parsedOutput = {
1336
1334
  ...output,
1337
1335
  body: await parseErrorBody(output.body, context),
@@ -1340,16 +1338,16 @@ const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError =
1340
1338
  switch (errorCode) {
1341
1339
  case "AccessDeniedException":
1342
1340
  case "com.amazonaws.securitylake#AccessDeniedException":
1343
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1341
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1344
1342
  case "AccountNotFoundException":
1345
1343
  case "com.amazonaws.securitylake#AccountNotFoundException":
1346
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1344
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1347
1345
  case "InternalServerException":
1348
1346
  case "com.amazonaws.securitylake#InternalServerException":
1349
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1347
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1350
1348
  case "ValidationException":
1351
1349
  case "com.amazonaws.securitylake#ValidationException":
1352
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1350
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1353
1351
  default:
1354
1352
  const parsedBody = parsedOutput.body;
1355
1353
  (0, smithy_client_1.throwDefaultError)({
@@ -1360,9 +1358,9 @@ const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError =
1360
1358
  });
1361
1359
  }
1362
1360
  };
1363
- const deserializeAws_restJson1DeleteSubscriberCommand = async (output, context) => {
1361
+ const de_DeleteSubscriberCommand = async (output, context) => {
1364
1362
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1365
- return deserializeAws_restJson1DeleteSubscriberCommandError(output, context);
1363
+ return de_DeleteSubscriberCommandError(output, context);
1366
1364
  }
1367
1365
  const contents = map({
1368
1366
  $metadata: deserializeMetadata(output),
@@ -1370,8 +1368,8 @@ const deserializeAws_restJson1DeleteSubscriberCommand = async (output, context)
1370
1368
  await collectBody(output.body, context);
1371
1369
  return contents;
1372
1370
  };
1373
- exports.deserializeAws_restJson1DeleteSubscriberCommand = deserializeAws_restJson1DeleteSubscriberCommand;
1374
- const deserializeAws_restJson1DeleteSubscriberCommandError = async (output, context) => {
1371
+ exports.de_DeleteSubscriberCommand = de_DeleteSubscriberCommand;
1372
+ const de_DeleteSubscriberCommandError = async (output, context) => {
1375
1373
  const parsedOutput = {
1376
1374
  ...output,
1377
1375
  body: await parseErrorBody(output.body, context),
@@ -1380,28 +1378,28 @@ const deserializeAws_restJson1DeleteSubscriberCommandError = async (output, cont
1380
1378
  switch (errorCode) {
1381
1379
  case "AccessDeniedException":
1382
1380
  case "com.amazonaws.securitylake#AccessDeniedException":
1383
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1381
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1384
1382
  case "AccountNotFoundException":
1385
1383
  case "com.amazonaws.securitylake#AccountNotFoundException":
1386
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1384
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1387
1385
  case "BucketNotFoundException":
1388
1386
  case "com.amazonaws.securitylake#BucketNotFoundException":
1389
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
1387
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
1390
1388
  case "ConcurrentModificationException":
1391
1389
  case "com.amazonaws.securitylake#ConcurrentModificationException":
1392
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1390
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1393
1391
  case "InternalServerException":
1394
1392
  case "com.amazonaws.securitylake#InternalServerException":
1395
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1393
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1396
1394
  case "InvalidInputException":
1397
1395
  case "com.amazonaws.securitylake#InvalidInputException":
1398
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1396
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1399
1397
  case "ResourceNotFoundException":
1400
1398
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1401
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1399
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1402
1400
  case "ValidationException":
1403
1401
  case "com.amazonaws.securitylake#ValidationException":
1404
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1402
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1405
1403
  default:
1406
1404
  const parsedBody = parsedOutput.body;
1407
1405
  (0, smithy_client_1.throwDefaultError)({
@@ -1412,9 +1410,9 @@ const deserializeAws_restJson1DeleteSubscriberCommandError = async (output, cont
1412
1410
  });
1413
1411
  }
1414
1412
  };
1415
- const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = async (output, context) => {
1413
+ const de_DeleteSubscriptionNotificationConfigurationCommand = async (output, context) => {
1416
1414
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1417
- return deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommandError(output, context);
1415
+ return de_DeleteSubscriptionNotificationConfigurationCommandError(output, context);
1418
1416
  }
1419
1417
  const contents = map({
1420
1418
  $metadata: deserializeMetadata(output),
@@ -1422,8 +1420,8 @@ const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand
1422
1420
  await collectBody(output.body, context);
1423
1421
  return contents;
1424
1422
  };
1425
- exports.deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand;
1426
- const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1423
+ exports.de_DeleteSubscriptionNotificationConfigurationCommand = de_DeleteSubscriptionNotificationConfigurationCommand;
1424
+ const de_DeleteSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1427
1425
  const parsedOutput = {
1428
1426
  ...output,
1429
1427
  body: await parseErrorBody(output.body, context),
@@ -1432,25 +1430,25 @@ const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand
1432
1430
  switch (errorCode) {
1433
1431
  case "AccessDeniedException":
1434
1432
  case "com.amazonaws.securitylake#AccessDeniedException":
1435
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1433
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1436
1434
  case "AccountNotFoundException":
1437
1435
  case "com.amazonaws.securitylake#AccountNotFoundException":
1438
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1436
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1439
1437
  case "ConcurrentModificationException":
1440
1438
  case "com.amazonaws.securitylake#ConcurrentModificationException":
1441
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1439
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1442
1440
  case "InternalServerException":
1443
1441
  case "com.amazonaws.securitylake#InternalServerException":
1444
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1442
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1445
1443
  case "InvalidInputException":
1446
1444
  case "com.amazonaws.securitylake#InvalidInputException":
1447
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1445
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1448
1446
  case "ResourceNotFoundException":
1449
1447
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1450
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1448
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1451
1449
  case "ValidationException":
1452
1450
  case "com.amazonaws.securitylake#ValidationException":
1453
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1451
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1454
1452
  default:
1455
1453
  const parsedBody = parsedOutput.body;
1456
1454
  (0, smithy_client_1.throwDefaultError)({
@@ -1461,21 +1459,21 @@ const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand
1461
1459
  });
1462
1460
  }
1463
1461
  };
1464
- const deserializeAws_restJson1GetDatalakeCommand = async (output, context) => {
1462
+ const de_GetDatalakeCommand = async (output, context) => {
1465
1463
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1466
- return deserializeAws_restJson1GetDatalakeCommandError(output, context);
1464
+ return de_GetDatalakeCommandError(output, context);
1467
1465
  }
1468
1466
  const contents = map({
1469
1467
  $metadata: deserializeMetadata(output),
1470
1468
  });
1471
1469
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1472
1470
  if (data.configurations != null) {
1473
- contents.configurations = deserializeAws_restJson1LakeConfigurationResponseMap(data.configurations, context);
1471
+ contents.configurations = de_LakeConfigurationResponseMap(data.configurations, context);
1474
1472
  }
1475
1473
  return contents;
1476
1474
  };
1477
- exports.deserializeAws_restJson1GetDatalakeCommand = deserializeAws_restJson1GetDatalakeCommand;
1478
- const deserializeAws_restJson1GetDatalakeCommandError = async (output, context) => {
1475
+ exports.de_GetDatalakeCommand = de_GetDatalakeCommand;
1476
+ const de_GetDatalakeCommandError = async (output, context) => {
1479
1477
  const parsedOutput = {
1480
1478
  ...output,
1481
1479
  body: await parseErrorBody(output.body, context),
@@ -1484,19 +1482,19 @@ const deserializeAws_restJson1GetDatalakeCommandError = async (output, context)
1484
1482
  switch (errorCode) {
1485
1483
  case "AccessDeniedException":
1486
1484
  case "com.amazonaws.securitylake#AccessDeniedException":
1487
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1485
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1488
1486
  case "AccountNotFoundException":
1489
1487
  case "com.amazonaws.securitylake#AccountNotFoundException":
1490
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1488
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1491
1489
  case "InternalServerException":
1492
1490
  case "com.amazonaws.securitylake#InternalServerException":
1493
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1491
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1494
1492
  case "ResourceNotFoundException":
1495
1493
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1496
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1494
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1497
1495
  case "ValidationException":
1498
1496
  case "com.amazonaws.securitylake#ValidationException":
1499
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1497
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1500
1498
  default:
1501
1499
  const parsedBody = parsedOutput.body;
1502
1500
  (0, smithy_client_1.throwDefaultError)({
@@ -1507,21 +1505,21 @@ const deserializeAws_restJson1GetDatalakeCommandError = async (output, context)
1507
1505
  });
1508
1506
  }
1509
1507
  };
1510
- const deserializeAws_restJson1GetDatalakeAutoEnableCommand = async (output, context) => {
1508
+ const de_GetDatalakeAutoEnableCommand = async (output, context) => {
1511
1509
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1512
- return deserializeAws_restJson1GetDatalakeAutoEnableCommandError(output, context);
1510
+ return de_GetDatalakeAutoEnableCommandError(output, context);
1513
1511
  }
1514
1512
  const contents = map({
1515
1513
  $metadata: deserializeMetadata(output),
1516
1514
  });
1517
1515
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1518
1516
  if (data.autoEnableNewAccounts != null) {
1519
- contents.autoEnableNewAccounts = deserializeAws_restJson1AutoEnableNewRegionConfigurationList(data.autoEnableNewAccounts, context);
1517
+ contents.autoEnableNewAccounts = de_AutoEnableNewRegionConfigurationList(data.autoEnableNewAccounts, context);
1520
1518
  }
1521
1519
  return contents;
1522
1520
  };
1523
- exports.deserializeAws_restJson1GetDatalakeAutoEnableCommand = deserializeAws_restJson1GetDatalakeAutoEnableCommand;
1524
- const deserializeAws_restJson1GetDatalakeAutoEnableCommandError = async (output, context) => {
1521
+ exports.de_GetDatalakeAutoEnableCommand = de_GetDatalakeAutoEnableCommand;
1522
+ const de_GetDatalakeAutoEnableCommandError = async (output, context) => {
1525
1523
  const parsedOutput = {
1526
1524
  ...output,
1527
1525
  body: await parseErrorBody(output.body, context),
@@ -1530,16 +1528,16 @@ const deserializeAws_restJson1GetDatalakeAutoEnableCommandError = async (output,
1530
1528
  switch (errorCode) {
1531
1529
  case "AccessDeniedException":
1532
1530
  case "com.amazonaws.securitylake#AccessDeniedException":
1533
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1531
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1534
1532
  case "AccountNotFoundException":
1535
1533
  case "com.amazonaws.securitylake#AccountNotFoundException":
1536
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1534
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1537
1535
  case "InternalServerException":
1538
1536
  case "com.amazonaws.securitylake#InternalServerException":
1539
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1537
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1540
1538
  case "ValidationException":
1541
1539
  case "com.amazonaws.securitylake#ValidationException":
1542
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1540
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1543
1541
  default:
1544
1542
  const parsedBody = parsedOutput.body;
1545
1543
  (0, smithy_client_1.throwDefaultError)({
@@ -1550,9 +1548,9 @@ const deserializeAws_restJson1GetDatalakeAutoEnableCommandError = async (output,
1550
1548
  });
1551
1549
  }
1552
1550
  };
1553
- const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async (output, context) => {
1551
+ const de_GetDatalakeExceptionsExpiryCommand = async (output, context) => {
1554
1552
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1555
- return deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError(output, context);
1553
+ return de_GetDatalakeExceptionsExpiryCommandError(output, context);
1556
1554
  }
1557
1555
  const contents = map({
1558
1556
  $metadata: deserializeMetadata(output),
@@ -1563,8 +1561,8 @@ const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async (output
1563
1561
  }
1564
1562
  return contents;
1565
1563
  };
1566
- exports.deserializeAws_restJson1GetDatalakeExceptionsExpiryCommand = deserializeAws_restJson1GetDatalakeExceptionsExpiryCommand;
1567
- const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError = async (output, context) => {
1564
+ exports.de_GetDatalakeExceptionsExpiryCommand = de_GetDatalakeExceptionsExpiryCommand;
1565
+ const de_GetDatalakeExceptionsExpiryCommandError = async (output, context) => {
1568
1566
  const parsedOutput = {
1569
1567
  ...output,
1570
1568
  body: await parseErrorBody(output.body, context),
@@ -1573,16 +1571,16 @@ const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError = async (o
1573
1571
  switch (errorCode) {
1574
1572
  case "AccessDeniedException":
1575
1573
  case "com.amazonaws.securitylake#AccessDeniedException":
1576
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1574
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1577
1575
  case "AccountNotFoundException":
1578
1576
  case "com.amazonaws.securitylake#AccountNotFoundException":
1579
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1577
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1580
1578
  case "InternalServerException":
1581
1579
  case "com.amazonaws.securitylake#InternalServerException":
1582
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1580
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1583
1581
  case "ValidationException":
1584
1582
  case "com.amazonaws.securitylake#ValidationException":
1585
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1583
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1586
1584
  default:
1587
1585
  const parsedBody = parsedOutput.body;
1588
1586
  (0, smithy_client_1.throwDefaultError)({
@@ -1593,21 +1591,21 @@ const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError = async (o
1593
1591
  });
1594
1592
  }
1595
1593
  };
1596
- const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1594
+ const de_GetDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1597
1595
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1598
- return deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError(output, context);
1596
+ return de_GetDatalakeExceptionsSubscriptionCommandError(output, context);
1599
1597
  }
1600
1598
  const contents = map({
1601
1599
  $metadata: deserializeMetadata(output),
1602
1600
  });
1603
1601
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1604
1602
  if (data.protocolAndNotificationEndpoint != null) {
1605
- contents.protocolAndNotificationEndpoint = deserializeAws_restJson1ProtocolAndNotificationEndpoint(data.protocolAndNotificationEndpoint, context);
1603
+ contents.protocolAndNotificationEndpoint = de_ProtocolAndNotificationEndpoint(data.protocolAndNotificationEndpoint, context);
1606
1604
  }
1607
1605
  return contents;
1608
1606
  };
1609
- exports.deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand;
1610
- const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1607
+ exports.de_GetDatalakeExceptionsSubscriptionCommand = de_GetDatalakeExceptionsSubscriptionCommand;
1608
+ const de_GetDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1611
1609
  const parsedOutput = {
1612
1610
  ...output,
1613
1611
  body: await parseErrorBody(output.body, context),
@@ -1616,16 +1614,16 @@ const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError = as
1616
1614
  switch (errorCode) {
1617
1615
  case "AccessDeniedException":
1618
1616
  case "com.amazonaws.securitylake#AccessDeniedException":
1619
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1617
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1620
1618
  case "AccountNotFoundException":
1621
1619
  case "com.amazonaws.securitylake#AccountNotFoundException":
1622
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1620
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1623
1621
  case "InternalServerException":
1624
1622
  case "com.amazonaws.securitylake#InternalServerException":
1625
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1623
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1626
1624
  case "ValidationException":
1627
1625
  case "com.amazonaws.securitylake#ValidationException":
1628
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1626
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1629
1627
  default:
1630
1628
  const parsedBody = parsedOutput.body;
1631
1629
  (0, smithy_client_1.throwDefaultError)({
@@ -1636,24 +1634,24 @@ const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError = as
1636
1634
  });
1637
1635
  }
1638
1636
  };
1639
- const deserializeAws_restJson1GetDatalakeStatusCommand = async (output, context) => {
1637
+ const de_GetDatalakeStatusCommand = async (output, context) => {
1640
1638
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1641
- return deserializeAws_restJson1GetDatalakeStatusCommandError(output, context);
1639
+ return de_GetDatalakeStatusCommandError(output, context);
1642
1640
  }
1643
1641
  const contents = map({
1644
1642
  $metadata: deserializeMetadata(output),
1645
1643
  });
1646
1644
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1647
1645
  if (data.accountSourcesList != null) {
1648
- contents.accountSourcesList = deserializeAws_restJson1AccountSourcesList(data.accountSourcesList, context);
1646
+ contents.accountSourcesList = de_AccountSourcesList(data.accountSourcesList, context);
1649
1647
  }
1650
1648
  if (data.nextToken != null) {
1651
1649
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1652
1650
  }
1653
1651
  return contents;
1654
1652
  };
1655
- exports.deserializeAws_restJson1GetDatalakeStatusCommand = deserializeAws_restJson1GetDatalakeStatusCommand;
1656
- const deserializeAws_restJson1GetDatalakeStatusCommandError = async (output, context) => {
1653
+ exports.de_GetDatalakeStatusCommand = de_GetDatalakeStatusCommand;
1654
+ const de_GetDatalakeStatusCommandError = async (output, context) => {
1657
1655
  const parsedOutput = {
1658
1656
  ...output,
1659
1657
  body: await parseErrorBody(output.body, context),
@@ -1662,16 +1660,16 @@ const deserializeAws_restJson1GetDatalakeStatusCommandError = async (output, con
1662
1660
  switch (errorCode) {
1663
1661
  case "AccessDeniedException":
1664
1662
  case "com.amazonaws.securitylake#AccessDeniedException":
1665
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1663
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1666
1664
  case "AccountNotFoundException":
1667
1665
  case "com.amazonaws.securitylake#AccountNotFoundException":
1668
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1666
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1669
1667
  case "InternalServerException":
1670
1668
  case "com.amazonaws.securitylake#InternalServerException":
1671
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1669
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1672
1670
  case "ValidationException":
1673
1671
  case "com.amazonaws.securitylake#ValidationException":
1674
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1672
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1675
1673
  default:
1676
1674
  const parsedBody = parsedOutput.body;
1677
1675
  (0, smithy_client_1.throwDefaultError)({
@@ -1682,21 +1680,21 @@ const deserializeAws_restJson1GetDatalakeStatusCommandError = async (output, con
1682
1680
  });
1683
1681
  }
1684
1682
  };
1685
- const deserializeAws_restJson1GetSubscriberCommand = async (output, context) => {
1683
+ const de_GetSubscriberCommand = async (output, context) => {
1686
1684
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1687
- return deserializeAws_restJson1GetSubscriberCommandError(output, context);
1685
+ return de_GetSubscriberCommandError(output, context);
1688
1686
  }
1689
1687
  const contents = map({
1690
1688
  $metadata: deserializeMetadata(output),
1691
1689
  });
1692
1690
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1693
1691
  if (data.subscriber != null) {
1694
- contents.subscriber = deserializeAws_restJson1SubscriberResource(data.subscriber, context);
1692
+ contents.subscriber = de_SubscriberResource(data.subscriber, context);
1695
1693
  }
1696
1694
  return contents;
1697
1695
  };
1698
- exports.deserializeAws_restJson1GetSubscriberCommand = deserializeAws_restJson1GetSubscriberCommand;
1699
- const deserializeAws_restJson1GetSubscriberCommandError = async (output, context) => {
1696
+ exports.de_GetSubscriberCommand = de_GetSubscriberCommand;
1697
+ const de_GetSubscriberCommandError = async (output, context) => {
1700
1698
  const parsedOutput = {
1701
1699
  ...output,
1702
1700
  body: await parseErrorBody(output.body, context),
@@ -1705,19 +1703,19 @@ const deserializeAws_restJson1GetSubscriberCommandError = async (output, context
1705
1703
  switch (errorCode) {
1706
1704
  case "AccessDeniedException":
1707
1705
  case "com.amazonaws.securitylake#AccessDeniedException":
1708
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1706
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1709
1707
  case "AccountNotFoundException":
1710
1708
  case "com.amazonaws.securitylake#AccountNotFoundException":
1711
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1709
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1712
1710
  case "InternalServerException":
1713
1711
  case "com.amazonaws.securitylake#InternalServerException":
1714
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1712
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1715
1713
  case "InvalidInputException":
1716
1714
  case "com.amazonaws.securitylake#InvalidInputException":
1717
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1715
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1718
1716
  case "ResourceNotFoundException":
1719
1717
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1720
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1718
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1721
1719
  default:
1722
1720
  const parsedBody = parsedOutput.body;
1723
1721
  (0, smithy_client_1.throwDefaultError)({
@@ -1728,9 +1726,9 @@ const deserializeAws_restJson1GetSubscriberCommandError = async (output, context
1728
1726
  });
1729
1727
  }
1730
1728
  };
1731
- const deserializeAws_restJson1ListDatalakeExceptionsCommand = async (output, context) => {
1729
+ const de_ListDatalakeExceptionsCommand = async (output, context) => {
1732
1730
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1733
- return deserializeAws_restJson1ListDatalakeExceptionsCommandError(output, context);
1731
+ return de_ListDatalakeExceptionsCommandError(output, context);
1734
1732
  }
1735
1733
  const contents = map({
1736
1734
  $metadata: deserializeMetadata(output),
@@ -1740,12 +1738,12 @@ const deserializeAws_restJson1ListDatalakeExceptionsCommand = async (output, con
1740
1738
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1741
1739
  }
1742
1740
  if (data.nonRetryableFailures != null) {
1743
- contents.nonRetryableFailures = deserializeAws_restJson1FailuresResponseList(data.nonRetryableFailures, context);
1741
+ contents.nonRetryableFailures = de_FailuresResponseList(data.nonRetryableFailures, context);
1744
1742
  }
1745
1743
  return contents;
1746
1744
  };
1747
- exports.deserializeAws_restJson1ListDatalakeExceptionsCommand = deserializeAws_restJson1ListDatalakeExceptionsCommand;
1748
- const deserializeAws_restJson1ListDatalakeExceptionsCommandError = async (output, context) => {
1745
+ exports.de_ListDatalakeExceptionsCommand = de_ListDatalakeExceptionsCommand;
1746
+ const de_ListDatalakeExceptionsCommandError = async (output, context) => {
1749
1747
  const parsedOutput = {
1750
1748
  ...output,
1751
1749
  body: await parseErrorBody(output.body, context),
@@ -1754,16 +1752,16 @@ const deserializeAws_restJson1ListDatalakeExceptionsCommandError = async (output
1754
1752
  switch (errorCode) {
1755
1753
  case "AccessDeniedException":
1756
1754
  case "com.amazonaws.securitylake#AccessDeniedException":
1757
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1755
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1758
1756
  case "AccountNotFoundException":
1759
1757
  case "com.amazonaws.securitylake#AccountNotFoundException":
1760
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1758
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1761
1759
  case "InternalServerException":
1762
1760
  case "com.amazonaws.securitylake#InternalServerException":
1763
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1761
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1764
1762
  case "ValidationException":
1765
1763
  case "com.amazonaws.securitylake#ValidationException":
1766
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1764
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1767
1765
  default:
1768
1766
  const parsedBody = parsedOutput.body;
1769
1767
  (0, smithy_client_1.throwDefaultError)({
@@ -1774,9 +1772,9 @@ const deserializeAws_restJson1ListDatalakeExceptionsCommandError = async (output
1774
1772
  });
1775
1773
  }
1776
1774
  };
1777
- const deserializeAws_restJson1ListLogSourcesCommand = async (output, context) => {
1775
+ const de_ListLogSourcesCommand = async (output, context) => {
1778
1776
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1779
- return deserializeAws_restJson1ListLogSourcesCommandError(output, context);
1777
+ return de_ListLogSourcesCommandError(output, context);
1780
1778
  }
1781
1779
  const contents = map({
1782
1780
  $metadata: deserializeMetadata(output),
@@ -1786,12 +1784,12 @@ const deserializeAws_restJson1ListLogSourcesCommand = async (output, context) =>
1786
1784
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1787
1785
  }
1788
1786
  if (data.regionSourceTypesAccountsList != null) {
1789
- contents.regionSourceTypesAccountsList = deserializeAws_restJson1RegionSourceTypesAccountsList(data.regionSourceTypesAccountsList, context);
1787
+ contents.regionSourceTypesAccountsList = de_RegionSourceTypesAccountsList(data.regionSourceTypesAccountsList, context);
1790
1788
  }
1791
1789
  return contents;
1792
1790
  };
1793
- exports.deserializeAws_restJson1ListLogSourcesCommand = deserializeAws_restJson1ListLogSourcesCommand;
1794
- const deserializeAws_restJson1ListLogSourcesCommandError = async (output, context) => {
1791
+ exports.de_ListLogSourcesCommand = de_ListLogSourcesCommand;
1792
+ const de_ListLogSourcesCommandError = async (output, context) => {
1795
1793
  const parsedOutput = {
1796
1794
  ...output,
1797
1795
  body: await parseErrorBody(output.body, context),
@@ -1800,19 +1798,19 @@ const deserializeAws_restJson1ListLogSourcesCommandError = async (output, contex
1800
1798
  switch (errorCode) {
1801
1799
  case "AccessDeniedException":
1802
1800
  case "com.amazonaws.securitylake#AccessDeniedException":
1803
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1801
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1804
1802
  case "AccountNotFoundException":
1805
1803
  case "com.amazonaws.securitylake#AccountNotFoundException":
1806
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1804
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1807
1805
  case "InternalServerException":
1808
1806
  case "com.amazonaws.securitylake#InternalServerException":
1809
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1807
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1810
1808
  case "ResourceNotFoundException":
1811
1809
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1812
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1810
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1813
1811
  case "ValidationException":
1814
1812
  case "com.amazonaws.securitylake#ValidationException":
1815
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1813
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1816
1814
  default:
1817
1815
  const parsedBody = parsedOutput.body;
1818
1816
  (0, smithy_client_1.throwDefaultError)({
@@ -1823,9 +1821,9 @@ const deserializeAws_restJson1ListLogSourcesCommandError = async (output, contex
1823
1821
  });
1824
1822
  }
1825
1823
  };
1826
- const deserializeAws_restJson1ListSubscribersCommand = async (output, context) => {
1824
+ const de_ListSubscribersCommand = async (output, context) => {
1827
1825
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1828
- return deserializeAws_restJson1ListSubscribersCommandError(output, context);
1826
+ return de_ListSubscribersCommandError(output, context);
1829
1827
  }
1830
1828
  const contents = map({
1831
1829
  $metadata: deserializeMetadata(output),
@@ -1835,12 +1833,12 @@ const deserializeAws_restJson1ListSubscribersCommand = async (output, context) =
1835
1833
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1836
1834
  }
1837
1835
  if (data.subscribers != null) {
1838
- contents.subscribers = deserializeAws_restJson1SubscriberList(data.subscribers, context);
1836
+ contents.subscribers = de_SubscriberList(data.subscribers, context);
1839
1837
  }
1840
1838
  return contents;
1841
1839
  };
1842
- exports.deserializeAws_restJson1ListSubscribersCommand = deserializeAws_restJson1ListSubscribersCommand;
1843
- const deserializeAws_restJson1ListSubscribersCommandError = async (output, context) => {
1840
+ exports.de_ListSubscribersCommand = de_ListSubscribersCommand;
1841
+ const de_ListSubscribersCommandError = async (output, context) => {
1844
1842
  const parsedOutput = {
1845
1843
  ...output,
1846
1844
  body: await parseErrorBody(output.body, context),
@@ -1849,22 +1847,22 @@ const deserializeAws_restJson1ListSubscribersCommandError = async (output, conte
1849
1847
  switch (errorCode) {
1850
1848
  case "AccessDeniedException":
1851
1849
  case "com.amazonaws.securitylake#AccessDeniedException":
1852
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1850
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1853
1851
  case "AccountNotFoundException":
1854
1852
  case "com.amazonaws.securitylake#AccountNotFoundException":
1855
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1853
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1856
1854
  case "InternalServerException":
1857
1855
  case "com.amazonaws.securitylake#InternalServerException":
1858
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1856
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1859
1857
  case "InvalidInputException":
1860
1858
  case "com.amazonaws.securitylake#InvalidInputException":
1861
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1859
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1862
1860
  case "ResourceNotFoundException":
1863
1861
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1864
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1862
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1865
1863
  case "ValidationException":
1866
1864
  case "com.amazonaws.securitylake#ValidationException":
1867
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1865
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1868
1866
  default:
1869
1867
  const parsedBody = parsedOutput.body;
1870
1868
  (0, smithy_client_1.throwDefaultError)({
@@ -1875,9 +1873,9 @@ const deserializeAws_restJson1ListSubscribersCommandError = async (output, conte
1875
1873
  });
1876
1874
  }
1877
1875
  };
1878
- const deserializeAws_restJson1UpdateDatalakeCommand = async (output, context) => {
1876
+ const de_UpdateDatalakeCommand = async (output, context) => {
1879
1877
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1880
- return deserializeAws_restJson1UpdateDatalakeCommandError(output, context);
1878
+ return de_UpdateDatalakeCommandError(output, context);
1881
1879
  }
1882
1880
  const contents = map({
1883
1881
  $metadata: deserializeMetadata(output),
@@ -1885,8 +1883,8 @@ const deserializeAws_restJson1UpdateDatalakeCommand = async (output, context) =>
1885
1883
  await collectBody(output.body, context);
1886
1884
  return contents;
1887
1885
  };
1888
- exports.deserializeAws_restJson1UpdateDatalakeCommand = deserializeAws_restJson1UpdateDatalakeCommand;
1889
- const deserializeAws_restJson1UpdateDatalakeCommandError = async (output, context) => {
1886
+ exports.de_UpdateDatalakeCommand = de_UpdateDatalakeCommand;
1887
+ const de_UpdateDatalakeCommandError = async (output, context) => {
1890
1888
  const parsedOutput = {
1891
1889
  ...output,
1892
1890
  body: await parseErrorBody(output.body, context),
@@ -1895,19 +1893,19 @@ const deserializeAws_restJson1UpdateDatalakeCommandError = async (output, contex
1895
1893
  switch (errorCode) {
1896
1894
  case "AccessDeniedException":
1897
1895
  case "com.amazonaws.securitylake#AccessDeniedException":
1898
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1896
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1899
1897
  case "EventBridgeException":
1900
1898
  case "com.amazonaws.securitylake#EventBridgeException":
1901
- throw await deserializeAws_restJson1EventBridgeExceptionResponse(parsedOutput, context);
1899
+ throw await de_EventBridgeExceptionRes(parsedOutput, context);
1902
1900
  case "InternalServerException":
1903
1901
  case "com.amazonaws.securitylake#InternalServerException":
1904
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1902
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1905
1903
  case "ResourceNotFoundException":
1906
1904
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1907
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1905
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1908
1906
  case "ValidationException":
1909
1907
  case "com.amazonaws.securitylake#ValidationException":
1910
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1908
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1911
1909
  default:
1912
1910
  const parsedBody = parsedOutput.body;
1913
1911
  (0, smithy_client_1.throwDefaultError)({
@@ -1918,9 +1916,9 @@ const deserializeAws_restJson1UpdateDatalakeCommandError = async (output, contex
1918
1916
  });
1919
1917
  }
1920
1918
  };
1921
- const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = async (output, context) => {
1919
+ const de_UpdateDatalakeExceptionsExpiryCommand = async (output, context) => {
1922
1920
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1923
- return deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError(output, context);
1921
+ return de_UpdateDatalakeExceptionsExpiryCommandError(output, context);
1924
1922
  }
1925
1923
  const contents = map({
1926
1924
  $metadata: deserializeMetadata(output),
@@ -1928,8 +1926,8 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = async (out
1928
1926
  await collectBody(output.body, context);
1929
1927
  return contents;
1930
1928
  };
1931
- exports.deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand;
1932
- const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError = async (output, context) => {
1929
+ exports.de_UpdateDatalakeExceptionsExpiryCommand = de_UpdateDatalakeExceptionsExpiryCommand;
1930
+ const de_UpdateDatalakeExceptionsExpiryCommandError = async (output, context) => {
1933
1931
  const parsedOutput = {
1934
1932
  ...output,
1935
1933
  body: await parseErrorBody(output.body, context),
@@ -1938,16 +1936,16 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError = async
1938
1936
  switch (errorCode) {
1939
1937
  case "AccessDeniedException":
1940
1938
  case "com.amazonaws.securitylake#AccessDeniedException":
1941
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1939
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1942
1940
  case "AccountNotFoundException":
1943
1941
  case "com.amazonaws.securitylake#AccountNotFoundException":
1944
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1942
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1945
1943
  case "InternalServerException":
1946
1944
  case "com.amazonaws.securitylake#InternalServerException":
1947
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1945
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1948
1946
  case "ValidationException":
1949
1947
  case "com.amazonaws.securitylake#ValidationException":
1950
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1948
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1951
1949
  default:
1952
1950
  const parsedBody = parsedOutput.body;
1953
1951
  (0, smithy_client_1.throwDefaultError)({
@@ -1958,9 +1956,9 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError = async
1958
1956
  });
1959
1957
  }
1960
1958
  };
1961
- const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1959
+ const de_UpdateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1962
1960
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1963
- return deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError(output, context);
1961
+ return de_UpdateDatalakeExceptionsSubscriptionCommandError(output, context);
1964
1962
  }
1965
1963
  const contents = map({
1966
1964
  $metadata: deserializeMetadata(output),
@@ -1968,8 +1966,8 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = asyn
1968
1966
  await collectBody(output.body, context);
1969
1967
  return contents;
1970
1968
  };
1971
- exports.deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand;
1972
- const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1969
+ exports.de_UpdateDatalakeExceptionsSubscriptionCommand = de_UpdateDatalakeExceptionsSubscriptionCommand;
1970
+ const de_UpdateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1973
1971
  const parsedOutput = {
1974
1972
  ...output,
1975
1973
  body: await parseErrorBody(output.body, context),
@@ -1978,16 +1976,16 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError =
1978
1976
  switch (errorCode) {
1979
1977
  case "AccessDeniedException":
1980
1978
  case "com.amazonaws.securitylake#AccessDeniedException":
1981
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1979
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1982
1980
  case "AccountNotFoundException":
1983
1981
  case "com.amazonaws.securitylake#AccountNotFoundException":
1984
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1982
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1985
1983
  case "InternalServerException":
1986
1984
  case "com.amazonaws.securitylake#InternalServerException":
1987
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1985
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1988
1986
  case "ValidationException":
1989
1987
  case "com.amazonaws.securitylake#ValidationException":
1990
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1988
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1991
1989
  default:
1992
1990
  const parsedBody = parsedOutput.body;
1993
1991
  (0, smithy_client_1.throwDefaultError)({
@@ -1998,21 +1996,21 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError =
1998
1996
  });
1999
1997
  }
2000
1998
  };
2001
- const deserializeAws_restJson1UpdateSubscriberCommand = async (output, context) => {
1999
+ const de_UpdateSubscriberCommand = async (output, context) => {
2002
2000
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2003
- return deserializeAws_restJson1UpdateSubscriberCommandError(output, context);
2001
+ return de_UpdateSubscriberCommandError(output, context);
2004
2002
  }
2005
2003
  const contents = map({
2006
2004
  $metadata: deserializeMetadata(output),
2007
2005
  });
2008
2006
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2009
2007
  if (data.subscriber != null) {
2010
- contents.subscriber = deserializeAws_restJson1SubscriberResource(data.subscriber, context);
2008
+ contents.subscriber = de_SubscriberResource(data.subscriber, context);
2011
2009
  }
2012
2010
  return contents;
2013
2011
  };
2014
- exports.deserializeAws_restJson1UpdateSubscriberCommand = deserializeAws_restJson1UpdateSubscriberCommand;
2015
- const deserializeAws_restJson1UpdateSubscriberCommandError = async (output, context) => {
2012
+ exports.de_UpdateSubscriberCommand = de_UpdateSubscriberCommand;
2013
+ const de_UpdateSubscriberCommandError = async (output, context) => {
2016
2014
  const parsedOutput = {
2017
2015
  ...output,
2018
2016
  body: await parseErrorBody(output.body, context),
@@ -2021,25 +2019,25 @@ const deserializeAws_restJson1UpdateSubscriberCommandError = async (output, cont
2021
2019
  switch (errorCode) {
2022
2020
  case "AccessDeniedException":
2023
2021
  case "com.amazonaws.securitylake#AccessDeniedException":
2024
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2022
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2025
2023
  case "AccountNotFoundException":
2026
2024
  case "com.amazonaws.securitylake#AccountNotFoundException":
2027
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
2025
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
2028
2026
  case "ConcurrentModificationException":
2029
2027
  case "com.amazonaws.securitylake#ConcurrentModificationException":
2030
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2028
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2031
2029
  case "ConflictSubscriptionException":
2032
2030
  case "com.amazonaws.securitylake#ConflictSubscriptionException":
2033
- throw await deserializeAws_restJson1ConflictSubscriptionExceptionResponse(parsedOutput, context);
2031
+ throw await de_ConflictSubscriptionExceptionRes(parsedOutput, context);
2034
2032
  case "InternalServerException":
2035
2033
  case "com.amazonaws.securitylake#InternalServerException":
2036
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2034
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2037
2035
  case "InvalidInputException":
2038
2036
  case "com.amazonaws.securitylake#InvalidInputException":
2039
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
2037
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2040
2038
  case "ValidationException":
2041
2039
  case "com.amazonaws.securitylake#ValidationException":
2042
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2040
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2043
2041
  default:
2044
2042
  const parsedBody = parsedOutput.body;
2045
2043
  (0, smithy_client_1.throwDefaultError)({
@@ -2050,9 +2048,9 @@ const deserializeAws_restJson1UpdateSubscriberCommandError = async (output, cont
2050
2048
  });
2051
2049
  }
2052
2050
  };
2053
- const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = async (output, context) => {
2051
+ const de_UpdateSubscriptionNotificationConfigurationCommand = async (output, context) => {
2054
2052
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2055
- return deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommandError(output, context);
2053
+ return de_UpdateSubscriptionNotificationConfigurationCommandError(output, context);
2056
2054
  }
2057
2055
  const contents = map({
2058
2056
  $metadata: deserializeMetadata(output),
@@ -2063,8 +2061,8 @@ const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand
2063
2061
  }
2064
2062
  return contents;
2065
2063
  };
2066
- exports.deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand;
2067
- const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
2064
+ exports.de_UpdateSubscriptionNotificationConfigurationCommand = de_UpdateSubscriptionNotificationConfigurationCommand;
2065
+ const de_UpdateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
2068
2066
  const parsedOutput = {
2069
2067
  ...output,
2070
2068
  body: await parseErrorBody(output.body, context),
@@ -2073,25 +2071,25 @@ const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand
2073
2071
  switch (errorCode) {
2074
2072
  case "AccessDeniedException":
2075
2073
  case "com.amazonaws.securitylake#AccessDeniedException":
2076
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2074
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2077
2075
  case "AccountNotFoundException":
2078
2076
  case "com.amazonaws.securitylake#AccountNotFoundException":
2079
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
2077
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
2080
2078
  case "ConcurrentModificationException":
2081
2079
  case "com.amazonaws.securitylake#ConcurrentModificationException":
2082
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2080
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2083
2081
  case "InternalServerException":
2084
2082
  case "com.amazonaws.securitylake#InternalServerException":
2085
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2083
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2086
2084
  case "InvalidInputException":
2087
2085
  case "com.amazonaws.securitylake#InvalidInputException":
2088
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
2086
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2089
2087
  case "ResourceNotFoundException":
2090
2088
  case "com.amazonaws.securitylake#ResourceNotFoundException":
2091
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2089
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2092
2090
  case "ValidationException":
2093
2091
  case "com.amazonaws.securitylake#ValidationException":
2094
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2092
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2095
2093
  default:
2096
2094
  const parsedBody = parsedOutput.body;
2097
2095
  (0, smithy_client_1.throwDefaultError)({
@@ -2103,7 +2101,7 @@ const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand
2103
2101
  }
2104
2102
  };
2105
2103
  const map = smithy_client_1.map;
2106
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2104
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2107
2105
  const contents = map({});
2108
2106
  const data = parsedOutput.body;
2109
2107
  if (data.errorCode != null) {
@@ -2118,7 +2116,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2118
2116
  });
2119
2117
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2120
2118
  };
2121
- const deserializeAws_restJson1AccountNotFoundExceptionResponse = async (parsedOutput, context) => {
2119
+ const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
2122
2120
  const contents = map({});
2123
2121
  const data = parsedOutput.body;
2124
2122
  if (data.message != null) {
@@ -2130,7 +2128,7 @@ const deserializeAws_restJson1AccountNotFoundExceptionResponse = async (parsedOu
2130
2128
  });
2131
2129
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2132
2130
  };
2133
- const deserializeAws_restJson1BucketNotFoundExceptionResponse = async (parsedOutput, context) => {
2131
+ const de_BucketNotFoundExceptionRes = async (parsedOutput, context) => {
2134
2132
  const contents = map({});
2135
2133
  const data = parsedOutput.body;
2136
2134
  if (data.message != null) {
@@ -2142,7 +2140,7 @@ const deserializeAws_restJson1BucketNotFoundExceptionResponse = async (parsedOut
2142
2140
  });
2143
2141
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2144
2142
  };
2145
- const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
2143
+ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
2146
2144
  const contents = map({});
2147
2145
  const data = parsedOutput.body;
2148
2146
  if (data.message != null) {
@@ -2154,7 +2152,7 @@ const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (p
2154
2152
  });
2155
2153
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2156
2154
  };
2157
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2155
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2158
2156
  const contents = map({});
2159
2157
  const data = parsedOutput.body;
2160
2158
  if (data.message != null) {
@@ -2172,7 +2170,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2172
2170
  });
2173
2171
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2174
2172
  };
2175
- const deserializeAws_restJson1ConflictSourceNamesExceptionResponse = async (parsedOutput, context) => {
2173
+ const de_ConflictSourceNamesExceptionRes = async (parsedOutput, context) => {
2176
2174
  const contents = map({});
2177
2175
  const data = parsedOutput.body;
2178
2176
  if (data.message != null) {
@@ -2184,7 +2182,7 @@ const deserializeAws_restJson1ConflictSourceNamesExceptionResponse = async (pars
2184
2182
  });
2185
2183
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2186
2184
  };
2187
- const deserializeAws_restJson1ConflictSubscriptionExceptionResponse = async (parsedOutput, context) => {
2185
+ const de_ConflictSubscriptionExceptionRes = async (parsedOutput, context) => {
2188
2186
  const contents = map({});
2189
2187
  const data = parsedOutput.body;
2190
2188
  if (data.message != null) {
@@ -2196,7 +2194,7 @@ const deserializeAws_restJson1ConflictSubscriptionExceptionResponse = async (par
2196
2194
  });
2197
2195
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2198
2196
  };
2199
- const deserializeAws_restJson1EventBridgeExceptionResponse = async (parsedOutput, context) => {
2197
+ const de_EventBridgeExceptionRes = async (parsedOutput, context) => {
2200
2198
  const contents = map({});
2201
2199
  const data = parsedOutput.body;
2202
2200
  if (data.message != null) {
@@ -2208,7 +2206,7 @@ const deserializeAws_restJson1EventBridgeExceptionResponse = async (parsedOutput
2208
2206
  });
2209
2207
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2210
2208
  };
2211
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2209
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2212
2210
  const contents = map({
2213
2211
  retryAfterSeconds: [
2214
2212
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2225,7 +2223,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2225
2223
  });
2226
2224
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2227
2225
  };
2228
- const deserializeAws_restJson1InvalidInputExceptionResponse = async (parsedOutput, context) => {
2226
+ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
2229
2227
  const contents = map({});
2230
2228
  const data = parsedOutput.body;
2231
2229
  if (data.message != null) {
@@ -2237,7 +2235,7 @@ const deserializeAws_restJson1InvalidInputExceptionResponse = async (parsedOutpu
2237
2235
  });
2238
2236
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2239
2237
  };
2240
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2238
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2241
2239
  const contents = map({});
2242
2240
  const data = parsedOutput.body;
2243
2241
  if (data.message != null) {
@@ -2255,7 +2253,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2255
2253
  });
2256
2254
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2257
2255
  };
2258
- const deserializeAws_restJson1S3ExceptionResponse = async (parsedOutput, context) => {
2256
+ const de_S3ExceptionRes = async (parsedOutput, context) => {
2259
2257
  const contents = map({});
2260
2258
  const data = parsedOutput.body;
2261
2259
  if (data.message != null) {
@@ -2267,7 +2265,7 @@ const deserializeAws_restJson1S3ExceptionResponse = async (parsedOutput, context
2267
2265
  });
2268
2266
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2269
2267
  };
2270
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2268
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2271
2269
  const contents = map({});
2272
2270
  const data = parsedOutput.body;
2273
2271
  if (data.message != null) {
@@ -2291,7 +2289,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2291
2289
  });
2292
2290
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2293
2291
  };
2294
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2292
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2295
2293
  const contents = map({
2296
2294
  retryAfterSeconds: [
2297
2295
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2314,11 +2312,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2314
2312
  });
2315
2313
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2316
2314
  };
2317
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2315
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2318
2316
  const contents = map({});
2319
2317
  const data = parsedOutput.body;
2320
2318
  if (data.fieldList != null) {
2321
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
2319
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
2322
2320
  }
2323
2321
  if (data.message != null) {
2324
2322
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -2332,113 +2330,113 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2332
2330
  });
2333
2331
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2334
2332
  };
2335
- const serializeAws_restJson1AccessTypeList = (input, context) => {
2333
+ const se_AccessTypeList = (input, context) => {
2336
2334
  return input
2337
2335
  .filter((e) => e != null)
2338
2336
  .map((entry) => {
2339
2337
  return entry;
2340
2338
  });
2341
2339
  };
2342
- const serializeAws_restJson1AllDimensionsMap = (input, context) => {
2340
+ const se_AllDimensionsMap = (input, context) => {
2343
2341
  return Object.entries(input).reduce((acc, [key, value]) => {
2344
2342
  if (value === null) {
2345
2343
  return acc;
2346
2344
  }
2347
- acc[key] = serializeAws_restJson1TwoDimensionsMap(value, context);
2345
+ acc[key] = se_TwoDimensionsMap(value, context);
2348
2346
  return acc;
2349
2347
  }, {});
2350
2348
  };
2351
- const serializeAws_restJson1AutoEnableNewRegionConfiguration = (input, context) => {
2349
+ const se_AutoEnableNewRegionConfiguration = (input, context) => {
2352
2350
  return {
2353
2351
  ...(input.region != null && { region: input.region }),
2354
- ...(input.sources != null && { sources: serializeAws_restJson1AwsSourceTypeList(input.sources, context) }),
2352
+ ...(input.sources != null && { sources: se_AwsSourceTypeList(input.sources, context) }),
2355
2353
  };
2356
2354
  };
2357
- const serializeAws_restJson1AutoEnableNewRegionConfigurationList = (input, context) => {
2355
+ const se_AutoEnableNewRegionConfigurationList = (input, context) => {
2358
2356
  return input
2359
2357
  .filter((e) => e != null)
2360
2358
  .map((entry) => {
2361
- return serializeAws_restJson1AutoEnableNewRegionConfiguration(entry, context);
2359
+ return se_AutoEnableNewRegionConfiguration(entry, context);
2362
2360
  });
2363
2361
  };
2364
- const serializeAws_restJson1AwsSourceTypeList = (input, context) => {
2362
+ const se_AwsSourceTypeList = (input, context) => {
2365
2363
  return input
2366
2364
  .filter((e) => e != null)
2367
2365
  .map((entry) => {
2368
2366
  return entry;
2369
2367
  });
2370
2368
  };
2371
- const serializeAws_restJson1DimensionSet = (input, context) => {
2369
+ const se_DimensionSet = (input, context) => {
2372
2370
  return input
2373
2371
  .filter((e) => e != null)
2374
2372
  .map((entry) => {
2375
2373
  return entry;
2376
2374
  });
2377
2375
  };
2378
- const serializeAws_restJson1InputSet = (input, context) => {
2376
+ const se_InputSet = (input, context) => {
2379
2377
  return input
2380
2378
  .filter((e) => e != null)
2381
2379
  .map((entry) => {
2382
2380
  return entry;
2383
2381
  });
2384
2382
  };
2385
- const serializeAws_restJson1LakeConfigurationRequest = (input, context) => {
2383
+ const se_LakeConfigurationRequest = (input, context) => {
2386
2384
  return {
2387
2385
  ...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
2388
2386
  ...(input.replicationDestinationRegions != null && {
2389
- replicationDestinationRegions: serializeAws_restJson1RegionSet(input.replicationDestinationRegions, context),
2387
+ replicationDestinationRegions: se_RegionSet(input.replicationDestinationRegions, context),
2390
2388
  }),
2391
2389
  ...(input.replicationRoleArn != null && { replicationRoleArn: input.replicationRoleArn }),
2392
2390
  ...(input.retentionSettings != null && {
2393
- retentionSettings: serializeAws_restJson1RetentionSettingList(input.retentionSettings, context),
2391
+ retentionSettings: se_RetentionSettingList(input.retentionSettings, context),
2394
2392
  }),
2395
- ...(input.tagsMap != null && { tagsMap: serializeAws_restJson1TagsMap(input.tagsMap, context) }),
2393
+ ...(input.tagsMap != null && { tagsMap: se_TagsMap(input.tagsMap, context) }),
2396
2394
  };
2397
2395
  };
2398
- const serializeAws_restJson1LakeConfigurationRequestMap = (input, context) => {
2396
+ const se_LakeConfigurationRequestMap = (input, context) => {
2399
2397
  return Object.entries(input).reduce((acc, [key, value]) => {
2400
2398
  if (value === null) {
2401
2399
  return acc;
2402
2400
  }
2403
- acc[key] = serializeAws_restJson1LakeConfigurationRequest(value, context);
2401
+ acc[key] = se_LakeConfigurationRequest(value, context);
2404
2402
  return acc;
2405
2403
  }, {});
2406
2404
  };
2407
- const serializeAws_restJson1RegionSet = (input, context) => {
2405
+ const se_RegionSet = (input, context) => {
2408
2406
  return input
2409
2407
  .filter((e) => e != null)
2410
2408
  .map((entry) => {
2411
2409
  return entry;
2412
2410
  });
2413
2411
  };
2414
- const serializeAws_restJson1RetentionSetting = (input, context) => {
2412
+ const se_RetentionSetting = (input, context) => {
2415
2413
  return {
2416
2414
  ...(input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod }),
2417
2415
  ...(input.storageClass != null && { storageClass: input.storageClass }),
2418
2416
  };
2419
2417
  };
2420
- const serializeAws_restJson1RetentionSettingList = (input, context) => {
2418
+ const se_RetentionSettingList = (input, context) => {
2421
2419
  return input
2422
2420
  .filter((e) => e != null)
2423
2421
  .map((entry) => {
2424
- return serializeAws_restJson1RetentionSetting(entry, context);
2422
+ return se_RetentionSetting(entry, context);
2425
2423
  });
2426
2424
  };
2427
- const serializeAws_restJson1SourceType = (input, context) => {
2425
+ const se_SourceType = (input, context) => {
2428
2426
  return models_0_1.SourceType.visit(input, {
2429
2427
  awsSourceType: (value) => ({ awsSourceType: value }),
2430
2428
  customSourceType: (value) => ({ customSourceType: value }),
2431
2429
  _: (name, value) => ({ name: value }),
2432
2430
  });
2433
2431
  };
2434
- const serializeAws_restJson1SourceTypeList = (input, context) => {
2432
+ const se_SourceTypeList = (input, context) => {
2435
2433
  return input
2436
2434
  .filter((e) => e != null)
2437
2435
  .map((entry) => {
2438
- return serializeAws_restJson1SourceType(entry, context);
2436
+ return se_SourceType(entry, context);
2439
2437
  });
2440
2438
  };
2441
- const serializeAws_restJson1TagsMap = (input, context) => {
2439
+ const se_TagsMap = (input, context) => {
2442
2440
  return Object.entries(input).reduce((acc, [key, value]) => {
2443
2441
  if (value === null) {
2444
2442
  return acc;
@@ -2447,23 +2445,23 @@ const serializeAws_restJson1TagsMap = (input, context) => {
2447
2445
  return acc;
2448
2446
  }, {});
2449
2447
  };
2450
- const serializeAws_restJson1TwoDimensionsMap = (input, context) => {
2448
+ const se_TwoDimensionsMap = (input, context) => {
2451
2449
  return Object.entries(input).reduce((acc, [key, value]) => {
2452
2450
  if (value === null) {
2453
2451
  return acc;
2454
2452
  }
2455
- acc[key] = serializeAws_restJson1ValueSet(value, context);
2453
+ acc[key] = se_ValueSet(value, context);
2456
2454
  return acc;
2457
2455
  }, {});
2458
2456
  };
2459
- const serializeAws_restJson1ValueSet = (input, context) => {
2457
+ const se_ValueSet = (input, context) => {
2460
2458
  return input
2461
2459
  .filter((e) => e != null)
2462
2460
  .map((entry) => {
2463
2461
  return entry;
2464
2462
  });
2465
2463
  };
2466
- const deserializeAws_restJson1AccessTypeList = (output, context) => {
2464
+ const de_AccessTypeList = (output, context) => {
2467
2465
  const retVal = (output || [])
2468
2466
  .filter((e) => e != null)
2469
2467
  .map((entry) => {
@@ -2474,7 +2472,7 @@ const deserializeAws_restJson1AccessTypeList = (output, context) => {
2474
2472
  });
2475
2473
  return retVal;
2476
2474
  };
2477
- const deserializeAws_restJson1AccountList = (output, context) => {
2475
+ const de_AccountList = (output, context) => {
2478
2476
  const retVal = (output || [])
2479
2477
  .filter((e) => e != null)
2480
2478
  .map((entry) => {
@@ -2485,52 +2483,52 @@ const deserializeAws_restJson1AccountList = (output, context) => {
2485
2483
  });
2486
2484
  return retVal;
2487
2485
  };
2488
- const deserializeAws_restJson1AccountSources = (output, context) => {
2486
+ const de_AccountSources = (output, context) => {
2489
2487
  return {
2490
2488
  account: (0, smithy_client_1.expectString)(output.account),
2491
2489
  eventClass: (0, smithy_client_1.expectString)(output.eventClass),
2492
- logsStatus: output.logsStatus != null ? deserializeAws_restJson1LogsStatusList(output.logsStatus, context) : undefined,
2490
+ logsStatus: output.logsStatus != null ? de_LogsStatusList(output.logsStatus, context) : undefined,
2493
2491
  sourceType: (0, smithy_client_1.expectString)(output.sourceType),
2494
2492
  };
2495
2493
  };
2496
- const deserializeAws_restJson1AccountSourcesList = (output, context) => {
2494
+ const de_AccountSourcesList = (output, context) => {
2497
2495
  const retVal = (output || [])
2498
2496
  .filter((e) => e != null)
2499
2497
  .map((entry) => {
2500
2498
  if (entry === null) {
2501
2499
  return null;
2502
2500
  }
2503
- return deserializeAws_restJson1AccountSources(entry, context);
2501
+ return de_AccountSources(entry, context);
2504
2502
  });
2505
2503
  return retVal;
2506
2504
  };
2507
- const deserializeAws_restJson1AllDimensionsMap = (output, context) => {
2505
+ const de_AllDimensionsMap = (output, context) => {
2508
2506
  return Object.entries(output).reduce((acc, [key, value]) => {
2509
2507
  if (value === null) {
2510
2508
  return acc;
2511
2509
  }
2512
- acc[key] = deserializeAws_restJson1TwoDimensionsMap(value, context);
2510
+ acc[key] = de_TwoDimensionsMap(value, context);
2513
2511
  return acc;
2514
2512
  }, {});
2515
2513
  };
2516
- const deserializeAws_restJson1AutoEnableNewRegionConfiguration = (output, context) => {
2514
+ const de_AutoEnableNewRegionConfiguration = (output, context) => {
2517
2515
  return {
2518
2516
  region: (0, smithy_client_1.expectString)(output.region),
2519
- sources: output.sources != null ? deserializeAws_restJson1AwsSourceTypeList(output.sources, context) : undefined,
2517
+ sources: output.sources != null ? de_AwsSourceTypeList(output.sources, context) : undefined,
2520
2518
  };
2521
2519
  };
2522
- const deserializeAws_restJson1AutoEnableNewRegionConfigurationList = (output, context) => {
2520
+ const de_AutoEnableNewRegionConfigurationList = (output, context) => {
2523
2521
  const retVal = (output || [])
2524
2522
  .filter((e) => e != null)
2525
2523
  .map((entry) => {
2526
2524
  if (entry === null) {
2527
2525
  return null;
2528
2526
  }
2529
- return deserializeAws_restJson1AutoEnableNewRegionConfiguration(entry, context);
2527
+ return de_AutoEnableNewRegionConfiguration(entry, context);
2530
2528
  });
2531
2529
  return retVal;
2532
2530
  };
2533
- const deserializeAws_restJson1AwsSourceTypeList = (output, context) => {
2531
+ const de_AwsSourceTypeList = (output, context) => {
2534
2532
  const retVal = (output || [])
2535
2533
  .filter((e) => e != null)
2536
2534
  .map((entry) => {
@@ -2541,96 +2539,94 @@ const deserializeAws_restJson1AwsSourceTypeList = (output, context) => {
2541
2539
  });
2542
2540
  return retVal;
2543
2541
  };
2544
- const deserializeAws_restJson1Failures = (output, context) => {
2542
+ const de_Failures = (output, context) => {
2545
2543
  return {
2546
2544
  exceptionMessage: (0, smithy_client_1.expectString)(output.exceptionMessage),
2547
2545
  remediation: (0, smithy_client_1.expectString)(output.remediation),
2548
2546
  timestamp: output.timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.timestamp)) : undefined,
2549
2547
  };
2550
2548
  };
2551
- const deserializeAws_restJson1Failureslist = (output, context) => {
2549
+ const de_Failureslist = (output, context) => {
2552
2550
  const retVal = (output || [])
2553
2551
  .filter((e) => e != null)
2554
2552
  .map((entry) => {
2555
2553
  if (entry === null) {
2556
2554
  return null;
2557
2555
  }
2558
- return deserializeAws_restJson1Failures(entry, context);
2556
+ return de_Failures(entry, context);
2559
2557
  });
2560
2558
  return retVal;
2561
2559
  };
2562
- const deserializeAws_restJson1FailuresResponse = (output, context) => {
2560
+ const de_FailuresResponse = (output, context) => {
2563
2561
  return {
2564
- failures: output.failures != null ? deserializeAws_restJson1Failureslist(output.failures, context) : undefined,
2562
+ failures: output.failures != null ? de_Failureslist(output.failures, context) : undefined,
2565
2563
  region: (0, smithy_client_1.expectString)(output.region),
2566
2564
  };
2567
2565
  };
2568
- const deserializeAws_restJson1FailuresResponseList = (output, context) => {
2566
+ const de_FailuresResponseList = (output, context) => {
2569
2567
  const retVal = (output || [])
2570
2568
  .filter((e) => e != null)
2571
2569
  .map((entry) => {
2572
2570
  if (entry === null) {
2573
2571
  return null;
2574
2572
  }
2575
- return deserializeAws_restJson1FailuresResponse(entry, context);
2573
+ return de_FailuresResponse(entry, context);
2576
2574
  });
2577
2575
  return retVal;
2578
2576
  };
2579
- const deserializeAws_restJson1LakeConfigurationResponse = (output, context) => {
2577
+ const de_LakeConfigurationResponse = (output, context) => {
2580
2578
  return {
2581
2579
  encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
2582
2580
  replicationDestinationRegions: output.replicationDestinationRegions != null
2583
- ? deserializeAws_restJson1RegionSet(output.replicationDestinationRegions, context)
2581
+ ? de_RegionSet(output.replicationDestinationRegions, context)
2584
2582
  : undefined,
2585
2583
  replicationRoleArn: (0, smithy_client_1.expectString)(output.replicationRoleArn),
2586
- retentionSettings: output.retentionSettings != null
2587
- ? deserializeAws_restJson1RetentionSettingList(output.retentionSettings, context)
2588
- : undefined,
2584
+ retentionSettings: output.retentionSettings != null ? de_RetentionSettingList(output.retentionSettings, context) : undefined,
2589
2585
  s3BucketArn: (0, smithy_client_1.expectString)(output.s3BucketArn),
2590
2586
  status: (0, smithy_client_1.expectString)(output.status),
2591
- tagsMap: output.tagsMap != null ? deserializeAws_restJson1TagsMap(output.tagsMap, context) : undefined,
2592
- updateStatus: output.updateStatus != null ? deserializeAws_restJson1UpdateStatus(output.updateStatus, context) : undefined,
2587
+ tagsMap: output.tagsMap != null ? de_TagsMap(output.tagsMap, context) : undefined,
2588
+ updateStatus: output.updateStatus != null ? de_UpdateStatus(output.updateStatus, context) : undefined,
2593
2589
  };
2594
2590
  };
2595
- const deserializeAws_restJson1LakeConfigurationResponseMap = (output, context) => {
2591
+ const de_LakeConfigurationResponseMap = (output, context) => {
2596
2592
  return Object.entries(output).reduce((acc, [key, value]) => {
2597
2593
  if (value === null) {
2598
2594
  return acc;
2599
2595
  }
2600
- acc[key] = deserializeAws_restJson1LakeConfigurationResponse(value, context);
2596
+ acc[key] = de_LakeConfigurationResponse(value, context);
2601
2597
  return acc;
2602
2598
  }, {});
2603
2599
  };
2604
- const deserializeAws_restJson1LastUpdateFailure = (output, context) => {
2600
+ const de_LastUpdateFailure = (output, context) => {
2605
2601
  return {
2606
2602
  code: (0, smithy_client_1.expectString)(output.code),
2607
2603
  reason: (0, smithy_client_1.expectString)(output.reason),
2608
2604
  };
2609
2605
  };
2610
- const deserializeAws_restJson1LogsStatus = (output, context) => {
2606
+ const de_LogsStatus = (output, context) => {
2611
2607
  return {
2612
2608
  healthStatus: (0, smithy_client_1.expectString)(output.healthStatus),
2613
2609
  pathToLogs: (0, smithy_client_1.expectString)(output.pathToLogs),
2614
2610
  };
2615
2611
  };
2616
- const deserializeAws_restJson1LogsStatusList = (output, context) => {
2612
+ const de_LogsStatusList = (output, context) => {
2617
2613
  const retVal = (output || [])
2618
2614
  .filter((e) => e != null)
2619
2615
  .map((entry) => {
2620
2616
  if (entry === null) {
2621
2617
  return null;
2622
2618
  }
2623
- return deserializeAws_restJson1LogsStatus(entry, context);
2619
+ return de_LogsStatus(entry, context);
2624
2620
  });
2625
2621
  return retVal;
2626
2622
  };
2627
- const deserializeAws_restJson1ProtocolAndNotificationEndpoint = (output, context) => {
2623
+ const de_ProtocolAndNotificationEndpoint = (output, context) => {
2628
2624
  return {
2629
2625
  endpoint: (0, smithy_client_1.expectString)(output.endpoint),
2630
2626
  protocol: (0, smithy_client_1.expectString)(output.protocol),
2631
2627
  };
2632
2628
  };
2633
- const deserializeAws_restJson1RegionSet = (output, context) => {
2629
+ const de_RegionSet = (output, context) => {
2634
2630
  const retVal = (output || [])
2635
2631
  .filter((e) => e != null)
2636
2632
  .map((entry) => {
@@ -2641,35 +2637,35 @@ const deserializeAws_restJson1RegionSet = (output, context) => {
2641
2637
  });
2642
2638
  return retVal;
2643
2639
  };
2644
- const deserializeAws_restJson1RegionSourceTypesAccountsList = (output, context) => {
2640
+ const de_RegionSourceTypesAccountsList = (output, context) => {
2645
2641
  const retVal = (output || [])
2646
2642
  .filter((e) => e != null)
2647
2643
  .map((entry) => {
2648
2644
  if (entry === null) {
2649
2645
  return null;
2650
2646
  }
2651
- return deserializeAws_restJson1AllDimensionsMap(entry, context);
2647
+ return de_AllDimensionsMap(entry, context);
2652
2648
  });
2653
2649
  return retVal;
2654
2650
  };
2655
- const deserializeAws_restJson1RetentionSetting = (output, context) => {
2651
+ const de_RetentionSetting = (output, context) => {
2656
2652
  return {
2657
2653
  retentionPeriod: (0, smithy_client_1.expectInt32)(output.retentionPeriod),
2658
2654
  storageClass: (0, smithy_client_1.expectString)(output.storageClass),
2659
2655
  };
2660
2656
  };
2661
- const deserializeAws_restJson1RetentionSettingList = (output, context) => {
2657
+ const de_RetentionSettingList = (output, context) => {
2662
2658
  const retVal = (output || [])
2663
2659
  .filter((e) => e != null)
2664
2660
  .map((entry) => {
2665
2661
  if (entry === null) {
2666
2662
  return null;
2667
2663
  }
2668
- return deserializeAws_restJson1RetentionSetting(entry, context);
2664
+ return de_RetentionSetting(entry, context);
2669
2665
  });
2670
2666
  return retVal;
2671
2667
  };
2672
- const deserializeAws_restJson1SourceType = (output, context) => {
2668
+ const de_SourceType = (output, context) => {
2673
2669
  if ((0, smithy_client_1.expectString)(output.awsSourceType) !== undefined) {
2674
2670
  return { awsSourceType: (0, smithy_client_1.expectString)(output.awsSourceType) };
2675
2671
  }
@@ -2678,31 +2674,31 @@ const deserializeAws_restJson1SourceType = (output, context) => {
2678
2674
  }
2679
2675
  return { $unknown: Object.entries(output)[0] };
2680
2676
  };
2681
- const deserializeAws_restJson1SourceTypeList = (output, context) => {
2677
+ const de_SourceTypeList = (output, context) => {
2682
2678
  const retVal = (output || [])
2683
2679
  .filter((e) => e != null)
2684
2680
  .map((entry) => {
2685
2681
  if (entry === null) {
2686
2682
  return null;
2687
2683
  }
2688
- return deserializeAws_restJson1SourceType((0, smithy_client_1.expectUnion)(entry), context);
2684
+ return de_SourceType((0, smithy_client_1.expectUnion)(entry), context);
2689
2685
  });
2690
2686
  return retVal;
2691
2687
  };
2692
- const deserializeAws_restJson1SubscriberList = (output, context) => {
2688
+ const de_SubscriberList = (output, context) => {
2693
2689
  const retVal = (output || [])
2694
2690
  .filter((e) => e != null)
2695
2691
  .map((entry) => {
2696
2692
  if (entry === null) {
2697
2693
  return null;
2698
2694
  }
2699
- return deserializeAws_restJson1SubscriberResource(entry, context);
2695
+ return de_SubscriberResource(entry, context);
2700
2696
  });
2701
2697
  return retVal;
2702
2698
  };
2703
- const deserializeAws_restJson1SubscriberResource = (output, context) => {
2699
+ const de_SubscriberResource = (output, context) => {
2704
2700
  return {
2705
- accessTypes: output.accessTypes != null ? deserializeAws_restJson1AccessTypeList(output.accessTypes, context) : undefined,
2701
+ accessTypes: output.accessTypes != null ? de_AccessTypeList(output.accessTypes, context) : undefined,
2706
2702
  accountId: (0, smithy_client_1.expectString)(output.accountId),
2707
2703
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
2708
2704
  externalId: (0, smithy_client_1.expectString)(output.externalId),
@@ -2711,7 +2707,7 @@ const deserializeAws_restJson1SubscriberResource = (output, context) => {
2711
2707
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
2712
2708
  s3BucketArn: (0, smithy_client_1.expectString)(output.s3BucketArn),
2713
2709
  snsArn: (0, smithy_client_1.expectString)(output.snsArn),
2714
- sourceTypes: output.sourceTypes != null ? deserializeAws_restJson1SourceTypeList(output.sourceTypes, context) : undefined,
2710
+ sourceTypes: output.sourceTypes != null ? de_SourceTypeList(output.sourceTypes, context) : undefined,
2715
2711
  subscriberDescription: (0, smithy_client_1.expectString)(output.subscriberDescription),
2716
2712
  subscriberName: (0, smithy_client_1.expectString)(output.subscriberName),
2717
2713
  subscriptionEndpoint: (0, smithy_client_1.expectString)(output.subscriptionEndpoint),
@@ -2721,7 +2717,7 @@ const deserializeAws_restJson1SubscriberResource = (output, context) => {
2721
2717
  updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
2722
2718
  };
2723
2719
  };
2724
- const deserializeAws_restJson1TagsMap = (output, context) => {
2720
+ const de_TagsMap = (output, context) => {
2725
2721
  return Object.entries(output).reduce((acc, [key, value]) => {
2726
2722
  if (value === null) {
2727
2723
  return acc;
@@ -2730,42 +2726,40 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
2730
2726
  return acc;
2731
2727
  }, {});
2732
2728
  };
2733
- const deserializeAws_restJson1TwoDimensionsMap = (output, context) => {
2729
+ const de_TwoDimensionsMap = (output, context) => {
2734
2730
  return Object.entries(output).reduce((acc, [key, value]) => {
2735
2731
  if (value === null) {
2736
2732
  return acc;
2737
2733
  }
2738
- acc[key] = deserializeAws_restJson1ValueSet(value, context);
2734
+ acc[key] = de_ValueSet(value, context);
2739
2735
  return acc;
2740
2736
  }, {});
2741
2737
  };
2742
- const deserializeAws_restJson1UpdateStatus = (output, context) => {
2738
+ const de_UpdateStatus = (output, context) => {
2743
2739
  return {
2744
- lastUpdateFailure: output.lastUpdateFailure != null
2745
- ? deserializeAws_restJson1LastUpdateFailure(output.lastUpdateFailure, context)
2746
- : undefined,
2740
+ lastUpdateFailure: output.lastUpdateFailure != null ? de_LastUpdateFailure(output.lastUpdateFailure, context) : undefined,
2747
2741
  lastUpdateRequestId: (0, smithy_client_1.expectString)(output.lastUpdateRequestId),
2748
2742
  lastUpdateStatus: (0, smithy_client_1.expectString)(output.lastUpdateStatus),
2749
2743
  };
2750
2744
  };
2751
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
2745
+ const de_ValidationExceptionField = (output, context) => {
2752
2746
  return {
2753
2747
  message: (0, smithy_client_1.expectString)(output.message),
2754
2748
  name: (0, smithy_client_1.expectString)(output.name),
2755
2749
  };
2756
2750
  };
2757
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
2751
+ const de_ValidationExceptionFieldList = (output, context) => {
2758
2752
  const retVal = (output || [])
2759
2753
  .filter((e) => e != null)
2760
2754
  .map((entry) => {
2761
2755
  if (entry === null) {
2762
2756
  return null;
2763
2757
  }
2764
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
2758
+ return de_ValidationExceptionField(entry, context);
2765
2759
  });
2766
2760
  return retVal;
2767
2761
  };
2768
- const deserializeAws_restJson1ValueSet = (output, context) => {
2762
+ const de_ValueSet = (output, context) => {
2769
2763
  const retVal = (output || [])
2770
2764
  .filter((e) => e != null)
2771
2765
  .map((entry) => {