@aws-sdk/client-securitylake 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +29 -29
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, AccountNotFoundException, BucketNotFoundException, ConcurrentModificationException, ConflictException, ConflictSourceNamesException, ConflictSubscriptionException, EventBridgeException, InternalServerException, InvalidInputException, ResourceNotFoundException, S3Exception, ServiceQuotaExceededException, SourceType, ThrottlingException, ValidationException, } from "../models/models_0";
4
4
  import { SecurityLakeServiceException as __BaseException } from "../models/SecurityLakeServiceException";
5
- export const serializeAws_restJson1CreateAwsLogSourceCommand = async (input, context) => {
5
+ export const se_CreateAwsLogSourceCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = {
8
8
  "content-type": "application/json",
@@ -11,15 +11,15 @@ export const serializeAws_restJson1CreateAwsLogSourceCommand = async (input, con
11
11
  let body;
12
12
  body = JSON.stringify({
13
13
  ...(input.enableAllDimensions != null && {
14
- enableAllDimensions: serializeAws_restJson1AllDimensionsMap(input.enableAllDimensions, context),
14
+ enableAllDimensions: se_AllDimensionsMap(input.enableAllDimensions, context),
15
15
  }),
16
16
  ...(input.enableSingleDimension != null && {
17
- enableSingleDimension: serializeAws_restJson1InputSet(input.enableSingleDimension, context),
17
+ enableSingleDimension: se_InputSet(input.enableSingleDimension, context),
18
18
  }),
19
19
  ...(input.enableTwoDimensions != null && {
20
- enableTwoDimensions: serializeAws_restJson1TwoDimensionsMap(input.enableTwoDimensions, context),
20
+ enableTwoDimensions: se_TwoDimensionsMap(input.enableTwoDimensions, context),
21
21
  }),
22
- ...(input.inputOrder != null && { inputOrder: serializeAws_restJson1DimensionSet(input.inputOrder, context) }),
22
+ ...(input.inputOrder != null && { inputOrder: se_DimensionSet(input.inputOrder, context) }),
23
23
  });
24
24
  return new __HttpRequest({
25
25
  protocol,
@@ -31,7 +31,7 @@ export const serializeAws_restJson1CreateAwsLogSourceCommand = async (input, con
31
31
  body,
32
32
  });
33
33
  };
34
- export const serializeAws_restJson1CreateCustomLogSourceCommand = async (input, context) => {
34
+ export const se_CreateCustomLogSourceCommand = async (input, context) => {
35
35
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
36
36
  const headers = {
37
37
  "content-type": "application/json",
@@ -54,7 +54,7 @@ export const serializeAws_restJson1CreateCustomLogSourceCommand = async (input,
54
54
  body,
55
55
  });
56
56
  };
57
- export const serializeAws_restJson1CreateDatalakeCommand = async (input, context) => {
57
+ export const se_CreateDatalakeCommand = async (input, context) => {
58
58
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
59
  const headers = {
60
60
  "content-type": "application/json",
@@ -63,11 +63,11 @@ export const serializeAws_restJson1CreateDatalakeCommand = async (input, context
63
63
  let body;
64
64
  body = JSON.stringify({
65
65
  ...(input.configurations != null && {
66
- configurations: serializeAws_restJson1LakeConfigurationRequestMap(input.configurations, context),
66
+ configurations: se_LakeConfigurationRequestMap(input.configurations, context),
67
67
  }),
68
68
  ...(input.enableAll != null && { enableAll: input.enableAll }),
69
69
  ...(input.metaStoreManagerRoleArn != null && { metaStoreManagerRoleArn: input.metaStoreManagerRoleArn }),
70
- ...(input.regions != null && { regions: serializeAws_restJson1RegionSet(input.regions, context) }),
70
+ ...(input.regions != null && { regions: se_RegionSet(input.regions, context) }),
71
71
  });
72
72
  return new __HttpRequest({
73
73
  protocol,
@@ -79,7 +79,7 @@ export const serializeAws_restJson1CreateDatalakeCommand = async (input, context
79
79
  body,
80
80
  });
81
81
  };
82
- export const serializeAws_restJson1CreateDatalakeAutoEnableCommand = async (input, context) => {
82
+ export const se_CreateDatalakeAutoEnableCommand = async (input, context) => {
83
83
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
84
84
  const headers = {
85
85
  "content-type": "application/json",
@@ -88,7 +88,7 @@ export const serializeAws_restJson1CreateDatalakeAutoEnableCommand = async (inpu
88
88
  let body;
89
89
  body = JSON.stringify({
90
90
  ...(input.configurationForNewAccounts != null && {
91
- configurationForNewAccounts: serializeAws_restJson1AutoEnableNewRegionConfigurationList(input.configurationForNewAccounts, context),
91
+ configurationForNewAccounts: se_AutoEnableNewRegionConfigurationList(input.configurationForNewAccounts, context),
92
92
  }),
93
93
  });
94
94
  return new __HttpRequest({
@@ -101,7 +101,7 @@ export const serializeAws_restJson1CreateDatalakeAutoEnableCommand = async (inpu
101
101
  body,
102
102
  });
103
103
  };
104
- export const serializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async (input, context) => {
104
+ export const se_CreateDatalakeDelegatedAdminCommand = async (input, context) => {
105
105
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
106
106
  const headers = {
107
107
  "content-type": "application/json",
@@ -121,7 +121,7 @@ export const serializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async (
121
121
  body,
122
122
  });
123
123
  };
124
- export const serializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
124
+ export const se_CreateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
125
125
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
126
126
  const headers = {
127
127
  "content-type": "application/json",
@@ -142,7 +142,7 @@ export const serializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand =
142
142
  body,
143
143
  });
144
144
  };
145
- export const serializeAws_restJson1CreateSubscriberCommand = async (input, context) => {
145
+ export const se_CreateSubscriberCommand = async (input, context) => {
146
146
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
147
147
  const headers = {
148
148
  "content-type": "application/json",
@@ -150,10 +150,10 @@ export const serializeAws_restJson1CreateSubscriberCommand = async (input, conte
150
150
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers";
151
151
  let body;
152
152
  body = JSON.stringify({
153
- ...(input.accessTypes != null && { accessTypes: serializeAws_restJson1AccessTypeList(input.accessTypes, context) }),
153
+ ...(input.accessTypes != null && { accessTypes: se_AccessTypeList(input.accessTypes, context) }),
154
154
  ...(input.accountId != null && { accountId: input.accountId }),
155
155
  ...(input.externalId != null && { externalId: input.externalId }),
156
- ...(input.sourceTypes != null && { sourceTypes: serializeAws_restJson1SourceTypeList(input.sourceTypes, context) }),
156
+ ...(input.sourceTypes != null && { sourceTypes: se_SourceTypeList(input.sourceTypes, context) }),
157
157
  ...(input.subscriberDescription != null && { subscriberDescription: input.subscriberDescription }),
158
158
  ...(input.subscriberName != null && { subscriberName: input.subscriberName }),
159
159
  });
@@ -167,7 +167,7 @@ export const serializeAws_restJson1CreateSubscriberCommand = async (input, conte
167
167
  body,
168
168
  });
169
169
  };
170
- export const serializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = async (input, context) => {
170
+ export const se_CreateSubscriptionNotificationConfigurationCommand = async (input, context) => {
171
171
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
172
172
  const headers = {
173
173
  "content-type": "application/json",
@@ -194,7 +194,7 @@ export const serializeAws_restJson1CreateSubscriptionNotificationConfigurationCo
194
194
  body,
195
195
  });
196
196
  };
197
- export const serializeAws_restJson1DeleteAwsLogSourceCommand = async (input, context) => {
197
+ export const se_DeleteAwsLogSourceCommand = async (input, context) => {
198
198
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
199
199
  const headers = {
200
200
  "content-type": "application/json",
@@ -203,15 +203,15 @@ export const serializeAws_restJson1DeleteAwsLogSourceCommand = async (input, con
203
203
  let body;
204
204
  body = JSON.stringify({
205
205
  ...(input.disableAllDimensions != null && {
206
- disableAllDimensions: serializeAws_restJson1AllDimensionsMap(input.disableAllDimensions, context),
206
+ disableAllDimensions: se_AllDimensionsMap(input.disableAllDimensions, context),
207
207
  }),
208
208
  ...(input.disableSingleDimension != null && {
209
- disableSingleDimension: serializeAws_restJson1InputSet(input.disableSingleDimension, context),
209
+ disableSingleDimension: se_InputSet(input.disableSingleDimension, context),
210
210
  }),
211
211
  ...(input.disableTwoDimensions != null && {
212
- disableTwoDimensions: serializeAws_restJson1TwoDimensionsMap(input.disableTwoDimensions, context),
212
+ disableTwoDimensions: se_TwoDimensionsMap(input.disableTwoDimensions, context),
213
213
  }),
214
- ...(input.inputOrder != null && { inputOrder: serializeAws_restJson1DimensionSet(input.inputOrder, context) }),
214
+ ...(input.inputOrder != null && { inputOrder: se_DimensionSet(input.inputOrder, context) }),
215
215
  });
216
216
  return new __HttpRequest({
217
217
  protocol,
@@ -223,7 +223,7 @@ export const serializeAws_restJson1DeleteAwsLogSourceCommand = async (input, con
223
223
  body,
224
224
  });
225
225
  };
226
- export const serializeAws_restJson1DeleteCustomLogSourceCommand = async (input, context) => {
226
+ export const se_DeleteCustomLogSourceCommand = async (input, context) => {
227
227
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
228
228
  const headers = {};
229
229
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/custom";
@@ -242,7 +242,7 @@ export const serializeAws_restJson1DeleteCustomLogSourceCommand = async (input,
242
242
  body,
243
243
  });
244
244
  };
245
- export const serializeAws_restJson1DeleteDatalakeCommand = async (input, context) => {
245
+ export const se_DeleteDatalakeCommand = async (input, context) => {
246
246
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
247
247
  const headers = {
248
248
  "content-type": "application/json",
@@ -260,7 +260,7 @@ export const serializeAws_restJson1DeleteDatalakeCommand = async (input, context
260
260
  body,
261
261
  });
262
262
  };
263
- export const serializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (input, context) => {
263
+ export const se_DeleteDatalakeAutoEnableCommand = async (input, context) => {
264
264
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
265
  const headers = {
266
266
  "content-type": "application/json",
@@ -269,7 +269,7 @@ export const serializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (inpu
269
269
  let body;
270
270
  body = JSON.stringify({
271
271
  ...(input.removeFromConfigurationForNewAccounts != null && {
272
- removeFromConfigurationForNewAccounts: serializeAws_restJson1AutoEnableNewRegionConfigurationList(input.removeFromConfigurationForNewAccounts, context),
272
+ removeFromConfigurationForNewAccounts: se_AutoEnableNewRegionConfigurationList(input.removeFromConfigurationForNewAccounts, context),
273
273
  }),
274
274
  });
275
275
  return new __HttpRequest({
@@ -282,7 +282,7 @@ export const serializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (inpu
282
282
  body,
283
283
  });
284
284
  };
285
- export const serializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async (input, context) => {
285
+ export const se_DeleteDatalakeDelegatedAdminCommand = async (input, context) => {
286
286
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
287
287
  const headers = {};
288
288
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/delegate/{account}";
@@ -298,7 +298,7 @@ export const serializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async (
298
298
  body,
299
299
  });
300
300
  };
301
- export const serializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = async (input, context) => {
301
+ export const se_DeleteDatalakeExceptionsSubscriptionCommand = async (input, context) => {
302
302
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
303
303
  const headers = {
304
304
  "content-type": "application/json",
@@ -316,7 +316,7 @@ export const serializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand =
316
316
  body,
317
317
  });
318
318
  };
319
- export const serializeAws_restJson1DeleteSubscriberCommand = async (input, context) => {
319
+ export const se_DeleteSubscriberCommand = async (input, context) => {
320
320
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
321
321
  const headers = {};
322
322
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers";
@@ -335,7 +335,7 @@ export const serializeAws_restJson1DeleteSubscriberCommand = async (input, conte
335
335
  body,
336
336
  });
337
337
  };
338
- export const serializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = async (input, context) => {
338
+ export const se_DeleteSubscriptionNotificationConfigurationCommand = async (input, context) => {
339
339
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
340
340
  const headers = {};
341
341
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -352,7 +352,7 @@ export const serializeAws_restJson1DeleteSubscriptionNotificationConfigurationCo
352
352
  body,
353
353
  });
354
354
  };
355
- export const serializeAws_restJson1GetDatalakeCommand = async (input, context) => {
355
+ export const se_GetDatalakeCommand = async (input, context) => {
356
356
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
357
357
  const headers = {
358
358
  "content-type": "application/json",
@@ -370,7 +370,7 @@ export const serializeAws_restJson1GetDatalakeCommand = async (input, context) =
370
370
  body,
371
371
  });
372
372
  };
373
- export const serializeAws_restJson1GetDatalakeAutoEnableCommand = async (input, context) => {
373
+ export const se_GetDatalakeAutoEnableCommand = async (input, context) => {
374
374
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
375
375
  const headers = {
376
376
  "content-type": "application/json",
@@ -388,7 +388,7 @@ export const serializeAws_restJson1GetDatalakeAutoEnableCommand = async (input,
388
388
  body,
389
389
  });
390
390
  };
391
- export const serializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async (input, context) => {
391
+ export const se_GetDatalakeExceptionsExpiryCommand = async (input, context) => {
392
392
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
393
393
  const headers = {
394
394
  "content-type": "application/json",
@@ -406,7 +406,7 @@ export const serializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async (i
406
406
  body,
407
407
  });
408
408
  };
409
- export const serializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = async (input, context) => {
409
+ export const se_GetDatalakeExceptionsSubscriptionCommand = async (input, context) => {
410
410
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
411
411
  const headers = {
412
412
  "content-type": "application/json",
@@ -424,7 +424,7 @@ export const serializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = as
424
424
  body,
425
425
  });
426
426
  };
427
- export const serializeAws_restJson1GetDatalakeStatusCommand = async (input, context) => {
427
+ export const se_GetDatalakeStatusCommand = async (input, context) => {
428
428
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
429
429
  const headers = {
430
430
  "content-type": "application/json",
@@ -432,7 +432,7 @@ export const serializeAws_restJson1GetDatalakeStatusCommand = async (input, cont
432
432
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/status";
433
433
  let body;
434
434
  body = JSON.stringify({
435
- ...(input.accountSet != null && { accountSet: serializeAws_restJson1InputSet(input.accountSet, context) }),
435
+ ...(input.accountSet != null && { accountSet: se_InputSet(input.accountSet, context) }),
436
436
  ...(input.maxAccountResults != null && { maxAccountResults: input.maxAccountResults }),
437
437
  ...(input.nextToken != null && { nextToken: input.nextToken }),
438
438
  });
@@ -446,7 +446,7 @@ export const serializeAws_restJson1GetDatalakeStatusCommand = async (input, cont
446
446
  body,
447
447
  });
448
448
  };
449
- export const serializeAws_restJson1GetSubscriberCommand = async (input, context) => {
449
+ export const se_GetSubscriberCommand = async (input, context) => {
450
450
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
451
451
  const headers = {};
452
452
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers/{id}";
@@ -462,7 +462,7 @@ export const serializeAws_restJson1GetSubscriberCommand = async (input, context)
462
462
  body,
463
463
  });
464
464
  };
465
- export const serializeAws_restJson1ListDatalakeExceptionsCommand = async (input, context) => {
465
+ export const se_ListDatalakeExceptionsCommand = async (input, context) => {
466
466
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
467
467
  const headers = {
468
468
  "content-type": "application/json",
@@ -472,7 +472,7 @@ export const serializeAws_restJson1ListDatalakeExceptionsCommand = async (input,
472
472
  body = JSON.stringify({
473
473
  ...(input.maxFailures != null && { maxFailures: input.maxFailures }),
474
474
  ...(input.nextToken != null && { nextToken: input.nextToken }),
475
- ...(input.regionSet != null && { regionSet: serializeAws_restJson1RegionSet(input.regionSet, context) }),
475
+ ...(input.regionSet != null && { regionSet: se_RegionSet(input.regionSet, context) }),
476
476
  });
477
477
  return new __HttpRequest({
478
478
  protocol,
@@ -484,7 +484,7 @@ export const serializeAws_restJson1ListDatalakeExceptionsCommand = async (input,
484
484
  body,
485
485
  });
486
486
  };
487
- export const serializeAws_restJson1ListLogSourcesCommand = async (input, context) => {
487
+ export const se_ListLogSourcesCommand = async (input, context) => {
488
488
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
489
489
  const headers = {
490
490
  "content-type": "application/json",
@@ -492,15 +492,13 @@ export const serializeAws_restJson1ListLogSourcesCommand = async (input, context
492
492
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/list";
493
493
  let body;
494
494
  body = JSON.stringify({
495
- ...(input.inputOrder != null && { inputOrder: serializeAws_restJson1DimensionSet(input.inputOrder, context) }),
495
+ ...(input.inputOrder != null && { inputOrder: se_DimensionSet(input.inputOrder, context) }),
496
496
  ...(input.listAllDimensions != null && {
497
- listAllDimensions: serializeAws_restJson1AllDimensionsMap(input.listAllDimensions, context),
498
- }),
499
- ...(input.listSingleDimension != null && {
500
- listSingleDimension: serializeAws_restJson1InputSet(input.listSingleDimension, context),
497
+ listAllDimensions: se_AllDimensionsMap(input.listAllDimensions, context),
501
498
  }),
499
+ ...(input.listSingleDimension != null && { listSingleDimension: se_InputSet(input.listSingleDimension, context) }),
502
500
  ...(input.listTwoDimensions != null && {
503
- listTwoDimensions: serializeAws_restJson1TwoDimensionsMap(input.listTwoDimensions, context),
501
+ listTwoDimensions: se_TwoDimensionsMap(input.listTwoDimensions, context),
504
502
  }),
505
503
  ...(input.maxResults != null && { maxResults: input.maxResults }),
506
504
  ...(input.nextToken != null && { nextToken: input.nextToken }),
@@ -515,7 +513,7 @@ export const serializeAws_restJson1ListLogSourcesCommand = async (input, context
515
513
  body,
516
514
  });
517
515
  };
518
- export const serializeAws_restJson1ListSubscribersCommand = async (input, context) => {
516
+ export const se_ListSubscribersCommand = async (input, context) => {
519
517
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
520
518
  const headers = {};
521
519
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers";
@@ -535,7 +533,7 @@ export const serializeAws_restJson1ListSubscribersCommand = async (input, contex
535
533
  body,
536
534
  });
537
535
  };
538
- export const serializeAws_restJson1UpdateDatalakeCommand = async (input, context) => {
536
+ export const se_UpdateDatalakeCommand = async (input, context) => {
539
537
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
540
538
  const headers = {
541
539
  "content-type": "application/json",
@@ -544,7 +542,7 @@ export const serializeAws_restJson1UpdateDatalakeCommand = async (input, context
544
542
  let body;
545
543
  body = JSON.stringify({
546
544
  ...(input.configurations != null && {
547
- configurations: serializeAws_restJson1LakeConfigurationRequestMap(input.configurations, context),
545
+ configurations: se_LakeConfigurationRequestMap(input.configurations, context),
548
546
  }),
549
547
  });
550
548
  return new __HttpRequest({
@@ -557,7 +555,7 @@ export const serializeAws_restJson1UpdateDatalakeCommand = async (input, context
557
555
  body,
558
556
  });
559
557
  };
560
- export const serializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = async (input, context) => {
558
+ export const se_UpdateDatalakeExceptionsExpiryCommand = async (input, context) => {
561
559
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
562
560
  const headers = {
563
561
  "content-type": "application/json",
@@ -577,7 +575,7 @@ export const serializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = async
577
575
  body,
578
576
  });
579
577
  };
580
- export const serializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
578
+ export const se_UpdateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
581
579
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
582
580
  const headers = {
583
581
  "content-type": "application/json",
@@ -598,7 +596,7 @@ export const serializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand =
598
596
  body,
599
597
  });
600
598
  };
601
- export const serializeAws_restJson1UpdateSubscriberCommand = async (input, context) => {
599
+ export const se_UpdateSubscriberCommand = async (input, context) => {
602
600
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
603
601
  const headers = {
604
602
  "content-type": "application/json",
@@ -608,7 +606,7 @@ export const serializeAws_restJson1UpdateSubscriberCommand = async (input, conte
608
606
  let body;
609
607
  body = JSON.stringify({
610
608
  ...(input.externalId != null && { externalId: input.externalId }),
611
- ...(input.sourceTypes != null && { sourceTypes: serializeAws_restJson1SourceTypeList(input.sourceTypes, context) }),
609
+ ...(input.sourceTypes != null && { sourceTypes: se_SourceTypeList(input.sourceTypes, context) }),
612
610
  ...(input.subscriberDescription != null && { subscriberDescription: input.subscriberDescription }),
613
611
  ...(input.subscriberName != null && { subscriberName: input.subscriberName }),
614
612
  });
@@ -622,7 +620,7 @@ export const serializeAws_restJson1UpdateSubscriberCommand = async (input, conte
622
620
  body,
623
621
  });
624
622
  };
625
- export const serializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = async (input, context) => {
623
+ export const se_UpdateSubscriptionNotificationConfigurationCommand = async (input, context) => {
626
624
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
627
625
  const headers = {
628
626
  "content-type": "application/json",
@@ -649,23 +647,23 @@ export const serializeAws_restJson1UpdateSubscriptionNotificationConfigurationCo
649
647
  body,
650
648
  });
651
649
  };
652
- export const deserializeAws_restJson1CreateAwsLogSourceCommand = async (output, context) => {
650
+ export const de_CreateAwsLogSourceCommand = async (output, context) => {
653
651
  if (output.statusCode !== 200 && output.statusCode >= 300) {
654
- return deserializeAws_restJson1CreateAwsLogSourceCommandError(output, context);
652
+ return de_CreateAwsLogSourceCommandError(output, context);
655
653
  }
656
654
  const contents = map({
657
655
  $metadata: deserializeMetadata(output),
658
656
  });
659
657
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
660
658
  if (data.failed != null) {
661
- contents.failed = deserializeAws_restJson1AccountList(data.failed, context);
659
+ contents.failed = de_AccountList(data.failed, context);
662
660
  }
663
661
  if (data.processing != null) {
664
- contents.processing = deserializeAws_restJson1AccountList(data.processing, context);
662
+ contents.processing = de_AccountList(data.processing, context);
665
663
  }
666
664
  return contents;
667
665
  };
668
- const deserializeAws_restJson1CreateAwsLogSourceCommandError = async (output, context) => {
666
+ const de_CreateAwsLogSourceCommandError = async (output, context) => {
669
667
  const parsedOutput = {
670
668
  ...output,
671
669
  body: await parseErrorBody(output.body, context),
@@ -674,22 +672,22 @@ const deserializeAws_restJson1CreateAwsLogSourceCommandError = async (output, co
674
672
  switch (errorCode) {
675
673
  case "AccessDeniedException":
676
674
  case "com.amazonaws.securitylake#AccessDeniedException":
677
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
675
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
678
676
  case "AccountNotFoundException":
679
677
  case "com.amazonaws.securitylake#AccountNotFoundException":
680
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
678
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
681
679
  case "InternalServerException":
682
680
  case "com.amazonaws.securitylake#InternalServerException":
683
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
681
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
684
682
  case "ResourceNotFoundException":
685
683
  case "com.amazonaws.securitylake#ResourceNotFoundException":
686
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
684
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
687
685
  case "S3Exception":
688
686
  case "com.amazonaws.securitylake#S3Exception":
689
- throw await deserializeAws_restJson1S3ExceptionResponse(parsedOutput, context);
687
+ throw await de_S3ExceptionRes(parsedOutput, context);
690
688
  case "ValidationException":
691
689
  case "com.amazonaws.securitylake#ValidationException":
692
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
690
+ throw await de_ValidationExceptionRes(parsedOutput, context);
693
691
  default:
694
692
  const parsedBody = parsedOutput.body;
695
693
  throwDefaultError({
@@ -700,9 +698,9 @@ const deserializeAws_restJson1CreateAwsLogSourceCommandError = async (output, co
700
698
  });
701
699
  }
702
700
  };
703
- export const deserializeAws_restJson1CreateCustomLogSourceCommand = async (output, context) => {
701
+ export const de_CreateCustomLogSourceCommand = async (output, context) => {
704
702
  if (output.statusCode !== 200 && output.statusCode >= 300) {
705
- return deserializeAws_restJson1CreateCustomLogSourceCommandError(output, context);
703
+ return de_CreateCustomLogSourceCommandError(output, context);
706
704
  }
707
705
  const contents = map({
708
706
  $metadata: deserializeMetadata(output),
@@ -725,7 +723,7 @@ export const deserializeAws_restJson1CreateCustomLogSourceCommand = async (outpu
725
723
  }
726
724
  return contents;
727
725
  };
728
- const deserializeAws_restJson1CreateCustomLogSourceCommandError = async (output, context) => {
726
+ const de_CreateCustomLogSourceCommandError = async (output, context) => {
729
727
  const parsedOutput = {
730
728
  ...output,
731
729
  body: await parseErrorBody(output.body, context),
@@ -734,25 +732,25 @@ const deserializeAws_restJson1CreateCustomLogSourceCommandError = async (output,
734
732
  switch (errorCode) {
735
733
  case "AccessDeniedException":
736
734
  case "com.amazonaws.securitylake#AccessDeniedException":
737
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
735
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
738
736
  case "AccountNotFoundException":
739
737
  case "com.amazonaws.securitylake#AccountNotFoundException":
740
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
738
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
741
739
  case "BucketNotFoundException":
742
740
  case "com.amazonaws.securitylake#BucketNotFoundException":
743
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
741
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
744
742
  case "ConflictSourceNamesException":
745
743
  case "com.amazonaws.securitylake#ConflictSourceNamesException":
746
- throw await deserializeAws_restJson1ConflictSourceNamesExceptionResponse(parsedOutput, context);
744
+ throw await de_ConflictSourceNamesExceptionRes(parsedOutput, context);
747
745
  case "InternalServerException":
748
746
  case "com.amazonaws.securitylake#InternalServerException":
749
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
747
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
750
748
  case "ResourceNotFoundException":
751
749
  case "com.amazonaws.securitylake#ResourceNotFoundException":
752
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
750
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
753
751
  case "ValidationException":
754
752
  case "com.amazonaws.securitylake#ValidationException":
755
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
753
+ throw await de_ValidationExceptionRes(parsedOutput, context);
756
754
  default:
757
755
  const parsedBody = parsedOutput.body;
758
756
  throwDefaultError({
@@ -763,9 +761,9 @@ const deserializeAws_restJson1CreateCustomLogSourceCommandError = async (output,
763
761
  });
764
762
  }
765
763
  };
766
- export const deserializeAws_restJson1CreateDatalakeCommand = async (output, context) => {
764
+ export const de_CreateDatalakeCommand = async (output, context) => {
767
765
  if (output.statusCode !== 200 && output.statusCode >= 300) {
768
- return deserializeAws_restJson1CreateDatalakeCommandError(output, context);
766
+ return de_CreateDatalakeCommandError(output, context);
769
767
  }
770
768
  const contents = map({
771
769
  $metadata: deserializeMetadata(output),
@@ -773,7 +771,7 @@ export const deserializeAws_restJson1CreateDatalakeCommand = async (output, cont
773
771
  await collectBody(output.body, context);
774
772
  return contents;
775
773
  };
776
- const deserializeAws_restJson1CreateDatalakeCommandError = async (output, context) => {
774
+ const de_CreateDatalakeCommandError = async (output, context) => {
777
775
  const parsedOutput = {
778
776
  ...output,
779
777
  body: await parseErrorBody(output.body, context),
@@ -782,25 +780,25 @@ const deserializeAws_restJson1CreateDatalakeCommandError = async (output, contex
782
780
  switch (errorCode) {
783
781
  case "AccessDeniedException":
784
782
  case "com.amazonaws.securitylake#AccessDeniedException":
785
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
783
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
786
784
  case "ConflictException":
787
785
  case "com.amazonaws.securitylake#ConflictException":
788
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
786
+ throw await de_ConflictExceptionRes(parsedOutput, context);
789
787
  case "InternalServerException":
790
788
  case "com.amazonaws.securitylake#InternalServerException":
791
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
789
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
792
790
  case "ResourceNotFoundException":
793
791
  case "com.amazonaws.securitylake#ResourceNotFoundException":
794
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
792
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
795
793
  case "ServiceQuotaExceededException":
796
794
  case "com.amazonaws.securitylake#ServiceQuotaExceededException":
797
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
795
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
798
796
  case "ThrottlingException":
799
797
  case "com.amazonaws.securitylake#ThrottlingException":
800
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
798
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
801
799
  case "ValidationException":
802
800
  case "com.amazonaws.securitylake#ValidationException":
803
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
801
+ throw await de_ValidationExceptionRes(parsedOutput, context);
804
802
  default:
805
803
  const parsedBody = parsedOutput.body;
806
804
  throwDefaultError({
@@ -811,9 +809,9 @@ const deserializeAws_restJson1CreateDatalakeCommandError = async (output, contex
811
809
  });
812
810
  }
813
811
  };
814
- export const deserializeAws_restJson1CreateDatalakeAutoEnableCommand = async (output, context) => {
812
+ export const de_CreateDatalakeAutoEnableCommand = async (output, context) => {
815
813
  if (output.statusCode !== 200 && output.statusCode >= 300) {
816
- return deserializeAws_restJson1CreateDatalakeAutoEnableCommandError(output, context);
814
+ return de_CreateDatalakeAutoEnableCommandError(output, context);
817
815
  }
818
816
  const contents = map({
819
817
  $metadata: deserializeMetadata(output),
@@ -821,7 +819,7 @@ export const deserializeAws_restJson1CreateDatalakeAutoEnableCommand = async (ou
821
819
  await collectBody(output.body, context);
822
820
  return contents;
823
821
  };
824
- const deserializeAws_restJson1CreateDatalakeAutoEnableCommandError = async (output, context) => {
822
+ const de_CreateDatalakeAutoEnableCommandError = async (output, context) => {
825
823
  const parsedOutput = {
826
824
  ...output,
827
825
  body: await parseErrorBody(output.body, context),
@@ -830,16 +828,16 @@ const deserializeAws_restJson1CreateDatalakeAutoEnableCommandError = async (outp
830
828
  switch (errorCode) {
831
829
  case "AccessDeniedException":
832
830
  case "com.amazonaws.securitylake#AccessDeniedException":
833
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
831
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
834
832
  case "AccountNotFoundException":
835
833
  case "com.amazonaws.securitylake#AccountNotFoundException":
836
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
834
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
837
835
  case "InternalServerException":
838
836
  case "com.amazonaws.securitylake#InternalServerException":
839
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
837
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
840
838
  case "ValidationException":
841
839
  case "com.amazonaws.securitylake#ValidationException":
842
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
840
+ throw await de_ValidationExceptionRes(parsedOutput, context);
843
841
  default:
844
842
  const parsedBody = parsedOutput.body;
845
843
  throwDefaultError({
@@ -850,9 +848,9 @@ const deserializeAws_restJson1CreateDatalakeAutoEnableCommandError = async (outp
850
848
  });
851
849
  }
852
850
  };
853
- export const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async (output, context) => {
851
+ export const de_CreateDatalakeDelegatedAdminCommand = async (output, context) => {
854
852
  if (output.statusCode !== 200 && output.statusCode >= 300) {
855
- return deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError(output, context);
853
+ return de_CreateDatalakeDelegatedAdminCommandError(output, context);
856
854
  }
857
855
  const contents = map({
858
856
  $metadata: deserializeMetadata(output),
@@ -860,7 +858,7 @@ export const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommand = async
860
858
  await collectBody(output.body, context);
861
859
  return contents;
862
860
  };
863
- const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError = async (output, context) => {
861
+ const de_CreateDatalakeDelegatedAdminCommandError = async (output, context) => {
864
862
  const parsedOutput = {
865
863
  ...output,
866
864
  body: await parseErrorBody(output.body, context),
@@ -869,16 +867,16 @@ const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError = async (
869
867
  switch (errorCode) {
870
868
  case "AccessDeniedException":
871
869
  case "com.amazonaws.securitylake#AccessDeniedException":
872
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
870
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
873
871
  case "InternalServerException":
874
872
  case "com.amazonaws.securitylake#InternalServerException":
875
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
873
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
876
874
  case "ThrottlingException":
877
875
  case "com.amazonaws.securitylake#ThrottlingException":
878
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
876
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
879
877
  case "ValidationException":
880
878
  case "com.amazonaws.securitylake#ValidationException":
881
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
879
+ throw await de_ValidationExceptionRes(parsedOutput, context);
882
880
  default:
883
881
  const parsedBody = parsedOutput.body;
884
882
  throwDefaultError({
@@ -889,9 +887,9 @@ const deserializeAws_restJson1CreateDatalakeDelegatedAdminCommandError = async (
889
887
  });
890
888
  }
891
889
  };
892
- export const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
890
+ export const de_CreateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
893
891
  if (output.statusCode !== 200 && output.statusCode >= 300) {
894
- return deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError(output, context);
892
+ return de_CreateDatalakeExceptionsSubscriptionCommandError(output, context);
895
893
  }
896
894
  const contents = map({
897
895
  $metadata: deserializeMetadata(output),
@@ -899,7 +897,7 @@ export const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommand
899
897
  await collectBody(output.body, context);
900
898
  return contents;
901
899
  };
902
- const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
900
+ const de_CreateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
903
901
  const parsedOutput = {
904
902
  ...output,
905
903
  body: await parseErrorBody(output.body, context),
@@ -908,16 +906,16 @@ const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError =
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 "AccountNotFoundException":
913
911
  case "com.amazonaws.securitylake#AccountNotFoundException":
914
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
912
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
915
913
  case "InternalServerException":
916
914
  case "com.amazonaws.securitylake#InternalServerException":
917
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
915
+ throw await de_InternalServerExceptionRes(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
  throwDefaultError({
@@ -928,9 +926,9 @@ const deserializeAws_restJson1CreateDatalakeExceptionsSubscriptionCommandError =
928
926
  });
929
927
  }
930
928
  };
931
- export const deserializeAws_restJson1CreateSubscriberCommand = async (output, context) => {
929
+ export const de_CreateSubscriberCommand = async (output, context) => {
932
930
  if (output.statusCode !== 200 && output.statusCode >= 300) {
933
- return deserializeAws_restJson1CreateSubscriberCommandError(output, context);
931
+ return de_CreateSubscriberCommandError(output, context);
934
932
  }
935
933
  const contents = map({
936
934
  $metadata: deserializeMetadata(output),
@@ -956,7 +954,7 @@ export const deserializeAws_restJson1CreateSubscriberCommand = async (output, co
956
954
  }
957
955
  return contents;
958
956
  };
959
- const deserializeAws_restJson1CreateSubscriberCommandError = async (output, context) => {
957
+ const de_CreateSubscriberCommandError = async (output, context) => {
960
958
  const parsedOutput = {
961
959
  ...output,
962
960
  body: await parseErrorBody(output.body, context),
@@ -965,28 +963,28 @@ const deserializeAws_restJson1CreateSubscriberCommandError = async (output, cont
965
963
  switch (errorCode) {
966
964
  case "AccessDeniedException":
967
965
  case "com.amazonaws.securitylake#AccessDeniedException":
968
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
966
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
969
967
  case "AccountNotFoundException":
970
968
  case "com.amazonaws.securitylake#AccountNotFoundException":
971
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
969
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
972
970
  case "BucketNotFoundException":
973
971
  case "com.amazonaws.securitylake#BucketNotFoundException":
974
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
972
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
975
973
  case "ConflictSubscriptionException":
976
974
  case "com.amazonaws.securitylake#ConflictSubscriptionException":
977
- throw await deserializeAws_restJson1ConflictSubscriptionExceptionResponse(parsedOutput, context);
975
+ throw await de_ConflictSubscriptionExceptionRes(parsedOutput, context);
978
976
  case "InternalServerException":
979
977
  case "com.amazonaws.securitylake#InternalServerException":
980
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
978
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
981
979
  case "InvalidInputException":
982
980
  case "com.amazonaws.securitylake#InvalidInputException":
983
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
981
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
984
982
  case "ResourceNotFoundException":
985
983
  case "com.amazonaws.securitylake#ResourceNotFoundException":
986
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
984
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
987
985
  case "ValidationException":
988
986
  case "com.amazonaws.securitylake#ValidationException":
989
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
987
+ throw await de_ValidationExceptionRes(parsedOutput, context);
990
988
  default:
991
989
  const parsedBody = parsedOutput.body;
992
990
  throwDefaultError({
@@ -997,9 +995,9 @@ const deserializeAws_restJson1CreateSubscriberCommandError = async (output, cont
997
995
  });
998
996
  }
999
997
  };
1000
- export const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand = async (output, context) => {
998
+ export const de_CreateSubscriptionNotificationConfigurationCommand = async (output, context) => {
1001
999
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1002
- return deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommandError(output, context);
1000
+ return de_CreateSubscriptionNotificationConfigurationCommandError(output, context);
1003
1001
  }
1004
1002
  const contents = map({
1005
1003
  $metadata: deserializeMetadata(output),
@@ -1010,7 +1008,7 @@ export const deserializeAws_restJson1CreateSubscriptionNotificationConfiguration
1010
1008
  }
1011
1009
  return contents;
1012
1010
  };
1013
- const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1011
+ const de_CreateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1014
1012
  const parsedOutput = {
1015
1013
  ...output,
1016
1014
  body: await parseErrorBody(output.body, context),
@@ -1019,25 +1017,25 @@ const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand
1019
1017
  switch (errorCode) {
1020
1018
  case "AccessDeniedException":
1021
1019
  case "com.amazonaws.securitylake#AccessDeniedException":
1022
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1020
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1023
1021
  case "AccountNotFoundException":
1024
1022
  case "com.amazonaws.securitylake#AccountNotFoundException":
1025
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1023
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1026
1024
  case "ConcurrentModificationException":
1027
1025
  case "com.amazonaws.securitylake#ConcurrentModificationException":
1028
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1026
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1029
1027
  case "InternalServerException":
1030
1028
  case "com.amazonaws.securitylake#InternalServerException":
1031
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1029
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1032
1030
  case "InvalidInputException":
1033
1031
  case "com.amazonaws.securitylake#InvalidInputException":
1034
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1032
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1035
1033
  case "ResourceNotFoundException":
1036
1034
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1037
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1035
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1038
1036
  case "ValidationException":
1039
1037
  case "com.amazonaws.securitylake#ValidationException":
1040
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1038
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1041
1039
  default:
1042
1040
  const parsedBody = parsedOutput.body;
1043
1041
  throwDefaultError({
@@ -1048,23 +1046,23 @@ const deserializeAws_restJson1CreateSubscriptionNotificationConfigurationCommand
1048
1046
  });
1049
1047
  }
1050
1048
  };
1051
- export const deserializeAws_restJson1DeleteAwsLogSourceCommand = async (output, context) => {
1049
+ export const de_DeleteAwsLogSourceCommand = async (output, context) => {
1052
1050
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1053
- return deserializeAws_restJson1DeleteAwsLogSourceCommandError(output, context);
1051
+ return de_DeleteAwsLogSourceCommandError(output, context);
1054
1052
  }
1055
1053
  const contents = map({
1056
1054
  $metadata: deserializeMetadata(output),
1057
1055
  });
1058
1056
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1059
1057
  if (data.failed != null) {
1060
- contents.failed = deserializeAws_restJson1AccountList(data.failed, context);
1058
+ contents.failed = de_AccountList(data.failed, context);
1061
1059
  }
1062
1060
  if (data.processing != null) {
1063
- contents.processing = deserializeAws_restJson1AccountList(data.processing, context);
1061
+ contents.processing = de_AccountList(data.processing, context);
1064
1062
  }
1065
1063
  return contents;
1066
1064
  };
1067
- const deserializeAws_restJson1DeleteAwsLogSourceCommandError = async (output, context) => {
1065
+ const de_DeleteAwsLogSourceCommandError = async (output, context) => {
1068
1066
  const parsedOutput = {
1069
1067
  ...output,
1070
1068
  body: await parseErrorBody(output.body, context),
@@ -1073,16 +1071,16 @@ const deserializeAws_restJson1DeleteAwsLogSourceCommandError = async (output, co
1073
1071
  switch (errorCode) {
1074
1072
  case "AccessDeniedException":
1075
1073
  case "com.amazonaws.securitylake#AccessDeniedException":
1076
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1074
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1077
1075
  case "AccountNotFoundException":
1078
1076
  case "com.amazonaws.securitylake#AccountNotFoundException":
1079
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1077
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1080
1078
  case "InternalServerException":
1081
1079
  case "com.amazonaws.securitylake#InternalServerException":
1082
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1080
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1083
1081
  case "ValidationException":
1084
1082
  case "com.amazonaws.securitylake#ValidationException":
1085
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1083
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1086
1084
  default:
1087
1085
  const parsedBody = parsedOutput.body;
1088
1086
  throwDefaultError({
@@ -1093,9 +1091,9 @@ const deserializeAws_restJson1DeleteAwsLogSourceCommandError = async (output, co
1093
1091
  });
1094
1092
  }
1095
1093
  };
1096
- export const deserializeAws_restJson1DeleteCustomLogSourceCommand = async (output, context) => {
1094
+ export const de_DeleteCustomLogSourceCommand = async (output, context) => {
1097
1095
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1098
- return deserializeAws_restJson1DeleteCustomLogSourceCommandError(output, context);
1096
+ return de_DeleteCustomLogSourceCommandError(output, context);
1099
1097
  }
1100
1098
  const contents = map({
1101
1099
  $metadata: deserializeMetadata(output),
@@ -1106,7 +1104,7 @@ export const deserializeAws_restJson1DeleteCustomLogSourceCommand = async (outpu
1106
1104
  }
1107
1105
  return contents;
1108
1106
  };
1109
- const deserializeAws_restJson1DeleteCustomLogSourceCommandError = async (output, context) => {
1107
+ const de_DeleteCustomLogSourceCommandError = async (output, context) => {
1110
1108
  const parsedOutput = {
1111
1109
  ...output,
1112
1110
  body: await parseErrorBody(output.body, context),
@@ -1115,25 +1113,25 @@ const deserializeAws_restJson1DeleteCustomLogSourceCommandError = async (output,
1115
1113
  switch (errorCode) {
1116
1114
  case "AccessDeniedException":
1117
1115
  case "com.amazonaws.securitylake#AccessDeniedException":
1118
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1116
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1119
1117
  case "AccountNotFoundException":
1120
1118
  case "com.amazonaws.securitylake#AccountNotFoundException":
1121
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1119
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1122
1120
  case "BucketNotFoundException":
1123
1121
  case "com.amazonaws.securitylake#BucketNotFoundException":
1124
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
1122
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
1125
1123
  case "ConflictSourceNamesException":
1126
1124
  case "com.amazonaws.securitylake#ConflictSourceNamesException":
1127
- throw await deserializeAws_restJson1ConflictSourceNamesExceptionResponse(parsedOutput, context);
1125
+ throw await de_ConflictSourceNamesExceptionRes(parsedOutput, context);
1128
1126
  case "InternalServerException":
1129
1127
  case "com.amazonaws.securitylake#InternalServerException":
1130
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1128
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1131
1129
  case "ResourceNotFoundException":
1132
1130
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1133
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1131
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1134
1132
  case "ValidationException":
1135
1133
  case "com.amazonaws.securitylake#ValidationException":
1136
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1134
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1137
1135
  default:
1138
1136
  const parsedBody = parsedOutput.body;
1139
1137
  throwDefaultError({
@@ -1144,9 +1142,9 @@ const deserializeAws_restJson1DeleteCustomLogSourceCommandError = async (output,
1144
1142
  });
1145
1143
  }
1146
1144
  };
1147
- export const deserializeAws_restJson1DeleteDatalakeCommand = async (output, context) => {
1145
+ export const de_DeleteDatalakeCommand = async (output, context) => {
1148
1146
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1149
- return deserializeAws_restJson1DeleteDatalakeCommandError(output, context);
1147
+ return de_DeleteDatalakeCommandError(output, context);
1150
1148
  }
1151
1149
  const contents = map({
1152
1150
  $metadata: deserializeMetadata(output),
@@ -1154,7 +1152,7 @@ export const deserializeAws_restJson1DeleteDatalakeCommand = async (output, cont
1154
1152
  await collectBody(output.body, context);
1155
1153
  return contents;
1156
1154
  };
1157
- const deserializeAws_restJson1DeleteDatalakeCommandError = async (output, context) => {
1155
+ const de_DeleteDatalakeCommandError = async (output, context) => {
1158
1156
  const parsedOutput = {
1159
1157
  ...output,
1160
1158
  body: await parseErrorBody(output.body, context),
@@ -1163,25 +1161,25 @@ const deserializeAws_restJson1DeleteDatalakeCommandError = async (output, contex
1163
1161
  switch (errorCode) {
1164
1162
  case "AccessDeniedException":
1165
1163
  case "com.amazonaws.securitylake#AccessDeniedException":
1166
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1164
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1167
1165
  case "ConflictException":
1168
1166
  case "com.amazonaws.securitylake#ConflictException":
1169
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1167
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1170
1168
  case "InternalServerException":
1171
1169
  case "com.amazonaws.securitylake#InternalServerException":
1172
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1170
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1173
1171
  case "ResourceNotFoundException":
1174
1172
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1175
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1173
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1176
1174
  case "ServiceQuotaExceededException":
1177
1175
  case "com.amazonaws.securitylake#ServiceQuotaExceededException":
1178
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1176
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1179
1177
  case "ThrottlingException":
1180
1178
  case "com.amazonaws.securitylake#ThrottlingException":
1181
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1179
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1182
1180
  case "ValidationException":
1183
1181
  case "com.amazonaws.securitylake#ValidationException":
1184
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1182
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1185
1183
  default:
1186
1184
  const parsedBody = parsedOutput.body;
1187
1185
  throwDefaultError({
@@ -1192,9 +1190,9 @@ const deserializeAws_restJson1DeleteDatalakeCommandError = async (output, contex
1192
1190
  });
1193
1191
  }
1194
1192
  };
1195
- export const deserializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (output, context) => {
1193
+ export const de_DeleteDatalakeAutoEnableCommand = async (output, context) => {
1196
1194
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1197
- return deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError(output, context);
1195
+ return de_DeleteDatalakeAutoEnableCommandError(output, context);
1198
1196
  }
1199
1197
  const contents = map({
1200
1198
  $metadata: deserializeMetadata(output),
@@ -1202,7 +1200,7 @@ export const deserializeAws_restJson1DeleteDatalakeAutoEnableCommand = async (ou
1202
1200
  await collectBody(output.body, context);
1203
1201
  return contents;
1204
1202
  };
1205
- const deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError = async (output, context) => {
1203
+ const de_DeleteDatalakeAutoEnableCommandError = async (output, context) => {
1206
1204
  const parsedOutput = {
1207
1205
  ...output,
1208
1206
  body: await parseErrorBody(output.body, context),
@@ -1211,16 +1209,16 @@ const deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError = async (outp
1211
1209
  switch (errorCode) {
1212
1210
  case "AccessDeniedException":
1213
1211
  case "com.amazonaws.securitylake#AccessDeniedException":
1214
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1212
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1215
1213
  case "AccountNotFoundException":
1216
1214
  case "com.amazonaws.securitylake#AccountNotFoundException":
1217
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1215
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1218
1216
  case "InternalServerException":
1219
1217
  case "com.amazonaws.securitylake#InternalServerException":
1220
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1218
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1221
1219
  case "ValidationException":
1222
1220
  case "com.amazonaws.securitylake#ValidationException":
1223
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1221
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1224
1222
  default:
1225
1223
  const parsedBody = parsedOutput.body;
1226
1224
  throwDefaultError({
@@ -1231,9 +1229,9 @@ const deserializeAws_restJson1DeleteDatalakeAutoEnableCommandError = async (outp
1231
1229
  });
1232
1230
  }
1233
1231
  };
1234
- export const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async (output, context) => {
1232
+ export const de_DeleteDatalakeDelegatedAdminCommand = async (output, context) => {
1235
1233
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1236
- return deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError(output, context);
1234
+ return de_DeleteDatalakeDelegatedAdminCommandError(output, context);
1237
1235
  }
1238
1236
  const contents = map({
1239
1237
  $metadata: deserializeMetadata(output),
@@ -1241,7 +1239,7 @@ export const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommand = async
1241
1239
  await collectBody(output.body, context);
1242
1240
  return contents;
1243
1241
  };
1244
- const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError = async (output, context) => {
1242
+ const de_DeleteDatalakeDelegatedAdminCommandError = async (output, context) => {
1245
1243
  const parsedOutput = {
1246
1244
  ...output,
1247
1245
  body: await parseErrorBody(output.body, context),
@@ -1250,16 +1248,16 @@ const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError = async (
1250
1248
  switch (errorCode) {
1251
1249
  case "AccessDeniedException":
1252
1250
  case "com.amazonaws.securitylake#AccessDeniedException":
1253
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1251
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1254
1252
  case "InternalServerException":
1255
1253
  case "com.amazonaws.securitylake#InternalServerException":
1256
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1254
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1257
1255
  case "ThrottlingException":
1258
1256
  case "com.amazonaws.securitylake#ThrottlingException":
1259
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1257
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1260
1258
  case "ValidationException":
1261
1259
  case "com.amazonaws.securitylake#ValidationException":
1262
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1260
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1263
1261
  default:
1264
1262
  const parsedBody = parsedOutput.body;
1265
1263
  throwDefaultError({
@@ -1270,9 +1268,9 @@ const deserializeAws_restJson1DeleteDatalakeDelegatedAdminCommandError = async (
1270
1268
  });
1271
1269
  }
1272
1270
  };
1273
- export const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1271
+ export const de_DeleteDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1274
1272
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1275
- return deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError(output, context);
1273
+ return de_DeleteDatalakeExceptionsSubscriptionCommandError(output, context);
1276
1274
  }
1277
1275
  const contents = map({
1278
1276
  $metadata: deserializeMetadata(output),
@@ -1283,7 +1281,7 @@ export const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommand
1283
1281
  }
1284
1282
  return contents;
1285
1283
  };
1286
- const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1284
+ const de_DeleteDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1287
1285
  const parsedOutput = {
1288
1286
  ...output,
1289
1287
  body: await parseErrorBody(output.body, context),
@@ -1292,16 +1290,16 @@ const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError =
1292
1290
  switch (errorCode) {
1293
1291
  case "AccessDeniedException":
1294
1292
  case "com.amazonaws.securitylake#AccessDeniedException":
1295
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1293
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1296
1294
  case "AccountNotFoundException":
1297
1295
  case "com.amazonaws.securitylake#AccountNotFoundException":
1298
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1296
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1299
1297
  case "InternalServerException":
1300
1298
  case "com.amazonaws.securitylake#InternalServerException":
1301
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1299
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1302
1300
  case "ValidationException":
1303
1301
  case "com.amazonaws.securitylake#ValidationException":
1304
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1302
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1305
1303
  default:
1306
1304
  const parsedBody = parsedOutput.body;
1307
1305
  throwDefaultError({
@@ -1312,9 +1310,9 @@ const deserializeAws_restJson1DeleteDatalakeExceptionsSubscriptionCommandError =
1312
1310
  });
1313
1311
  }
1314
1312
  };
1315
- export const deserializeAws_restJson1DeleteSubscriberCommand = async (output, context) => {
1313
+ export const de_DeleteSubscriberCommand = async (output, context) => {
1316
1314
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1317
- return deserializeAws_restJson1DeleteSubscriberCommandError(output, context);
1315
+ return de_DeleteSubscriberCommandError(output, context);
1318
1316
  }
1319
1317
  const contents = map({
1320
1318
  $metadata: deserializeMetadata(output),
@@ -1322,7 +1320,7 @@ export const deserializeAws_restJson1DeleteSubscriberCommand = async (output, co
1322
1320
  await collectBody(output.body, context);
1323
1321
  return contents;
1324
1322
  };
1325
- const deserializeAws_restJson1DeleteSubscriberCommandError = async (output, context) => {
1323
+ const de_DeleteSubscriberCommandError = async (output, context) => {
1326
1324
  const parsedOutput = {
1327
1325
  ...output,
1328
1326
  body: await parseErrorBody(output.body, context),
@@ -1331,28 +1329,28 @@ const deserializeAws_restJson1DeleteSubscriberCommandError = async (output, cont
1331
1329
  switch (errorCode) {
1332
1330
  case "AccessDeniedException":
1333
1331
  case "com.amazonaws.securitylake#AccessDeniedException":
1334
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1332
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1335
1333
  case "AccountNotFoundException":
1336
1334
  case "com.amazonaws.securitylake#AccountNotFoundException":
1337
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1335
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1338
1336
  case "BucketNotFoundException":
1339
1337
  case "com.amazonaws.securitylake#BucketNotFoundException":
1340
- throw await deserializeAws_restJson1BucketNotFoundExceptionResponse(parsedOutput, context);
1338
+ throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
1341
1339
  case "ConcurrentModificationException":
1342
1340
  case "com.amazonaws.securitylake#ConcurrentModificationException":
1343
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1341
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1344
1342
  case "InternalServerException":
1345
1343
  case "com.amazonaws.securitylake#InternalServerException":
1346
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1344
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1347
1345
  case "InvalidInputException":
1348
1346
  case "com.amazonaws.securitylake#InvalidInputException":
1349
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1347
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1350
1348
  case "ResourceNotFoundException":
1351
1349
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1352
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1350
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1353
1351
  case "ValidationException":
1354
1352
  case "com.amazonaws.securitylake#ValidationException":
1355
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1353
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1356
1354
  default:
1357
1355
  const parsedBody = parsedOutput.body;
1358
1356
  throwDefaultError({
@@ -1363,9 +1361,9 @@ const deserializeAws_restJson1DeleteSubscriberCommandError = async (output, cont
1363
1361
  });
1364
1362
  }
1365
1363
  };
1366
- export const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand = async (output, context) => {
1364
+ export const de_DeleteSubscriptionNotificationConfigurationCommand = async (output, context) => {
1367
1365
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1368
- return deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommandError(output, context);
1366
+ return de_DeleteSubscriptionNotificationConfigurationCommandError(output, context);
1369
1367
  }
1370
1368
  const contents = map({
1371
1369
  $metadata: deserializeMetadata(output),
@@ -1373,7 +1371,7 @@ export const deserializeAws_restJson1DeleteSubscriptionNotificationConfiguration
1373
1371
  await collectBody(output.body, context);
1374
1372
  return contents;
1375
1373
  };
1376
- const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1374
+ const de_DeleteSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1377
1375
  const parsedOutput = {
1378
1376
  ...output,
1379
1377
  body: await parseErrorBody(output.body, context),
@@ -1382,25 +1380,25 @@ const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand
1382
1380
  switch (errorCode) {
1383
1381
  case "AccessDeniedException":
1384
1382
  case "com.amazonaws.securitylake#AccessDeniedException":
1385
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1383
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1386
1384
  case "AccountNotFoundException":
1387
1385
  case "com.amazonaws.securitylake#AccountNotFoundException":
1388
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1386
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1389
1387
  case "ConcurrentModificationException":
1390
1388
  case "com.amazonaws.securitylake#ConcurrentModificationException":
1391
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1389
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1392
1390
  case "InternalServerException":
1393
1391
  case "com.amazonaws.securitylake#InternalServerException":
1394
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1392
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1395
1393
  case "InvalidInputException":
1396
1394
  case "com.amazonaws.securitylake#InvalidInputException":
1397
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1395
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1398
1396
  case "ResourceNotFoundException":
1399
1397
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1400
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1398
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1401
1399
  case "ValidationException":
1402
1400
  case "com.amazonaws.securitylake#ValidationException":
1403
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1401
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1404
1402
  default:
1405
1403
  const parsedBody = parsedOutput.body;
1406
1404
  throwDefaultError({
@@ -1411,20 +1409,20 @@ const deserializeAws_restJson1DeleteSubscriptionNotificationConfigurationCommand
1411
1409
  });
1412
1410
  }
1413
1411
  };
1414
- export const deserializeAws_restJson1GetDatalakeCommand = async (output, context) => {
1412
+ export const de_GetDatalakeCommand = async (output, context) => {
1415
1413
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1416
- return deserializeAws_restJson1GetDatalakeCommandError(output, context);
1414
+ return de_GetDatalakeCommandError(output, context);
1417
1415
  }
1418
1416
  const contents = map({
1419
1417
  $metadata: deserializeMetadata(output),
1420
1418
  });
1421
1419
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1422
1420
  if (data.configurations != null) {
1423
- contents.configurations = deserializeAws_restJson1LakeConfigurationResponseMap(data.configurations, context);
1421
+ contents.configurations = de_LakeConfigurationResponseMap(data.configurations, context);
1424
1422
  }
1425
1423
  return contents;
1426
1424
  };
1427
- const deserializeAws_restJson1GetDatalakeCommandError = async (output, context) => {
1425
+ const de_GetDatalakeCommandError = async (output, context) => {
1428
1426
  const parsedOutput = {
1429
1427
  ...output,
1430
1428
  body: await parseErrorBody(output.body, context),
@@ -1433,19 +1431,19 @@ const deserializeAws_restJson1GetDatalakeCommandError = async (output, context)
1433
1431
  switch (errorCode) {
1434
1432
  case "AccessDeniedException":
1435
1433
  case "com.amazonaws.securitylake#AccessDeniedException":
1436
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1434
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1437
1435
  case "AccountNotFoundException":
1438
1436
  case "com.amazonaws.securitylake#AccountNotFoundException":
1439
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1437
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1440
1438
  case "InternalServerException":
1441
1439
  case "com.amazonaws.securitylake#InternalServerException":
1442
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1440
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1443
1441
  case "ResourceNotFoundException":
1444
1442
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1445
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1443
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1446
1444
  case "ValidationException":
1447
1445
  case "com.amazonaws.securitylake#ValidationException":
1448
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1446
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1449
1447
  default:
1450
1448
  const parsedBody = parsedOutput.body;
1451
1449
  throwDefaultError({
@@ -1456,20 +1454,20 @@ const deserializeAws_restJson1GetDatalakeCommandError = async (output, context)
1456
1454
  });
1457
1455
  }
1458
1456
  };
1459
- export const deserializeAws_restJson1GetDatalakeAutoEnableCommand = async (output, context) => {
1457
+ export const de_GetDatalakeAutoEnableCommand = async (output, context) => {
1460
1458
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1461
- return deserializeAws_restJson1GetDatalakeAutoEnableCommandError(output, context);
1459
+ return de_GetDatalakeAutoEnableCommandError(output, context);
1462
1460
  }
1463
1461
  const contents = map({
1464
1462
  $metadata: deserializeMetadata(output),
1465
1463
  });
1466
1464
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1467
1465
  if (data.autoEnableNewAccounts != null) {
1468
- contents.autoEnableNewAccounts = deserializeAws_restJson1AutoEnableNewRegionConfigurationList(data.autoEnableNewAccounts, context);
1466
+ contents.autoEnableNewAccounts = de_AutoEnableNewRegionConfigurationList(data.autoEnableNewAccounts, context);
1469
1467
  }
1470
1468
  return contents;
1471
1469
  };
1472
- const deserializeAws_restJson1GetDatalakeAutoEnableCommandError = async (output, context) => {
1470
+ const de_GetDatalakeAutoEnableCommandError = async (output, context) => {
1473
1471
  const parsedOutput = {
1474
1472
  ...output,
1475
1473
  body: await parseErrorBody(output.body, context),
@@ -1478,16 +1476,16 @@ const deserializeAws_restJson1GetDatalakeAutoEnableCommandError = async (output,
1478
1476
  switch (errorCode) {
1479
1477
  case "AccessDeniedException":
1480
1478
  case "com.amazonaws.securitylake#AccessDeniedException":
1481
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1479
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1482
1480
  case "AccountNotFoundException":
1483
1481
  case "com.amazonaws.securitylake#AccountNotFoundException":
1484
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1482
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1485
1483
  case "InternalServerException":
1486
1484
  case "com.amazonaws.securitylake#InternalServerException":
1487
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1485
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1488
1486
  case "ValidationException":
1489
1487
  case "com.amazonaws.securitylake#ValidationException":
1490
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1488
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1491
1489
  default:
1492
1490
  const parsedBody = parsedOutput.body;
1493
1491
  throwDefaultError({
@@ -1498,9 +1496,9 @@ const deserializeAws_restJson1GetDatalakeAutoEnableCommandError = async (output,
1498
1496
  });
1499
1497
  }
1500
1498
  };
1501
- export const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async (output, context) => {
1499
+ export const de_GetDatalakeExceptionsExpiryCommand = async (output, context) => {
1502
1500
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1503
- return deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError(output, context);
1501
+ return de_GetDatalakeExceptionsExpiryCommandError(output, context);
1504
1502
  }
1505
1503
  const contents = map({
1506
1504
  $metadata: deserializeMetadata(output),
@@ -1511,7 +1509,7 @@ export const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommand = async
1511
1509
  }
1512
1510
  return contents;
1513
1511
  };
1514
- const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError = async (output, context) => {
1512
+ const de_GetDatalakeExceptionsExpiryCommandError = async (output, context) => {
1515
1513
  const parsedOutput = {
1516
1514
  ...output,
1517
1515
  body: await parseErrorBody(output.body, context),
@@ -1520,16 +1518,16 @@ const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError = async (o
1520
1518
  switch (errorCode) {
1521
1519
  case "AccessDeniedException":
1522
1520
  case "com.amazonaws.securitylake#AccessDeniedException":
1523
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1521
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1524
1522
  case "AccountNotFoundException":
1525
1523
  case "com.amazonaws.securitylake#AccountNotFoundException":
1526
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1524
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1527
1525
  case "InternalServerException":
1528
1526
  case "com.amazonaws.securitylake#InternalServerException":
1529
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1527
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1530
1528
  case "ValidationException":
1531
1529
  case "com.amazonaws.securitylake#ValidationException":
1532
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1530
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1533
1531
  default:
1534
1532
  const parsedBody = parsedOutput.body;
1535
1533
  throwDefaultError({
@@ -1540,20 +1538,20 @@ const deserializeAws_restJson1GetDatalakeExceptionsExpiryCommandError = async (o
1540
1538
  });
1541
1539
  }
1542
1540
  };
1543
- export const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1541
+ export const de_GetDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1544
1542
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1545
- return deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError(output, context);
1543
+ return de_GetDatalakeExceptionsSubscriptionCommandError(output, context);
1546
1544
  }
1547
1545
  const contents = map({
1548
1546
  $metadata: deserializeMetadata(output),
1549
1547
  });
1550
1548
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1551
1549
  if (data.protocolAndNotificationEndpoint != null) {
1552
- contents.protocolAndNotificationEndpoint = deserializeAws_restJson1ProtocolAndNotificationEndpoint(data.protocolAndNotificationEndpoint, context);
1550
+ contents.protocolAndNotificationEndpoint = de_ProtocolAndNotificationEndpoint(data.protocolAndNotificationEndpoint, context);
1553
1551
  }
1554
1552
  return contents;
1555
1553
  };
1556
- const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1554
+ const de_GetDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1557
1555
  const parsedOutput = {
1558
1556
  ...output,
1559
1557
  body: await parseErrorBody(output.body, context),
@@ -1562,16 +1560,16 @@ const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError = as
1562
1560
  switch (errorCode) {
1563
1561
  case "AccessDeniedException":
1564
1562
  case "com.amazonaws.securitylake#AccessDeniedException":
1565
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1563
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1566
1564
  case "AccountNotFoundException":
1567
1565
  case "com.amazonaws.securitylake#AccountNotFoundException":
1568
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1566
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1569
1567
  case "InternalServerException":
1570
1568
  case "com.amazonaws.securitylake#InternalServerException":
1571
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1569
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1572
1570
  case "ValidationException":
1573
1571
  case "com.amazonaws.securitylake#ValidationException":
1574
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1572
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1575
1573
  default:
1576
1574
  const parsedBody = parsedOutput.body;
1577
1575
  throwDefaultError({
@@ -1582,23 +1580,23 @@ const deserializeAws_restJson1GetDatalakeExceptionsSubscriptionCommandError = as
1582
1580
  });
1583
1581
  }
1584
1582
  };
1585
- export const deserializeAws_restJson1GetDatalakeStatusCommand = async (output, context) => {
1583
+ export const de_GetDatalakeStatusCommand = async (output, context) => {
1586
1584
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1587
- return deserializeAws_restJson1GetDatalakeStatusCommandError(output, context);
1585
+ return de_GetDatalakeStatusCommandError(output, context);
1588
1586
  }
1589
1587
  const contents = map({
1590
1588
  $metadata: deserializeMetadata(output),
1591
1589
  });
1592
1590
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1593
1591
  if (data.accountSourcesList != null) {
1594
- contents.accountSourcesList = deserializeAws_restJson1AccountSourcesList(data.accountSourcesList, context);
1592
+ contents.accountSourcesList = de_AccountSourcesList(data.accountSourcesList, context);
1595
1593
  }
1596
1594
  if (data.nextToken != null) {
1597
1595
  contents.nextToken = __expectString(data.nextToken);
1598
1596
  }
1599
1597
  return contents;
1600
1598
  };
1601
- const deserializeAws_restJson1GetDatalakeStatusCommandError = async (output, context) => {
1599
+ const de_GetDatalakeStatusCommandError = async (output, context) => {
1602
1600
  const parsedOutput = {
1603
1601
  ...output,
1604
1602
  body: await parseErrorBody(output.body, context),
@@ -1607,16 +1605,16 @@ const deserializeAws_restJson1GetDatalakeStatusCommandError = async (output, con
1607
1605
  switch (errorCode) {
1608
1606
  case "AccessDeniedException":
1609
1607
  case "com.amazonaws.securitylake#AccessDeniedException":
1610
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1608
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1611
1609
  case "AccountNotFoundException":
1612
1610
  case "com.amazonaws.securitylake#AccountNotFoundException":
1613
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1611
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1614
1612
  case "InternalServerException":
1615
1613
  case "com.amazonaws.securitylake#InternalServerException":
1616
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1614
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1617
1615
  case "ValidationException":
1618
1616
  case "com.amazonaws.securitylake#ValidationException":
1619
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1617
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1620
1618
  default:
1621
1619
  const parsedBody = parsedOutput.body;
1622
1620
  throwDefaultError({
@@ -1627,20 +1625,20 @@ const deserializeAws_restJson1GetDatalakeStatusCommandError = async (output, con
1627
1625
  });
1628
1626
  }
1629
1627
  };
1630
- export const deserializeAws_restJson1GetSubscriberCommand = async (output, context) => {
1628
+ export const de_GetSubscriberCommand = async (output, context) => {
1631
1629
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1632
- return deserializeAws_restJson1GetSubscriberCommandError(output, context);
1630
+ return de_GetSubscriberCommandError(output, context);
1633
1631
  }
1634
1632
  const contents = map({
1635
1633
  $metadata: deserializeMetadata(output),
1636
1634
  });
1637
1635
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1638
1636
  if (data.subscriber != null) {
1639
- contents.subscriber = deserializeAws_restJson1SubscriberResource(data.subscriber, context);
1637
+ contents.subscriber = de_SubscriberResource(data.subscriber, context);
1640
1638
  }
1641
1639
  return contents;
1642
1640
  };
1643
- const deserializeAws_restJson1GetSubscriberCommandError = async (output, context) => {
1641
+ const de_GetSubscriberCommandError = async (output, context) => {
1644
1642
  const parsedOutput = {
1645
1643
  ...output,
1646
1644
  body: await parseErrorBody(output.body, context),
@@ -1649,19 +1647,19 @@ const deserializeAws_restJson1GetSubscriberCommandError = async (output, context
1649
1647
  switch (errorCode) {
1650
1648
  case "AccessDeniedException":
1651
1649
  case "com.amazonaws.securitylake#AccessDeniedException":
1652
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1650
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1653
1651
  case "AccountNotFoundException":
1654
1652
  case "com.amazonaws.securitylake#AccountNotFoundException":
1655
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1653
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1656
1654
  case "InternalServerException":
1657
1655
  case "com.amazonaws.securitylake#InternalServerException":
1658
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1656
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1659
1657
  case "InvalidInputException":
1660
1658
  case "com.amazonaws.securitylake#InvalidInputException":
1661
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1659
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1662
1660
  case "ResourceNotFoundException":
1663
1661
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1664
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1662
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1665
1663
  default:
1666
1664
  const parsedBody = parsedOutput.body;
1667
1665
  throwDefaultError({
@@ -1672,9 +1670,9 @@ const deserializeAws_restJson1GetSubscriberCommandError = async (output, context
1672
1670
  });
1673
1671
  }
1674
1672
  };
1675
- export const deserializeAws_restJson1ListDatalakeExceptionsCommand = async (output, context) => {
1673
+ export const de_ListDatalakeExceptionsCommand = async (output, context) => {
1676
1674
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1677
- return deserializeAws_restJson1ListDatalakeExceptionsCommandError(output, context);
1675
+ return de_ListDatalakeExceptionsCommandError(output, context);
1678
1676
  }
1679
1677
  const contents = map({
1680
1678
  $metadata: deserializeMetadata(output),
@@ -1684,11 +1682,11 @@ export const deserializeAws_restJson1ListDatalakeExceptionsCommand = async (outp
1684
1682
  contents.nextToken = __expectString(data.nextToken);
1685
1683
  }
1686
1684
  if (data.nonRetryableFailures != null) {
1687
- contents.nonRetryableFailures = deserializeAws_restJson1FailuresResponseList(data.nonRetryableFailures, context);
1685
+ contents.nonRetryableFailures = de_FailuresResponseList(data.nonRetryableFailures, context);
1688
1686
  }
1689
1687
  return contents;
1690
1688
  };
1691
- const deserializeAws_restJson1ListDatalakeExceptionsCommandError = async (output, context) => {
1689
+ const de_ListDatalakeExceptionsCommandError = async (output, context) => {
1692
1690
  const parsedOutput = {
1693
1691
  ...output,
1694
1692
  body: await parseErrorBody(output.body, context),
@@ -1697,16 +1695,16 @@ const deserializeAws_restJson1ListDatalakeExceptionsCommandError = async (output
1697
1695
  switch (errorCode) {
1698
1696
  case "AccessDeniedException":
1699
1697
  case "com.amazonaws.securitylake#AccessDeniedException":
1700
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1698
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1701
1699
  case "AccountNotFoundException":
1702
1700
  case "com.amazonaws.securitylake#AccountNotFoundException":
1703
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1701
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1704
1702
  case "InternalServerException":
1705
1703
  case "com.amazonaws.securitylake#InternalServerException":
1706
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1704
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1707
1705
  case "ValidationException":
1708
1706
  case "com.amazonaws.securitylake#ValidationException":
1709
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1707
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1710
1708
  default:
1711
1709
  const parsedBody = parsedOutput.body;
1712
1710
  throwDefaultError({
@@ -1717,9 +1715,9 @@ const deserializeAws_restJson1ListDatalakeExceptionsCommandError = async (output
1717
1715
  });
1718
1716
  }
1719
1717
  };
1720
- export const deserializeAws_restJson1ListLogSourcesCommand = async (output, context) => {
1718
+ export const de_ListLogSourcesCommand = async (output, context) => {
1721
1719
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1722
- return deserializeAws_restJson1ListLogSourcesCommandError(output, context);
1720
+ return de_ListLogSourcesCommandError(output, context);
1723
1721
  }
1724
1722
  const contents = map({
1725
1723
  $metadata: deserializeMetadata(output),
@@ -1729,11 +1727,11 @@ export const deserializeAws_restJson1ListLogSourcesCommand = async (output, cont
1729
1727
  contents.nextToken = __expectString(data.nextToken);
1730
1728
  }
1731
1729
  if (data.regionSourceTypesAccountsList != null) {
1732
- contents.regionSourceTypesAccountsList = deserializeAws_restJson1RegionSourceTypesAccountsList(data.regionSourceTypesAccountsList, context);
1730
+ contents.regionSourceTypesAccountsList = de_RegionSourceTypesAccountsList(data.regionSourceTypesAccountsList, context);
1733
1731
  }
1734
1732
  return contents;
1735
1733
  };
1736
- const deserializeAws_restJson1ListLogSourcesCommandError = async (output, context) => {
1734
+ const de_ListLogSourcesCommandError = async (output, context) => {
1737
1735
  const parsedOutput = {
1738
1736
  ...output,
1739
1737
  body: await parseErrorBody(output.body, context),
@@ -1742,19 +1740,19 @@ const deserializeAws_restJson1ListLogSourcesCommandError = async (output, contex
1742
1740
  switch (errorCode) {
1743
1741
  case "AccessDeniedException":
1744
1742
  case "com.amazonaws.securitylake#AccessDeniedException":
1745
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1743
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1746
1744
  case "AccountNotFoundException":
1747
1745
  case "com.amazonaws.securitylake#AccountNotFoundException":
1748
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1746
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1749
1747
  case "InternalServerException":
1750
1748
  case "com.amazonaws.securitylake#InternalServerException":
1751
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1749
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1752
1750
  case "ResourceNotFoundException":
1753
1751
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1754
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1752
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1755
1753
  case "ValidationException":
1756
1754
  case "com.amazonaws.securitylake#ValidationException":
1757
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1755
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1758
1756
  default:
1759
1757
  const parsedBody = parsedOutput.body;
1760
1758
  throwDefaultError({
@@ -1765,9 +1763,9 @@ const deserializeAws_restJson1ListLogSourcesCommandError = async (output, contex
1765
1763
  });
1766
1764
  }
1767
1765
  };
1768
- export const deserializeAws_restJson1ListSubscribersCommand = async (output, context) => {
1766
+ export const de_ListSubscribersCommand = async (output, context) => {
1769
1767
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1770
- return deserializeAws_restJson1ListSubscribersCommandError(output, context);
1768
+ return de_ListSubscribersCommandError(output, context);
1771
1769
  }
1772
1770
  const contents = map({
1773
1771
  $metadata: deserializeMetadata(output),
@@ -1777,11 +1775,11 @@ export const deserializeAws_restJson1ListSubscribersCommand = async (output, con
1777
1775
  contents.nextToken = __expectString(data.nextToken);
1778
1776
  }
1779
1777
  if (data.subscribers != null) {
1780
- contents.subscribers = deserializeAws_restJson1SubscriberList(data.subscribers, context);
1778
+ contents.subscribers = de_SubscriberList(data.subscribers, context);
1781
1779
  }
1782
1780
  return contents;
1783
1781
  };
1784
- const deserializeAws_restJson1ListSubscribersCommandError = async (output, context) => {
1782
+ const de_ListSubscribersCommandError = async (output, context) => {
1785
1783
  const parsedOutput = {
1786
1784
  ...output,
1787
1785
  body: await parseErrorBody(output.body, context),
@@ -1790,22 +1788,22 @@ const deserializeAws_restJson1ListSubscribersCommandError = async (output, conte
1790
1788
  switch (errorCode) {
1791
1789
  case "AccessDeniedException":
1792
1790
  case "com.amazonaws.securitylake#AccessDeniedException":
1793
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1791
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1794
1792
  case "AccountNotFoundException":
1795
1793
  case "com.amazonaws.securitylake#AccountNotFoundException":
1796
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1794
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1797
1795
  case "InternalServerException":
1798
1796
  case "com.amazonaws.securitylake#InternalServerException":
1799
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1797
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1800
1798
  case "InvalidInputException":
1801
1799
  case "com.amazonaws.securitylake#InvalidInputException":
1802
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1800
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1803
1801
  case "ResourceNotFoundException":
1804
1802
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1805
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1803
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1806
1804
  case "ValidationException":
1807
1805
  case "com.amazonaws.securitylake#ValidationException":
1808
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1806
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1809
1807
  default:
1810
1808
  const parsedBody = parsedOutput.body;
1811
1809
  throwDefaultError({
@@ -1816,9 +1814,9 @@ const deserializeAws_restJson1ListSubscribersCommandError = async (output, conte
1816
1814
  });
1817
1815
  }
1818
1816
  };
1819
- export const deserializeAws_restJson1UpdateDatalakeCommand = async (output, context) => {
1817
+ export const de_UpdateDatalakeCommand = async (output, context) => {
1820
1818
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1821
- return deserializeAws_restJson1UpdateDatalakeCommandError(output, context);
1819
+ return de_UpdateDatalakeCommandError(output, context);
1822
1820
  }
1823
1821
  const contents = map({
1824
1822
  $metadata: deserializeMetadata(output),
@@ -1826,7 +1824,7 @@ export const deserializeAws_restJson1UpdateDatalakeCommand = async (output, cont
1826
1824
  await collectBody(output.body, context);
1827
1825
  return contents;
1828
1826
  };
1829
- const deserializeAws_restJson1UpdateDatalakeCommandError = async (output, context) => {
1827
+ const de_UpdateDatalakeCommandError = async (output, context) => {
1830
1828
  const parsedOutput = {
1831
1829
  ...output,
1832
1830
  body: await parseErrorBody(output.body, context),
@@ -1835,19 +1833,19 @@ const deserializeAws_restJson1UpdateDatalakeCommandError = async (output, contex
1835
1833
  switch (errorCode) {
1836
1834
  case "AccessDeniedException":
1837
1835
  case "com.amazonaws.securitylake#AccessDeniedException":
1838
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1836
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1839
1837
  case "EventBridgeException":
1840
1838
  case "com.amazonaws.securitylake#EventBridgeException":
1841
- throw await deserializeAws_restJson1EventBridgeExceptionResponse(parsedOutput, context);
1839
+ throw await de_EventBridgeExceptionRes(parsedOutput, context);
1842
1840
  case "InternalServerException":
1843
1841
  case "com.amazonaws.securitylake#InternalServerException":
1844
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1842
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1845
1843
  case "ResourceNotFoundException":
1846
1844
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1847
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1845
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1848
1846
  case "ValidationException":
1849
1847
  case "com.amazonaws.securitylake#ValidationException":
1850
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1848
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1851
1849
  default:
1852
1850
  const parsedBody = parsedOutput.body;
1853
1851
  throwDefaultError({
@@ -1858,9 +1856,9 @@ const deserializeAws_restJson1UpdateDatalakeCommandError = async (output, contex
1858
1856
  });
1859
1857
  }
1860
1858
  };
1861
- export const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = async (output, context) => {
1859
+ export const de_UpdateDatalakeExceptionsExpiryCommand = async (output, context) => {
1862
1860
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1863
- return deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError(output, context);
1861
+ return de_UpdateDatalakeExceptionsExpiryCommandError(output, context);
1864
1862
  }
1865
1863
  const contents = map({
1866
1864
  $metadata: deserializeMetadata(output),
@@ -1868,7 +1866,7 @@ export const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommand = asy
1868
1866
  await collectBody(output.body, context);
1869
1867
  return contents;
1870
1868
  };
1871
- const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError = async (output, context) => {
1869
+ const de_UpdateDatalakeExceptionsExpiryCommandError = async (output, context) => {
1872
1870
  const parsedOutput = {
1873
1871
  ...output,
1874
1872
  body: await parseErrorBody(output.body, context),
@@ -1877,16 +1875,16 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError = async
1877
1875
  switch (errorCode) {
1878
1876
  case "AccessDeniedException":
1879
1877
  case "com.amazonaws.securitylake#AccessDeniedException":
1880
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1878
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1881
1879
  case "AccountNotFoundException":
1882
1880
  case "com.amazonaws.securitylake#AccountNotFoundException":
1883
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1881
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1884
1882
  case "InternalServerException":
1885
1883
  case "com.amazonaws.securitylake#InternalServerException":
1886
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1884
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1887
1885
  case "ValidationException":
1888
1886
  case "com.amazonaws.securitylake#ValidationException":
1889
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1887
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1890
1888
  default:
1891
1889
  const parsedBody = parsedOutput.body;
1892
1890
  throwDefaultError({
@@ -1897,9 +1895,9 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsExpiryCommandError = async
1897
1895
  });
1898
1896
  }
1899
1897
  };
1900
- export const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1898
+ export const de_UpdateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1901
1899
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1902
- return deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError(output, context);
1900
+ return de_UpdateDatalakeExceptionsSubscriptionCommandError(output, context);
1903
1901
  }
1904
1902
  const contents = map({
1905
1903
  $metadata: deserializeMetadata(output),
@@ -1907,7 +1905,7 @@ export const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommand
1907
1905
  await collectBody(output.body, context);
1908
1906
  return contents;
1909
1907
  };
1910
- const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1908
+ const de_UpdateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1911
1909
  const parsedOutput = {
1912
1910
  ...output,
1913
1911
  body: await parseErrorBody(output.body, context),
@@ -1916,16 +1914,16 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError =
1916
1914
  switch (errorCode) {
1917
1915
  case "AccessDeniedException":
1918
1916
  case "com.amazonaws.securitylake#AccessDeniedException":
1919
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1917
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1920
1918
  case "AccountNotFoundException":
1921
1919
  case "com.amazonaws.securitylake#AccountNotFoundException":
1922
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1920
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1923
1921
  case "InternalServerException":
1924
1922
  case "com.amazonaws.securitylake#InternalServerException":
1925
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1923
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1926
1924
  case "ValidationException":
1927
1925
  case "com.amazonaws.securitylake#ValidationException":
1928
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1926
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1929
1927
  default:
1930
1928
  const parsedBody = parsedOutput.body;
1931
1929
  throwDefaultError({
@@ -1936,20 +1934,20 @@ const deserializeAws_restJson1UpdateDatalakeExceptionsSubscriptionCommandError =
1936
1934
  });
1937
1935
  }
1938
1936
  };
1939
- export const deserializeAws_restJson1UpdateSubscriberCommand = async (output, context) => {
1937
+ export const de_UpdateSubscriberCommand = async (output, context) => {
1940
1938
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1941
- return deserializeAws_restJson1UpdateSubscriberCommandError(output, context);
1939
+ return de_UpdateSubscriberCommandError(output, context);
1942
1940
  }
1943
1941
  const contents = map({
1944
1942
  $metadata: deserializeMetadata(output),
1945
1943
  });
1946
1944
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1947
1945
  if (data.subscriber != null) {
1948
- contents.subscriber = deserializeAws_restJson1SubscriberResource(data.subscriber, context);
1946
+ contents.subscriber = de_SubscriberResource(data.subscriber, context);
1949
1947
  }
1950
1948
  return contents;
1951
1949
  };
1952
- const deserializeAws_restJson1UpdateSubscriberCommandError = async (output, context) => {
1950
+ const de_UpdateSubscriberCommandError = async (output, context) => {
1953
1951
  const parsedOutput = {
1954
1952
  ...output,
1955
1953
  body: await parseErrorBody(output.body, context),
@@ -1958,25 +1956,25 @@ const deserializeAws_restJson1UpdateSubscriberCommandError = async (output, cont
1958
1956
  switch (errorCode) {
1959
1957
  case "AccessDeniedException":
1960
1958
  case "com.amazonaws.securitylake#AccessDeniedException":
1961
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1959
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1962
1960
  case "AccountNotFoundException":
1963
1961
  case "com.amazonaws.securitylake#AccountNotFoundException":
1964
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
1962
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1965
1963
  case "ConcurrentModificationException":
1966
1964
  case "com.amazonaws.securitylake#ConcurrentModificationException":
1967
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1965
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1968
1966
  case "ConflictSubscriptionException":
1969
1967
  case "com.amazonaws.securitylake#ConflictSubscriptionException":
1970
- throw await deserializeAws_restJson1ConflictSubscriptionExceptionResponse(parsedOutput, context);
1968
+ throw await de_ConflictSubscriptionExceptionRes(parsedOutput, context);
1971
1969
  case "InternalServerException":
1972
1970
  case "com.amazonaws.securitylake#InternalServerException":
1973
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1971
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1974
1972
  case "InvalidInputException":
1975
1973
  case "com.amazonaws.securitylake#InvalidInputException":
1976
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
1974
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1977
1975
  case "ValidationException":
1978
1976
  case "com.amazonaws.securitylake#ValidationException":
1979
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1977
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1980
1978
  default:
1981
1979
  const parsedBody = parsedOutput.body;
1982
1980
  throwDefaultError({
@@ -1987,9 +1985,9 @@ const deserializeAws_restJson1UpdateSubscriberCommandError = async (output, cont
1987
1985
  });
1988
1986
  }
1989
1987
  };
1990
- export const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand = async (output, context) => {
1988
+ export const de_UpdateSubscriptionNotificationConfigurationCommand = async (output, context) => {
1991
1989
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1992
- return deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommandError(output, context);
1990
+ return de_UpdateSubscriptionNotificationConfigurationCommandError(output, context);
1993
1991
  }
1994
1992
  const contents = map({
1995
1993
  $metadata: deserializeMetadata(output),
@@ -2000,7 +1998,7 @@ export const deserializeAws_restJson1UpdateSubscriptionNotificationConfiguration
2000
1998
  }
2001
1999
  return contents;
2002
2000
  };
2003
- const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
2001
+ const de_UpdateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
2004
2002
  const parsedOutput = {
2005
2003
  ...output,
2006
2004
  body: await parseErrorBody(output.body, context),
@@ -2009,25 +2007,25 @@ const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand
2009
2007
  switch (errorCode) {
2010
2008
  case "AccessDeniedException":
2011
2009
  case "com.amazonaws.securitylake#AccessDeniedException":
2012
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2010
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2013
2011
  case "AccountNotFoundException":
2014
2012
  case "com.amazonaws.securitylake#AccountNotFoundException":
2015
- throw await deserializeAws_restJson1AccountNotFoundExceptionResponse(parsedOutput, context);
2013
+ throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
2016
2014
  case "ConcurrentModificationException":
2017
2015
  case "com.amazonaws.securitylake#ConcurrentModificationException":
2018
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2016
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2019
2017
  case "InternalServerException":
2020
2018
  case "com.amazonaws.securitylake#InternalServerException":
2021
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2019
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2022
2020
  case "InvalidInputException":
2023
2021
  case "com.amazonaws.securitylake#InvalidInputException":
2024
- throw await deserializeAws_restJson1InvalidInputExceptionResponse(parsedOutput, context);
2022
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2025
2023
  case "ResourceNotFoundException":
2026
2024
  case "com.amazonaws.securitylake#ResourceNotFoundException":
2027
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2025
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2028
2026
  case "ValidationException":
2029
2027
  case "com.amazonaws.securitylake#ValidationException":
2030
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2028
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2031
2029
  default:
2032
2030
  const parsedBody = parsedOutput.body;
2033
2031
  throwDefaultError({
@@ -2039,7 +2037,7 @@ const deserializeAws_restJson1UpdateSubscriptionNotificationConfigurationCommand
2039
2037
  }
2040
2038
  };
2041
2039
  const map = __map;
2042
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2040
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2043
2041
  const contents = map({});
2044
2042
  const data = parsedOutput.body;
2045
2043
  if (data.errorCode != null) {
@@ -2054,7 +2052,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2054
2052
  });
2055
2053
  return __decorateServiceException(exception, parsedOutput.body);
2056
2054
  };
2057
- const deserializeAws_restJson1AccountNotFoundExceptionResponse = async (parsedOutput, context) => {
2055
+ const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
2058
2056
  const contents = map({});
2059
2057
  const data = parsedOutput.body;
2060
2058
  if (data.message != null) {
@@ -2066,7 +2064,7 @@ const deserializeAws_restJson1AccountNotFoundExceptionResponse = async (parsedOu
2066
2064
  });
2067
2065
  return __decorateServiceException(exception, parsedOutput.body);
2068
2066
  };
2069
- const deserializeAws_restJson1BucketNotFoundExceptionResponse = async (parsedOutput, context) => {
2067
+ const de_BucketNotFoundExceptionRes = async (parsedOutput, context) => {
2070
2068
  const contents = map({});
2071
2069
  const data = parsedOutput.body;
2072
2070
  if (data.message != null) {
@@ -2078,7 +2076,7 @@ const deserializeAws_restJson1BucketNotFoundExceptionResponse = async (parsedOut
2078
2076
  });
2079
2077
  return __decorateServiceException(exception, parsedOutput.body);
2080
2078
  };
2081
- const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
2079
+ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
2082
2080
  const contents = map({});
2083
2081
  const data = parsedOutput.body;
2084
2082
  if (data.message != null) {
@@ -2090,7 +2088,7 @@ const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (p
2090
2088
  });
2091
2089
  return __decorateServiceException(exception, parsedOutput.body);
2092
2090
  };
2093
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2091
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2094
2092
  const contents = map({});
2095
2093
  const data = parsedOutput.body;
2096
2094
  if (data.message != null) {
@@ -2108,7 +2106,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2108
2106
  });
2109
2107
  return __decorateServiceException(exception, parsedOutput.body);
2110
2108
  };
2111
- const deserializeAws_restJson1ConflictSourceNamesExceptionResponse = async (parsedOutput, context) => {
2109
+ const de_ConflictSourceNamesExceptionRes = async (parsedOutput, context) => {
2112
2110
  const contents = map({});
2113
2111
  const data = parsedOutput.body;
2114
2112
  if (data.message != null) {
@@ -2120,7 +2118,7 @@ const deserializeAws_restJson1ConflictSourceNamesExceptionResponse = async (pars
2120
2118
  });
2121
2119
  return __decorateServiceException(exception, parsedOutput.body);
2122
2120
  };
2123
- const deserializeAws_restJson1ConflictSubscriptionExceptionResponse = async (parsedOutput, context) => {
2121
+ const de_ConflictSubscriptionExceptionRes = async (parsedOutput, context) => {
2124
2122
  const contents = map({});
2125
2123
  const data = parsedOutput.body;
2126
2124
  if (data.message != null) {
@@ -2132,7 +2130,7 @@ const deserializeAws_restJson1ConflictSubscriptionExceptionResponse = async (par
2132
2130
  });
2133
2131
  return __decorateServiceException(exception, parsedOutput.body);
2134
2132
  };
2135
- const deserializeAws_restJson1EventBridgeExceptionResponse = async (parsedOutput, context) => {
2133
+ const de_EventBridgeExceptionRes = async (parsedOutput, context) => {
2136
2134
  const contents = map({});
2137
2135
  const data = parsedOutput.body;
2138
2136
  if (data.message != null) {
@@ -2144,7 +2142,7 @@ const deserializeAws_restJson1EventBridgeExceptionResponse = async (parsedOutput
2144
2142
  });
2145
2143
  return __decorateServiceException(exception, parsedOutput.body);
2146
2144
  };
2147
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2145
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2148
2146
  const contents = map({
2149
2147
  retryAfterSeconds: [
2150
2148
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2161,7 +2159,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2161
2159
  });
2162
2160
  return __decorateServiceException(exception, parsedOutput.body);
2163
2161
  };
2164
- const deserializeAws_restJson1InvalidInputExceptionResponse = async (parsedOutput, context) => {
2162
+ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
2165
2163
  const contents = map({});
2166
2164
  const data = parsedOutput.body;
2167
2165
  if (data.message != null) {
@@ -2173,7 +2171,7 @@ const deserializeAws_restJson1InvalidInputExceptionResponse = async (parsedOutpu
2173
2171
  });
2174
2172
  return __decorateServiceException(exception, parsedOutput.body);
2175
2173
  };
2176
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2174
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2177
2175
  const contents = map({});
2178
2176
  const data = parsedOutput.body;
2179
2177
  if (data.message != null) {
@@ -2191,7 +2189,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2191
2189
  });
2192
2190
  return __decorateServiceException(exception, parsedOutput.body);
2193
2191
  };
2194
- const deserializeAws_restJson1S3ExceptionResponse = async (parsedOutput, context) => {
2192
+ const de_S3ExceptionRes = async (parsedOutput, context) => {
2195
2193
  const contents = map({});
2196
2194
  const data = parsedOutput.body;
2197
2195
  if (data.message != null) {
@@ -2203,7 +2201,7 @@ const deserializeAws_restJson1S3ExceptionResponse = async (parsedOutput, context
2203
2201
  });
2204
2202
  return __decorateServiceException(exception, parsedOutput.body);
2205
2203
  };
2206
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2204
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2207
2205
  const contents = map({});
2208
2206
  const data = parsedOutput.body;
2209
2207
  if (data.message != null) {
@@ -2227,7 +2225,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2227
2225
  });
2228
2226
  return __decorateServiceException(exception, parsedOutput.body);
2229
2227
  };
2230
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2228
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2231
2229
  const contents = map({
2232
2230
  retryAfterSeconds: [
2233
2231
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2250,11 +2248,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2250
2248
  });
2251
2249
  return __decorateServiceException(exception, parsedOutput.body);
2252
2250
  };
2253
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2251
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2254
2252
  const contents = map({});
2255
2253
  const data = parsedOutput.body;
2256
2254
  if (data.fieldList != null) {
2257
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
2255
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
2258
2256
  }
2259
2257
  if (data.message != null) {
2260
2258
  contents.message = __expectString(data.message);
@@ -2268,113 +2266,113 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2268
2266
  });
2269
2267
  return __decorateServiceException(exception, parsedOutput.body);
2270
2268
  };
2271
- const serializeAws_restJson1AccessTypeList = (input, context) => {
2269
+ const se_AccessTypeList = (input, context) => {
2272
2270
  return input
2273
2271
  .filter((e) => e != null)
2274
2272
  .map((entry) => {
2275
2273
  return entry;
2276
2274
  });
2277
2275
  };
2278
- const serializeAws_restJson1AllDimensionsMap = (input, context) => {
2276
+ const se_AllDimensionsMap = (input, context) => {
2279
2277
  return Object.entries(input).reduce((acc, [key, value]) => {
2280
2278
  if (value === null) {
2281
2279
  return acc;
2282
2280
  }
2283
- acc[key] = serializeAws_restJson1TwoDimensionsMap(value, context);
2281
+ acc[key] = se_TwoDimensionsMap(value, context);
2284
2282
  return acc;
2285
2283
  }, {});
2286
2284
  };
2287
- const serializeAws_restJson1AutoEnableNewRegionConfiguration = (input, context) => {
2285
+ const se_AutoEnableNewRegionConfiguration = (input, context) => {
2288
2286
  return {
2289
2287
  ...(input.region != null && { region: input.region }),
2290
- ...(input.sources != null && { sources: serializeAws_restJson1AwsSourceTypeList(input.sources, context) }),
2288
+ ...(input.sources != null && { sources: se_AwsSourceTypeList(input.sources, context) }),
2291
2289
  };
2292
2290
  };
2293
- const serializeAws_restJson1AutoEnableNewRegionConfigurationList = (input, context) => {
2291
+ const se_AutoEnableNewRegionConfigurationList = (input, context) => {
2294
2292
  return input
2295
2293
  .filter((e) => e != null)
2296
2294
  .map((entry) => {
2297
- return serializeAws_restJson1AutoEnableNewRegionConfiguration(entry, context);
2295
+ return se_AutoEnableNewRegionConfiguration(entry, context);
2298
2296
  });
2299
2297
  };
2300
- const serializeAws_restJson1AwsSourceTypeList = (input, context) => {
2298
+ const se_AwsSourceTypeList = (input, context) => {
2301
2299
  return input
2302
2300
  .filter((e) => e != null)
2303
2301
  .map((entry) => {
2304
2302
  return entry;
2305
2303
  });
2306
2304
  };
2307
- const serializeAws_restJson1DimensionSet = (input, context) => {
2305
+ const se_DimensionSet = (input, context) => {
2308
2306
  return input
2309
2307
  .filter((e) => e != null)
2310
2308
  .map((entry) => {
2311
2309
  return entry;
2312
2310
  });
2313
2311
  };
2314
- const serializeAws_restJson1InputSet = (input, context) => {
2312
+ const se_InputSet = (input, context) => {
2315
2313
  return input
2316
2314
  .filter((e) => e != null)
2317
2315
  .map((entry) => {
2318
2316
  return entry;
2319
2317
  });
2320
2318
  };
2321
- const serializeAws_restJson1LakeConfigurationRequest = (input, context) => {
2319
+ const se_LakeConfigurationRequest = (input, context) => {
2322
2320
  return {
2323
2321
  ...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
2324
2322
  ...(input.replicationDestinationRegions != null && {
2325
- replicationDestinationRegions: serializeAws_restJson1RegionSet(input.replicationDestinationRegions, context),
2323
+ replicationDestinationRegions: se_RegionSet(input.replicationDestinationRegions, context),
2326
2324
  }),
2327
2325
  ...(input.replicationRoleArn != null && { replicationRoleArn: input.replicationRoleArn }),
2328
2326
  ...(input.retentionSettings != null && {
2329
- retentionSettings: serializeAws_restJson1RetentionSettingList(input.retentionSettings, context),
2327
+ retentionSettings: se_RetentionSettingList(input.retentionSettings, context),
2330
2328
  }),
2331
- ...(input.tagsMap != null && { tagsMap: serializeAws_restJson1TagsMap(input.tagsMap, context) }),
2329
+ ...(input.tagsMap != null && { tagsMap: se_TagsMap(input.tagsMap, context) }),
2332
2330
  };
2333
2331
  };
2334
- const serializeAws_restJson1LakeConfigurationRequestMap = (input, context) => {
2332
+ const se_LakeConfigurationRequestMap = (input, context) => {
2335
2333
  return Object.entries(input).reduce((acc, [key, value]) => {
2336
2334
  if (value === null) {
2337
2335
  return acc;
2338
2336
  }
2339
- acc[key] = serializeAws_restJson1LakeConfigurationRequest(value, context);
2337
+ acc[key] = se_LakeConfigurationRequest(value, context);
2340
2338
  return acc;
2341
2339
  }, {});
2342
2340
  };
2343
- const serializeAws_restJson1RegionSet = (input, context) => {
2341
+ const se_RegionSet = (input, context) => {
2344
2342
  return input
2345
2343
  .filter((e) => e != null)
2346
2344
  .map((entry) => {
2347
2345
  return entry;
2348
2346
  });
2349
2347
  };
2350
- const serializeAws_restJson1RetentionSetting = (input, context) => {
2348
+ const se_RetentionSetting = (input, context) => {
2351
2349
  return {
2352
2350
  ...(input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod }),
2353
2351
  ...(input.storageClass != null && { storageClass: input.storageClass }),
2354
2352
  };
2355
2353
  };
2356
- const serializeAws_restJson1RetentionSettingList = (input, context) => {
2354
+ const se_RetentionSettingList = (input, context) => {
2357
2355
  return input
2358
2356
  .filter((e) => e != null)
2359
2357
  .map((entry) => {
2360
- return serializeAws_restJson1RetentionSetting(entry, context);
2358
+ return se_RetentionSetting(entry, context);
2361
2359
  });
2362
2360
  };
2363
- const serializeAws_restJson1SourceType = (input, context) => {
2361
+ const se_SourceType = (input, context) => {
2364
2362
  return SourceType.visit(input, {
2365
2363
  awsSourceType: (value) => ({ awsSourceType: value }),
2366
2364
  customSourceType: (value) => ({ customSourceType: value }),
2367
2365
  _: (name, value) => ({ name: value }),
2368
2366
  });
2369
2367
  };
2370
- const serializeAws_restJson1SourceTypeList = (input, context) => {
2368
+ const se_SourceTypeList = (input, context) => {
2371
2369
  return input
2372
2370
  .filter((e) => e != null)
2373
2371
  .map((entry) => {
2374
- return serializeAws_restJson1SourceType(entry, context);
2372
+ return se_SourceType(entry, context);
2375
2373
  });
2376
2374
  };
2377
- const serializeAws_restJson1TagsMap = (input, context) => {
2375
+ const se_TagsMap = (input, context) => {
2378
2376
  return Object.entries(input).reduce((acc, [key, value]) => {
2379
2377
  if (value === null) {
2380
2378
  return acc;
@@ -2383,23 +2381,23 @@ const serializeAws_restJson1TagsMap = (input, context) => {
2383
2381
  return acc;
2384
2382
  }, {});
2385
2383
  };
2386
- const serializeAws_restJson1TwoDimensionsMap = (input, context) => {
2384
+ const se_TwoDimensionsMap = (input, context) => {
2387
2385
  return Object.entries(input).reduce((acc, [key, value]) => {
2388
2386
  if (value === null) {
2389
2387
  return acc;
2390
2388
  }
2391
- acc[key] = serializeAws_restJson1ValueSet(value, context);
2389
+ acc[key] = se_ValueSet(value, context);
2392
2390
  return acc;
2393
2391
  }, {});
2394
2392
  };
2395
- const serializeAws_restJson1ValueSet = (input, context) => {
2393
+ const se_ValueSet = (input, context) => {
2396
2394
  return input
2397
2395
  .filter((e) => e != null)
2398
2396
  .map((entry) => {
2399
2397
  return entry;
2400
2398
  });
2401
2399
  };
2402
- const deserializeAws_restJson1AccessTypeList = (output, context) => {
2400
+ const de_AccessTypeList = (output, context) => {
2403
2401
  const retVal = (output || [])
2404
2402
  .filter((e) => e != null)
2405
2403
  .map((entry) => {
@@ -2410,7 +2408,7 @@ const deserializeAws_restJson1AccessTypeList = (output, context) => {
2410
2408
  });
2411
2409
  return retVal;
2412
2410
  };
2413
- const deserializeAws_restJson1AccountList = (output, context) => {
2411
+ const de_AccountList = (output, context) => {
2414
2412
  const retVal = (output || [])
2415
2413
  .filter((e) => e != null)
2416
2414
  .map((entry) => {
@@ -2421,52 +2419,52 @@ const deserializeAws_restJson1AccountList = (output, context) => {
2421
2419
  });
2422
2420
  return retVal;
2423
2421
  };
2424
- const deserializeAws_restJson1AccountSources = (output, context) => {
2422
+ const de_AccountSources = (output, context) => {
2425
2423
  return {
2426
2424
  account: __expectString(output.account),
2427
2425
  eventClass: __expectString(output.eventClass),
2428
- logsStatus: output.logsStatus != null ? deserializeAws_restJson1LogsStatusList(output.logsStatus, context) : undefined,
2426
+ logsStatus: output.logsStatus != null ? de_LogsStatusList(output.logsStatus, context) : undefined,
2429
2427
  sourceType: __expectString(output.sourceType),
2430
2428
  };
2431
2429
  };
2432
- const deserializeAws_restJson1AccountSourcesList = (output, context) => {
2430
+ const de_AccountSourcesList = (output, context) => {
2433
2431
  const retVal = (output || [])
2434
2432
  .filter((e) => e != null)
2435
2433
  .map((entry) => {
2436
2434
  if (entry === null) {
2437
2435
  return null;
2438
2436
  }
2439
- return deserializeAws_restJson1AccountSources(entry, context);
2437
+ return de_AccountSources(entry, context);
2440
2438
  });
2441
2439
  return retVal;
2442
2440
  };
2443
- const deserializeAws_restJson1AllDimensionsMap = (output, context) => {
2441
+ const de_AllDimensionsMap = (output, context) => {
2444
2442
  return Object.entries(output).reduce((acc, [key, value]) => {
2445
2443
  if (value === null) {
2446
2444
  return acc;
2447
2445
  }
2448
- acc[key] = deserializeAws_restJson1TwoDimensionsMap(value, context);
2446
+ acc[key] = de_TwoDimensionsMap(value, context);
2449
2447
  return acc;
2450
2448
  }, {});
2451
2449
  };
2452
- const deserializeAws_restJson1AutoEnableNewRegionConfiguration = (output, context) => {
2450
+ const de_AutoEnableNewRegionConfiguration = (output, context) => {
2453
2451
  return {
2454
2452
  region: __expectString(output.region),
2455
- sources: output.sources != null ? deserializeAws_restJson1AwsSourceTypeList(output.sources, context) : undefined,
2453
+ sources: output.sources != null ? de_AwsSourceTypeList(output.sources, context) : undefined,
2456
2454
  };
2457
2455
  };
2458
- const deserializeAws_restJson1AutoEnableNewRegionConfigurationList = (output, context) => {
2456
+ const de_AutoEnableNewRegionConfigurationList = (output, context) => {
2459
2457
  const retVal = (output || [])
2460
2458
  .filter((e) => e != null)
2461
2459
  .map((entry) => {
2462
2460
  if (entry === null) {
2463
2461
  return null;
2464
2462
  }
2465
- return deserializeAws_restJson1AutoEnableNewRegionConfiguration(entry, context);
2463
+ return de_AutoEnableNewRegionConfiguration(entry, context);
2466
2464
  });
2467
2465
  return retVal;
2468
2466
  };
2469
- const deserializeAws_restJson1AwsSourceTypeList = (output, context) => {
2467
+ const de_AwsSourceTypeList = (output, context) => {
2470
2468
  const retVal = (output || [])
2471
2469
  .filter((e) => e != null)
2472
2470
  .map((entry) => {
@@ -2477,96 +2475,94 @@ const deserializeAws_restJson1AwsSourceTypeList = (output, context) => {
2477
2475
  });
2478
2476
  return retVal;
2479
2477
  };
2480
- const deserializeAws_restJson1Failures = (output, context) => {
2478
+ const de_Failures = (output, context) => {
2481
2479
  return {
2482
2480
  exceptionMessage: __expectString(output.exceptionMessage),
2483
2481
  remediation: __expectString(output.remediation),
2484
2482
  timestamp: output.timestamp != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.timestamp)) : undefined,
2485
2483
  };
2486
2484
  };
2487
- const deserializeAws_restJson1Failureslist = (output, context) => {
2485
+ const de_Failureslist = (output, context) => {
2488
2486
  const retVal = (output || [])
2489
2487
  .filter((e) => e != null)
2490
2488
  .map((entry) => {
2491
2489
  if (entry === null) {
2492
2490
  return null;
2493
2491
  }
2494
- return deserializeAws_restJson1Failures(entry, context);
2492
+ return de_Failures(entry, context);
2495
2493
  });
2496
2494
  return retVal;
2497
2495
  };
2498
- const deserializeAws_restJson1FailuresResponse = (output, context) => {
2496
+ const de_FailuresResponse = (output, context) => {
2499
2497
  return {
2500
- failures: output.failures != null ? deserializeAws_restJson1Failureslist(output.failures, context) : undefined,
2498
+ failures: output.failures != null ? de_Failureslist(output.failures, context) : undefined,
2501
2499
  region: __expectString(output.region),
2502
2500
  };
2503
2501
  };
2504
- const deserializeAws_restJson1FailuresResponseList = (output, context) => {
2502
+ const de_FailuresResponseList = (output, context) => {
2505
2503
  const retVal = (output || [])
2506
2504
  .filter((e) => e != null)
2507
2505
  .map((entry) => {
2508
2506
  if (entry === null) {
2509
2507
  return null;
2510
2508
  }
2511
- return deserializeAws_restJson1FailuresResponse(entry, context);
2509
+ return de_FailuresResponse(entry, context);
2512
2510
  });
2513
2511
  return retVal;
2514
2512
  };
2515
- const deserializeAws_restJson1LakeConfigurationResponse = (output, context) => {
2513
+ const de_LakeConfigurationResponse = (output, context) => {
2516
2514
  return {
2517
2515
  encryptionKey: __expectString(output.encryptionKey),
2518
2516
  replicationDestinationRegions: output.replicationDestinationRegions != null
2519
- ? deserializeAws_restJson1RegionSet(output.replicationDestinationRegions, context)
2517
+ ? de_RegionSet(output.replicationDestinationRegions, context)
2520
2518
  : undefined,
2521
2519
  replicationRoleArn: __expectString(output.replicationRoleArn),
2522
- retentionSettings: output.retentionSettings != null
2523
- ? deserializeAws_restJson1RetentionSettingList(output.retentionSettings, context)
2524
- : undefined,
2520
+ retentionSettings: output.retentionSettings != null ? de_RetentionSettingList(output.retentionSettings, context) : undefined,
2525
2521
  s3BucketArn: __expectString(output.s3BucketArn),
2526
2522
  status: __expectString(output.status),
2527
- tagsMap: output.tagsMap != null ? deserializeAws_restJson1TagsMap(output.tagsMap, context) : undefined,
2528
- updateStatus: output.updateStatus != null ? deserializeAws_restJson1UpdateStatus(output.updateStatus, context) : undefined,
2523
+ tagsMap: output.tagsMap != null ? de_TagsMap(output.tagsMap, context) : undefined,
2524
+ updateStatus: output.updateStatus != null ? de_UpdateStatus(output.updateStatus, context) : undefined,
2529
2525
  };
2530
2526
  };
2531
- const deserializeAws_restJson1LakeConfigurationResponseMap = (output, context) => {
2527
+ const de_LakeConfigurationResponseMap = (output, context) => {
2532
2528
  return Object.entries(output).reduce((acc, [key, value]) => {
2533
2529
  if (value === null) {
2534
2530
  return acc;
2535
2531
  }
2536
- acc[key] = deserializeAws_restJson1LakeConfigurationResponse(value, context);
2532
+ acc[key] = de_LakeConfigurationResponse(value, context);
2537
2533
  return acc;
2538
2534
  }, {});
2539
2535
  };
2540
- const deserializeAws_restJson1LastUpdateFailure = (output, context) => {
2536
+ const de_LastUpdateFailure = (output, context) => {
2541
2537
  return {
2542
2538
  code: __expectString(output.code),
2543
2539
  reason: __expectString(output.reason),
2544
2540
  };
2545
2541
  };
2546
- const deserializeAws_restJson1LogsStatus = (output, context) => {
2542
+ const de_LogsStatus = (output, context) => {
2547
2543
  return {
2548
2544
  healthStatus: __expectString(output.healthStatus),
2549
2545
  pathToLogs: __expectString(output.pathToLogs),
2550
2546
  };
2551
2547
  };
2552
- const deserializeAws_restJson1LogsStatusList = (output, context) => {
2548
+ const de_LogsStatusList = (output, context) => {
2553
2549
  const retVal = (output || [])
2554
2550
  .filter((e) => e != null)
2555
2551
  .map((entry) => {
2556
2552
  if (entry === null) {
2557
2553
  return null;
2558
2554
  }
2559
- return deserializeAws_restJson1LogsStatus(entry, context);
2555
+ return de_LogsStatus(entry, context);
2560
2556
  });
2561
2557
  return retVal;
2562
2558
  };
2563
- const deserializeAws_restJson1ProtocolAndNotificationEndpoint = (output, context) => {
2559
+ const de_ProtocolAndNotificationEndpoint = (output, context) => {
2564
2560
  return {
2565
2561
  endpoint: __expectString(output.endpoint),
2566
2562
  protocol: __expectString(output.protocol),
2567
2563
  };
2568
2564
  };
2569
- const deserializeAws_restJson1RegionSet = (output, context) => {
2565
+ const de_RegionSet = (output, context) => {
2570
2566
  const retVal = (output || [])
2571
2567
  .filter((e) => e != null)
2572
2568
  .map((entry) => {
@@ -2577,35 +2573,35 @@ const deserializeAws_restJson1RegionSet = (output, context) => {
2577
2573
  });
2578
2574
  return retVal;
2579
2575
  };
2580
- const deserializeAws_restJson1RegionSourceTypesAccountsList = (output, context) => {
2576
+ const de_RegionSourceTypesAccountsList = (output, context) => {
2581
2577
  const retVal = (output || [])
2582
2578
  .filter((e) => e != null)
2583
2579
  .map((entry) => {
2584
2580
  if (entry === null) {
2585
2581
  return null;
2586
2582
  }
2587
- return deserializeAws_restJson1AllDimensionsMap(entry, context);
2583
+ return de_AllDimensionsMap(entry, context);
2588
2584
  });
2589
2585
  return retVal;
2590
2586
  };
2591
- const deserializeAws_restJson1RetentionSetting = (output, context) => {
2587
+ const de_RetentionSetting = (output, context) => {
2592
2588
  return {
2593
2589
  retentionPeriod: __expectInt32(output.retentionPeriod),
2594
2590
  storageClass: __expectString(output.storageClass),
2595
2591
  };
2596
2592
  };
2597
- const deserializeAws_restJson1RetentionSettingList = (output, context) => {
2593
+ const de_RetentionSettingList = (output, context) => {
2598
2594
  const retVal = (output || [])
2599
2595
  .filter((e) => e != null)
2600
2596
  .map((entry) => {
2601
2597
  if (entry === null) {
2602
2598
  return null;
2603
2599
  }
2604
- return deserializeAws_restJson1RetentionSetting(entry, context);
2600
+ return de_RetentionSetting(entry, context);
2605
2601
  });
2606
2602
  return retVal;
2607
2603
  };
2608
- const deserializeAws_restJson1SourceType = (output, context) => {
2604
+ const de_SourceType = (output, context) => {
2609
2605
  if (__expectString(output.awsSourceType) !== undefined) {
2610
2606
  return { awsSourceType: __expectString(output.awsSourceType) };
2611
2607
  }
@@ -2614,31 +2610,31 @@ const deserializeAws_restJson1SourceType = (output, context) => {
2614
2610
  }
2615
2611
  return { $unknown: Object.entries(output)[0] };
2616
2612
  };
2617
- const deserializeAws_restJson1SourceTypeList = (output, context) => {
2613
+ const de_SourceTypeList = (output, context) => {
2618
2614
  const retVal = (output || [])
2619
2615
  .filter((e) => e != null)
2620
2616
  .map((entry) => {
2621
2617
  if (entry === null) {
2622
2618
  return null;
2623
2619
  }
2624
- return deserializeAws_restJson1SourceType(__expectUnion(entry), context);
2620
+ return de_SourceType(__expectUnion(entry), context);
2625
2621
  });
2626
2622
  return retVal;
2627
2623
  };
2628
- const deserializeAws_restJson1SubscriberList = (output, context) => {
2624
+ const de_SubscriberList = (output, context) => {
2629
2625
  const retVal = (output || [])
2630
2626
  .filter((e) => e != null)
2631
2627
  .map((entry) => {
2632
2628
  if (entry === null) {
2633
2629
  return null;
2634
2630
  }
2635
- return deserializeAws_restJson1SubscriberResource(entry, context);
2631
+ return de_SubscriberResource(entry, context);
2636
2632
  });
2637
2633
  return retVal;
2638
2634
  };
2639
- const deserializeAws_restJson1SubscriberResource = (output, context) => {
2635
+ const de_SubscriberResource = (output, context) => {
2640
2636
  return {
2641
- accessTypes: output.accessTypes != null ? deserializeAws_restJson1AccessTypeList(output.accessTypes, context) : undefined,
2637
+ accessTypes: output.accessTypes != null ? de_AccessTypeList(output.accessTypes, context) : undefined,
2642
2638
  accountId: __expectString(output.accountId),
2643
2639
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
2644
2640
  externalId: __expectString(output.externalId),
@@ -2647,7 +2643,7 @@ const deserializeAws_restJson1SubscriberResource = (output, context) => {
2647
2643
  roleArn: __expectString(output.roleArn),
2648
2644
  s3BucketArn: __expectString(output.s3BucketArn),
2649
2645
  snsArn: __expectString(output.snsArn),
2650
- sourceTypes: output.sourceTypes != null ? deserializeAws_restJson1SourceTypeList(output.sourceTypes, context) : undefined,
2646
+ sourceTypes: output.sourceTypes != null ? de_SourceTypeList(output.sourceTypes, context) : undefined,
2651
2647
  subscriberDescription: __expectString(output.subscriberDescription),
2652
2648
  subscriberName: __expectString(output.subscriberName),
2653
2649
  subscriptionEndpoint: __expectString(output.subscriptionEndpoint),
@@ -2657,7 +2653,7 @@ const deserializeAws_restJson1SubscriberResource = (output, context) => {
2657
2653
  updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
2658
2654
  };
2659
2655
  };
2660
- const deserializeAws_restJson1TagsMap = (output, context) => {
2656
+ const de_TagsMap = (output, context) => {
2661
2657
  return Object.entries(output).reduce((acc, [key, value]) => {
2662
2658
  if (value === null) {
2663
2659
  return acc;
@@ -2666,42 +2662,40 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
2666
2662
  return acc;
2667
2663
  }, {});
2668
2664
  };
2669
- const deserializeAws_restJson1TwoDimensionsMap = (output, context) => {
2665
+ const de_TwoDimensionsMap = (output, context) => {
2670
2666
  return Object.entries(output).reduce((acc, [key, value]) => {
2671
2667
  if (value === null) {
2672
2668
  return acc;
2673
2669
  }
2674
- acc[key] = deserializeAws_restJson1ValueSet(value, context);
2670
+ acc[key] = de_ValueSet(value, context);
2675
2671
  return acc;
2676
2672
  }, {});
2677
2673
  };
2678
- const deserializeAws_restJson1UpdateStatus = (output, context) => {
2674
+ const de_UpdateStatus = (output, context) => {
2679
2675
  return {
2680
- lastUpdateFailure: output.lastUpdateFailure != null
2681
- ? deserializeAws_restJson1LastUpdateFailure(output.lastUpdateFailure, context)
2682
- : undefined,
2676
+ lastUpdateFailure: output.lastUpdateFailure != null ? de_LastUpdateFailure(output.lastUpdateFailure, context) : undefined,
2683
2677
  lastUpdateRequestId: __expectString(output.lastUpdateRequestId),
2684
2678
  lastUpdateStatus: __expectString(output.lastUpdateStatus),
2685
2679
  };
2686
2680
  };
2687
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
2681
+ const de_ValidationExceptionField = (output, context) => {
2688
2682
  return {
2689
2683
  message: __expectString(output.message),
2690
2684
  name: __expectString(output.name),
2691
2685
  };
2692
2686
  };
2693
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
2687
+ const de_ValidationExceptionFieldList = (output, context) => {
2694
2688
  const retVal = (output || [])
2695
2689
  .filter((e) => e != null)
2696
2690
  .map((entry) => {
2697
2691
  if (entry === null) {
2698
2692
  return null;
2699
2693
  }
2700
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
2694
+ return de_ValidationExceptionField(entry, context);
2701
2695
  });
2702
2696
  return retVal;
2703
2697
  };
2704
- const deserializeAws_restJson1ValueSet = (output, context) => {
2698
+ const de_ValueSet = (output, context) => {
2705
2699
  const retVal = (output || [])
2706
2700
  .filter((e) => e != null)
2707
2701
  .map((entry) => {