@aws-sdk/client-securitylake 3.341.0 → 3.344.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 (159) hide show
  1. package/README.md +39 -60
  2. package/dist-cjs/SecurityLake.js +36 -40
  3. package/dist-cjs/commands/{UpdateDatalakeCommand.js → CreateDataLakeCommand.js} +7 -7
  4. package/dist-cjs/commands/CreateDataLakeExceptionSubscriptionCommand.js +46 -0
  5. package/dist-cjs/commands/CreateDataLakeOrganizationConfigurationCommand.js +46 -0
  6. package/dist-cjs/commands/{DeleteDatalakeDelegatedAdminCommand.js → CreateSubscriberNotificationCommand.js} +7 -7
  7. package/dist-cjs/commands/{CreateDatalakeCommand.js → DeleteDataLakeCommand.js} +7 -7
  8. package/dist-cjs/commands/DeleteDataLakeExceptionSubscriptionCommand.js +46 -0
  9. package/dist-cjs/commands/DeleteDataLakeOrganizationConfigurationCommand.js +46 -0
  10. package/dist-cjs/commands/{CreateDatalakeDelegatedAdminCommand.js → DeleteSubscriberNotificationCommand.js} +7 -7
  11. package/dist-cjs/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +46 -0
  12. package/dist-cjs/commands/{CreateDatalakeAutoEnableCommand.js → GetDataLakeExceptionSubscriptionCommand.js} +7 -7
  13. package/dist-cjs/commands/{DeleteDatalakeExceptionsSubscriptionCommand.js → GetDataLakeOrganizationConfigurationCommand.js} +7 -7
  14. package/dist-cjs/commands/{GetDatalakeStatusCommand.js → GetDataLakeSourcesCommand.js} +7 -7
  15. package/dist-cjs/commands/{ListDatalakeExceptionsCommand.js → ListDataLakeExceptionsCommand.js} +7 -7
  16. package/dist-cjs/commands/{GetDatalakeCommand.js → ListDataLakesCommand.js} +7 -7
  17. package/dist-cjs/commands/{CreateDatalakeExceptionsSubscriptionCommand.js → RegisterDataLakeDelegatedAdministratorCommand.js} +7 -7
  18. package/dist-cjs/commands/{DeleteDatalakeCommand.js → UpdateDataLakeCommand.js} +7 -7
  19. package/dist-cjs/commands/UpdateDataLakeExceptionSubscriptionCommand.js +46 -0
  20. package/dist-cjs/commands/{DeleteDatalakeAutoEnableCommand.js → UpdateSubscriberNotificationCommand.js} +7 -7
  21. package/dist-cjs/commands/index.js +18 -20
  22. package/dist-cjs/models/models_0.js +43 -235
  23. package/dist-cjs/pagination/{GetDatalakeStatusPaginator.js → GetDataLakeSourcesPaginator.js} +6 -6
  24. package/dist-cjs/pagination/{ListDatalakeExceptionsPaginator.js → ListDataLakeExceptionsPaginator.js} +6 -6
  25. package/dist-cjs/pagination/index.js +2 -2
  26. package/dist-cjs/protocols/Aws_restJson1.js +531 -769
  27. package/dist-es/SecurityLake.js +36 -40
  28. package/dist-es/commands/{UpdateDatalakeCommand.js → CreateDataLakeCommand.js} +6 -6
  29. package/dist-es/commands/{UpdateDatalakeExceptionsSubscriptionCommand.js → CreateDataLakeExceptionSubscriptionCommand.js} +6 -6
  30. package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +42 -0
  31. package/dist-es/commands/{DeleteDatalakeDelegatedAdminCommand.js → CreateSubscriberNotificationCommand.js} +6 -6
  32. package/dist-es/commands/{CreateDatalakeCommand.js → DeleteDataLakeCommand.js} +6 -6
  33. package/dist-es/commands/{CreateDatalakeExceptionsSubscriptionCommand.js → DeleteDataLakeExceptionSubscriptionCommand.js} +6 -6
  34. package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +42 -0
  35. package/dist-es/commands/{CreateDatalakeDelegatedAdminCommand.js → DeleteSubscriberNotificationCommand.js} +6 -6
  36. package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +42 -0
  37. package/dist-es/commands/{GetDatalakeExceptionsSubscriptionCommand.js → GetDataLakeExceptionSubscriptionCommand.js} +6 -6
  38. package/dist-es/commands/{DeleteDatalakeExceptionsSubscriptionCommand.js → GetDataLakeOrganizationConfigurationCommand.js} +6 -6
  39. package/dist-es/commands/{GetDatalakeStatusCommand.js → GetDataLakeSourcesCommand.js} +6 -6
  40. package/dist-es/commands/{ListDatalakeExceptionsCommand.js → ListDataLakeExceptionsCommand.js} +6 -6
  41. package/dist-es/commands/{GetDatalakeCommand.js → ListDataLakesCommand.js} +6 -6
  42. package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +42 -0
  43. package/dist-es/commands/{DeleteDatalakeCommand.js → UpdateDataLakeCommand.js} +6 -6
  44. package/dist-es/commands/{CreateDatalakeAutoEnableCommand.js → UpdateDataLakeExceptionSubscriptionCommand.js} +6 -6
  45. package/dist-es/commands/{GetDatalakeExceptionsExpiryCommand.js → UpdateSubscriberNotificationCommand.js} +6 -6
  46. package/dist-es/commands/index.js +18 -20
  47. package/dist-es/models/models_0.js +41 -224
  48. package/dist-es/pagination/{GetDatalakeStatusPaginator.js → GetDataLakeSourcesPaginator.js} +4 -4
  49. package/dist-es/pagination/{ListDatalakeExceptionsPaginator.js → ListDataLakeExceptionsPaginator.js} +4 -4
  50. package/dist-es/pagination/index.js +2 -2
  51. package/dist-es/protocols/Aws_restJson1.js +491 -725
  52. package/dist-types/SecurityLake.d.ts +96 -115
  53. package/dist-types/SecurityLakeClient.d.ts +24 -31
  54. package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +22 -41
  55. package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +39 -23
  56. package/dist-types/commands/CreateDataLakeCommand.d.ts +172 -0
  57. package/dist-types/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +99 -0
  58. package/dist-types/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +108 -0
  59. package/dist-types/commands/CreateSubscriberCommand.d.ts +78 -32
  60. package/dist-types/commands/CreateSubscriberNotificationCommand.d.ts +110 -0
  61. package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +29 -39
  62. package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +15 -18
  63. package/dist-types/commands/{DeleteDatalakeCommand.d.ts → DeleteDataLakeCommand.d.ts} +33 -33
  64. package/dist-types/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +95 -0
  65. package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +110 -0
  66. package/dist-types/commands/DeleteSubscriberCommand.d.ts +15 -21
  67. package/dist-types/commands/DeleteSubscriberNotificationCommand.d.ts +97 -0
  68. package/dist-types/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +96 -0
  69. package/dist-types/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +98 -0
  70. package/dist-types/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +108 -0
  71. package/dist-types/commands/GetDataLakeSourcesCommand.d.ts +119 -0
  72. package/dist-types/commands/GetSubscriberCommand.d.ts +47 -28
  73. package/dist-types/commands/{ListDatalakeExceptionsCommand.d.ts → ListDataLakeExceptionsCommand.d.ts} +39 -36
  74. package/dist-types/commands/ListDataLakesCommand.d.ts +136 -0
  75. package/dist-types/commands/ListLogSourcesCommand.d.ts +60 -29
  76. package/dist-types/commands/ListSubscribersCommand.d.ts +46 -30
  77. package/dist-types/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +98 -0
  78. package/dist-types/commands/UpdateDataLakeCommand.d.ts +158 -0
  79. package/dist-types/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +99 -0
  80. package/dist-types/commands/UpdateSubscriberCommand.d.ts +73 -42
  81. package/dist-types/commands/UpdateSubscriberNotificationCommand.d.ts +109 -0
  82. package/dist-types/commands/index.d.ts +18 -20
  83. package/dist-types/index.d.ts +4 -9
  84. package/dist-types/models/models_0.d.ts +985 -906
  85. package/dist-types/pagination/GetDataLakeSourcesPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListDataLakeExceptionsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/index.d.ts +2 -2
  88. package/dist-types/protocols/Aws_restJson1.d.ts +94 -112
  89. package/dist-types/ts3.4/SecurityLake.d.ts +243 -271
  90. package/dist-types/ts3.4/SecurityLakeClient.d.ts +91 -103
  91. package/dist-types/ts3.4/commands/{CreateDatalakeCommand.d.ts → CreateDataLakeCommand.d.ts} +11 -11
  92. package/dist-types/ts3.4/commands/{GetDatalakeExceptionsSubscriptionCommand.d.ts → CreateDataLakeExceptionSubscriptionCommand.d.ts} +13 -13
  93. package/dist-types/ts3.4/commands/{CreateDatalakeExceptionsSubscriptionCommand.d.ts → CreateDataLakeOrganizationConfigurationCommand.d.ts} +13 -13
  94. package/dist-types/ts3.4/commands/{DeleteDatalakeDelegatedAdminCommand.d.ts → CreateSubscriberNotificationCommand.d.ts} +13 -13
  95. package/dist-types/ts3.4/commands/{DeleteDatalakeCommand.d.ts → DeleteDataLakeCommand.d.ts} +11 -11
  96. package/dist-types/ts3.4/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/{CreateDatalakeDelegatedAdminCommand.d.ts → DeleteSubscriberNotificationCommand.d.ts} +13 -13
  99. package/dist-types/ts3.4/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/{DeleteDatalakeAutoEnableCommand.d.ts → GetDataLakeExceptionSubscriptionCommand.d.ts} +13 -13
  101. package/dist-types/ts3.4/commands/{DeleteDatalakeExceptionsSubscriptionCommand.d.ts → GetDataLakeOrganizationConfigurationCommand.d.ts} +13 -13
  102. package/dist-types/ts3.4/commands/GetDataLakeSourcesCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/{ListDatalakeExceptionsCommand.d.ts → ListDataLakeExceptionsCommand.d.ts} +13 -13
  104. package/dist-types/ts3.4/commands/{GetDatalakeStatusCommand.d.ts → ListDataLakesCommand.d.ts} +11 -12
  105. package/dist-types/ts3.4/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/{UpdateDatalakeCommand.d.ts → UpdateDataLakeCommand.d.ts} +11 -11
  107. package/dist-types/ts3.4/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +42 -0
  108. package/dist-types/ts3.4/commands/{CreateDatalakeAutoEnableCommand.d.ts → UpdateSubscriberNotificationCommand.d.ts} +13 -13
  109. package/dist-types/ts3.4/commands/index.d.ts +18 -20
  110. package/dist-types/ts3.4/models/models_0.d.ts +315 -431
  111. package/dist-types/ts3.4/pagination/GetDataLakeSourcesPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/ListDataLakeExceptionsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/index.d.ts +2 -2
  114. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +131 -155
  115. package/package.json +28 -28
  116. package/dist-cjs/commands/CreateSubscriptionNotificationConfigurationCommand.js +0 -46
  117. package/dist-cjs/commands/DeleteSubscriptionNotificationConfigurationCommand.js +0 -46
  118. package/dist-cjs/commands/GetDatalakeAutoEnableCommand.js +0 -46
  119. package/dist-cjs/commands/GetDatalakeExceptionsExpiryCommand.js +0 -46
  120. package/dist-cjs/commands/GetDatalakeExceptionsSubscriptionCommand.js +0 -46
  121. package/dist-cjs/commands/UpdateDatalakeExceptionsExpiryCommand.js +0 -46
  122. package/dist-cjs/commands/UpdateDatalakeExceptionsSubscriptionCommand.js +0 -46
  123. package/dist-cjs/commands/UpdateSubscriptionNotificationConfigurationCommand.js +0 -46
  124. package/dist-es/commands/CreateSubscriptionNotificationConfigurationCommand.js +0 -42
  125. package/dist-es/commands/DeleteDatalakeAutoEnableCommand.js +0 -42
  126. package/dist-es/commands/DeleteSubscriptionNotificationConfigurationCommand.js +0 -42
  127. package/dist-es/commands/GetDatalakeAutoEnableCommand.js +0 -42
  128. package/dist-es/commands/UpdateDatalakeExceptionsExpiryCommand.js +0 -42
  129. package/dist-es/commands/UpdateSubscriptionNotificationConfigurationCommand.js +0 -42
  130. package/dist-types/commands/CreateDatalakeAutoEnableCommand.d.ts +0 -98
  131. package/dist-types/commands/CreateDatalakeCommand.d.ts +0 -137
  132. package/dist-types/commands/CreateDatalakeDelegatedAdminCommand.d.ts +0 -89
  133. package/dist-types/commands/CreateDatalakeExceptionsSubscriptionCommand.d.ts +0 -91
  134. package/dist-types/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +0 -109
  135. package/dist-types/commands/DeleteDatalakeAutoEnableCommand.d.ts +0 -101
  136. package/dist-types/commands/DeleteDatalakeDelegatedAdminCommand.d.ts +0 -89
  137. package/dist-types/commands/DeleteDatalakeExceptionsSubscriptionCommand.d.ts +0 -90
  138. package/dist-types/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +0 -100
  139. package/dist-types/commands/GetDatalakeAutoEnableCommand.d.ts +0 -98
  140. package/dist-types/commands/GetDatalakeCommand.d.ts +0 -120
  141. package/dist-types/commands/GetDatalakeExceptionsExpiryCommand.d.ts +0 -91
  142. package/dist-types/commands/GetDatalakeExceptionsSubscriptionCommand.d.ts +0 -92
  143. package/dist-types/commands/GetDatalakeStatusCommand.d.ts +0 -109
  144. package/dist-types/commands/UpdateDatalakeCommand.d.ts +0 -108
  145. package/dist-types/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +0 -91
  146. package/dist-types/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +0 -91
  147. package/dist-types/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +0 -108
  148. package/dist-types/pagination/GetDatalakeStatusPaginator.d.ts +0 -7
  149. package/dist-types/pagination/ListDatalakeExceptionsPaginator.d.ts +0 -7
  150. package/dist-types/ts3.4/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +0 -42
  151. package/dist-types/ts3.4/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +0 -42
  152. package/dist-types/ts3.4/commands/GetDatalakeAutoEnableCommand.d.ts +0 -42
  153. package/dist-types/ts3.4/commands/GetDatalakeCommand.d.ts +0 -35
  154. package/dist-types/ts3.4/commands/GetDatalakeExceptionsExpiryCommand.d.ts +0 -42
  155. package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +0 -42
  156. package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +0 -42
  157. package/dist-types/ts3.4/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +0 -42
  158. package/dist-types/ts3.4/pagination/GetDatalakeStatusPaginator.d.ts +0 -11
  159. package/dist-types/ts3.4/pagination/ListDatalakeExceptionsPaginator.d.ts +0 -11
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_GetDatalakeExceptionsSubscriptionCommand = exports.de_GetDatalakeExceptionsExpiryCommand = exports.de_GetDatalakeAutoEnableCommand = exports.de_GetDatalakeCommand = exports.de_DeleteSubscriptionNotificationConfigurationCommand = exports.de_DeleteSubscriberCommand = exports.de_DeleteDatalakeExceptionsSubscriptionCommand = exports.de_DeleteDatalakeDelegatedAdminCommand = exports.de_DeleteDatalakeAutoEnableCommand = exports.de_DeleteDatalakeCommand = exports.de_DeleteCustomLogSourceCommand = exports.de_DeleteAwsLogSourceCommand = exports.de_CreateSubscriptionNotificationConfigurationCommand = exports.de_CreateSubscriberCommand = exports.de_CreateDatalakeExceptionsSubscriptionCommand = exports.de_CreateDatalakeDelegatedAdminCommand = exports.de_CreateDatalakeAutoEnableCommand = exports.de_CreateDatalakeCommand = exports.de_CreateCustomLogSourceCommand = exports.de_CreateAwsLogSourceCommand = exports.se_UpdateSubscriptionNotificationConfigurationCommand = exports.se_UpdateSubscriberCommand = exports.se_UpdateDatalakeExceptionsSubscriptionCommand = exports.se_UpdateDatalakeExceptionsExpiryCommand = exports.se_UpdateDatalakeCommand = exports.se_ListSubscribersCommand = exports.se_ListLogSourcesCommand = exports.se_ListDatalakeExceptionsCommand = exports.se_GetSubscriberCommand = exports.se_GetDatalakeStatusCommand = exports.se_GetDatalakeExceptionsSubscriptionCommand = exports.se_GetDatalakeExceptionsExpiryCommand = exports.se_GetDatalakeAutoEnableCommand = exports.se_GetDatalakeCommand = exports.se_DeleteSubscriptionNotificationConfigurationCommand = exports.se_DeleteSubscriberCommand = exports.se_DeleteDatalakeExceptionsSubscriptionCommand = exports.se_DeleteDatalakeDelegatedAdminCommand = exports.se_DeleteDatalakeAutoEnableCommand = exports.se_DeleteDatalakeCommand = exports.se_DeleteCustomLogSourceCommand = exports.se_DeleteAwsLogSourceCommand = exports.se_CreateSubscriptionNotificationConfigurationCommand = exports.se_CreateSubscriberCommand = exports.se_CreateDatalakeExceptionsSubscriptionCommand = exports.se_CreateDatalakeDelegatedAdminCommand = exports.se_CreateDatalakeAutoEnableCommand = exports.se_CreateDatalakeCommand = exports.se_CreateCustomLogSourceCommand = exports.se_CreateAwsLogSourceCommand = void 0;
4
- exports.de_UpdateSubscriptionNotificationConfigurationCommand = exports.de_UpdateSubscriberCommand = exports.de_UpdateDatalakeExceptionsSubscriptionCommand = exports.de_UpdateDatalakeExceptionsExpiryCommand = exports.de_UpdateDatalakeCommand = exports.de_ListSubscribersCommand = exports.de_ListLogSourcesCommand = exports.de_ListDatalakeExceptionsCommand = exports.de_GetSubscriberCommand = exports.de_GetDatalakeStatusCommand = void 0;
3
+ exports.de_ListLogSourcesCommand = exports.de_ListDataLakesCommand = exports.de_ListDataLakeExceptionsCommand = exports.de_GetSubscriberCommand = exports.de_GetDataLakeSourcesCommand = exports.de_GetDataLakeOrganizationConfigurationCommand = exports.de_GetDataLakeExceptionSubscriptionCommand = exports.de_DeregisterDataLakeDelegatedAdministratorCommand = exports.de_DeleteSubscriberNotificationCommand = exports.de_DeleteSubscriberCommand = exports.de_DeleteDataLakeOrganizationConfigurationCommand = exports.de_DeleteDataLakeExceptionSubscriptionCommand = exports.de_DeleteDataLakeCommand = exports.de_DeleteCustomLogSourceCommand = exports.de_DeleteAwsLogSourceCommand = exports.de_CreateSubscriberNotificationCommand = exports.de_CreateSubscriberCommand = exports.de_CreateDataLakeOrganizationConfigurationCommand = exports.de_CreateDataLakeExceptionSubscriptionCommand = exports.de_CreateDataLakeCommand = exports.de_CreateCustomLogSourceCommand = exports.de_CreateAwsLogSourceCommand = exports.se_UpdateSubscriberNotificationCommand = exports.se_UpdateSubscriberCommand = exports.se_UpdateDataLakeExceptionSubscriptionCommand = exports.se_UpdateDataLakeCommand = exports.se_RegisterDataLakeDelegatedAdministratorCommand = exports.se_ListSubscribersCommand = exports.se_ListLogSourcesCommand = exports.se_ListDataLakesCommand = exports.se_ListDataLakeExceptionsCommand = exports.se_GetSubscriberCommand = exports.se_GetDataLakeSourcesCommand = exports.se_GetDataLakeOrganizationConfigurationCommand = exports.se_GetDataLakeExceptionSubscriptionCommand = exports.se_DeregisterDataLakeDelegatedAdministratorCommand = exports.se_DeleteSubscriberNotificationCommand = exports.se_DeleteSubscriberCommand = exports.se_DeleteDataLakeOrganizationConfigurationCommand = exports.se_DeleteDataLakeExceptionSubscriptionCommand = exports.se_DeleteDataLakeCommand = exports.se_DeleteCustomLogSourceCommand = exports.se_DeleteAwsLogSourceCommand = exports.se_CreateSubscriberNotificationCommand = exports.se_CreateSubscriberCommand = exports.se_CreateDataLakeOrganizationConfigurationCommand = exports.se_CreateDataLakeExceptionSubscriptionCommand = exports.se_CreateDataLakeCommand = exports.se_CreateCustomLogSourceCommand = exports.se_CreateAwsLogSourceCommand = void 0;
4
+ exports.de_UpdateSubscriberNotificationCommand = exports.de_UpdateSubscriberCommand = exports.de_UpdateDataLakeExceptionSubscriptionCommand = exports.de_UpdateDataLakeCommand = exports.de_RegisterDataLakeDelegatedAdministratorCommand = exports.de_ListSubscribersCommand = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const protocol_http_1 = require("@smithy/protocol-http");
7
7
  const models_0_1 = require("../models/models_0");
