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