@@ -11,13 +11,10 @@ const se_CreateAwsLogSourceCommand = async (input, context) => {
11
11
  const headers = {
12
12
  "content-type": "application/json",
13
13
  };
14
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/aws";
14
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/logsources/aws";
15
15
  let body;
16
16
  body = JSON.stringify((0, smithy_client_1.take)(input, {
17
- enableAllDimensions: (_) => (0, smithy_client_1._json)(_),
18
- enableSingleDimension: (_) => (0, smithy_client_1._json)(_),
19
- enableTwoDimensions: (_) => (0, smithy_client_1._json)(_),
20
- inputOrder: (_) => (0, smithy_client_1._json)(_),
17
+ sources: (_) => (0, smithy_client_1._json)(_),
21
18
  }));
22
19
  return new protocol_http_1.HttpRequest({
23
20
  protocol,
@@ -35,13 +32,13 @@ const se_CreateCustomLogSourceCommand = async (input, context) => {
35
32
  const headers = {
36
33
  "content-type": "application/json",
37
34
  };
38
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/custom";
35
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/logsources/custom";
39
36
  let body;
40
37
  body = JSON.stringify((0, smithy_client_1.take)(input, {
41
- customSourceName: [],
42
- eventClass: [],
43
- glueInvocationRoleArn: [],
44
- logProviderAccountId: [],
38
+ configuration: (_) => (0, smithy_client_1._json)(_),
39
+ eventClasses: (_) => (0, smithy_client_1._json)(_),
40
+ sourceName: [],
41
+ sourceVersion: [],
45
42
  }));
46
43
  return new protocol_http_1.HttpRequest({
47
44
  protocol,
@@ -54,7 +51,7 @@ const se_CreateCustomLogSourceCommand = async (input, context) => {
54
51
  });
55
52
  };
56
53
  exports.se_CreateCustomLogSourceCommand = se_CreateCustomLogSourceCommand;
57
- const se_CreateDatalakeCommand = async (input, context) => {
54
+ const se_CreateDataLakeCommand = async (input, context) => {
58
55
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
56
  const headers = {
60
57
  "content-type": "application/json",
@@ -63,30 +60,7 @@ const se_CreateDatalakeCommand = async (input, context) => {
63
60
  let body;
64
61
  body = JSON.stringify((0, smithy_client_1.take)(input, {
65
62
  configurations: (_) => (0, smithy_client_1._json)(_),
66
- enableAll: [],
67
63
  metaStoreManagerRoleArn: [],
68
- regions: (_) => (0, smithy_client_1._json)(_),
69
- }));
70
- return new protocol_http_1.HttpRequest({
71
- protocol,
72
- hostname,
73
- port,
74
- method: "POST",
75
- headers,
76
- path: resolvedPath,
77
- body,
78
- });
79
- };
80
- exports.se_CreateDatalakeCommand = se_CreateDatalakeCommand;
81
- const se_CreateDatalakeAutoEnableCommand = async (input, context) => {
82
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
83
- const headers = {
84
- "content-type": "application/json",
85
- };
86
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/autoenable";
87
- let body;
88
- body = JSON.stringify((0, smithy_client_1.take)(input, {
89
- configurationForNewAccounts: (_) => (0, smithy_client_1._json)(_),
90
64
  }));
91
65
  return new protocol_http_1.HttpRequest({
92
66
  protocol,
@@ -98,16 +72,18 @@ const se_CreateDatalakeAutoEnableCommand = async (input, context) => {
98
72
  body,
99
73
  });
100
74
  };
101
- exports.se_CreateDatalakeAutoEnableCommand = se_CreateDatalakeAutoEnableCommand;
102
- const se_CreateDatalakeDelegatedAdminCommand = async (input, context) => {
75
+ exports.se_CreateDataLakeCommand = se_CreateDataLakeCommand;
76
+ const se_CreateDataLakeExceptionSubscriptionCommand = async (input, context) => {
103
77
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
104
78
  const headers = {
105
79
  "content-type": "application/json",
106
80
  };
107
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/delegate";
81
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/subscription";
108
82
  let body;
109
83
  body = JSON.stringify((0, smithy_client_1.take)(input, {
110
- account: [],
84
+ exceptionTimeToLive: [],
85
+ notificationEndpoint: [],
86
+ subscriptionProtocol: [],
111
87
  }));
112
88
  return new protocol_http_1.HttpRequest({
113
89
  protocol,
@@ -119,17 +95,16 @@ const se_CreateDatalakeDelegatedAdminCommand = async (input, context) => {
119
95
  body,
120
96
  });
121
97
  };
122
- exports.se_CreateDatalakeDelegatedAdminCommand = se_CreateDatalakeDelegatedAdminCommand;
123
- const se_CreateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
98
+ exports.se_CreateDataLakeExceptionSubscriptionCommand = se_CreateDataLakeExceptionSubscriptionCommand;
99
+ const se_CreateDataLakeOrganizationConfigurationCommand = async (input, context) => {
124
100
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
125
101
  const headers = {
126
102
  "content-type": "application/json",
127
103
  };
128
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/subscription";
104
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/organization/configuration";
129
105
  let body;
130
106
  body = JSON.stringify((0, smithy_client_1.take)(input, {
131
- notificationEndpoint: [],
132
- subscriptionProtocol: [],
107
+ autoEnableNewAccount: (_) => (0, smithy_client_1._json)(_),
133
108
  }));
134
109
  return new protocol_http_1.HttpRequest({
135
110
  protocol,
@@ -141,7 +116,7 @@ const se_CreateDatalakeExceptionsSubscriptionCommand = async (input, context) =>
141
116
  body,
142
117
  });
143
118
  };
144
- exports.se_CreateDatalakeExceptionsSubscriptionCommand = se_CreateDatalakeExceptionsSubscriptionCommand;
119
+ exports.se_CreateDataLakeOrganizationConfigurationCommand = se_CreateDataLakeOrganizationConfigurationCommand;
145
120
  const se_CreateSubscriberCommand = async (input, context) => {
146
121
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
147
122
  const headers = {
@@ -151,10 +126,9 @@ const se_CreateSubscriberCommand = async (input, context) => {
151
126
  let body;
152
127
  body = JSON.stringify((0, smithy_client_1.take)(input, {
153
128
  accessTypes: (_) => (0, smithy_client_1._json)(_),
154
- accountId: [],
155
- externalId: [],
156
- sourceTypes: (_) => (0, smithy_client_1._json)(_),
129
+ sources: (_) => (0, smithy_client_1._json)(_),
157
130
  subscriberDescription: [],
131
+ subscriberIdentity: (_) => (0, smithy_client_1._json)(_),
158
132
  subscriberName: [],
159
133
  }));
160
134
  return new protocol_http_1.HttpRequest({
@@ -168,22 +142,17 @@ const se_CreateSubscriberCommand = async (input, context) => {
168
142
  });
169
143
  };
170
144
  exports.se_CreateSubscriberCommand = se_CreateSubscriberCommand;
171
- const se_CreateSubscriptionNotificationConfigurationCommand = async (input, context) => {
145
+ const se_CreateSubscriberNotificationCommand = async (input, context) => {
172
146
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
173
147
  const headers = {
174
148
  "content-type": "application/json",
175
149
  };
176
150
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
177
- "/subscription-notifications/{subscriptionId}";
178
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriptionId", () => input.subscriptionId, "{subscriptionId}", false);
151
+ "/v1/subscribers/{subscriberId}/notification";
152
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriberId", () => input.subscriberId, "{subscriberId}", false);
179
153
  let body;
180
154
  body = JSON.stringify((0, smithy_client_1.take)(input, {
181
- createSqs: [],
182
- httpsApiKeyName: [],
183
- httpsApiKeyValue: [],
184
- httpsMethod: [],
185
- roleArn: [],
186
- subscriptionEndpoint: [],
155
+ configuration: (_) => (0, smithy_client_1._json)(_),
187
156
  }));
188
157
  return new protocol_http_1.HttpRequest({
189
158
  protocol,
@@ -195,19 +164,16 @@ const se_CreateSubscriptionNotificationConfigurationCommand = async (input, cont
195
164
  body,
196
165
  });
197
166
  };
198
- exports.se_CreateSubscriptionNotificationConfigurationCommand = se_CreateSubscriptionNotificationConfigurationCommand;
167
+ exports.se_CreateSubscriberNotificationCommand = se_CreateSubscriberNotificationCommand;
199
168
  const se_DeleteAwsLogSourceCommand = async (input, context) => {
200
169
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
201
170
  const headers = {
202
171
  "content-type": "application/json",
203
172
  };
204
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/aws/delete";
173
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/logsources/aws/delete";
205
174
  let body;
206
175
  body = JSON.stringify((0, smithy_client_1.take)(input, {
207
- disableAllDimensions: (_) => (0, smithy_client_1._json)(_),
208
- disableSingleDimension: (_) => (0, smithy_client_1._json)(_),
209
- disableTwoDimensions: (_) => (0, smithy_client_1._json)(_),
210
- inputOrder: (_) => (0, smithy_client_1._json)(_),
176
+ sources: (_) => (0, smithy_client_1._json)(_),
211
177
  }));
212
178
  return new protocol_http_1.HttpRequest({
213
179
  protocol,
@@ -223,9 +189,11 @@ exports.se_DeleteAwsLogSourceCommand = se_DeleteAwsLogSourceCommand;
223
189
  const se_DeleteCustomLogSourceCommand = async (input, context) => {
224
190
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
225
191
  const headers = {};
226
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/custom";
192
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
193
+ "/v1/datalake/logsources/custom/{sourceName}";
194
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sourceName", () => input.sourceName, "{sourceName}", false);
227
195
  const query = (0, smithy_client_1.map)({
228
- customSourceName: [, (0, smithy_client_1.expectNonNull)(input.customSourceName, `customSourceName`)],
196
+ sourceVersion: [, input.sourceVersion],
229
197
  });
230
198
  let body;
231
199
  return new protocol_http_1.HttpRequest({
@@ -240,34 +208,15 @@ const se_DeleteCustomLogSourceCommand = async (input, context) => {
240
208
  });
241
209
  };
242
210
  exports.se_DeleteCustomLogSourceCommand = se_DeleteCustomLogSourceCommand;
243
- const se_DeleteDatalakeCommand = async (input, context) => {
244
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
245
- const headers = {
246
- "content-type": "application/json",
247
- };
248
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake";
249
- let body;
250
- body = "";
251
- return new protocol_http_1.HttpRequest({
252
- protocol,
253
- hostname,
254
- port,
255
- method: "DELETE",
256
- headers,
257
- path: resolvedPath,
258
- body,
259
- });
260
- };
261
- exports.se_DeleteDatalakeCommand = se_DeleteDatalakeCommand;
262
- const se_DeleteDatalakeAutoEnableCommand = async (input, context) => {
211
+ const se_DeleteDataLakeCommand = async (input, context) => {
263
212
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
264
213
  const headers = {
265
214
  "content-type": "application/json",
266
215
  };
267
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/autoenable/delete";
216
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/delete";
268
217
  let body;
269
218
  body = JSON.stringify((0, smithy_client_1.take)(input, {
270
- removeFromConfigurationForNewAccounts: (_) => (0, smithy_client_1._json)(_),
219
+ regions: (_) => (0, smithy_client_1._json)(_),
271
220
  }));
272
221
  return new protocol_http_1.HttpRequest({
273
222
  protocol,
@@ -279,13 +228,15 @@ const se_DeleteDatalakeAutoEnableCommand = async (input, context) => {
279
228
  body,
280
229
  });
281
230
  };
282
- exports.se_DeleteDatalakeAutoEnableCommand = se_DeleteDatalakeAutoEnableCommand;
283
- const se_DeleteDatalakeDelegatedAdminCommand = async (input, context) => {
231
+ exports.se_DeleteDataLakeCommand = se_DeleteDataLakeCommand;
232
+ const se_DeleteDataLakeExceptionSubscriptionCommand = async (input, context) => {
284
233
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
285
- const headers = {};
286
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/delegate/{account}";
287
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "account", () => input.account, "{account}", false);
234
+ const headers = {
235
+ "content-type": "application/json",
236
+ };
237
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/subscription";
288
238
  let body;
239
+ body = "";
289
240
  return new protocol_http_1.HttpRequest({
290
241
  protocol,
291
242
  hostname,
@@ -296,33 +247,34 @@ const se_DeleteDatalakeDelegatedAdminCommand = async (input, context) => {
296
247
  body,
297
248
  });
298
249
  };
299
- exports.se_DeleteDatalakeDelegatedAdminCommand = se_DeleteDatalakeDelegatedAdminCommand;
300
- const se_DeleteDatalakeExceptionsSubscriptionCommand = async (input, context) => {
250
+ exports.se_DeleteDataLakeExceptionSubscriptionCommand = se_DeleteDataLakeExceptionSubscriptionCommand;
251
+ const se_DeleteDataLakeOrganizationConfigurationCommand = async (input, context) => {
301
252
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
302
253
  const headers = {
303
254
  "content-type": "application/json",
304
255
  };
305
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/subscription";
256
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
257
+ "/v1/datalake/organization/configuration/delete";
306
258
  let body;
307
- body = "";
259
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
260
+ autoEnableNewAccount: (_) => (0, smithy_client_1._json)(_),
261
+ }));
308
262
  return new protocol_http_1.HttpRequest({
309
263
  protocol,
310
264
  hostname,
311
265
  port,
312
- method: "DELETE",
266
+ method: "POST",
313
267
  headers,
314
268
  path: resolvedPath,
315
269
  body,
316
270
  });
317
271
  };
318
- exports.se_DeleteDatalakeExceptionsSubscriptionCommand = se_DeleteDatalakeExceptionsSubscriptionCommand;
272
+ exports.se_DeleteDataLakeOrganizationConfigurationCommand = se_DeleteDataLakeOrganizationConfigurationCommand;
319
273
  const se_DeleteSubscriberCommand = async (input, context) => {
320
274
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
321
275
  const headers = {};
322
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers";
323
- const query = (0, smithy_client_1.map)({
324
- id: [, (0, smithy_client_1.expectNonNull)(input.id, `id`)],
325
- });
276
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers/{subscriberId}";
277
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriberId", () => input.subscriberId, "{subscriberId}", false);
326
278
  let body;
327
279
  return new protocol_http_1.HttpRequest({
328
280
  protocol,
@@ -331,17 +283,16 @@ const se_DeleteSubscriberCommand = async (input, context) => {
331
283
  method: "DELETE",
332
284
  headers,
333
285
  path: resolvedPath,
334
- query,
335
286
  body,
336
287
  });
337
288
  };
338
289
  exports.se_DeleteSubscriberCommand = se_DeleteSubscriberCommand;
339
- const se_DeleteSubscriptionNotificationConfigurationCommand = async (input, context) => {
290
+ const se_DeleteSubscriberNotificationCommand = async (input, context) => {
340
291
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
341
292
  const headers = {};
342
293
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
343
- "/subscription-notifications/{subscriptionId}";
344
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriptionId", () => input.subscriptionId, "{subscriptionId}", false);
294
+ "/v1/subscribers/{subscriberId}/notification";
295
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriberId", () => input.subscriberId, "{subscriberId}", false);
345
296
  let body;
346
297
  return new protocol_http_1.HttpRequest({
347
298
  protocol,
@@ -353,51 +304,32 @@ const se_DeleteSubscriptionNotificationConfigurationCommand = async (input, cont
353
304
  body,
354
305
  });
355
306
  };
356
- exports.se_DeleteSubscriptionNotificationConfigurationCommand = se_DeleteSubscriptionNotificationConfigurationCommand;
357
- const se_GetDatalakeCommand = async (input, context) => {
358
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
359
- const headers = {
360
- "content-type": "application/json",
361
- };
362
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake";
363
- let body;
364
- body = "";
365
- return new protocol_http_1.HttpRequest({
366
- protocol,
367
- hostname,
368
- port,
369
- method: "GET",
370
- headers,
371
- path: resolvedPath,
372
- body,
373
- });
374
- };
375
- exports.se_GetDatalakeCommand = se_GetDatalakeCommand;
376
- const se_GetDatalakeAutoEnableCommand = async (input, context) => {
307
+ exports.se_DeleteSubscriberNotificationCommand = se_DeleteSubscriberNotificationCommand;
308
+ const se_DeregisterDataLakeDelegatedAdministratorCommand = async (input, context) => {
377
309
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
378
310
  const headers = {
379
311
  "content-type": "application/json",
380
312
  };
381
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/autoenable";
313
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/delegate";
382
314
  let body;
383
315
  body = "";
384
316
  return new protocol_http_1.HttpRequest({
385
317
  protocol,
386
318
  hostname,
387
319
  port,
388
- method: "GET",
320
+ method: "DELETE",
389
321
  headers,
390
322
  path: resolvedPath,
391
323
  body,
392
324
  });
393
325
  };
394
- exports.se_GetDatalakeAutoEnableCommand = se_GetDatalakeAutoEnableCommand;
395
- const se_GetDatalakeExceptionsExpiryCommand = async (input, context) => {
326
+ exports.se_DeregisterDataLakeDelegatedAdministratorCommand = se_DeregisterDataLakeDelegatedAdministratorCommand;
327
+ const se_GetDataLakeExceptionSubscriptionCommand = async (input, context) => {
396
328
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
397
329
  const headers = {
398
330
  "content-type": "application/json",
399
331
  };
400
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/expiry";
332
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/subscription";
401
333
  let body;
402
334
  body = "";
403
335
  return new protocol_http_1.HttpRequest({
@@ -410,13 +342,13 @@ const se_GetDatalakeExceptionsExpiryCommand = async (input, context) => {
410
342
  body,
411
343
  });
412
344
  };
413
- exports.se_GetDatalakeExceptionsExpiryCommand = se_GetDatalakeExceptionsExpiryCommand;
414
- const se_GetDatalakeExceptionsSubscriptionCommand = async (input, context) => {
345
+ exports.se_GetDataLakeExceptionSubscriptionCommand = se_GetDataLakeExceptionSubscriptionCommand;
346
+ const se_GetDataLakeOrganizationConfigurationCommand = async (input, context) => {
415
347
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
416
348
  const headers = {
417
349
  "content-type": "application/json",
418
350
  };
419
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/subscription";
351
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/organization/configuration";
420
352
  let body;
421
353
  body = "";
422
354
  return new protocol_http_1.HttpRequest({
@@ -429,17 +361,17 @@ const se_GetDatalakeExceptionsSubscriptionCommand = async (input, context) => {
429
361
  body,
430
362
  });
431
363
  };
432
- exports.se_GetDatalakeExceptionsSubscriptionCommand = se_GetDatalakeExceptionsSubscriptionCommand;
433
- const se_GetDatalakeStatusCommand = async (input, context) => {
364
+ exports.se_GetDataLakeOrganizationConfigurationCommand = se_GetDataLakeOrganizationConfigurationCommand;
365
+ const se_GetDataLakeSourcesCommand = async (input, context) => {
434
366
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
435
367
  const headers = {
436
368
  "content-type": "application/json",
437
369
  };
438
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/status";
370
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/sources";
439
371
  let body;
440
372
  body = JSON.stringify((0, smithy_client_1.take)(input, {
441
- accountSet: (_) => (0, smithy_client_1._json)(_),
442
- maxAccountResults: [],
373
+ accounts: (_) => (0, smithy_client_1._json)(_),
374
+ maxResults: [],
443
375
  nextToken: [],
444
376
  }));
445
377
  return new protocol_http_1.HttpRequest({
@@ -452,12 +384,12 @@ const se_GetDatalakeStatusCommand = async (input, context) => {
452
384
  body,
453
385
  });
454
386
  };
455
- exports.se_GetDatalakeStatusCommand = se_GetDatalakeStatusCommand;
387
+ exports.se_GetDataLakeSourcesCommand = se_GetDataLakeSourcesCommand;
456
388
  const se_GetSubscriberCommand = async (input, context) => {
457
389
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
458
390
  const headers = {};
459
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers/{id}";
460
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
391
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers/{subscriberId}";
392
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriberId", () => input.subscriberId, "{subscriberId}", false);
461
393
  let body;
462
394
  return new protocol_http_1.HttpRequest({
463
395
  protocol,
@@ -470,7 +402,7 @@ const se_GetSubscriberCommand = async (input, context) => {
470
402
  });
471
403
  };
472
404
  exports.se_GetSubscriberCommand = se_GetSubscriberCommand;
473
- const se_ListDatalakeExceptionsCommand = async (input, context) => {
405
+ const se_ListDataLakeExceptionsCommand = async (input, context) => {
474
406
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
475
407
  const headers = {
476
408
  "content-type": "application/json",
@@ -478,9 +410,9 @@ const se_ListDatalakeExceptionsCommand = async (input, context) => {
478
410
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions";
479
411
  let body;
480
412
  body = JSON.stringify((0, smithy_client_1.take)(input, {
481
- maxFailures: [],
413
+ maxResults: [],
482
414
  nextToken: [],
483
- regionSet: (_) => (0, smithy_client_1._json)(_),
415
+ regions: (_) => (0, smithy_client_1._json)(_),
484
416
  }));
485
417
  return new protocol_http_1.HttpRequest({
486
418
  protocol,
@@ -492,21 +424,40 @@ const se_ListDatalakeExceptionsCommand = async (input, context) => {
492
424
  body,
493
425
  });
494
426
  };
495
- exports.se_ListDatalakeExceptionsCommand = se_ListDatalakeExceptionsCommand;
427
+ exports.se_ListDataLakeExceptionsCommand = se_ListDataLakeExceptionsCommand;
428
+ const se_ListDataLakesCommand = async (input, context) => {
429
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
430
+ const headers = {};
431
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalakes";
432
+ const query = (0, smithy_client_1.map)({
433
+ regions: [() => input.regions !== void 0, () => (input.regions || []).map((_entry) => _entry)],
434
+ });
435
+ let body;
436
+ return new protocol_http_1.HttpRequest({
437
+ protocol,
438
+ hostname,
439
+ port,
440
+ method: "GET",
441
+ headers,
442
+ path: resolvedPath,
443
+ query,
444
+ body,
445
+ });
446
+ };
447
+ exports.se_ListDataLakesCommand = se_ListDataLakesCommand;
496
448
  const se_ListLogSourcesCommand = async (input, context) => {
497
449
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
498
450
  const headers = {
499
451
  "content-type": "application/json",
500
452
  };
501
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/logsources/list";
453
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/logsources/list";
502
454
  let body;
503
455
  body = JSON.stringify((0, smithy_client_1.take)(input, {
504
- inputOrder: (_) => (0, smithy_client_1._json)(_),
505
- listAllDimensions: (_) => (0, smithy_client_1._json)(_),
506
- listSingleDimension: (_) => (0, smithy_client_1._json)(_),
507
- listTwoDimensions: (_) => (0, smithy_client_1._json)(_),
456
+ accounts: (_) => (0, smithy_client_1._json)(_),
508
457
  maxResults: [],
509
458
  nextToken: [],
459
+ regions: (_) => (0, smithy_client_1._json)(_),
460
+ sources: (_) => (0, smithy_client_1._json)(_),
510
461
  }));
511
462
  return new protocol_http_1.HttpRequest({
512
463
  protocol,
@@ -540,36 +491,36 @@ const se_ListSubscribersCommand = async (input, context) => {
540
491
  });
541
492
  };
542
493
  exports.se_ListSubscribersCommand = se_ListSubscribersCommand;
543
- const se_UpdateDatalakeCommand = async (input, context) => {
494
+ const se_RegisterDataLakeDelegatedAdministratorCommand = async (input, context) => {
544
495
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
545
496
  const headers = {
546
497
  "content-type": "application/json",
547
498
  };
548
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake";
499
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/delegate";
549
500
  let body;
550
501
  body = JSON.stringify((0, smithy_client_1.take)(input, {
551
- configurations: (_) => (0, smithy_client_1._json)(_),
502
+ accountId: [],
552
503
  }));
553
504
  return new protocol_http_1.HttpRequest({
554
505
  protocol,
555
506
  hostname,
556
507
  port,
557
- method: "PUT",
508
+ method: "POST",
558
509
  headers,
559
510
  path: resolvedPath,
560
511
  body,
561
512
  });
562
513
  };
563
- exports.se_UpdateDatalakeCommand = se_UpdateDatalakeCommand;
564
- const se_UpdateDatalakeExceptionsExpiryCommand = async (input, context) => {
514
+ exports.se_RegisterDataLakeDelegatedAdministratorCommand = se_RegisterDataLakeDelegatedAdministratorCommand;
515
+ const se_UpdateDataLakeCommand = async (input, context) => {
565
516
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
566
517
  const headers = {
567
518
  "content-type": "application/json",
568
519
  };
569
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/expiry";
520
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake";
570
521
  let body;
571
522
  body = JSON.stringify((0, smithy_client_1.take)(input, {
572
- exceptionMessageExpiry: [],
523
+ configurations: (_) => (0, smithy_client_1._json)(_),
573
524
  }));
574
525
  return new protocol_http_1.HttpRequest({
575
526
  protocol,
@@ -581,8 +532,8 @@ const se_UpdateDatalakeExceptionsExpiryCommand = async (input, context) => {
581
532
  body,
582
533
  });
583
534
  };
584
- exports.se_UpdateDatalakeExceptionsExpiryCommand = se_UpdateDatalakeExceptionsExpiryCommand;
585
- const se_UpdateDatalakeExceptionsSubscriptionCommand = async (input, context) => {
535
+ exports.se_UpdateDataLakeCommand = se_UpdateDataLakeCommand;
536
+ const se_UpdateDataLakeExceptionSubscriptionCommand = async (input, context) => {
586
537
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
587
538
  const headers = {
588
539
  "content-type": "application/json",
@@ -590,6 +541,7 @@ const se_UpdateDatalakeExceptionsSubscriptionCommand = async (input, context) =>
590
541
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/datalake/exceptions/subscription";
591
542
  let body;
592
543
  body = JSON.stringify((0, smithy_client_1.take)(input, {
544
+ exceptionTimeToLive: [],
593
545
  notificationEndpoint: [],
594
546
  subscriptionProtocol: [],
595
547
  }));
@@ -603,19 +555,19 @@ const se_UpdateDatalakeExceptionsSubscriptionCommand = async (input, context) =>
603
555
  body,
604
556
  });
605
557
  };
606
- exports.se_UpdateDatalakeExceptionsSubscriptionCommand = se_UpdateDatalakeExceptionsSubscriptionCommand;
558
+ exports.se_UpdateDataLakeExceptionSubscriptionCommand = se_UpdateDataLakeExceptionSubscriptionCommand;
607
559
  const se_UpdateSubscriberCommand = async (input, context) => {
608
560
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
609
561
  const headers = {
610
562
  "content-type": "application/json",
611
563
  };
612
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers/{id}";
613
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
564
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/subscribers/{subscriberId}";
565
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriberId", () => input.subscriberId, "{subscriberId}", false);
614
566
  let body;
615
567
  body = JSON.stringify((0, smithy_client_1.take)(input, {
616
- externalId: [],
617
- sourceTypes: (_) => (0, smithy_client_1._json)(_),
568
+ sources: (_) => (0, smithy_client_1._json)(_),
618
569
  subscriberDescription: [],
570
+ subscriberIdentity: (_) => (0, smithy_client_1._json)(_),
619
571
  subscriberName: [],
620
572
  }));
621
573
  return new protocol_http_1.HttpRequest({
@@ -629,22 +581,17 @@ const se_UpdateSubscriberCommand = async (input, context) => {
629
581
  });
630
582
  };
631
583
  exports.se_UpdateSubscriberCommand = se_UpdateSubscriberCommand;
632
- const se_UpdateSubscriptionNotificationConfigurationCommand = async (input, context) => {
584
+ const se_UpdateSubscriberNotificationCommand = async (input, context) => {
633
585
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
634
586
  const headers = {
635
587
  "content-type": "application/json",
636
588
  };
637
589
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
638
- "/subscription-notifications/{subscriptionId}";
639
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriptionId", () => input.subscriptionId, "{subscriptionId}", false);
590
+ "/v1/subscribers/{subscriberId}/notification";
591
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "subscriberId", () => input.subscriberId, "{subscriberId}", false);
640
592
  let body;
641
593
  body = JSON.stringify((0, smithy_client_1.take)(input, {
642
- createSqs: [],
643
- httpsApiKeyName: [],
644
- httpsApiKeyValue: [],
645
- httpsMethod: [],
646
- roleArn: [],
647
- subscriptionEndpoint: [],
594
+ configuration: (_) => (0, smithy_client_1._json)(_),
648
595
  }));
649
596
  return new protocol_http_1.HttpRequest({
650
597
  protocol,
@@ -656,7 +603,7 @@ const se_UpdateSubscriptionNotificationConfigurationCommand = async (input, cont
656
603
  body,
657
604
  });
658
605
  };
659
- exports.se_UpdateSubscriptionNotificationConfigurationCommand = se_UpdateSubscriptionNotificationConfigurationCommand;
606
+ exports.se_UpdateSubscriberNotificationCommand = se_UpdateSubscriberNotificationCommand;
660
607
  const de_CreateAwsLogSourceCommand = async (output, context) => {
661
608
  if (output.statusCode !== 200 && output.statusCode >= 300) {
662
609
  return de_CreateAwsLogSourceCommandError(output, context);
@@ -667,7 +614,6 @@ const de_CreateAwsLogSourceCommand = async (output, context) => {
667
614
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
668
615
  const doc = (0, smithy_client_1.take)(data, {
669
616
  failed: smithy_client_1._json,
670
- processing: smithy_client_1._json,
671
617
  });
672
618
  Object.assign(contents, doc);
673
619
  return contents;
@@ -683,21 +629,21 @@ const de_CreateAwsLogSourceCommandError = async (output, context) => {
683
629
  case "AccessDeniedException":
684
630
  case "com.amazonaws.securitylake#AccessDeniedException":
685
631
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
686
- case "AccountNotFoundException":
687
- case "com.amazonaws.securitylake#AccountNotFoundException":
688
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
632
+ case "BadRequestException":
633
+ case "com.amazonaws.securitylake#BadRequestException":
634
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
635
+ case "ConflictException":
636
+ case "com.amazonaws.securitylake#ConflictException":
637
+ throw await de_ConflictExceptionRes(parsedOutput, context);
689
638
  case "InternalServerException":
690
639
  case "com.amazonaws.securitylake#InternalServerException":
691
640
  throw await de_InternalServerExceptionRes(parsedOutput, context);
692
641
  case "ResourceNotFoundException":
693
642
  case "com.amazonaws.securitylake#ResourceNotFoundException":
694
643
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
695
- case "S3Exception":
696
- case "com.amazonaws.securitylake#S3Exception":
697
- throw await de_S3ExceptionRes(parsedOutput, context);
698
- case "ValidationException":
699
- case "com.amazonaws.securitylake#ValidationException":
700
- throw await de_ValidationExceptionRes(parsedOutput, context);
644
+ case "ThrottlingException":
645
+ case "com.amazonaws.securitylake#ThrottlingException":
646
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
701
647
  default:
702
648
  const parsedBody = parsedOutput.body;
703
649
  return throwDefaultError({
@@ -716,11 +662,7 @@ const de_CreateCustomLogSourceCommand = async (output, context) => {
716
662
  });
717
663
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
718
664
  const doc = (0, smithy_client_1.take)(data, {
719
- customDataLocation: smithy_client_1.expectString,
720
- glueCrawlerName: smithy_client_1.expectString,
721
- glueDatabaseName: smithy_client_1.expectString,
722
- glueTableName: smithy_client_1.expectString,
723
- logProviderAccessRoleArn: smithy_client_1.expectString,
665
+ source: smithy_client_1._json,
724
666
  });
725
667
  Object.assign(contents, doc);
726
668
  return contents;
@@ -736,24 +678,21 @@ const de_CreateCustomLogSourceCommandError = async (output, context) => {
736
678
  case "AccessDeniedException":
737
679
  case "com.amazonaws.securitylake#AccessDeniedException":
738
680
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
739
- case "AccountNotFoundException":
740
- case "com.amazonaws.securitylake#AccountNotFoundException":
741
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
742
- case "BucketNotFoundException":
743
- case "com.amazonaws.securitylake#BucketNotFoundException":
744
- throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
745
- case "ConflictSourceNamesException":
746
- case "com.amazonaws.securitylake#ConflictSourceNamesException":
747
- throw await de_ConflictSourceNamesExceptionRes(parsedOutput, context);
681
+ case "BadRequestException":
682
+ case "com.amazonaws.securitylake#BadRequestException":
683
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
684
+ case "ConflictException":
685
+ case "com.amazonaws.securitylake#ConflictException":
686
+ throw await de_ConflictExceptionRes(parsedOutput, context);
748
687
  case "InternalServerException":
749
688
  case "com.amazonaws.securitylake#InternalServerException":
750
689
  throw await de_InternalServerExceptionRes(parsedOutput, context);
751
690
  case "ResourceNotFoundException":
752
691
  case "com.amazonaws.securitylake#ResourceNotFoundException":
753
692
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
754
- case "ValidationException":
755
- case "com.amazonaws.securitylake#ValidationException":
756
- throw await de_ValidationExceptionRes(parsedOutput, context);
693
+ case "ThrottlingException":
694
+ case "com.amazonaws.securitylake#ThrottlingException":
695
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
757
696
  default:
758
697
  const parsedBody = parsedOutput.body;
759
698
  return throwDefaultError({
@@ -763,18 +702,22 @@ const de_CreateCustomLogSourceCommandError = async (output, context) => {
763
702
  });
764
703
  }
765
704
  };
766
- const de_CreateDatalakeCommand = async (output, context) => {
705
+ const de_CreateDataLakeCommand = async (output, context) => {
767
706
  if (output.statusCode !== 200 && output.statusCode >= 300) {
768
- return de_CreateDatalakeCommandError(output, context);
707
+ return de_CreateDataLakeCommandError(output, context);
769
708
  }
770
709
  const contents = (0, smithy_client_1.map)({
771
710
  $metadata: deserializeMetadata(output),
772
711
  });
773
- await collectBody(output.body, context);
712
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
713
+ const doc = (0, smithy_client_1.take)(data, {
714
+ dataLakes: smithy_client_1._json,
715
+ });
716
+ Object.assign(contents, doc);
774
717
  return contents;
775
718
  };
776
- exports.de_CreateDatalakeCommand = de_CreateDatalakeCommand;
777
- const de_CreateDatalakeCommandError = async (output, context) => {
719
+ exports.de_CreateDataLakeCommand = de_CreateDataLakeCommand;
720
+ const de_CreateDataLakeCommandError = async (output, context) => {
778
721
  const parsedOutput = {
779
722
  ...output,
780
723
  body: await parseErrorBody(output.body, context),
@@ -784,6 +727,9 @@ const de_CreateDatalakeCommandError = async (output, context) => {
784
727
  case "AccessDeniedException":
785
728
  case "com.amazonaws.securitylake#AccessDeniedException":
786
729
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
730
+ case "BadRequestException":
731
+ case "com.amazonaws.securitylake#BadRequestException":
732
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
787
733
  case "ConflictException":
788
734
  case "com.amazonaws.securitylake#ConflictException":
789
735
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -793,15 +739,9 @@ const de_CreateDatalakeCommandError = async (output, context) => {
793
739
  case "ResourceNotFoundException":
794
740
  case "com.amazonaws.securitylake#ResourceNotFoundException":
795
741
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
796
- case "ServiceQuotaExceededException":
797
- case "com.amazonaws.securitylake#ServiceQuotaExceededException":
798
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
799
742
  case "ThrottlingException":
800
743
  case "com.amazonaws.securitylake#ThrottlingException":
801
744
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
802
- case "ValidationException":
803
- case "com.amazonaws.securitylake#ValidationException":
804
- throw await de_ValidationExceptionRes(parsedOutput, context);
805
745
  default:
806
746
  const parsedBody = parsedOutput.body;
807
747
  return throwDefaultError({
@@ -811,9 +751,9 @@ const de_CreateDatalakeCommandError = async (output, context) => {
811
751
  });
812
752
  }
813
753
  };
814
- const de_CreateDatalakeAutoEnableCommand = async (output, context) => {
754
+ const de_CreateDataLakeExceptionSubscriptionCommand = async (output, context) => {
815
755
  if (output.statusCode !== 200 && output.statusCode >= 300) {
816
- return de_CreateDatalakeAutoEnableCommandError(output, context);
756
+ return de_CreateDataLakeExceptionSubscriptionCommandError(output, context);
817
757
  }
818
758
  const contents = (0, smithy_client_1.map)({
819
759
  $metadata: deserializeMetadata(output),
@@ -821,47 +761,8 @@ const de_CreateDatalakeAutoEnableCommand = async (output, context) => {
821
761
  await collectBody(output.body, context);
822
762
  return contents;
823
763
  };
824
- exports.de_CreateDatalakeAutoEnableCommand = de_CreateDatalakeAutoEnableCommand;
825
- const de_CreateDatalakeAutoEnableCommandError = async (output, context) => {
826
- const parsedOutput = {
827
- ...output,
828
- body: await parseErrorBody(output.body, context),
829
- };
830
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
831
- switch (errorCode) {
832
- case "AccessDeniedException":
833
- case "com.amazonaws.securitylake#AccessDeniedException":
834
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
835
- case "AccountNotFoundException":
836
- case "com.amazonaws.securitylake#AccountNotFoundException":
837
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
838
- case "InternalServerException":
839
- case "com.amazonaws.securitylake#InternalServerException":
840
- throw await de_InternalServerExceptionRes(parsedOutput, context);
841
- case "ValidationException":
842
- case "com.amazonaws.securitylake#ValidationException":
843
- throw await de_ValidationExceptionRes(parsedOutput, context);
844
- default:
845
- const parsedBody = parsedOutput.body;
846
- return throwDefaultError({
847
- output,
848
- parsedBody,
849
- errorCode,
850
- });
851
- }
852
- };
853
- const de_CreateDatalakeDelegatedAdminCommand = async (output, context) => {
854
- if (output.statusCode !== 200 && output.statusCode >= 300) {
855
- return de_CreateDatalakeDelegatedAdminCommandError(output, context);
856
- }
857
- const contents = (0, smithy_client_1.map)({
858
- $metadata: deserializeMetadata(output),
859
- });
860
- await collectBody(output.body, context);
861
- return contents;
862
- };
863
- exports.de_CreateDatalakeDelegatedAdminCommand = de_CreateDatalakeDelegatedAdminCommand;
864
- const de_CreateDatalakeDelegatedAdminCommandError = async (output, context) => {
764
+ exports.de_CreateDataLakeExceptionSubscriptionCommand = de_CreateDataLakeExceptionSubscriptionCommand;
765
+ const de_CreateDataLakeExceptionSubscriptionCommandError = async (output, context) => {
865
766
  const parsedOutput = {
866
767
  ...output,
867
768
  body: await parseErrorBody(output.body, context),
@@ -871,15 +772,21 @@ const de_CreateDatalakeDelegatedAdminCommandError = async (output, context) => {
871
772
  case "AccessDeniedException":
872
773
  case "com.amazonaws.securitylake#AccessDeniedException":
873
774
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
775
+ case "BadRequestException":
776
+ case "com.amazonaws.securitylake#BadRequestException":
777
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
778
+ case "ConflictException":
779
+ case "com.amazonaws.securitylake#ConflictException":
780
+ throw await de_ConflictExceptionRes(parsedOutput, context);
874
781
  case "InternalServerException":
875
782
  case "com.amazonaws.securitylake#InternalServerException":
876
783
  throw await de_InternalServerExceptionRes(parsedOutput, context);
784
+ case "ResourceNotFoundException":
785
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
786
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
877
787
  case "ThrottlingException":
878
788
  case "com.amazonaws.securitylake#ThrottlingException":
879
789
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
880
- case "ValidationException":
881
- case "com.amazonaws.securitylake#ValidationException":
882
- throw await de_ValidationExceptionRes(parsedOutput, context);
883
790
  default:
884
791
  const parsedBody = parsedOutput.body;
885
792
  return throwDefaultError({
@@ -889,9 +796,9 @@ const de_CreateDatalakeDelegatedAdminCommandError = async (output, context) => {
889
796
  });
890
797
  }
891
798
  };
892
- const de_CreateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
799
+ const de_CreateDataLakeOrganizationConfigurationCommand = async (output, context) => {
893
800
  if (output.statusCode !== 200 && output.statusCode >= 300) {
894
- return de_CreateDatalakeExceptionsSubscriptionCommandError(output, context);
801
+ return de_CreateDataLakeOrganizationConfigurationCommandError(output, context);
895
802
  }
896
803
  const contents = (0, smithy_client_1.map)({
897
804
  $metadata: deserializeMetadata(output),
@@ -899,8 +806,8 @@ const de_CreateDatalakeExceptionsSubscriptionCommand = async (output, context) =
899
806
  await collectBody(output.body, context);
900
807
  return contents;
901
808
  };
902
- exports.de_CreateDatalakeExceptionsSubscriptionCommand = de_CreateDatalakeExceptionsSubscriptionCommand;
903
- const de_CreateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
809
+ exports.de_CreateDataLakeOrganizationConfigurationCommand = de_CreateDataLakeOrganizationConfigurationCommand;
810
+ const de_CreateDataLakeOrganizationConfigurationCommandError = async (output, context) => {
904
811
  const parsedOutput = {
905
812
  ...output,
906
813
  body: await parseErrorBody(output.body, context),
@@ -910,15 +817,21 @@ const de_CreateDatalakeExceptionsSubscriptionCommandError = async (output, conte
910
817
  case "AccessDeniedException":
911
818
  case "com.amazonaws.securitylake#AccessDeniedException":
912
819
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
913
- case "AccountNotFoundException":
914
- case "com.amazonaws.securitylake#AccountNotFoundException":
915
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
820
+ case "BadRequestException":
821
+ case "com.amazonaws.securitylake#BadRequestException":
822
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
823
+ case "ConflictException":
824
+ case "com.amazonaws.securitylake#ConflictException":
825
+ throw await de_ConflictExceptionRes(parsedOutput, context);
916
826
  case "InternalServerException":
917
827
  case "com.amazonaws.securitylake#InternalServerException":
918
828
  throw await de_InternalServerExceptionRes(parsedOutput, context);
919
- case "ValidationException":
920
- case "com.amazonaws.securitylake#ValidationException":
921
- throw await de_ValidationExceptionRes(parsedOutput, context);
829
+ case "ResourceNotFoundException":
830
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
831
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
832
+ case "ThrottlingException":
833
+ case "com.amazonaws.securitylake#ThrottlingException":
834
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
922
835
  default:
923
836
  const parsedBody = parsedOutput.body;
924
837
  return throwDefaultError({
@@ -937,12 +850,7 @@ const de_CreateSubscriberCommand = async (output, context) => {
937
850
  });
938
851
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
939
852
  const doc = (0, smithy_client_1.take)(data, {
940
- resourceShareArn: smithy_client_1.expectString,
941
- resourceShareName: smithy_client_1.expectString,
942
- roleArn: smithy_client_1.expectString,
943
- s3BucketArn: smithy_client_1.expectString,
944
- snsArn: smithy_client_1.expectString,
945
- subscriptionId: smithy_client_1.expectString,
853
+ subscriber: (_) => de_SubscriberResource(_, context),
946
854
  });
947
855
  Object.assign(contents, doc);
948
856
  return contents;
@@ -958,27 +866,21 @@ const de_CreateSubscriberCommandError = async (output, context) => {
958
866
  case "AccessDeniedException":
959
867
  case "com.amazonaws.securitylake#AccessDeniedException":
960
868
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
961
- case "AccountNotFoundException":
962
- case "com.amazonaws.securitylake#AccountNotFoundException":
963
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
964
- case "BucketNotFoundException":
965
- case "com.amazonaws.securitylake#BucketNotFoundException":
966
- throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
967
- case "ConflictSubscriptionException":
968
- case "com.amazonaws.securitylake#ConflictSubscriptionException":
969
- throw await de_ConflictSubscriptionExceptionRes(parsedOutput, context);
869
+ case "BadRequestException":
870
+ case "com.amazonaws.securitylake#BadRequestException":
871
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
872
+ case "ConflictException":
873
+ case "com.amazonaws.securitylake#ConflictException":
874
+ throw await de_ConflictExceptionRes(parsedOutput, context);
970
875
  case "InternalServerException":
971
876
  case "com.amazonaws.securitylake#InternalServerException":
972
877
  throw await de_InternalServerExceptionRes(parsedOutput, context);
973
- case "InvalidInputException":
974
- case "com.amazonaws.securitylake#InvalidInputException":
975
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
976
878
  case "ResourceNotFoundException":
977
879
  case "com.amazonaws.securitylake#ResourceNotFoundException":
978
880
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
979
- case "ValidationException":
980
- case "com.amazonaws.securitylake#ValidationException":
981
- throw await de_ValidationExceptionRes(parsedOutput, context);
881
+ case "ThrottlingException":
882
+ case "com.amazonaws.securitylake#ThrottlingException":
883
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
982
884
  default:
983
885
  const parsedBody = parsedOutput.body;
984
886
  return throwDefaultError({
@@ -988,22 +890,22 @@ const de_CreateSubscriberCommandError = async (output, context) => {
988
890
  });
989
891
  }
990
892
  };
991
- const de_CreateSubscriptionNotificationConfigurationCommand = async (output, context) => {
893
+ const de_CreateSubscriberNotificationCommand = async (output, context) => {
992
894
  if (output.statusCode !== 200 && output.statusCode >= 300) {
993
- return de_CreateSubscriptionNotificationConfigurationCommandError(output, context);
895
+ return de_CreateSubscriberNotificationCommandError(output, context);
994
896
  }
995
897
  const contents = (0, smithy_client_1.map)({
996
898
  $metadata: deserializeMetadata(output),
997
899
  });
998
900
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
999
901
  const doc = (0, smithy_client_1.take)(data, {
1000
- queueArn: smithy_client_1.expectString,
902
+ subscriberEndpoint: smithy_client_1.expectString,
1001
903
  });
1002
904
  Object.assign(contents, doc);
1003
905
  return contents;
1004
906
  };
1005
- exports.de_CreateSubscriptionNotificationConfigurationCommand = de_CreateSubscriptionNotificationConfigurationCommand;
1006
- const de_CreateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
907
+ exports.de_CreateSubscriberNotificationCommand = de_CreateSubscriberNotificationCommand;
908
+ const de_CreateSubscriberNotificationCommandError = async (output, context) => {
1007
909
  const parsedOutput = {
1008
910
  ...output,
1009
911
  body: await parseErrorBody(output.body, context),
@@ -1013,24 +915,21 @@ const de_CreateSubscriptionNotificationConfigurationCommandError = async (output
1013
915
  case "AccessDeniedException":
1014
916
  case "com.amazonaws.securitylake#AccessDeniedException":
1015
917
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1016
- case "AccountNotFoundException":
1017
- case "com.amazonaws.securitylake#AccountNotFoundException":
1018
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1019
- case "ConcurrentModificationException":
1020
- case "com.amazonaws.securitylake#ConcurrentModificationException":
1021
- throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
918
+ case "BadRequestException":
919
+ case "com.amazonaws.securitylake#BadRequestException":
920
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
921
+ case "ConflictException":
922
+ case "com.amazonaws.securitylake#ConflictException":
923
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1022
924
  case "InternalServerException":
1023
925
  case "com.amazonaws.securitylake#InternalServerException":
1024
926
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1025
- case "InvalidInputException":
1026
- case "com.amazonaws.securitylake#InvalidInputException":
1027
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1028
927
  case "ResourceNotFoundException":
1029
928
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1030
929
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1031
- case "ValidationException":
1032
- case "com.amazonaws.securitylake#ValidationException":
1033
- throw await de_ValidationExceptionRes(parsedOutput, context);
930
+ case "ThrottlingException":
931
+ case "com.amazonaws.securitylake#ThrottlingException":
932
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1034
933
  default:
1035
934
  const parsedBody = parsedOutput.body;
1036
935
  return throwDefaultError({
@@ -1050,7 +949,6 @@ const de_DeleteAwsLogSourceCommand = async (output, context) => {
1050
949
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1051
950
  const doc = (0, smithy_client_1.take)(data, {
1052
951
  failed: smithy_client_1._json,
1053
- processing: smithy_client_1._json,
1054
952
  });
1055
953
  Object.assign(contents, doc);
1056
954
  return contents;
@@ -1066,15 +964,21 @@ const de_DeleteAwsLogSourceCommandError = async (output, context) => {
1066
964
  case "AccessDeniedException":
1067
965
  case "com.amazonaws.securitylake#AccessDeniedException":
1068
966
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1069
- case "AccountNotFoundException":
1070
- case "com.amazonaws.securitylake#AccountNotFoundException":
1071
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
967
+ case "BadRequestException":
968
+ case "com.amazonaws.securitylake#BadRequestException":
969
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
970
+ case "ConflictException":
971
+ case "com.amazonaws.securitylake#ConflictException":
972
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1072
973
  case "InternalServerException":
1073
974
  case "com.amazonaws.securitylake#InternalServerException":
1074
975
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1075
- case "ValidationException":
1076
- case "com.amazonaws.securitylake#ValidationException":
1077
- throw await de_ValidationExceptionRes(parsedOutput, context);
976
+ case "ResourceNotFoundException":
977
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
978
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
979
+ case "ThrottlingException":
980
+ case "com.amazonaws.securitylake#ThrottlingException":
981
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1078
982
  default:
1079
983
  const parsedBody = parsedOutput.body;
1080
984
  return throwDefaultError({
@@ -1091,11 +995,7 @@ const de_DeleteCustomLogSourceCommand = async (output, context) => {
1091
995
  const contents = (0, smithy_client_1.map)({
1092
996
  $metadata: deserializeMetadata(output),
1093
997
  });
1094
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1095
- const doc = (0, smithy_client_1.take)(data, {
1096
- customDataLocation: smithy_client_1.expectString,
1097
- });
1098
- Object.assign(contents, doc);
998
+ await collectBody(output.body, context);
1099
999
  return contents;
1100
1000
  };
1101
1001
  exports.de_DeleteCustomLogSourceCommand = de_DeleteCustomLogSourceCommand;
@@ -1109,24 +1009,21 @@ const de_DeleteCustomLogSourceCommandError = async (output, context) => {
1109
1009
  case "AccessDeniedException":
1110
1010
  case "com.amazonaws.securitylake#AccessDeniedException":
1111
1011
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1112
- case "AccountNotFoundException":
1113
- case "com.amazonaws.securitylake#AccountNotFoundException":
1114
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1115
- case "BucketNotFoundException":
1116
- case "com.amazonaws.securitylake#BucketNotFoundException":
1117
- throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
1118
- case "ConflictSourceNamesException":
1119
- case "com.amazonaws.securitylake#ConflictSourceNamesException":
1120
- throw await de_ConflictSourceNamesExceptionRes(parsedOutput, context);
1012
+ case "BadRequestException":
1013
+ case "com.amazonaws.securitylake#BadRequestException":
1014
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1015
+ case "ConflictException":
1016
+ case "com.amazonaws.securitylake#ConflictException":
1017
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1121
1018
  case "InternalServerException":
1122
1019
  case "com.amazonaws.securitylake#InternalServerException":
1123
1020
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1124
1021
  case "ResourceNotFoundException":
1125
1022
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1126
1023
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1127
- case "ValidationException":
1128
- case "com.amazonaws.securitylake#ValidationException":
1129
- throw await de_ValidationExceptionRes(parsedOutput, context);
1024
+ case "ThrottlingException":
1025
+ case "com.amazonaws.securitylake#ThrottlingException":
1026
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1130
1027
  default:
1131
1028
  const parsedBody = parsedOutput.body;
1132
1029
  return throwDefaultError({
@@ -1136,9 +1033,9 @@ const de_DeleteCustomLogSourceCommandError = async (output, context) => {
1136
1033
  });
1137
1034
  }
1138
1035
  };
1139
- const de_DeleteDatalakeCommand = async (output, context) => {
1036
+ const de_DeleteDataLakeCommand = async (output, context) => {
1140
1037
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1141
- return de_DeleteDatalakeCommandError(output, context);
1038
+ return de_DeleteDataLakeCommandError(output, context);
1142
1039
  }
1143
1040
  const contents = (0, smithy_client_1.map)({
1144
1041
  $metadata: deserializeMetadata(output),
@@ -1146,8 +1043,8 @@ const de_DeleteDatalakeCommand = async (output, context) => {
1146
1043
  await collectBody(output.body, context);
1147
1044
  return contents;
1148
1045
  };
1149
- exports.de_DeleteDatalakeCommand = de_DeleteDatalakeCommand;
1150
- const de_DeleteDatalakeCommandError = async (output, context) => {
1046
+ exports.de_DeleteDataLakeCommand = de_DeleteDataLakeCommand;
1047
+ const de_DeleteDataLakeCommandError = async (output, context) => {
1151
1048
  const parsedOutput = {
1152
1049
  ...output,
1153
1050
  body: await parseErrorBody(output.body, context),
@@ -1157,6 +1054,9 @@ const de_DeleteDatalakeCommandError = async (output, context) => {
1157
1054
  case "AccessDeniedException":
1158
1055
  case "com.amazonaws.securitylake#AccessDeniedException":
1159
1056
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1057
+ case "BadRequestException":
1058
+ case "com.amazonaws.securitylake#BadRequestException":
1059
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1160
1060
  case "ConflictException":
1161
1061
  case "com.amazonaws.securitylake#ConflictException":
1162
1062
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -1166,15 +1066,9 @@ const de_DeleteDatalakeCommandError = async (output, context) => {
1166
1066
  case "ResourceNotFoundException":
1167
1067
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1168
1068
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1169
- case "ServiceQuotaExceededException":
1170
- case "com.amazonaws.securitylake#ServiceQuotaExceededException":
1171
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1172
1069
  case "ThrottlingException":
1173
1070
  case "com.amazonaws.securitylake#ThrottlingException":
1174
1071
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
1175
- case "ValidationException":
1176
- case "com.amazonaws.securitylake#ValidationException":
1177
- throw await de_ValidationExceptionRes(parsedOutput, context);
1178
1072
  default:
1179
1073
  const parsedBody = parsedOutput.body;
1180
1074
  return throwDefaultError({
@@ -1184,9 +1078,9 @@ const de_DeleteDatalakeCommandError = async (output, context) => {
1184
1078
  });
1185
1079
  }
1186
1080
  };
1187
- const de_DeleteDatalakeAutoEnableCommand = async (output, context) => {
1081
+ const de_DeleteDataLakeExceptionSubscriptionCommand = async (output, context) => {
1188
1082
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1189
- return de_DeleteDatalakeAutoEnableCommandError(output, context);
1083
+ return de_DeleteDataLakeExceptionSubscriptionCommandError(output, context);
1190
1084
  }
1191
1085
  const contents = (0, smithy_client_1.map)({
1192
1086
  $metadata: deserializeMetadata(output),
@@ -1194,8 +1088,8 @@ const de_DeleteDatalakeAutoEnableCommand = async (output, context) => {
1194
1088
  await collectBody(output.body, context);
1195
1089
  return contents;
1196
1090
  };
1197
- exports.de_DeleteDatalakeAutoEnableCommand = de_DeleteDatalakeAutoEnableCommand;
1198
- const de_DeleteDatalakeAutoEnableCommandError = async (output, context) => {
1091
+ exports.de_DeleteDataLakeExceptionSubscriptionCommand = de_DeleteDataLakeExceptionSubscriptionCommand;
1092
+ const de_DeleteDataLakeExceptionSubscriptionCommandError = async (output, context) => {
1199
1093
  const parsedOutput = {
1200
1094
  ...output,
1201
1095
  body: await parseErrorBody(output.body, context),
@@ -1205,15 +1099,21 @@ const de_DeleteDatalakeAutoEnableCommandError = async (output, context) => {
1205
1099
  case "AccessDeniedException":
1206
1100
  case "com.amazonaws.securitylake#AccessDeniedException":
1207
1101
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1208
- case "AccountNotFoundException":
1209
- case "com.amazonaws.securitylake#AccountNotFoundException":
1210
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1102
+ case "BadRequestException":
1103
+ case "com.amazonaws.securitylake#BadRequestException":
1104
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1105
+ case "ConflictException":
1106
+ case "com.amazonaws.securitylake#ConflictException":
1107
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1211
1108
  case "InternalServerException":
1212
1109
  case "com.amazonaws.securitylake#InternalServerException":
1213
1110
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1214
- case "ValidationException":
1215
- case "com.amazonaws.securitylake#ValidationException":
1216
- throw await de_ValidationExceptionRes(parsedOutput, context);
1111
+ case "ResourceNotFoundException":
1112
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1113
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1114
+ case "ThrottlingException":
1115
+ case "com.amazonaws.securitylake#ThrottlingException":
1116
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1217
1117
  default:
1218
1118
  const parsedBody = parsedOutput.body;
1219
1119
  return throwDefaultError({
@@ -1223,9 +1123,9 @@ const de_DeleteDatalakeAutoEnableCommandError = async (output, context) => {
1223
1123
  });
1224
1124
  }
1225
1125
  };
1226
- const de_DeleteDatalakeDelegatedAdminCommand = async (output, context) => {
1126
+ const de_DeleteDataLakeOrganizationConfigurationCommand = async (output, context) => {
1227
1127
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1228
- return de_DeleteDatalakeDelegatedAdminCommandError(output, context);
1128
+ return de_DeleteDataLakeOrganizationConfigurationCommandError(output, context);
1229
1129
  }
1230
1130
  const contents = (0, smithy_client_1.map)({
1231
1131
  $metadata: deserializeMetadata(output),
@@ -1233,8 +1133,8 @@ const de_DeleteDatalakeDelegatedAdminCommand = async (output, context) => {
1233
1133
  await collectBody(output.body, context);
1234
1134
  return contents;
1235
1135
  };
1236
- exports.de_DeleteDatalakeDelegatedAdminCommand = de_DeleteDatalakeDelegatedAdminCommand;
1237
- const de_DeleteDatalakeDelegatedAdminCommandError = async (output, context) => {
1136
+ exports.de_DeleteDataLakeOrganizationConfigurationCommand = de_DeleteDataLakeOrganizationConfigurationCommand;
1137
+ const de_DeleteDataLakeOrganizationConfigurationCommandError = async (output, context) => {
1238
1138
  const parsedOutput = {
1239
1139
  ...output,
1240
1140
  body: await parseErrorBody(output.body, context),
@@ -1244,15 +1144,21 @@ const de_DeleteDatalakeDelegatedAdminCommandError = async (output, context) => {
1244
1144
  case "AccessDeniedException":
1245
1145
  case "com.amazonaws.securitylake#AccessDeniedException":
1246
1146
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1147
+ case "BadRequestException":
1148
+ case "com.amazonaws.securitylake#BadRequestException":
1149
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1150
+ case "ConflictException":
1151
+ case "com.amazonaws.securitylake#ConflictException":
1152
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1247
1153
  case "InternalServerException":
1248
1154
  case "com.amazonaws.securitylake#InternalServerException":
1249
1155
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1156
+ case "ResourceNotFoundException":
1157
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1158
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1250
1159
  case "ThrottlingException":
1251
1160
  case "com.amazonaws.securitylake#ThrottlingException":
1252
1161
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
1253
- case "ValidationException":
1254
- case "com.amazonaws.securitylake#ValidationException":
1255
- throw await de_ValidationExceptionRes(parsedOutput, context);
1256
1162
  default:
1257
1163
  const parsedBody = parsedOutput.body;
1258
1164
  return throwDefaultError({
@@ -1262,22 +1168,18 @@ const de_DeleteDatalakeDelegatedAdminCommandError = async (output, context) => {
1262
1168
  });
1263
1169
  }
1264
1170
  };
1265
- const de_DeleteDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1171
+ const de_DeleteSubscriberCommand = async (output, context) => {
1266
1172
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1267
- return de_DeleteDatalakeExceptionsSubscriptionCommandError(output, context);
1173
+ return de_DeleteSubscriberCommandError(output, context);
1268
1174
  }
1269
1175
  const contents = (0, smithy_client_1.map)({
1270
1176
  $metadata: deserializeMetadata(output),
1271
1177
  });
1272
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1273
- const doc = (0, smithy_client_1.take)(data, {
1274
- status: smithy_client_1.expectString,
1275
- });
1276
- Object.assign(contents, doc);
1178
+ await collectBody(output.body, context);
1277
1179
  return contents;
1278
1180
  };
1279
- exports.de_DeleteDatalakeExceptionsSubscriptionCommand = de_DeleteDatalakeExceptionsSubscriptionCommand;
1280
- const de_DeleteDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1181
+ exports.de_DeleteSubscriberCommand = de_DeleteSubscriberCommand;
1182
+ const de_DeleteSubscriberCommandError = async (output, context) => {
1281
1183
  const parsedOutput = {
1282
1184
  ...output,
1283
1185
  body: await parseErrorBody(output.body, context),
@@ -1287,15 +1189,21 @@ const de_DeleteDatalakeExceptionsSubscriptionCommandError = async (output, conte
1287
1189
  case "AccessDeniedException":
1288
1190
  case "com.amazonaws.securitylake#AccessDeniedException":
1289
1191
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1290
- case "AccountNotFoundException":
1291
- case "com.amazonaws.securitylake#AccountNotFoundException":
1292
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1192
+ case "BadRequestException":
1193
+ case "com.amazonaws.securitylake#BadRequestException":
1194
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1195
+ case "ConflictException":
1196
+ case "com.amazonaws.securitylake#ConflictException":
1197
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1293
1198
  case "InternalServerException":
1294
1199
  case "com.amazonaws.securitylake#InternalServerException":
1295
1200
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1296
- case "ValidationException":
1297
- case "com.amazonaws.securitylake#ValidationException":
1298
- throw await de_ValidationExceptionRes(parsedOutput, context);
1201
+ case "ResourceNotFoundException":
1202
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1203
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1204
+ case "ThrottlingException":
1205
+ case "com.amazonaws.securitylake#ThrottlingException":
1206
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1299
1207
  default:
1300
1208
  const parsedBody = parsedOutput.body;
1301
1209
  return throwDefaultError({
@@ -1305,9 +1213,9 @@ const de_DeleteDatalakeExceptionsSubscriptionCommandError = async (output, conte
1305
1213
  });
1306
1214
  }
1307
1215
  };
1308
- const de_DeleteSubscriberCommand = async (output, context) => {
1216
+ const de_DeleteSubscriberNotificationCommand = async (output, context) => {
1309
1217
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1310
- return de_DeleteSubscriberCommandError(output, context);
1218
+ return de_DeleteSubscriberNotificationCommandError(output, context);
1311
1219
  }
1312
1220
  const contents = (0, smithy_client_1.map)({
1313
1221
  $metadata: deserializeMetadata(output),
@@ -1315,8 +1223,8 @@ const de_DeleteSubscriberCommand = async (output, context) => {
1315
1223
  await collectBody(output.body, context);
1316
1224
  return contents;
1317
1225
  };
1318
- exports.de_DeleteSubscriberCommand = de_DeleteSubscriberCommand;
1319
- const de_DeleteSubscriberCommandError = async (output, context) => {
1226
+ exports.de_DeleteSubscriberNotificationCommand = de_DeleteSubscriberNotificationCommand;
1227
+ const de_DeleteSubscriberNotificationCommandError = async (output, context) => {
1320
1228
  const parsedOutput = {
1321
1229
  ...output,
1322
1230
  body: await parseErrorBody(output.body, context),
@@ -1326,27 +1234,21 @@ const de_DeleteSubscriberCommandError = async (output, context) => {
1326
1234
  case "AccessDeniedException":
1327
1235
  case "com.amazonaws.securitylake#AccessDeniedException":
1328
1236
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1329
- case "AccountNotFoundException":
1330
- case "com.amazonaws.securitylake#AccountNotFoundException":
1331
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1332
- case "BucketNotFoundException":
1333
- case "com.amazonaws.securitylake#BucketNotFoundException":
1334
- throw await de_BucketNotFoundExceptionRes(parsedOutput, context);
1335
- case "ConcurrentModificationException":
1336
- case "com.amazonaws.securitylake#ConcurrentModificationException":
1337
- throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1237
+ case "BadRequestException":
1238
+ case "com.amazonaws.securitylake#BadRequestException":
1239
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1240
+ case "ConflictException":
1241
+ case "com.amazonaws.securitylake#ConflictException":
1242
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1338
1243
  case "InternalServerException":
1339
1244
  case "com.amazonaws.securitylake#InternalServerException":
1340
1245
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1341
- case "InvalidInputException":
1342
- case "com.amazonaws.securitylake#InvalidInputException":
1343
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1344
1246
  case "ResourceNotFoundException":
1345
1247
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1346
1248
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1347
- case "ValidationException":
1348
- case "com.amazonaws.securitylake#ValidationException":
1349
- throw await de_ValidationExceptionRes(parsedOutput, context);
1249
+ case "ThrottlingException":
1250
+ case "com.amazonaws.securitylake#ThrottlingException":
1251
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1350
1252
  default:
1351
1253
  const parsedBody = parsedOutput.body;
1352
1254
  return throwDefaultError({
@@ -1356,9 +1258,9 @@ const de_DeleteSubscriberCommandError = async (output, context) => {
1356
1258
  });
1357
1259
  }
1358
1260
  };
1359
- const de_DeleteSubscriptionNotificationConfigurationCommand = async (output, context) => {
1261
+ const de_DeregisterDataLakeDelegatedAdministratorCommand = async (output, context) => {
1360
1262
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1361
- return de_DeleteSubscriptionNotificationConfigurationCommandError(output, context);
1263
+ return de_DeregisterDataLakeDelegatedAdministratorCommandError(output, context);
1362
1264
  }
1363
1265
  const contents = (0, smithy_client_1.map)({
1364
1266
  $metadata: deserializeMetadata(output),
@@ -1366,8 +1268,8 @@ const de_DeleteSubscriptionNotificationConfigurationCommand = async (output, con
1366
1268
  await collectBody(output.body, context);
1367
1269
  return contents;
1368
1270
  };
1369
- exports.de_DeleteSubscriptionNotificationConfigurationCommand = de_DeleteSubscriptionNotificationConfigurationCommand;
1370
- const de_DeleteSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1271
+ exports.de_DeregisterDataLakeDelegatedAdministratorCommand = de_DeregisterDataLakeDelegatedAdministratorCommand;
1272
+ const de_DeregisterDataLakeDelegatedAdministratorCommandError = async (output, context) => {
1371
1273
  const parsedOutput = {
1372
1274
  ...output,
1373
1275
  body: await parseErrorBody(output.body, context),
@@ -1377,25 +1279,22 @@ const de_DeleteSubscriptionNotificationConfigurationCommandError = async (output
1377
1279
  case "AccessDeniedException":
1378
1280
  case "com.amazonaws.securitylake#AccessDeniedException":
1379
1281
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1380
- case "AccountNotFoundException":
1381
- case "com.amazonaws.securitylake#AccountNotFoundException":
1382
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1383
- case "ConcurrentModificationException":
1384
- case "com.amazonaws.securitylake#ConcurrentModificationException":
1385
- throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1282
+ case "BadRequestException":
1283
+ case "com.amazonaws.securitylake#BadRequestException":
1284
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1285
+ case "ConflictException":
1286
+ case "com.amazonaws.securitylake#ConflictException":
1287
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1386
1288
  case "InternalServerException":
1387
1289
  case "com.amazonaws.securitylake#InternalServerException":
1388
1290
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1389
- case "InvalidInputException":
1390
- case "com.amazonaws.securitylake#InvalidInputException":
1391
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1392
1291
  case "ResourceNotFoundException":
1393
1292
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1394
1293
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1395
- case "ValidationException":
1396
- case "com.amazonaws.securitylake#ValidationException":
1397
- throw await de_ValidationExceptionRes(parsedOutput, context);
1398
- default:
1294
+ case "ThrottlingException":
1295
+ case "com.amazonaws.securitylake#ThrottlingException":
1296
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1297
+ default:
1399
1298
  const parsedBody = parsedOutput.body;
1400
1299
  return throwDefaultError({
1401
1300
  output,
@@ -1404,22 +1303,24 @@ const de_DeleteSubscriptionNotificationConfigurationCommandError = async (output
1404
1303
  });
1405
1304
  }
1406
1305
  };
1407
- const de_GetDatalakeCommand = async (output, context) => {
1306
+ const de_GetDataLakeExceptionSubscriptionCommand = async (output, context) => {
1408
1307
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1409
- return de_GetDatalakeCommandError(output, context);
1308
+ return de_GetDataLakeExceptionSubscriptionCommandError(output, context);
1410
1309
  }
1411
1310
  const contents = (0, smithy_client_1.map)({
1412
1311
  $metadata: deserializeMetadata(output),
1413
1312
  });
1414
1313
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1415
1314
  const doc = (0, smithy_client_1.take)(data, {
1416
- configurations: smithy_client_1._json,
1315
+ exceptionTimeToLive: smithy_client_1.expectLong,
1316
+ notificationEndpoint: smithy_client_1.expectString,
1317
+ subscriptionProtocol: smithy_client_1.expectString,
1417
1318
  });
1418
1319
  Object.assign(contents, doc);
1419
1320
  return contents;
1420
1321
  };
1421
- exports.de_GetDatalakeCommand = de_GetDatalakeCommand;
1422
- const de_GetDatalakeCommandError = async (output, context) => {
1322
+ exports.de_GetDataLakeExceptionSubscriptionCommand = de_GetDataLakeExceptionSubscriptionCommand;
1323
+ const de_GetDataLakeExceptionSubscriptionCommandError = async (output, context) => {
1423
1324
  const parsedOutput = {
1424
1325
  ...output,
1425
1326
  body: await parseErrorBody(output.body, context),
@@ -1429,18 +1330,21 @@ const de_GetDatalakeCommandError = async (output, context) => {
1429
1330
  case "AccessDeniedException":
1430
1331
  case "com.amazonaws.securitylake#AccessDeniedException":
1431
1332
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1432
- case "AccountNotFoundException":
1433
- case "com.amazonaws.securitylake#AccountNotFoundException":
1434
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1333
+ case "BadRequestException":
1334
+ case "com.amazonaws.securitylake#BadRequestException":
1335
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1336
+ case "ConflictException":
1337
+ case "com.amazonaws.securitylake#ConflictException":
1338
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1435
1339
  case "InternalServerException":
1436
1340
  case "com.amazonaws.securitylake#InternalServerException":
1437
1341
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1438
1342
  case "ResourceNotFoundException":
1439
1343
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1440
1344
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1441
- case "ValidationException":
1442
- case "com.amazonaws.securitylake#ValidationException":
1443
- throw await de_ValidationExceptionRes(parsedOutput, context);
1345
+ case "ThrottlingException":
1346
+ case "com.amazonaws.securitylake#ThrottlingException":
1347
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1444
1348
  default:
1445
1349
  const parsedBody = parsedOutput.body;
1446
1350
  return throwDefaultError({
@@ -1450,22 +1354,22 @@ const de_GetDatalakeCommandError = async (output, context) => {
1450
1354
  });
1451
1355
  }
1452
1356
  };
1453
- const de_GetDatalakeAutoEnableCommand = async (output, context) => {
1357
+ const de_GetDataLakeOrganizationConfigurationCommand = async (output, context) => {
1454
1358
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1455
- return de_GetDatalakeAutoEnableCommandError(output, context);
1359
+ return de_GetDataLakeOrganizationConfigurationCommandError(output, context);
1456
1360
  }
1457
1361
  const contents = (0, smithy_client_1.map)({
1458
1362
  $metadata: deserializeMetadata(output),
1459
1363
  });
1460
1364
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1461
1365
  const doc = (0, smithy_client_1.take)(data, {
1462
- autoEnableNewAccounts: smithy_client_1._json,
1366
+ autoEnableNewAccount: smithy_client_1._json,
1463
1367
  });
1464
1368
  Object.assign(contents, doc);
1465
1369
  return contents;
1466
1370
  };
1467
- exports.de_GetDatalakeAutoEnableCommand = de_GetDatalakeAutoEnableCommand;
1468
- const de_GetDatalakeAutoEnableCommandError = async (output, context) => {
1371
+ exports.de_GetDataLakeOrganizationConfigurationCommand = de_GetDataLakeOrganizationConfigurationCommand;
1372
+ const de_GetDataLakeOrganizationConfigurationCommandError = async (output, context) => {
1469
1373
  const parsedOutput = {
1470
1374
  ...output,
1471
1375
  body: await parseErrorBody(output.body, context),
@@ -1475,15 +1379,21 @@ const de_GetDatalakeAutoEnableCommandError = async (output, context) => {
1475
1379
  case "AccessDeniedException":
1476
1380
  case "com.amazonaws.securitylake#AccessDeniedException":
1477
1381
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1478
- case "AccountNotFoundException":
1479
- case "com.amazonaws.securitylake#AccountNotFoundException":
1480
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1382
+ case "BadRequestException":
1383
+ case "com.amazonaws.securitylake#BadRequestException":
1384
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1385
+ case "ConflictException":
1386
+ case "com.amazonaws.securitylake#ConflictException":
1387
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1481
1388
  case "InternalServerException":
1482
1389
  case "com.amazonaws.securitylake#InternalServerException":
1483
1390
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1484
- case "ValidationException":
1485
- case "com.amazonaws.securitylake#ValidationException":
1486
- throw await de_ValidationExceptionRes(parsedOutput, context);
1391
+ case "ResourceNotFoundException":
1392
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1393
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1394
+ case "ThrottlingException":
1395
+ case "com.amazonaws.securitylake#ThrottlingException":
1396
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1487
1397
  default:
1488
1398
  const parsedBody = parsedOutput.body;
1489
1399
  return throwDefaultError({
@@ -1493,22 +1403,24 @@ const de_GetDatalakeAutoEnableCommandError = async (output, context) => {
1493
1403
  });
1494
1404
  }
1495
1405
  };
1496
- const de_GetDatalakeExceptionsExpiryCommand = async (output, context) => {
1406
+ const de_GetDataLakeSourcesCommand = async (output, context) => {
1497
1407
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1498
- return de_GetDatalakeExceptionsExpiryCommandError(output, context);
1408
+ return de_GetDataLakeSourcesCommandError(output, context);
1499
1409
  }
1500
1410
  const contents = (0, smithy_client_1.map)({
1501
1411
  $metadata: deserializeMetadata(output),
1502
1412
  });
1503
1413
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1504
1414
  const doc = (0, smithy_client_1.take)(data, {
1505
- exceptionMessageExpiry: smithy_client_1.expectLong,
1415
+ dataLakeArn: smithy_client_1.expectString,
1416
+ dataLakeSources: smithy_client_1._json,
1417
+ nextToken: smithy_client_1.expectString,
1506
1418
  });
1507
1419
  Object.assign(contents, doc);
1508
1420
  return contents;
1509
1421
  };
1510
- exports.de_GetDatalakeExceptionsExpiryCommand = de_GetDatalakeExceptionsExpiryCommand;
1511
- const de_GetDatalakeExceptionsExpiryCommandError = async (output, context) => {
1422
+ exports.de_GetDataLakeSourcesCommand = de_GetDataLakeSourcesCommand;
1423
+ const de_GetDataLakeSourcesCommandError = async (output, context) => {
1512
1424
  const parsedOutput = {
1513
1425
  ...output,
1514
1426
  body: await parseErrorBody(output.body, context),
@@ -1518,15 +1430,21 @@ const de_GetDatalakeExceptionsExpiryCommandError = async (output, context) => {
1518
1430
  case "AccessDeniedException":
1519
1431
  case "com.amazonaws.securitylake#AccessDeniedException":
1520
1432
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1521
- case "AccountNotFoundException":
1522
- case "com.amazonaws.securitylake#AccountNotFoundException":
1523
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1433
+ case "BadRequestException":
1434
+ case "com.amazonaws.securitylake#BadRequestException":
1435
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1436
+ case "ConflictException":
1437
+ case "com.amazonaws.securitylake#ConflictException":
1438
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1524
1439
  case "InternalServerException":
1525
1440
  case "com.amazonaws.securitylake#InternalServerException":
1526
1441
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1527
- case "ValidationException":
1528
- case "com.amazonaws.securitylake#ValidationException":
1529
- throw await de_ValidationExceptionRes(parsedOutput, context);
1442
+ case "ResourceNotFoundException":
1443
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1444
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1445
+ case "ThrottlingException":
1446
+ case "com.amazonaws.securitylake#ThrottlingException":
1447
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1530
1448
  default:
1531
1449
  const parsedBody = parsedOutput.body;
1532
1450
  return throwDefaultError({
@@ -1536,22 +1454,22 @@ const de_GetDatalakeExceptionsExpiryCommandError = async (output, context) => {
1536
1454
  });
1537
1455
  }
1538
1456
  };
1539
- const de_GetDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1457
+ const de_GetSubscriberCommand = async (output, context) => {
1540
1458
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1541
- return de_GetDatalakeExceptionsSubscriptionCommandError(output, context);
1459
+ return de_GetSubscriberCommandError(output, context);
1542
1460
  }
1543
1461
  const contents = (0, smithy_client_1.map)({
1544
1462
  $metadata: deserializeMetadata(output),
1545
1463
  });
1546
1464
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1547
1465
  const doc = (0, smithy_client_1.take)(data, {
1548
- protocolAndNotificationEndpoint: smithy_client_1._json,
1466
+ subscriber: (_) => de_SubscriberResource(_, context),
1549
1467
  });
1550
1468
  Object.assign(contents, doc);
1551
1469
  return contents;
1552
1470
  };
1553
- exports.de_GetDatalakeExceptionsSubscriptionCommand = de_GetDatalakeExceptionsSubscriptionCommand;
1554
- const de_GetDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1471
+ exports.de_GetSubscriberCommand = de_GetSubscriberCommand;
1472
+ const de_GetSubscriberCommandError = async (output, context) => {
1555
1473
  const parsedOutput = {
1556
1474
  ...output,
1557
1475
  body: await parseErrorBody(output.body, context),
@@ -1561,15 +1479,21 @@ const de_GetDatalakeExceptionsSubscriptionCommandError = async (output, context)
1561
1479
  case "AccessDeniedException":
1562
1480
  case "com.amazonaws.securitylake#AccessDeniedException":
1563
1481
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1564
- case "AccountNotFoundException":
1565
- case "com.amazonaws.securitylake#AccountNotFoundException":
1566
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1482
+ case "BadRequestException":
1483
+ case "com.amazonaws.securitylake#BadRequestException":
1484
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1485
+ case "ConflictException":
1486
+ case "com.amazonaws.securitylake#ConflictException":
1487
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1567
1488
  case "InternalServerException":
1568
1489
  case "com.amazonaws.securitylake#InternalServerException":
1569
1490
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1570
- case "ValidationException":
1571
- case "com.amazonaws.securitylake#ValidationException":
1572
- throw await de_ValidationExceptionRes(parsedOutput, context);
1491
+ case "ResourceNotFoundException":
1492
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1493
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1494
+ case "ThrottlingException":
1495
+ case "com.amazonaws.securitylake#ThrottlingException":
1496
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1573
1497
  default:
1574
1498
  const parsedBody = parsedOutput.body;
1575
1499
  return throwDefaultError({
@@ -1579,66 +1503,23 @@ const de_GetDatalakeExceptionsSubscriptionCommandError = async (output, context)
1579
1503
  });
1580
1504
  }
1581
1505
  };
1582
- const de_GetDatalakeStatusCommand = async (output, context) => {
1506
+ const de_ListDataLakeExceptionsCommand = async (output, context) => {
1583
1507
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1584
- return de_GetDatalakeStatusCommandError(output, context);
1508
+ return de_ListDataLakeExceptionsCommandError(output, context);
1585
1509
  }
1586
1510
  const contents = (0, smithy_client_1.map)({
1587
1511
  $metadata: deserializeMetadata(output),
1588
1512
  });
1589
1513
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1590
1514
  const doc = (0, smithy_client_1.take)(data, {
1591
- accountSourcesList: smithy_client_1._json,
1515
+ exceptions: (_) => de_DataLakeExceptionList(_, context),
1592
1516
  nextToken: smithy_client_1.expectString,
1593
1517
  });
1594
1518
  Object.assign(contents, doc);
1595
1519
  return contents;
1596
1520
  };
1597
- exports.de_GetDatalakeStatusCommand = de_GetDatalakeStatusCommand;
1598
- const de_GetDatalakeStatusCommandError = async (output, context) => {
1599
- const parsedOutput = {
1600
- ...output,
1601
- body: await parseErrorBody(output.body, context),
1602
- };
1603
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1604
- switch (errorCode) {
1605
- case "AccessDeniedException":
1606
- case "com.amazonaws.securitylake#AccessDeniedException":
1607
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1608
- case "AccountNotFoundException":
1609
- case "com.amazonaws.securitylake#AccountNotFoundException":
1610
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1611
- case "InternalServerException":
1612
- case "com.amazonaws.securitylake#InternalServerException":
1613
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1614
- case "ValidationException":
1615
- case "com.amazonaws.securitylake#ValidationException":
1616
- throw await de_ValidationExceptionRes(parsedOutput, context);
1617
- default:
1618
- const parsedBody = parsedOutput.body;
1619
- return throwDefaultError({
1620
- output,
1621
- parsedBody,
1622
- errorCode,
1623
- });
1624
- }
1625
- };
1626
- const de_GetSubscriberCommand = async (output, context) => {
1627
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1628
- return de_GetSubscriberCommandError(output, context);
1629
- }
1630
- const contents = (0, smithy_client_1.map)({
1631
- $metadata: deserializeMetadata(output),
1632
- });
1633
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1634
- const doc = (0, smithy_client_1.take)(data, {
1635
- subscriber: (_) => de_SubscriberResource(_, context),
1636
- });
1637
- Object.assign(contents, doc);
1638
- return contents;
1639
- };
1640
- exports.de_GetSubscriberCommand = de_GetSubscriberCommand;
1641
- const de_GetSubscriberCommandError = async (output, context) => {
1521
+ exports.de_ListDataLakeExceptionsCommand = de_ListDataLakeExceptionsCommand;
1522
+ const de_ListDataLakeExceptionsCommandError = async (output, context) => {
1642
1523
  const parsedOutput = {
1643
1524
  ...output,
1644
1525
  body: await parseErrorBody(output.body, context),
@@ -1648,18 +1529,21 @@ const de_GetSubscriberCommandError = async (output, context) => {
1648
1529
  case "AccessDeniedException":
1649
1530
  case "com.amazonaws.securitylake#AccessDeniedException":
1650
1531
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1651
- case "AccountNotFoundException":
1652
- case "com.amazonaws.securitylake#AccountNotFoundException":
1653
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1532
+ case "BadRequestException":
1533
+ case "com.amazonaws.securitylake#BadRequestException":
1534
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1535
+ case "ConflictException":
1536
+ case "com.amazonaws.securitylake#ConflictException":
1537
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1654
1538
  case "InternalServerException":
1655
1539
  case "com.amazonaws.securitylake#InternalServerException":
1656
1540
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1657
- case "InvalidInputException":
1658
- case "com.amazonaws.securitylake#InvalidInputException":
1659
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1660
1541
  case "ResourceNotFoundException":
1661
1542
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1662
1543
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1544
+ case "ThrottlingException":
1545
+ case "com.amazonaws.securitylake#ThrottlingException":
1546
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1663
1547
  default:
1664
1548
  const parsedBody = parsedOutput.body;
1665
1549
  return throwDefaultError({
@@ -1669,23 +1553,22 @@ const de_GetSubscriberCommandError = async (output, context) => {
1669
1553
  });
1670
1554
  }
1671
1555
  };
1672
- const de_ListDatalakeExceptionsCommand = async (output, context) => {
1556
+ const de_ListDataLakesCommand = async (output, context) => {
1673
1557
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1674
- return de_ListDatalakeExceptionsCommandError(output, context);
1558
+ return de_ListDataLakesCommandError(output, context);
1675
1559
  }
1676
1560
  const contents = (0, smithy_client_1.map)({
1677
1561
  $metadata: deserializeMetadata(output),
1678
1562
  });
1679
1563
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1680
1564
  const doc = (0, smithy_client_1.take)(data, {
1681
- nextToken: smithy_client_1.expectString,
1682
- nonRetryableFailures: (_) => de_FailuresResponseList(_, context),
1565
+ dataLakes: smithy_client_1._json,
1683
1566
  });
1684
1567
  Object.assign(contents, doc);
1685
1568
  return contents;
1686
1569
  };
1687
- exports.de_ListDatalakeExceptionsCommand = de_ListDatalakeExceptionsCommand;
1688
- const de_ListDatalakeExceptionsCommandError = async (output, context) => {
1570
+ exports.de_ListDataLakesCommand = de_ListDataLakesCommand;
1571
+ const de_ListDataLakesCommandError = async (output, context) => {
1689
1572
  const parsedOutput = {
1690
1573
  ...output,
1691
1574
  body: await parseErrorBody(output.body, context),
@@ -1695,15 +1578,21 @@ const de_ListDatalakeExceptionsCommandError = async (output, context) => {
1695
1578
  case "AccessDeniedException":
1696
1579
  case "com.amazonaws.securitylake#AccessDeniedException":
1697
1580
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1698
- case "AccountNotFoundException":
1699
- case "com.amazonaws.securitylake#AccountNotFoundException":
1700
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1581
+ case "BadRequestException":
1582
+ case "com.amazonaws.securitylake#BadRequestException":
1583
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1584
+ case "ConflictException":
1585
+ case "com.amazonaws.securitylake#ConflictException":
1586
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1701
1587
  case "InternalServerException":
1702
1588
  case "com.amazonaws.securitylake#InternalServerException":
1703
1589
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1704
- case "ValidationException":
1705
- case "com.amazonaws.securitylake#ValidationException":
1706
- throw await de_ValidationExceptionRes(parsedOutput, context);
1590
+ case "ResourceNotFoundException":
1591
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1592
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1593
+ case "ThrottlingException":
1594
+ case "com.amazonaws.securitylake#ThrottlingException":
1595
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1707
1596
  default:
1708
1597
  const parsedBody = parsedOutput.body;
1709
1598
  return throwDefaultError({
@@ -1723,7 +1612,7 @@ const de_ListLogSourcesCommand = async (output, context) => {
1723
1612
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1724
1613
  const doc = (0, smithy_client_1.take)(data, {
1725
1614
  nextToken: smithy_client_1.expectString,
1726
- regionSourceTypesAccountsList: smithy_client_1._json,
1615
+ sources: smithy_client_1._json,
1727
1616
  });
1728
1617
  Object.assign(contents, doc);
1729
1618
  return contents;
@@ -1739,18 +1628,21 @@ const de_ListLogSourcesCommandError = async (output, context) => {
1739
1628
  case "AccessDeniedException":
1740
1629
  case "com.amazonaws.securitylake#AccessDeniedException":
1741
1630
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1742
- case "AccountNotFoundException":
1743
- case "com.amazonaws.securitylake#AccountNotFoundException":
1744
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1631
+ case "BadRequestException":
1632
+ case "com.amazonaws.securitylake#BadRequestException":
1633
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1634
+ case "ConflictException":
1635
+ case "com.amazonaws.securitylake#ConflictException":
1636
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1745
1637
  case "InternalServerException":
1746
1638
  case "com.amazonaws.securitylake#InternalServerException":
1747
1639
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1748
1640
  case "ResourceNotFoundException":
1749
1641
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1750
1642
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1751
- case "ValidationException":
1752
- case "com.amazonaws.securitylake#ValidationException":
1753
- throw await de_ValidationExceptionRes(parsedOutput, context);
1643
+ case "ThrottlingException":
1644
+ case "com.amazonaws.securitylake#ThrottlingException":
1645
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1754
1646
  default:
1755
1647
  const parsedBody = parsedOutput.body;
1756
1648
  return throwDefaultError({
@@ -1770,7 +1662,7 @@ const de_ListSubscribersCommand = async (output, context) => {
1770
1662
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1771
1663
  const doc = (0, smithy_client_1.take)(data, {
1772
1664
  nextToken: smithy_client_1.expectString,
1773
- subscribers: (_) => de_SubscriberList(_, context),
1665
+ subscribers: (_) => de_SubscriberResourceList(_, context),
1774
1666
  });
1775
1667
  Object.assign(contents, doc);
1776
1668
  return contents;
@@ -1786,21 +1678,21 @@ const de_ListSubscribersCommandError = async (output, context) => {
1786
1678
  case "AccessDeniedException":
1787
1679
  case "com.amazonaws.securitylake#AccessDeniedException":
1788
1680
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1789
- case "AccountNotFoundException":
1790
- case "com.amazonaws.securitylake#AccountNotFoundException":
1791
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1681
+ case "BadRequestException":
1682
+ case "com.amazonaws.securitylake#BadRequestException":
1683
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1684
+ case "ConflictException":
1685
+ case "com.amazonaws.securitylake#ConflictException":
1686
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1792
1687
  case "InternalServerException":
1793
1688
  case "com.amazonaws.securitylake#InternalServerException":
1794
1689
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1795
- case "InvalidInputException":
1796
- case "com.amazonaws.securitylake#InvalidInputException":
1797
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1798
1690
  case "ResourceNotFoundException":
1799
1691
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1800
1692
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1801
- case "ValidationException":
1802
- case "com.amazonaws.securitylake#ValidationException":
1803
- throw await de_ValidationExceptionRes(parsedOutput, context);
1693
+ case "ThrottlingException":
1694
+ case "com.amazonaws.securitylake#ThrottlingException":
1695
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1804
1696
  default:
1805
1697
  const parsedBody = parsedOutput.body;
1806
1698
  return throwDefaultError({
@@ -1810,9 +1702,9 @@ const de_ListSubscribersCommandError = async (output, context) => {
1810
1702
  });
1811
1703
  }
1812
1704
  };
1813
- const de_UpdateDatalakeCommand = async (output, context) => {
1705
+ const de_RegisterDataLakeDelegatedAdministratorCommand = async (output, context) => {
1814
1706
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1815
- return de_UpdateDatalakeCommandError(output, context);
1707
+ return de_RegisterDataLakeDelegatedAdministratorCommandError(output, context);
1816
1708
  }
1817
1709
  const contents = (0, smithy_client_1.map)({
1818
1710
  $metadata: deserializeMetadata(output),
@@ -1820,8 +1712,8 @@ const de_UpdateDatalakeCommand = async (output, context) => {
1820
1712
  await collectBody(output.body, context);
1821
1713
  return contents;
1822
1714
  };
1823
- exports.de_UpdateDatalakeCommand = de_UpdateDatalakeCommand;
1824
- const de_UpdateDatalakeCommandError = async (output, context) => {
1715
+ exports.de_RegisterDataLakeDelegatedAdministratorCommand = de_RegisterDataLakeDelegatedAdministratorCommand;
1716
+ const de_RegisterDataLakeDelegatedAdministratorCommandError = async (output, context) => {
1825
1717
  const parsedOutput = {
1826
1718
  ...output,
1827
1719
  body: await parseErrorBody(output.body, context),
@@ -1831,18 +1723,21 @@ const de_UpdateDatalakeCommandError = async (output, context) => {
1831
1723
  case "AccessDeniedException":
1832
1724
  case "com.amazonaws.securitylake#AccessDeniedException":
1833
1725
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1834
- case "EventBridgeException":
1835
- case "com.amazonaws.securitylake#EventBridgeException":
1836
- throw await de_EventBridgeExceptionRes(parsedOutput, context);
1726
+ case "BadRequestException":
1727
+ case "com.amazonaws.securitylake#BadRequestException":
1728
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1729
+ case "ConflictException":
1730
+ case "com.amazonaws.securitylake#ConflictException":
1731
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1837
1732
  case "InternalServerException":
1838
1733
  case "com.amazonaws.securitylake#InternalServerException":
1839
1734
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1840
1735
  case "ResourceNotFoundException":
1841
1736
  case "com.amazonaws.securitylake#ResourceNotFoundException":
1842
1737
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1843
- case "ValidationException":
1844
- case "com.amazonaws.securitylake#ValidationException":
1845
- throw await de_ValidationExceptionRes(parsedOutput, context);
1738
+ case "ThrottlingException":
1739
+ case "com.amazonaws.securitylake#ThrottlingException":
1740
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1846
1741
  default:
1847
1742
  const parsedBody = parsedOutput.body;
1848
1743
  return throwDefaultError({
@@ -1852,18 +1747,22 @@ const de_UpdateDatalakeCommandError = async (output, context) => {
1852
1747
  });
1853
1748
  }
1854
1749
  };
1855
- const de_UpdateDatalakeExceptionsExpiryCommand = async (output, context) => {
1750
+ const de_UpdateDataLakeCommand = async (output, context) => {
1856
1751
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1857
- return de_UpdateDatalakeExceptionsExpiryCommandError(output, context);
1752
+ return de_UpdateDataLakeCommandError(output, context);
1858
1753
  }
1859
1754
  const contents = (0, smithy_client_1.map)({
1860
1755
  $metadata: deserializeMetadata(output),
1861
1756
  });
1862
- await collectBody(output.body, context);
1757
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1758
+ const doc = (0, smithy_client_1.take)(data, {
1759
+ dataLakes: smithy_client_1._json,
1760
+ });
1761
+ Object.assign(contents, doc);
1863
1762
  return contents;
1864
1763
  };
1865
- exports.de_UpdateDatalakeExceptionsExpiryCommand = de_UpdateDatalakeExceptionsExpiryCommand;
1866
- const de_UpdateDatalakeExceptionsExpiryCommandError = async (output, context) => {
1764
+ exports.de_UpdateDataLakeCommand = de_UpdateDataLakeCommand;
1765
+ const de_UpdateDataLakeCommandError = async (output, context) => {
1867
1766
  const parsedOutput = {
1868
1767
  ...output,
1869
1768
  body: await parseErrorBody(output.body, context),
@@ -1873,15 +1772,21 @@ const de_UpdateDatalakeExceptionsExpiryCommandError = async (output, context) =>
1873
1772
  case "AccessDeniedException":
1874
1773
  case "com.amazonaws.securitylake#AccessDeniedException":
1875
1774
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1876
- case "AccountNotFoundException":
1877
- case "com.amazonaws.securitylake#AccountNotFoundException":
1878
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1775
+ case "BadRequestException":
1776
+ case "com.amazonaws.securitylake#BadRequestException":
1777
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1778
+ case "ConflictException":
1779
+ case "com.amazonaws.securitylake#ConflictException":
1780
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1879
1781
  case "InternalServerException":
1880
1782
  case "com.amazonaws.securitylake#InternalServerException":
1881
1783
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1882
- case "ValidationException":
1883
- case "com.amazonaws.securitylake#ValidationException":
1884
- throw await de_ValidationExceptionRes(parsedOutput, context);
1784
+ case "ResourceNotFoundException":
1785
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1786
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1787
+ case "ThrottlingException":
1788
+ case "com.amazonaws.securitylake#ThrottlingException":
1789
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1885
1790
  default:
1886
1791
  const parsedBody = parsedOutput.body;
1887
1792
  return throwDefaultError({
@@ -1891,9 +1796,9 @@ const de_UpdateDatalakeExceptionsExpiryCommandError = async (output, context) =>
1891
1796
  });
1892
1797
  }
1893
1798
  };
1894
- const de_UpdateDatalakeExceptionsSubscriptionCommand = async (output, context) => {
1799
+ const de_UpdateDataLakeExceptionSubscriptionCommand = async (output, context) => {
1895
1800
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1896
- return de_UpdateDatalakeExceptionsSubscriptionCommandError(output, context);
1801
+ return de_UpdateDataLakeExceptionSubscriptionCommandError(output, context);
1897
1802
  }
1898
1803
  const contents = (0, smithy_client_1.map)({
1899
1804
  $metadata: deserializeMetadata(output),
@@ -1901,8 +1806,8 @@ const de_UpdateDatalakeExceptionsSubscriptionCommand = async (output, context) =
1901
1806
  await collectBody(output.body, context);
1902
1807
  return contents;
1903
1808
  };
1904
- exports.de_UpdateDatalakeExceptionsSubscriptionCommand = de_UpdateDatalakeExceptionsSubscriptionCommand;
1905
- const de_UpdateDatalakeExceptionsSubscriptionCommandError = async (output, context) => {
1809
+ exports.de_UpdateDataLakeExceptionSubscriptionCommand = de_UpdateDataLakeExceptionSubscriptionCommand;
1810
+ const de_UpdateDataLakeExceptionSubscriptionCommandError = async (output, context) => {
1906
1811
  const parsedOutput = {
1907
1812
  ...output,
1908
1813
  body: await parseErrorBody(output.body, context),
@@ -1912,15 +1817,21 @@ const de_UpdateDatalakeExceptionsSubscriptionCommandError = async (output, conte
1912
1817
  case "AccessDeniedException":
1913
1818
  case "com.amazonaws.securitylake#AccessDeniedException":
1914
1819
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1915
- case "AccountNotFoundException":
1916
- case "com.amazonaws.securitylake#AccountNotFoundException":
1917
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1820
+ case "BadRequestException":
1821
+ case "com.amazonaws.securitylake#BadRequestException":
1822
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1823
+ case "ConflictException":
1824
+ case "com.amazonaws.securitylake#ConflictException":
1825
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1918
1826
  case "InternalServerException":
1919
1827
  case "com.amazonaws.securitylake#InternalServerException":
1920
1828
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1921
- case "ValidationException":
1922
- case "com.amazonaws.securitylake#ValidationException":
1923
- throw await de_ValidationExceptionRes(parsedOutput, context);
1829
+ case "ResourceNotFoundException":
1830
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1831
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1832
+ case "ThrottlingException":
1833
+ case "com.amazonaws.securitylake#ThrottlingException":
1834
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1924
1835
  default:
1925
1836
  const parsedBody = parsedOutput.body;
1926
1837
  return throwDefaultError({
@@ -1955,24 +1866,21 @@ const de_UpdateSubscriberCommandError = async (output, context) => {
1955
1866
  case "AccessDeniedException":
1956
1867
  case "com.amazonaws.securitylake#AccessDeniedException":
1957
1868
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1958
- case "AccountNotFoundException":
1959
- case "com.amazonaws.securitylake#AccountNotFoundException":
1960
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
1961
- case "ConcurrentModificationException":
1962
- case "com.amazonaws.securitylake#ConcurrentModificationException":
1963
- throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1964
- case "ConflictSubscriptionException":
1965
- case "com.amazonaws.securitylake#ConflictSubscriptionException":
1966
- throw await de_ConflictSubscriptionExceptionRes(parsedOutput, context);
1869
+ case "BadRequestException":
1870
+ case "com.amazonaws.securitylake#BadRequestException":
1871
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1872
+ case "ConflictException":
1873
+ case "com.amazonaws.securitylake#ConflictException":
1874
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1967
1875
  case "InternalServerException":
1968
1876
  case "com.amazonaws.securitylake#InternalServerException":
1969
1877
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1970
- case "InvalidInputException":
1971
- case "com.amazonaws.securitylake#InvalidInputException":
1972
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1973
- case "ValidationException":
1974
- case "com.amazonaws.securitylake#ValidationException":
1975
- throw await de_ValidationExceptionRes(parsedOutput, context);
1878
+ case "ResourceNotFoundException":
1879
+ case "com.amazonaws.securitylake#ResourceNotFoundException":
1880
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1881
+ case "ThrottlingException":
1882
+ case "com.amazonaws.securitylake#ThrottlingException":
1883
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1976
1884
  default:
1977
1885
  const parsedBody = parsedOutput.body;
1978
1886
  return throwDefaultError({
@@ -1982,22 +1890,22 @@ const de_UpdateSubscriberCommandError = async (output, context) => {
1982
1890
  });
1983
1891
  }
1984
1892
  };
1985
- const de_UpdateSubscriptionNotificationConfigurationCommand = async (output, context) => {
1893
+ const de_UpdateSubscriberNotificationCommand = async (output, context) => {
1986
1894
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1987
- return de_UpdateSubscriptionNotificationConfigurationCommandError(output, context);
1895
+ return de_UpdateSubscriberNotificationCommandError(output, context);
1988
1896
  }
1989
1897
  const contents = (0, smithy_client_1.map)({
1990
1898
  $metadata: deserializeMetadata(output),
1991
1899
  });
1992
1900
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1993
1901
  const doc = (0, smithy_client_1.take)(data, {
1994
- queueArn: smithy_client_1.expectString,
1902
+ subscriberEndpoint: smithy_client_1.expectString,
1995
1903
  });
1996
1904
  Object.assign(contents, doc);
1997
1905
  return contents;
1998
1906
  };
1999
- exports.de_UpdateSubscriptionNotificationConfigurationCommand = de_UpdateSubscriptionNotificationConfigurationCommand;
2000
- const de_UpdateSubscriptionNotificationConfigurationCommandError = async (output, context) => {
1907
+ exports.de_UpdateSubscriberNotificationCommand = de_UpdateSubscriberNotificationCommand;
1908
+ const de_UpdateSubscriberNotificationCommandError = async (output, context) => {
2001
1909
  const parsedOutput = {
2002
1910
  ...output,
2003
1911
  body: await parseErrorBody(output.body, context),
@@ -2007,24 +1915,21 @@ const de_UpdateSubscriptionNotificationConfigurationCommandError = async (output
2007
1915
  case "AccessDeniedException":
2008
1916
  case "com.amazonaws.securitylake#AccessDeniedException":
2009
1917
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2010
- case "AccountNotFoundException":
2011
- case "com.amazonaws.securitylake#AccountNotFoundException":
2012
- throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
2013
- case "ConcurrentModificationException":
2014
- case "com.amazonaws.securitylake#ConcurrentModificationException":
2015
- throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1918
+ case "BadRequestException":
1919
+ case "com.amazonaws.securitylake#BadRequestException":
1920
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1921
+ case "ConflictException":
1922
+ case "com.amazonaws.securitylake#ConflictException":
1923
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2016
1924
  case "InternalServerException":
2017
1925
  case "com.amazonaws.securitylake#InternalServerException":
2018
1926
  throw await de_InternalServerExceptionRes(parsedOutput, context);
2019
- case "InvalidInputException":
2020
- case "com.amazonaws.securitylake#InvalidInputException":
2021
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
2022
1927
  case "ResourceNotFoundException":
2023
1928
  case "com.amazonaws.securitylake#ResourceNotFoundException":
2024
1929
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2025
- case "ValidationException":
2026
- case "com.amazonaws.securitylake#ValidationException":
2027
- throw await de_ValidationExceptionRes(parsedOutput, context);
1930
+ case "ThrottlingException":
1931
+ case "com.amazonaws.securitylake#ThrottlingException":
1932
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2028
1933
  default:
2029
1934
  const parsedBody = parsedOutput.body;
2030
1935
  return throwDefaultError({
@@ -2049,40 +1954,14 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2049
1954
  });
2050
1955
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2051
1956
  };
2052
- const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
2053
- const contents = (0, smithy_client_1.map)({});
2054
- const data = parsedOutput.body;
2055
- const doc = (0, smithy_client_1.take)(data, {
2056
- message: smithy_client_1.expectString,
2057
- });
2058
- Object.assign(contents, doc);
2059
- const exception = new models_0_1.AccountNotFoundException({
2060
- $metadata: deserializeMetadata(parsedOutput),
2061
- ...contents,
2062
- });
2063
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2064
- };
2065
- const de_BucketNotFoundExceptionRes = async (parsedOutput, context) => {
2066
- const contents = (0, smithy_client_1.map)({});
2067
- const data = parsedOutput.body;
2068
- const doc = (0, smithy_client_1.take)(data, {
2069
- message: smithy_client_1.expectString,
2070
- });
2071
- Object.assign(contents, doc);
2072
- const exception = new models_0_1.BucketNotFoundException({
2073
- $metadata: deserializeMetadata(parsedOutput),
2074
- ...contents,
2075
- });
2076
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2077
- };
2078
- const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
1957
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
2079
1958
  const contents = (0, smithy_client_1.map)({});
2080
1959
  const data = parsedOutput.body;
2081
1960
  const doc = (0, smithy_client_1.take)(data, {
2082
1961
  message: smithy_client_1.expectString,
2083
1962
  });
2084
1963
  Object.assign(contents, doc);
2085
- const exception = new models_0_1.ConcurrentModificationException({
1964
+ const exception = new models_0_1.BadRequestException({
2086
1965
  $metadata: deserializeMetadata(parsedOutput),
2087
1966
  ...contents,
2088
1967
  });
@@ -2093,7 +1972,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2093
1972
  const data = parsedOutput.body;
2094
1973
  const doc = (0, smithy_client_1.take)(data, {
2095
1974
  message: smithy_client_1.expectString,
2096
- resourceId: smithy_client_1.expectString,
1975
+ resourceName: smithy_client_1.expectString,
2097
1976
  resourceType: smithy_client_1.expectString,
2098
1977
  });
2099
1978
  Object.assign(contents, doc);
@@ -2103,71 +1982,14 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2103
1982
  });
2104
1983
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2105
1984
  };
2106
- const de_ConflictSourceNamesExceptionRes = async (parsedOutput, context) => {
2107
- const contents = (0, smithy_client_1.map)({});
2108
- const data = parsedOutput.body;
2109
- const doc = (0, smithy_client_1.take)(data, {
2110
- message: smithy_client_1.expectString,
2111
- });
2112
- Object.assign(contents, doc);
2113
- const exception = new models_0_1.ConflictSourceNamesException({
2114
- $metadata: deserializeMetadata(parsedOutput),
2115
- ...contents,
2116
- });
2117
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2118
- };
2119
- const de_ConflictSubscriptionExceptionRes = async (parsedOutput, context) => {
2120
- const contents = (0, smithy_client_1.map)({});
2121
- const data = parsedOutput.body;
2122
- const doc = (0, smithy_client_1.take)(data, {
2123
- message: smithy_client_1.expectString,
2124
- });
2125
- Object.assign(contents, doc);
2126
- const exception = new models_0_1.ConflictSubscriptionException({
2127
- $metadata: deserializeMetadata(parsedOutput),
2128
- ...contents,
2129
- });
2130
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2131
- };
2132
- const de_EventBridgeExceptionRes = async (parsedOutput, context) => {
2133
- const contents = (0, smithy_client_1.map)({});
2134
- const data = parsedOutput.body;
2135
- const doc = (0, smithy_client_1.take)(data, {
2136
- message: smithy_client_1.expectString,
2137
- });
2138
- Object.assign(contents, doc);
2139
- const exception = new models_0_1.EventBridgeException({
2140
- $metadata: deserializeMetadata(parsedOutput),
2141
- ...contents,
2142
- });
2143
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2144
- };
2145
1985
  const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2146
- const contents = (0, smithy_client_1.map)({
2147
- retryAfterSeconds: [
2148
- () => void 0 !== parsedOutput.headers["retry-after"],
2149
- () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
2150
- ],
2151
- });
2152
- const data = parsedOutput.body;
2153
- const doc = (0, smithy_client_1.take)(data, {
2154
- message: smithy_client_1.expectString,
2155
- });
2156
- Object.assign(contents, doc);
2157
- const exception = new models_0_1.InternalServerException({
2158
- $metadata: deserializeMetadata(parsedOutput),
2159
- ...contents,
2160
- });
2161
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2162
- };
2163
- const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
2164
1986
  const contents = (0, smithy_client_1.map)({});
2165
1987
  const data = parsedOutput.body;
2166
1988
  const doc = (0, smithy_client_1.take)(data, {
2167
1989
  message: smithy_client_1.expectString,
2168
1990
  });
2169
1991
  Object.assign(contents, doc);
2170
- const exception = new models_0_1.InvalidInputException({
1992
+ const exception = new models_0_1.InternalServerException({
2171
1993
  $metadata: deserializeMetadata(parsedOutput),
2172
1994
  ...contents,
2173
1995
  });
@@ -2178,7 +2000,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2178
2000
  const data = parsedOutput.body;
2179
2001
  const doc = (0, smithy_client_1.take)(data, {
2180
2002
  message: smithy_client_1.expectString,
2181
- resourceId: smithy_client_1.expectString,
2003
+ resourceName: smithy_client_1.expectString,
2182
2004
  resourceType: smithy_client_1.expectString,
2183
2005
  });
2184
2006
  Object.assign(contents, doc);
@@ -2188,36 +2010,6 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2188
2010
  });
2189
2011
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2190
2012
  };
2191
- const de_S3ExceptionRes = async (parsedOutput, context) => {
2192
- const contents = (0, smithy_client_1.map)({});
2193
- const data = parsedOutput.body;
2194
- const doc = (0, smithy_client_1.take)(data, {
2195
- message: smithy_client_1.expectString,
2196
- });
2197
- Object.assign(contents, doc);
2198
- const exception = new models_0_1.S3Exception({
2199
- $metadata: deserializeMetadata(parsedOutput),
2200
- ...contents,
2201
- });
2202
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2203
- };
2204
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2205
- const contents = (0, smithy_client_1.map)({});
2206
- const data = parsedOutput.body;
2207
- const doc = (0, smithy_client_1.take)(data, {
2208
- message: smithy_client_1.expectString,
2209
- quotaCode: smithy_client_1.expectString,
2210
- resourceId: smithy_client_1.expectString,
2211
- resourceType: smithy_client_1.expectString,
2212
- serviceCode: smithy_client_1.expectString,
2213
- });
2214
- Object.assign(contents, doc);
2215
- const exception = new models_0_1.ServiceQuotaExceededException({
2216
- $metadata: deserializeMetadata(parsedOutput),
2217
- ...contents,
2218
- });
2219
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2220
- };
2221
2013
  const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2222
2014
  const contents = (0, smithy_client_1.map)({
2223
2015
  retryAfterSeconds: [
@@ -2238,79 +2030,49 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2238
2030
  });
2239
2031
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2240
2032
  };
2241
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
2242
- const contents = (0, smithy_client_1.map)({});
2243
- const data = parsedOutput.body;
2244
- const doc = (0, smithy_client_1.take)(data, {
2245
- fieldList: smithy_client_1._json,
2246
- message: smithy_client_1.expectString,
2247
- reason: smithy_client_1.expectString,
2248
- });
2249
- Object.assign(contents, doc);
2250
- const exception = new models_0_1.ValidationException({
2251
- $metadata: deserializeMetadata(parsedOutput),
2252
- ...contents,
2253
- });
2254
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2255
- };
2256
- const de_Failures = (output, context) => {
2033
+ const de_DataLakeException = (output, context) => {
2257
2034
  return (0, smithy_client_1.take)(output, {
2258
- exceptionMessage: smithy_client_1.expectString,
2035
+ exception: smithy_client_1.expectString,
2036
+ region: smithy_client_1.expectString,
2259
2037
  remediation: smithy_client_1.expectString,
2260
2038
  timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2261
2039
  });
2262
2040
  };
2263
- const de_Failureslist = (output, context) => {
2264
- const retVal = (output || [])
2265
- .filter((e) => e != null)
2266
- .map((entry) => {
2267
- return de_Failures(entry, context);
2268
- });
2269
- return retVal;
2270
- };
2271
- const de_FailuresResponse = (output, context) => {
2272
- return (0, smithy_client_1.take)(output, {
2273
- failures: (_) => de_Failureslist(_, context),
2274
- region: smithy_client_1.expectString,
2275
- });
2276
- };
2277
- const de_FailuresResponseList = (output, context) => {
2278
- const retVal = (output || [])
2279
- .filter((e) => e != null)
2280
- .map((entry) => {
2281
- return de_FailuresResponse(entry, context);
2282
- });
2283
- return retVal;
2284
- };
2285
- const de_SubscriberList = (output, context) => {
2041
+ const de_DataLakeExceptionList = (output, context) => {
2286
2042
  const retVal = (output || [])
2287
2043
  .filter((e) => e != null)
2288
2044
  .map((entry) => {
2289
- return de_SubscriberResource(entry, context);
2045
+ return de_DataLakeException(entry, context);
2290
2046
  });
2291
2047
  return retVal;
2292
2048
  };
2293
2049
  const de_SubscriberResource = (output, context) => {
2294
2050
  return (0, smithy_client_1.take)(output, {
2295
2051
  accessTypes: smithy_client_1._json,
2296
- accountId: smithy_client_1.expectString,
2297
2052
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2298
- externalId: smithy_client_1.expectString,
2299
2053
  resourceShareArn: smithy_client_1.expectString,
2300
2054
  resourceShareName: smithy_client_1.expectString,
2301
2055
  roleArn: smithy_client_1.expectString,
2302
2056
  s3BucketArn: smithy_client_1.expectString,
2303
- snsArn: smithy_client_1.expectString,
2304
- sourceTypes: smithy_client_1._json,
2057
+ sources: smithy_client_1._json,
2058
+ subscriberArn: smithy_client_1.expectString,
2305
2059
  subscriberDescription: smithy_client_1.expectString,
2060
+ subscriberEndpoint: smithy_client_1.expectString,
2061
+ subscriberId: smithy_client_1.expectString,
2062
+ subscriberIdentity: smithy_client_1._json,
2306
2063
  subscriberName: smithy_client_1.expectString,
2307
- subscriptionEndpoint: smithy_client_1.expectString,
2308
- subscriptionId: smithy_client_1.expectString,
2309
- subscriptionProtocol: smithy_client_1.expectString,
2310
- subscriptionStatus: smithy_client_1.expectString,
2064
+ subscriberStatus: smithy_client_1.expectString,
2311
2065
  updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2312
2066
  });
2313
2067
  };
2068
+ const de_SubscriberResourceList = (output, context) => {
2069
+ const retVal = (output || [])
2070
+ .filter((e) => e != null)
2071
+ .map((entry) => {
2072
+ return de_SubscriberResource(entry, context);
2073
+ });
2074
+ return retVal;
2075
+ };
2314
2076
  const deserializeMetadata = (output) => ({
2315
2077
  httpStatusCode: output.statusCode,
2316
2078
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],