@aws-sdk/client-securitylake 3.489.0 → 3.495.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.
- package/dist-cjs/SecurityLake.js +1 -73
- package/dist-cjs/SecurityLakeClient.js +1 -43
- package/dist-cjs/commands/CreateAwsLogSourceCommand.js +1 -28
- package/dist-cjs/commands/CreateCustomLogSourceCommand.js +1 -28
- package/dist-cjs/commands/CreateDataLakeCommand.js +1 -28
- package/dist-cjs/commands/CreateDataLakeExceptionSubscriptionCommand.js +1 -28
- package/dist-cjs/commands/CreateDataLakeOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/CreateSubscriberCommand.js +1 -28
- package/dist-cjs/commands/CreateSubscriberNotificationCommand.js +1 -28
- package/dist-cjs/commands/DeleteAwsLogSourceCommand.js +1 -28
- package/dist-cjs/commands/DeleteCustomLogSourceCommand.js +1 -28
- package/dist-cjs/commands/DeleteDataLakeCommand.js +1 -28
- package/dist-cjs/commands/DeleteDataLakeExceptionSubscriptionCommand.js +1 -28
- package/dist-cjs/commands/DeleteDataLakeOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DeleteSubscriberCommand.js +1 -28
- package/dist-cjs/commands/DeleteSubscriberNotificationCommand.js +1 -28
- package/dist-cjs/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +1 -28
- package/dist-cjs/commands/GetDataLakeExceptionSubscriptionCommand.js +1 -28
- package/dist-cjs/commands/GetDataLakeOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetDataLakeSourcesCommand.js +1 -28
- package/dist-cjs/commands/GetSubscriberCommand.js +1 -28
- package/dist-cjs/commands/ListDataLakeExceptionsCommand.js +1 -28
- package/dist-cjs/commands/ListDataLakesCommand.js +1 -28
- package/dist-cjs/commands/ListLogSourcesCommand.js +1 -28
- package/dist-cjs/commands/ListSubscribersCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RegisterDataLakeDelegatedAdministratorCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateDataLakeCommand.js +1 -28
- package/dist-cjs/commands/UpdateDataLakeExceptionSubscriptionCommand.js +1 -28
- package/dist-cjs/commands/UpdateSubscriberCommand.js +1 -28
- package/dist-cjs/commands/UpdateSubscriberNotificationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -34
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3066 -11
- package/dist-cjs/models/SecurityLakeServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -147
- package/dist-cjs/pagination/GetDataLakeSourcesPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListDataLakeExceptionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListLogSourcesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSubscribersPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2109
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3067 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AccessType: () => AccessType,
|
|
26
|
+
AwsLogSourceName: () => AwsLogSourceName,
|
|
27
|
+
BadRequestException: () => BadRequestException,
|
|
28
|
+
ConflictException: () => ConflictException,
|
|
29
|
+
CreateAwsLogSourceCommand: () => CreateAwsLogSourceCommand,
|
|
30
|
+
CreateCustomLogSourceCommand: () => CreateCustomLogSourceCommand,
|
|
31
|
+
CreateDataLakeCommand: () => CreateDataLakeCommand,
|
|
32
|
+
CreateDataLakeExceptionSubscriptionCommand: () => CreateDataLakeExceptionSubscriptionCommand,
|
|
33
|
+
CreateDataLakeOrganizationConfigurationCommand: () => CreateDataLakeOrganizationConfigurationCommand,
|
|
34
|
+
CreateSubscriberCommand: () => CreateSubscriberCommand,
|
|
35
|
+
CreateSubscriberNotificationCommand: () => CreateSubscriberNotificationCommand,
|
|
36
|
+
DataLakeStatus: () => DataLakeStatus,
|
|
37
|
+
DeleteAwsLogSourceCommand: () => DeleteAwsLogSourceCommand,
|
|
38
|
+
DeleteCustomLogSourceCommand: () => DeleteCustomLogSourceCommand,
|
|
39
|
+
DeleteDataLakeCommand: () => DeleteDataLakeCommand,
|
|
40
|
+
DeleteDataLakeExceptionSubscriptionCommand: () => DeleteDataLakeExceptionSubscriptionCommand,
|
|
41
|
+
DeleteDataLakeOrganizationConfigurationCommand: () => DeleteDataLakeOrganizationConfigurationCommand,
|
|
42
|
+
DeleteSubscriberCommand: () => DeleteSubscriberCommand,
|
|
43
|
+
DeleteSubscriberNotificationCommand: () => DeleteSubscriberNotificationCommand,
|
|
44
|
+
DeregisterDataLakeDelegatedAdministratorCommand: () => DeregisterDataLakeDelegatedAdministratorCommand,
|
|
45
|
+
GetDataLakeExceptionSubscriptionCommand: () => GetDataLakeExceptionSubscriptionCommand,
|
|
46
|
+
GetDataLakeOrganizationConfigurationCommand: () => GetDataLakeOrganizationConfigurationCommand,
|
|
47
|
+
GetDataLakeSourcesCommand: () => GetDataLakeSourcesCommand,
|
|
48
|
+
GetSubscriberCommand: () => GetSubscriberCommand,
|
|
49
|
+
HttpMethod: () => HttpMethod,
|
|
50
|
+
InternalServerException: () => InternalServerException,
|
|
51
|
+
ListDataLakeExceptionsCommand: () => ListDataLakeExceptionsCommand,
|
|
52
|
+
ListDataLakesCommand: () => ListDataLakesCommand,
|
|
53
|
+
ListLogSourcesCommand: () => ListLogSourcesCommand,
|
|
54
|
+
ListSubscribersCommand: () => ListSubscribersCommand,
|
|
55
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
56
|
+
LogSourceResource: () => LogSourceResource,
|
|
57
|
+
NotificationConfiguration: () => NotificationConfiguration,
|
|
58
|
+
RegisterDataLakeDelegatedAdministratorCommand: () => RegisterDataLakeDelegatedAdministratorCommand,
|
|
59
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
60
|
+
SecurityLake: () => SecurityLake,
|
|
61
|
+
SecurityLakeClient: () => SecurityLakeClient,
|
|
62
|
+
SecurityLakeServiceException: () => SecurityLakeServiceException,
|
|
63
|
+
SourceCollectionStatus: () => SourceCollectionStatus,
|
|
64
|
+
SubscriberStatus: () => SubscriberStatus,
|
|
65
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
66
|
+
ThrottlingException: () => ThrottlingException,
|
|
67
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
68
|
+
UpdateDataLakeCommand: () => UpdateDataLakeCommand,
|
|
69
|
+
UpdateDataLakeExceptionSubscriptionCommand: () => UpdateDataLakeExceptionSubscriptionCommand,
|
|
70
|
+
UpdateSubscriberCommand: () => UpdateSubscriberCommand,
|
|
71
|
+
UpdateSubscriberNotificationCommand: () => UpdateSubscriberNotificationCommand,
|
|
72
|
+
__Client: () => import_smithy_client.Client,
|
|
73
|
+
paginateGetDataLakeSources: () => paginateGetDataLakeSources,
|
|
74
|
+
paginateListDataLakeExceptions: () => paginateListDataLakeExceptions,
|
|
75
|
+
paginateListLogSources: () => paginateListLogSources,
|
|
76
|
+
paginateListSubscribers: () => paginateListSubscribers
|
|
77
|
+
});
|
|
78
|
+
module.exports = __toCommonJS(src_exports);
|
|
79
|
+
|
|
80
|
+
// src/SecurityLakeClient.ts
|
|
81
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
82
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
83
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
84
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
85
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
86
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
87
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
88
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
89
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
// src/endpoint/EndpointParameters.ts
|
|
93
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
94
|
+
return {
|
|
95
|
+
...options,
|
|
96
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
97
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
98
|
+
defaultSigningName: "securitylake"
|
|
99
|
+
};
|
|
100
|
+
}, "resolveClientEndpointParameters");
|
|
101
|
+
var commonParams = {
|
|
102
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
103
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
104
|
+
Region: { type: "builtInParams", name: "region" },
|
|
105
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// src/SecurityLakeClient.ts
|
|
109
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
110
|
+
|
|
111
|
+
// src/runtimeExtensions.ts
|
|
112
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
113
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
114
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
115
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
116
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
117
|
+
const extensionConfiguration = {
|
|
118
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
119
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
120
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
121
|
+
};
|
|
122
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
123
|
+
return {
|
|
124
|
+
...runtimeConfig,
|
|
125
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
126
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
127
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
128
|
+
};
|
|
129
|
+
}, "resolveRuntimeExtensions");
|
|
130
|
+
|
|
131
|
+
// src/SecurityLakeClient.ts
|
|
132
|
+
var _SecurityLakeClient = class _SecurityLakeClient extends import_smithy_client.Client {
|
|
133
|
+
constructor(...[configuration]) {
|
|
134
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
135
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
136
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
137
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
138
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
139
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
140
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
141
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
142
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
143
|
+
super(_config_8);
|
|
144
|
+
this.config = _config_8;
|
|
145
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
146
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
147
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
148
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
149
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
150
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
151
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
155
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
156
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
157
|
+
*/
|
|
158
|
+
destroy() {
|
|
159
|
+
super.destroy();
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
__name(_SecurityLakeClient, "SecurityLakeClient");
|
|
163
|
+
var SecurityLakeClient = _SecurityLakeClient;
|
|
164
|
+
|
|
165
|
+
// src/SecurityLake.ts
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
// src/commands/CreateAwsLogSourceCommand.ts
|
|
169
|
+
|
|
170
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
171
|
+
|
|
172
|
+
var import_types = require("@smithy/types");
|
|
173
|
+
|
|
174
|
+
// src/protocols/Aws_restJson1.ts
|
|
175
|
+
var import_core = require("@smithy/core");
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
// src/models/SecurityLakeServiceException.ts
|
|
179
|
+
|
|
180
|
+
var _SecurityLakeServiceException = class _SecurityLakeServiceException extends import_smithy_client.ServiceException {
|
|
181
|
+
/**
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
constructor(options) {
|
|
185
|
+
super(options);
|
|
186
|
+
Object.setPrototypeOf(this, _SecurityLakeServiceException.prototype);
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
__name(_SecurityLakeServiceException, "SecurityLakeServiceException");
|
|
190
|
+
var SecurityLakeServiceException = _SecurityLakeServiceException;
|
|
191
|
+
|
|
192
|
+
// src/models/models_0.ts
|
|
193
|
+
var _AccessDeniedException = class _AccessDeniedException extends SecurityLakeServiceException {
|
|
194
|
+
/**
|
|
195
|
+
* @internal
|
|
196
|
+
*/
|
|
197
|
+
constructor(opts) {
|
|
198
|
+
super({
|
|
199
|
+
name: "AccessDeniedException",
|
|
200
|
+
$fault: "client",
|
|
201
|
+
...opts
|
|
202
|
+
});
|
|
203
|
+
this.name = "AccessDeniedException";
|
|
204
|
+
this.$fault = "client";
|
|
205
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
206
|
+
this.errorCode = opts.errorCode;
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
210
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
211
|
+
var AccessType = {
|
|
212
|
+
LAKEFORMATION: "LAKEFORMATION",
|
|
213
|
+
S3: "S3"
|
|
214
|
+
};
|
|
215
|
+
var AwsLogSourceName = {
|
|
216
|
+
CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
|
|
217
|
+
LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
|
|
218
|
+
ROUTE53: "ROUTE53",
|
|
219
|
+
S3_DATA: "S3_DATA",
|
|
220
|
+
SH_FINDINGS: "SH_FINDINGS",
|
|
221
|
+
VPC_FLOW: "VPC_FLOW"
|
|
222
|
+
};
|
|
223
|
+
var _BadRequestException = class _BadRequestException extends SecurityLakeServiceException {
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
*/
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "BadRequestException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts
|
|
232
|
+
});
|
|
233
|
+
this.name = "BadRequestException";
|
|
234
|
+
this.$fault = "client";
|
|
235
|
+
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
__name(_BadRequestException, "BadRequestException");
|
|
239
|
+
var BadRequestException = _BadRequestException;
|
|
240
|
+
var _ConflictException = class _ConflictException extends SecurityLakeServiceException {
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
*/
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "ConflictException",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts
|
|
249
|
+
});
|
|
250
|
+
this.name = "ConflictException";
|
|
251
|
+
this.$fault = "client";
|
|
252
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
253
|
+
this.resourceName = opts.resourceName;
|
|
254
|
+
this.resourceType = opts.resourceType;
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
__name(_ConflictException, "ConflictException");
|
|
258
|
+
var ConflictException = _ConflictException;
|
|
259
|
+
var _InternalServerException = class _InternalServerException extends SecurityLakeServiceException {
|
|
260
|
+
/**
|
|
261
|
+
* @internal
|
|
262
|
+
*/
|
|
263
|
+
constructor(opts) {
|
|
264
|
+
super({
|
|
265
|
+
name: "InternalServerException",
|
|
266
|
+
$fault: "server",
|
|
267
|
+
...opts
|
|
268
|
+
});
|
|
269
|
+
this.name = "InternalServerException";
|
|
270
|
+
this.$fault = "server";
|
|
271
|
+
this.$retryable = {};
|
|
272
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
__name(_InternalServerException, "InternalServerException");
|
|
276
|
+
var InternalServerException = _InternalServerException;
|
|
277
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends SecurityLakeServiceException {
|
|
278
|
+
/**
|
|
279
|
+
* @internal
|
|
280
|
+
*/
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "ResourceNotFoundException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts
|
|
286
|
+
});
|
|
287
|
+
this.name = "ResourceNotFoundException";
|
|
288
|
+
this.$fault = "client";
|
|
289
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
290
|
+
this.resourceName = opts.resourceName;
|
|
291
|
+
this.resourceType = opts.resourceType;
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
295
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
296
|
+
var _ThrottlingException = class _ThrottlingException extends SecurityLakeServiceException {
|
|
297
|
+
/**
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
300
|
+
constructor(opts) {
|
|
301
|
+
super({
|
|
302
|
+
name: "ThrottlingException",
|
|
303
|
+
$fault: "client",
|
|
304
|
+
...opts
|
|
305
|
+
});
|
|
306
|
+
this.name = "ThrottlingException";
|
|
307
|
+
this.$fault = "client";
|
|
308
|
+
this.$retryable = {
|
|
309
|
+
throttling: true
|
|
310
|
+
};
|
|
311
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
312
|
+
this.serviceCode = opts.serviceCode;
|
|
313
|
+
this.quotaCode = opts.quotaCode;
|
|
314
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
318
|
+
var ThrottlingException = _ThrottlingException;
|
|
319
|
+
var DataLakeStatus = {
|
|
320
|
+
COMPLETED: "COMPLETED",
|
|
321
|
+
FAILED: "FAILED",
|
|
322
|
+
INITIALIZED: "INITIALIZED",
|
|
323
|
+
PENDING: "PENDING"
|
|
324
|
+
};
|
|
325
|
+
var LogSourceResource;
|
|
326
|
+
((LogSourceResource3) => {
|
|
327
|
+
LogSourceResource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
328
|
+
if (value.awsLogSource !== void 0)
|
|
329
|
+
return visitor.awsLogSource(value.awsLogSource);
|
|
330
|
+
if (value.customLogSource !== void 0)
|
|
331
|
+
return visitor.customLogSource(value.customLogSource);
|
|
332
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
333
|
+
}, "visit");
|
|
334
|
+
})(LogSourceResource || (LogSourceResource = {}));
|
|
335
|
+
var SubscriberStatus = {
|
|
336
|
+
ACTIVE: "ACTIVE",
|
|
337
|
+
DEACTIVATED: "DEACTIVATED",
|
|
338
|
+
PENDING: "PENDING",
|
|
339
|
+
READY: "READY"
|
|
340
|
+
};
|
|
341
|
+
var HttpMethod = {
|
|
342
|
+
POST: "POST",
|
|
343
|
+
PUT: "PUT"
|
|
344
|
+
};
|
|
345
|
+
var NotificationConfiguration;
|
|
346
|
+
((NotificationConfiguration3) => {
|
|
347
|
+
NotificationConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
348
|
+
if (value.sqsNotificationConfiguration !== void 0)
|
|
349
|
+
return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);
|
|
350
|
+
if (value.httpsNotificationConfiguration !== void 0)
|
|
351
|
+
return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);
|
|
352
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
353
|
+
}, "visit");
|
|
354
|
+
})(NotificationConfiguration || (NotificationConfiguration = {}));
|
|
355
|
+
var SourceCollectionStatus = {
|
|
356
|
+
COLLECTING: "COLLECTING",
|
|
357
|
+
MISCONFIGURED: "MISCONFIGURED",
|
|
358
|
+
NOT_COLLECTING: "NOT_COLLECTING"
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
// src/protocols/Aws_restJson1.ts
|
|
362
|
+
var se_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
363
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
364
|
+
const headers = {
|
|
365
|
+
"content-type": "application/json"
|
|
366
|
+
};
|
|
367
|
+
b.bp("/v1/datalake/logsources/aws");
|
|
368
|
+
let body;
|
|
369
|
+
body = JSON.stringify(
|
|
370
|
+
(0, import_smithy_client.take)(input, {
|
|
371
|
+
sources: (_) => (0, import_smithy_client._json)(_)
|
|
372
|
+
})
|
|
373
|
+
);
|
|
374
|
+
b.m("POST").h(headers).b(body);
|
|
375
|
+
return b.build();
|
|
376
|
+
}, "se_CreateAwsLogSourceCommand");
|
|
377
|
+
var se_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
378
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
379
|
+
const headers = {
|
|
380
|
+
"content-type": "application/json"
|
|
381
|
+
};
|
|
382
|
+
b.bp("/v1/datalake/logsources/custom");
|
|
383
|
+
let body;
|
|
384
|
+
body = JSON.stringify(
|
|
385
|
+
(0, import_smithy_client.take)(input, {
|
|
386
|
+
configuration: (_) => (0, import_smithy_client._json)(_),
|
|
387
|
+
eventClasses: (_) => (0, import_smithy_client._json)(_),
|
|
388
|
+
sourceName: [],
|
|
389
|
+
sourceVersion: []
|
|
390
|
+
})
|
|
391
|
+
);
|
|
392
|
+
b.m("POST").h(headers).b(body);
|
|
393
|
+
return b.build();
|
|
394
|
+
}, "se_CreateCustomLogSourceCommand");
|
|
395
|
+
var se_CreateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
396
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
397
|
+
const headers = {
|
|
398
|
+
"content-type": "application/json"
|
|
399
|
+
};
|
|
400
|
+
b.bp("/v1/datalake");
|
|
401
|
+
let body;
|
|
402
|
+
body = JSON.stringify(
|
|
403
|
+
(0, import_smithy_client.take)(input, {
|
|
404
|
+
configurations: (_) => (0, import_smithy_client._json)(_),
|
|
405
|
+
metaStoreManagerRoleArn: [],
|
|
406
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
407
|
+
})
|
|
408
|
+
);
|
|
409
|
+
b.m("POST").h(headers).b(body);
|
|
410
|
+
return b.build();
|
|
411
|
+
}, "se_CreateDataLakeCommand");
|
|
412
|
+
var se_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
413
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
414
|
+
const headers = {
|
|
415
|
+
"content-type": "application/json"
|
|
416
|
+
};
|
|
417
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
418
|
+
let body;
|
|
419
|
+
body = JSON.stringify(
|
|
420
|
+
(0, import_smithy_client.take)(input, {
|
|
421
|
+
exceptionTimeToLive: [],
|
|
422
|
+
notificationEndpoint: [],
|
|
423
|
+
subscriptionProtocol: []
|
|
424
|
+
})
|
|
425
|
+
);
|
|
426
|
+
b.m("POST").h(headers).b(body);
|
|
427
|
+
return b.build();
|
|
428
|
+
}, "se_CreateDataLakeExceptionSubscriptionCommand");
|
|
429
|
+
var se_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
430
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
431
|
+
const headers = {
|
|
432
|
+
"content-type": "application/json"
|
|
433
|
+
};
|
|
434
|
+
b.bp("/v1/datalake/organization/configuration");
|
|
435
|
+
let body;
|
|
436
|
+
body = JSON.stringify(
|
|
437
|
+
(0, import_smithy_client.take)(input, {
|
|
438
|
+
autoEnableNewAccount: (_) => (0, import_smithy_client._json)(_)
|
|
439
|
+
})
|
|
440
|
+
);
|
|
441
|
+
b.m("POST").h(headers).b(body);
|
|
442
|
+
return b.build();
|
|
443
|
+
}, "se_CreateDataLakeOrganizationConfigurationCommand");
|
|
444
|
+
var se_CreateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
445
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
446
|
+
const headers = {
|
|
447
|
+
"content-type": "application/json"
|
|
448
|
+
};
|
|
449
|
+
b.bp("/v1/subscribers");
|
|
450
|
+
let body;
|
|
451
|
+
body = JSON.stringify(
|
|
452
|
+
(0, import_smithy_client.take)(input, {
|
|
453
|
+
accessTypes: (_) => (0, import_smithy_client._json)(_),
|
|
454
|
+
sources: (_) => (0, import_smithy_client._json)(_),
|
|
455
|
+
subscriberDescription: [],
|
|
456
|
+
subscriberIdentity: (_) => (0, import_smithy_client._json)(_),
|
|
457
|
+
subscriberName: [],
|
|
458
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
459
|
+
})
|
|
460
|
+
);
|
|
461
|
+
b.m("POST").h(headers).b(body);
|
|
462
|
+
return b.build();
|
|
463
|
+
}, "se_CreateSubscriberCommand");
|
|
464
|
+
var se_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
466
|
+
const headers = {
|
|
467
|
+
"content-type": "application/json"
|
|
468
|
+
};
|
|
469
|
+
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
470
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
471
|
+
let body;
|
|
472
|
+
body = JSON.stringify(
|
|
473
|
+
(0, import_smithy_client.take)(input, {
|
|
474
|
+
configuration: (_) => (0, import_smithy_client._json)(_)
|
|
475
|
+
})
|
|
476
|
+
);
|
|
477
|
+
b.m("POST").h(headers).b(body);
|
|
478
|
+
return b.build();
|
|
479
|
+
}, "se_CreateSubscriberNotificationCommand");
|
|
480
|
+
var se_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
481
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
482
|
+
const headers = {
|
|
483
|
+
"content-type": "application/json"
|
|
484
|
+
};
|
|
485
|
+
b.bp("/v1/datalake/logsources/aws/delete");
|
|
486
|
+
let body;
|
|
487
|
+
body = JSON.stringify(
|
|
488
|
+
(0, import_smithy_client.take)(input, {
|
|
489
|
+
sources: (_) => (0, import_smithy_client._json)(_)
|
|
490
|
+
})
|
|
491
|
+
);
|
|
492
|
+
b.m("POST").h(headers).b(body);
|
|
493
|
+
return b.build();
|
|
494
|
+
}, "se_DeleteAwsLogSourceCommand");
|
|
495
|
+
var se_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
496
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
497
|
+
const headers = {};
|
|
498
|
+
b.bp("/v1/datalake/logsources/custom/{sourceName}");
|
|
499
|
+
b.p("sourceName", () => input.sourceName, "{sourceName}", false);
|
|
500
|
+
const query = (0, import_smithy_client.map)({
|
|
501
|
+
[_sV]: [, input[_sV]]
|
|
502
|
+
});
|
|
503
|
+
let body;
|
|
504
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
505
|
+
return b.build();
|
|
506
|
+
}, "se_DeleteCustomLogSourceCommand");
|
|
507
|
+
var se_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
508
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
509
|
+
const headers = {
|
|
510
|
+
"content-type": "application/json"
|
|
511
|
+
};
|
|
512
|
+
b.bp("/v1/datalake/delete");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(
|
|
515
|
+
(0, import_smithy_client.take)(input, {
|
|
516
|
+
regions: (_) => (0, import_smithy_client._json)(_)
|
|
517
|
+
})
|
|
518
|
+
);
|
|
519
|
+
b.m("POST").h(headers).b(body);
|
|
520
|
+
return b.build();
|
|
521
|
+
}, "se_DeleteDataLakeCommand");
|
|
522
|
+
var se_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
523
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
524
|
+
const headers = {
|
|
525
|
+
"content-type": "application/json"
|
|
526
|
+
};
|
|
527
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
528
|
+
let body;
|
|
529
|
+
body = "";
|
|
530
|
+
b.m("DELETE").h(headers).b(body);
|
|
531
|
+
return b.build();
|
|
532
|
+
}, "se_DeleteDataLakeExceptionSubscriptionCommand");
|
|
533
|
+
var se_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
534
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
535
|
+
const headers = {
|
|
536
|
+
"content-type": "application/json"
|
|
537
|
+
};
|
|
538
|
+
b.bp("/v1/datalake/organization/configuration/delete");
|
|
539
|
+
let body;
|
|
540
|
+
body = JSON.stringify(
|
|
541
|
+
(0, import_smithy_client.take)(input, {
|
|
542
|
+
autoEnableNewAccount: (_) => (0, import_smithy_client._json)(_)
|
|
543
|
+
})
|
|
544
|
+
);
|
|
545
|
+
b.m("POST").h(headers).b(body);
|
|
546
|
+
return b.build();
|
|
547
|
+
}, "se_DeleteDataLakeOrganizationConfigurationCommand");
|
|
548
|
+
var se_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
549
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
550
|
+
const headers = {};
|
|
551
|
+
b.bp("/v1/subscribers/{subscriberId}");
|
|
552
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
553
|
+
let body;
|
|
554
|
+
b.m("DELETE").h(headers).b(body);
|
|
555
|
+
return b.build();
|
|
556
|
+
}, "se_DeleteSubscriberCommand");
|
|
557
|
+
var se_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
558
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
559
|
+
const headers = {};
|
|
560
|
+
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
561
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
562
|
+
let body;
|
|
563
|
+
b.m("DELETE").h(headers).b(body);
|
|
564
|
+
return b.build();
|
|
565
|
+
}, "se_DeleteSubscriberNotificationCommand");
|
|
566
|
+
var se_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
568
|
+
const headers = {
|
|
569
|
+
"content-type": "application/json"
|
|
570
|
+
};
|
|
571
|
+
b.bp("/v1/datalake/delegate");
|
|
572
|
+
let body;
|
|
573
|
+
body = "";
|
|
574
|
+
b.m("DELETE").h(headers).b(body);
|
|
575
|
+
return b.build();
|
|
576
|
+
}, "se_DeregisterDataLakeDelegatedAdministratorCommand");
|
|
577
|
+
var se_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
579
|
+
const headers = {
|
|
580
|
+
"content-type": "application/json"
|
|
581
|
+
};
|
|
582
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
583
|
+
let body;
|
|
584
|
+
body = "";
|
|
585
|
+
b.m("GET").h(headers).b(body);
|
|
586
|
+
return b.build();
|
|
587
|
+
}, "se_GetDataLakeExceptionSubscriptionCommand");
|
|
588
|
+
var se_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
589
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
590
|
+
const headers = {
|
|
591
|
+
"content-type": "application/json"
|
|
592
|
+
};
|
|
593
|
+
b.bp("/v1/datalake/organization/configuration");
|
|
594
|
+
let body;
|
|
595
|
+
body = "";
|
|
596
|
+
b.m("GET").h(headers).b(body);
|
|
597
|
+
return b.build();
|
|
598
|
+
}, "se_GetDataLakeOrganizationConfigurationCommand");
|
|
599
|
+
var se_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
600
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
601
|
+
const headers = {
|
|
602
|
+
"content-type": "application/json"
|
|
603
|
+
};
|
|
604
|
+
b.bp("/v1/datalake/sources");
|
|
605
|
+
let body;
|
|
606
|
+
body = JSON.stringify(
|
|
607
|
+
(0, import_smithy_client.take)(input, {
|
|
608
|
+
accounts: (_) => (0, import_smithy_client._json)(_),
|
|
609
|
+
maxResults: [],
|
|
610
|
+
nextToken: []
|
|
611
|
+
})
|
|
612
|
+
);
|
|
613
|
+
b.m("POST").h(headers).b(body);
|
|
614
|
+
return b.build();
|
|
615
|
+
}, "se_GetDataLakeSourcesCommand");
|
|
616
|
+
var se_GetSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
617
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
618
|
+
const headers = {};
|
|
619
|
+
b.bp("/v1/subscribers/{subscriberId}");
|
|
620
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
621
|
+
let body;
|
|
622
|
+
b.m("GET").h(headers).b(body);
|
|
623
|
+
return b.build();
|
|
624
|
+
}, "se_GetSubscriberCommand");
|
|
625
|
+
var se_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
626
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
627
|
+
const headers = {
|
|
628
|
+
"content-type": "application/json"
|
|
629
|
+
};
|
|
630
|
+
b.bp("/v1/datalake/exceptions");
|
|
631
|
+
let body;
|
|
632
|
+
body = JSON.stringify(
|
|
633
|
+
(0, import_smithy_client.take)(input, {
|
|
634
|
+
maxResults: [],
|
|
635
|
+
nextToken: [],
|
|
636
|
+
regions: (_) => (0, import_smithy_client._json)(_)
|
|
637
|
+
})
|
|
638
|
+
);
|
|
639
|
+
b.m("POST").h(headers).b(body);
|
|
640
|
+
return b.build();
|
|
641
|
+
}, "se_ListDataLakeExceptionsCommand");
|
|
642
|
+
var se_ListDataLakesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
643
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
644
|
+
const headers = {};
|
|
645
|
+
b.bp("/v1/datalakes");
|
|
646
|
+
const query = (0, import_smithy_client.map)({
|
|
647
|
+
[_r]: [() => input.regions !== void 0, () => (input[_r] || []).map((_entry) => _entry)]
|
|
648
|
+
});
|
|
649
|
+
let body;
|
|
650
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
651
|
+
return b.build();
|
|
652
|
+
}, "se_ListDataLakesCommand");
|
|
653
|
+
var se_ListLogSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
654
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
655
|
+
const headers = {
|
|
656
|
+
"content-type": "application/json"
|
|
657
|
+
};
|
|
658
|
+
b.bp("/v1/datalake/logsources/list");
|
|
659
|
+
let body;
|
|
660
|
+
body = JSON.stringify(
|
|
661
|
+
(0, import_smithy_client.take)(input, {
|
|
662
|
+
accounts: (_) => (0, import_smithy_client._json)(_),
|
|
663
|
+
maxResults: [],
|
|
664
|
+
nextToken: [],
|
|
665
|
+
regions: (_) => (0, import_smithy_client._json)(_),
|
|
666
|
+
sources: (_) => (0, import_smithy_client._json)(_)
|
|
667
|
+
})
|
|
668
|
+
);
|
|
669
|
+
b.m("POST").h(headers).b(body);
|
|
670
|
+
return b.build();
|
|
671
|
+
}, "se_ListLogSourcesCommand");
|
|
672
|
+
var se_ListSubscribersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
673
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
674
|
+
const headers = {};
|
|
675
|
+
b.bp("/v1/subscribers");
|
|
676
|
+
const query = (0, import_smithy_client.map)({
|
|
677
|
+
[_nT]: [, input[_nT]],
|
|
678
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
679
|
+
});
|
|
680
|
+
let body;
|
|
681
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
682
|
+
return b.build();
|
|
683
|
+
}, "se_ListSubscribersCommand");
|
|
684
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
685
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
686
|
+
const headers = {};
|
|
687
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
688
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
689
|
+
let body;
|
|
690
|
+
b.m("GET").h(headers).b(body);
|
|
691
|
+
return b.build();
|
|
692
|
+
}, "se_ListTagsForResourceCommand");
|
|
693
|
+
var se_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
694
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
695
|
+
const headers = {
|
|
696
|
+
"content-type": "application/json"
|
|
697
|
+
};
|
|
698
|
+
b.bp("/v1/datalake/delegate");
|
|
699
|
+
let body;
|
|
700
|
+
body = JSON.stringify(
|
|
701
|
+
(0, import_smithy_client.take)(input, {
|
|
702
|
+
accountId: []
|
|
703
|
+
})
|
|
704
|
+
);
|
|
705
|
+
b.m("POST").h(headers).b(body);
|
|
706
|
+
return b.build();
|
|
707
|
+
}, "se_RegisterDataLakeDelegatedAdministratorCommand");
|
|
708
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
709
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
710
|
+
const headers = {
|
|
711
|
+
"content-type": "application/json"
|
|
712
|
+
};
|
|
713
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
714
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
715
|
+
let body;
|
|
716
|
+
body = JSON.stringify(
|
|
717
|
+
(0, import_smithy_client.take)(input, {
|
|
718
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
719
|
+
})
|
|
720
|
+
);
|
|
721
|
+
b.m("POST").h(headers).b(body);
|
|
722
|
+
return b.build();
|
|
723
|
+
}, "se_TagResourceCommand");
|
|
724
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
725
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
726
|
+
const headers = {};
|
|
727
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
728
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
729
|
+
const query = (0, import_smithy_client.map)({
|
|
730
|
+
[_tK]: [
|
|
731
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
732
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
733
|
+
]
|
|
734
|
+
});
|
|
735
|
+
let body;
|
|
736
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
737
|
+
return b.build();
|
|
738
|
+
}, "se_UntagResourceCommand");
|
|
739
|
+
var se_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
740
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
741
|
+
const headers = {
|
|
742
|
+
"content-type": "application/json"
|
|
743
|
+
};
|
|
744
|
+
b.bp("/v1/datalake");
|
|
745
|
+
let body;
|
|
746
|
+
body = JSON.stringify(
|
|
747
|
+
(0, import_smithy_client.take)(input, {
|
|
748
|
+
configurations: (_) => (0, import_smithy_client._json)(_)
|
|
749
|
+
})
|
|
750
|
+
);
|
|
751
|
+
b.m("PUT").h(headers).b(body);
|
|
752
|
+
return b.build();
|
|
753
|
+
}, "se_UpdateDataLakeCommand");
|
|
754
|
+
var se_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
755
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
756
|
+
const headers = {
|
|
757
|
+
"content-type": "application/json"
|
|
758
|
+
};
|
|
759
|
+
b.bp("/v1/datalake/exceptions/subscription");
|
|
760
|
+
let body;
|
|
761
|
+
body = JSON.stringify(
|
|
762
|
+
(0, import_smithy_client.take)(input, {
|
|
763
|
+
exceptionTimeToLive: [],
|
|
764
|
+
notificationEndpoint: [],
|
|
765
|
+
subscriptionProtocol: []
|
|
766
|
+
})
|
|
767
|
+
);
|
|
768
|
+
b.m("PUT").h(headers).b(body);
|
|
769
|
+
return b.build();
|
|
770
|
+
}, "se_UpdateDataLakeExceptionSubscriptionCommand");
|
|
771
|
+
var se_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
772
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
773
|
+
const headers = {
|
|
774
|
+
"content-type": "application/json"
|
|
775
|
+
};
|
|
776
|
+
b.bp("/v1/subscribers/{subscriberId}");
|
|
777
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
778
|
+
let body;
|
|
779
|
+
body = JSON.stringify(
|
|
780
|
+
(0, import_smithy_client.take)(input, {
|
|
781
|
+
sources: (_) => (0, import_smithy_client._json)(_),
|
|
782
|
+
subscriberDescription: [],
|
|
783
|
+
subscriberIdentity: (_) => (0, import_smithy_client._json)(_),
|
|
784
|
+
subscriberName: []
|
|
785
|
+
})
|
|
786
|
+
);
|
|
787
|
+
b.m("PUT").h(headers).b(body);
|
|
788
|
+
return b.build();
|
|
789
|
+
}, "se_UpdateSubscriberCommand");
|
|
790
|
+
var se_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
791
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
792
|
+
const headers = {
|
|
793
|
+
"content-type": "application/json"
|
|
794
|
+
};
|
|
795
|
+
b.bp("/v1/subscribers/{subscriberId}/notification");
|
|
796
|
+
b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
|
|
797
|
+
let body;
|
|
798
|
+
body = JSON.stringify(
|
|
799
|
+
(0, import_smithy_client.take)(input, {
|
|
800
|
+
configuration: (_) => (0, import_smithy_client._json)(_)
|
|
801
|
+
})
|
|
802
|
+
);
|
|
803
|
+
b.m("PUT").h(headers).b(body);
|
|
804
|
+
return b.build();
|
|
805
|
+
}, "se_UpdateSubscriberNotificationCommand");
|
|
806
|
+
var de_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
807
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
|
+
return de_CreateAwsLogSourceCommandError(output, context);
|
|
809
|
+
}
|
|
810
|
+
const contents = (0, import_smithy_client.map)({
|
|
811
|
+
$metadata: deserializeMetadata(output)
|
|
812
|
+
});
|
|
813
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
814
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
815
|
+
failed: import_smithy_client._json
|
|
816
|
+
});
|
|
817
|
+
Object.assign(contents, doc);
|
|
818
|
+
return contents;
|
|
819
|
+
}, "de_CreateAwsLogSourceCommand");
|
|
820
|
+
var de_CreateAwsLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
821
|
+
const parsedOutput = {
|
|
822
|
+
...output,
|
|
823
|
+
body: await parseErrorBody(output.body, context)
|
|
824
|
+
};
|
|
825
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
826
|
+
switch (errorCode) {
|
|
827
|
+
case "AccessDeniedException":
|
|
828
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
829
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
830
|
+
case "BadRequestException":
|
|
831
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
832
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
833
|
+
case "ConflictException":
|
|
834
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
835
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
836
|
+
case "InternalServerException":
|
|
837
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
838
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
839
|
+
case "ResourceNotFoundException":
|
|
840
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
841
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
842
|
+
case "ThrottlingException":
|
|
843
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
844
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
845
|
+
default:
|
|
846
|
+
const parsedBody = parsedOutput.body;
|
|
847
|
+
return throwDefaultError({
|
|
848
|
+
output,
|
|
849
|
+
parsedBody,
|
|
850
|
+
errorCode
|
|
851
|
+
});
|
|
852
|
+
}
|
|
853
|
+
}, "de_CreateAwsLogSourceCommandError");
|
|
854
|
+
var de_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
856
|
+
return de_CreateCustomLogSourceCommandError(output, context);
|
|
857
|
+
}
|
|
858
|
+
const contents = (0, import_smithy_client.map)({
|
|
859
|
+
$metadata: deserializeMetadata(output)
|
|
860
|
+
});
|
|
861
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
862
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
863
|
+
source: import_smithy_client._json
|
|
864
|
+
});
|
|
865
|
+
Object.assign(contents, doc);
|
|
866
|
+
return contents;
|
|
867
|
+
}, "de_CreateCustomLogSourceCommand");
|
|
868
|
+
var de_CreateCustomLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
869
|
+
const parsedOutput = {
|
|
870
|
+
...output,
|
|
871
|
+
body: await parseErrorBody(output.body, context)
|
|
872
|
+
};
|
|
873
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
874
|
+
switch (errorCode) {
|
|
875
|
+
case "AccessDeniedException":
|
|
876
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
877
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
878
|
+
case "BadRequestException":
|
|
879
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
880
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
881
|
+
case "ConflictException":
|
|
882
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
883
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
884
|
+
case "InternalServerException":
|
|
885
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
886
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
887
|
+
case "ResourceNotFoundException":
|
|
888
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
889
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
890
|
+
case "ThrottlingException":
|
|
891
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
892
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
893
|
+
default:
|
|
894
|
+
const parsedBody = parsedOutput.body;
|
|
895
|
+
return throwDefaultError({
|
|
896
|
+
output,
|
|
897
|
+
parsedBody,
|
|
898
|
+
errorCode
|
|
899
|
+
});
|
|
900
|
+
}
|
|
901
|
+
}, "de_CreateCustomLogSourceCommandError");
|
|
902
|
+
var de_CreateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
903
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
904
|
+
return de_CreateDataLakeCommandError(output, context);
|
|
905
|
+
}
|
|
906
|
+
const contents = (0, import_smithy_client.map)({
|
|
907
|
+
$metadata: deserializeMetadata(output)
|
|
908
|
+
});
|
|
909
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
910
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
911
|
+
dataLakes: import_smithy_client._json
|
|
912
|
+
});
|
|
913
|
+
Object.assign(contents, doc);
|
|
914
|
+
return contents;
|
|
915
|
+
}, "de_CreateDataLakeCommand");
|
|
916
|
+
var de_CreateDataLakeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
917
|
+
const parsedOutput = {
|
|
918
|
+
...output,
|
|
919
|
+
body: await parseErrorBody(output.body, context)
|
|
920
|
+
};
|
|
921
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
922
|
+
switch (errorCode) {
|
|
923
|
+
case "AccessDeniedException":
|
|
924
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
925
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
926
|
+
case "BadRequestException":
|
|
927
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
928
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
929
|
+
case "ConflictException":
|
|
930
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
931
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
932
|
+
case "InternalServerException":
|
|
933
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
934
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
935
|
+
case "ResourceNotFoundException":
|
|
936
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
937
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
938
|
+
case "ThrottlingException":
|
|
939
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
940
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
941
|
+
default:
|
|
942
|
+
const parsedBody = parsedOutput.body;
|
|
943
|
+
return throwDefaultError({
|
|
944
|
+
output,
|
|
945
|
+
parsedBody,
|
|
946
|
+
errorCode
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
}, "de_CreateDataLakeCommandError");
|
|
950
|
+
var de_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
951
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
952
|
+
return de_CreateDataLakeExceptionSubscriptionCommandError(output, context);
|
|
953
|
+
}
|
|
954
|
+
const contents = (0, import_smithy_client.map)({
|
|
955
|
+
$metadata: deserializeMetadata(output)
|
|
956
|
+
});
|
|
957
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
958
|
+
return contents;
|
|
959
|
+
}, "de_CreateDataLakeExceptionSubscriptionCommand");
|
|
960
|
+
var de_CreateDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
961
|
+
const parsedOutput = {
|
|
962
|
+
...output,
|
|
963
|
+
body: await parseErrorBody(output.body, context)
|
|
964
|
+
};
|
|
965
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
966
|
+
switch (errorCode) {
|
|
967
|
+
case "AccessDeniedException":
|
|
968
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
969
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
970
|
+
case "BadRequestException":
|
|
971
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
972
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
973
|
+
case "ConflictException":
|
|
974
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
975
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
976
|
+
case "InternalServerException":
|
|
977
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
978
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
979
|
+
case "ResourceNotFoundException":
|
|
980
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
981
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
982
|
+
case "ThrottlingException":
|
|
983
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
984
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
985
|
+
default:
|
|
986
|
+
const parsedBody = parsedOutput.body;
|
|
987
|
+
return throwDefaultError({
|
|
988
|
+
output,
|
|
989
|
+
parsedBody,
|
|
990
|
+
errorCode
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
}, "de_CreateDataLakeExceptionSubscriptionCommandError");
|
|
994
|
+
var de_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
995
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
996
|
+
return de_CreateDataLakeOrganizationConfigurationCommandError(output, context);
|
|
997
|
+
}
|
|
998
|
+
const contents = (0, import_smithy_client.map)({
|
|
999
|
+
$metadata: deserializeMetadata(output)
|
|
1000
|
+
});
|
|
1001
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1002
|
+
return contents;
|
|
1003
|
+
}, "de_CreateDataLakeOrganizationConfigurationCommand");
|
|
1004
|
+
var de_CreateDataLakeOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1005
|
+
const parsedOutput = {
|
|
1006
|
+
...output,
|
|
1007
|
+
body: await parseErrorBody(output.body, context)
|
|
1008
|
+
};
|
|
1009
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1010
|
+
switch (errorCode) {
|
|
1011
|
+
case "AccessDeniedException":
|
|
1012
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1013
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1014
|
+
case "BadRequestException":
|
|
1015
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1016
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1017
|
+
case "ConflictException":
|
|
1018
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1019
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1020
|
+
case "InternalServerException":
|
|
1021
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1022
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1023
|
+
case "ResourceNotFoundException":
|
|
1024
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1025
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1026
|
+
case "ThrottlingException":
|
|
1027
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1028
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1029
|
+
default:
|
|
1030
|
+
const parsedBody = parsedOutput.body;
|
|
1031
|
+
return throwDefaultError({
|
|
1032
|
+
output,
|
|
1033
|
+
parsedBody,
|
|
1034
|
+
errorCode
|
|
1035
|
+
});
|
|
1036
|
+
}
|
|
1037
|
+
}, "de_CreateDataLakeOrganizationConfigurationCommandError");
|
|
1038
|
+
var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1039
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1040
|
+
return de_CreateSubscriberCommandError(output, context);
|
|
1041
|
+
}
|
|
1042
|
+
const contents = (0, import_smithy_client.map)({
|
|
1043
|
+
$metadata: deserializeMetadata(output)
|
|
1044
|
+
});
|
|
1045
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1046
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1047
|
+
subscriber: (_) => de_SubscriberResource(_, context)
|
|
1048
|
+
});
|
|
1049
|
+
Object.assign(contents, doc);
|
|
1050
|
+
return contents;
|
|
1051
|
+
}, "de_CreateSubscriberCommand");
|
|
1052
|
+
var de_CreateSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1053
|
+
const parsedOutput = {
|
|
1054
|
+
...output,
|
|
1055
|
+
body: await parseErrorBody(output.body, context)
|
|
1056
|
+
};
|
|
1057
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1058
|
+
switch (errorCode) {
|
|
1059
|
+
case "AccessDeniedException":
|
|
1060
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1061
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1062
|
+
case "BadRequestException":
|
|
1063
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1064
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1065
|
+
case "ConflictException":
|
|
1066
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1067
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1068
|
+
case "InternalServerException":
|
|
1069
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1070
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1071
|
+
case "ResourceNotFoundException":
|
|
1072
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1073
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1074
|
+
case "ThrottlingException":
|
|
1075
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1076
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1077
|
+
default:
|
|
1078
|
+
const parsedBody = parsedOutput.body;
|
|
1079
|
+
return throwDefaultError({
|
|
1080
|
+
output,
|
|
1081
|
+
parsedBody,
|
|
1082
|
+
errorCode
|
|
1083
|
+
});
|
|
1084
|
+
}
|
|
1085
|
+
}, "de_CreateSubscriberCommandError");
|
|
1086
|
+
var de_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1087
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1088
|
+
return de_CreateSubscriberNotificationCommandError(output, context);
|
|
1089
|
+
}
|
|
1090
|
+
const contents = (0, import_smithy_client.map)({
|
|
1091
|
+
$metadata: deserializeMetadata(output)
|
|
1092
|
+
});
|
|
1093
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1094
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1095
|
+
subscriberEndpoint: import_smithy_client.expectString
|
|
1096
|
+
});
|
|
1097
|
+
Object.assign(contents, doc);
|
|
1098
|
+
return contents;
|
|
1099
|
+
}, "de_CreateSubscriberNotificationCommand");
|
|
1100
|
+
var de_CreateSubscriberNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1101
|
+
const parsedOutput = {
|
|
1102
|
+
...output,
|
|
1103
|
+
body: await parseErrorBody(output.body, context)
|
|
1104
|
+
};
|
|
1105
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1106
|
+
switch (errorCode) {
|
|
1107
|
+
case "AccessDeniedException":
|
|
1108
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1109
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1110
|
+
case "BadRequestException":
|
|
1111
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1112
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1113
|
+
case "ConflictException":
|
|
1114
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1115
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1116
|
+
case "InternalServerException":
|
|
1117
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1118
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1119
|
+
case "ResourceNotFoundException":
|
|
1120
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1121
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1122
|
+
case "ThrottlingException":
|
|
1123
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1124
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1125
|
+
default:
|
|
1126
|
+
const parsedBody = parsedOutput.body;
|
|
1127
|
+
return throwDefaultError({
|
|
1128
|
+
output,
|
|
1129
|
+
parsedBody,
|
|
1130
|
+
errorCode
|
|
1131
|
+
});
|
|
1132
|
+
}
|
|
1133
|
+
}, "de_CreateSubscriberNotificationCommandError");
|
|
1134
|
+
var de_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1135
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1136
|
+
return de_DeleteAwsLogSourceCommandError(output, context);
|
|
1137
|
+
}
|
|
1138
|
+
const contents = (0, import_smithy_client.map)({
|
|
1139
|
+
$metadata: deserializeMetadata(output)
|
|
1140
|
+
});
|
|
1141
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1142
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1143
|
+
failed: import_smithy_client._json
|
|
1144
|
+
});
|
|
1145
|
+
Object.assign(contents, doc);
|
|
1146
|
+
return contents;
|
|
1147
|
+
}, "de_DeleteAwsLogSourceCommand");
|
|
1148
|
+
var de_DeleteAwsLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1149
|
+
const parsedOutput = {
|
|
1150
|
+
...output,
|
|
1151
|
+
body: await parseErrorBody(output.body, context)
|
|
1152
|
+
};
|
|
1153
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1154
|
+
switch (errorCode) {
|
|
1155
|
+
case "AccessDeniedException":
|
|
1156
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1157
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1158
|
+
case "BadRequestException":
|
|
1159
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1160
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1161
|
+
case "ConflictException":
|
|
1162
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1163
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1164
|
+
case "InternalServerException":
|
|
1165
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1166
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1167
|
+
case "ResourceNotFoundException":
|
|
1168
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1169
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1170
|
+
case "ThrottlingException":
|
|
1171
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1172
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1173
|
+
default:
|
|
1174
|
+
const parsedBody = parsedOutput.body;
|
|
1175
|
+
return throwDefaultError({
|
|
1176
|
+
output,
|
|
1177
|
+
parsedBody,
|
|
1178
|
+
errorCode
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
}, "de_DeleteAwsLogSourceCommandError");
|
|
1182
|
+
var de_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1183
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1184
|
+
return de_DeleteCustomLogSourceCommandError(output, context);
|
|
1185
|
+
}
|
|
1186
|
+
const contents = (0, import_smithy_client.map)({
|
|
1187
|
+
$metadata: deserializeMetadata(output)
|
|
1188
|
+
});
|
|
1189
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1190
|
+
return contents;
|
|
1191
|
+
}, "de_DeleteCustomLogSourceCommand");
|
|
1192
|
+
var de_DeleteCustomLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1193
|
+
const parsedOutput = {
|
|
1194
|
+
...output,
|
|
1195
|
+
body: await parseErrorBody(output.body, context)
|
|
1196
|
+
};
|
|
1197
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1198
|
+
switch (errorCode) {
|
|
1199
|
+
case "AccessDeniedException":
|
|
1200
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1201
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1202
|
+
case "BadRequestException":
|
|
1203
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1204
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1205
|
+
case "ConflictException":
|
|
1206
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1207
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1208
|
+
case "InternalServerException":
|
|
1209
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1210
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1211
|
+
case "ResourceNotFoundException":
|
|
1212
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1213
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1214
|
+
case "ThrottlingException":
|
|
1215
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1216
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1217
|
+
default:
|
|
1218
|
+
const parsedBody = parsedOutput.body;
|
|
1219
|
+
return throwDefaultError({
|
|
1220
|
+
output,
|
|
1221
|
+
parsedBody,
|
|
1222
|
+
errorCode
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
}, "de_DeleteCustomLogSourceCommandError");
|
|
1226
|
+
var de_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1227
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1228
|
+
return de_DeleteDataLakeCommandError(output, context);
|
|
1229
|
+
}
|
|
1230
|
+
const contents = (0, import_smithy_client.map)({
|
|
1231
|
+
$metadata: deserializeMetadata(output)
|
|
1232
|
+
});
|
|
1233
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1234
|
+
return contents;
|
|
1235
|
+
}, "de_DeleteDataLakeCommand");
|
|
1236
|
+
var de_DeleteDataLakeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1237
|
+
const parsedOutput = {
|
|
1238
|
+
...output,
|
|
1239
|
+
body: await parseErrorBody(output.body, context)
|
|
1240
|
+
};
|
|
1241
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1242
|
+
switch (errorCode) {
|
|
1243
|
+
case "AccessDeniedException":
|
|
1244
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1245
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1246
|
+
case "BadRequestException":
|
|
1247
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1248
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1249
|
+
case "ConflictException":
|
|
1250
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1251
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1252
|
+
case "InternalServerException":
|
|
1253
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1254
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1255
|
+
case "ResourceNotFoundException":
|
|
1256
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1257
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1258
|
+
case "ThrottlingException":
|
|
1259
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1260
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1261
|
+
default:
|
|
1262
|
+
const parsedBody = parsedOutput.body;
|
|
1263
|
+
return throwDefaultError({
|
|
1264
|
+
output,
|
|
1265
|
+
parsedBody,
|
|
1266
|
+
errorCode
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
}, "de_DeleteDataLakeCommandError");
|
|
1270
|
+
var de_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1271
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1272
|
+
return de_DeleteDataLakeExceptionSubscriptionCommandError(output, context);
|
|
1273
|
+
}
|
|
1274
|
+
const contents = (0, import_smithy_client.map)({
|
|
1275
|
+
$metadata: deserializeMetadata(output)
|
|
1276
|
+
});
|
|
1277
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1278
|
+
return contents;
|
|
1279
|
+
}, "de_DeleteDataLakeExceptionSubscriptionCommand");
|
|
1280
|
+
var de_DeleteDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1281
|
+
const parsedOutput = {
|
|
1282
|
+
...output,
|
|
1283
|
+
body: await parseErrorBody(output.body, context)
|
|
1284
|
+
};
|
|
1285
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1286
|
+
switch (errorCode) {
|
|
1287
|
+
case "AccessDeniedException":
|
|
1288
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1289
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1290
|
+
case "BadRequestException":
|
|
1291
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1292
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1293
|
+
case "ConflictException":
|
|
1294
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1295
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1296
|
+
case "InternalServerException":
|
|
1297
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1298
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1299
|
+
case "ResourceNotFoundException":
|
|
1300
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1301
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1302
|
+
case "ThrottlingException":
|
|
1303
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1304
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1305
|
+
default:
|
|
1306
|
+
const parsedBody = parsedOutput.body;
|
|
1307
|
+
return throwDefaultError({
|
|
1308
|
+
output,
|
|
1309
|
+
parsedBody,
|
|
1310
|
+
errorCode
|
|
1311
|
+
});
|
|
1312
|
+
}
|
|
1313
|
+
}, "de_DeleteDataLakeExceptionSubscriptionCommandError");
|
|
1314
|
+
var de_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1315
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1316
|
+
return de_DeleteDataLakeOrganizationConfigurationCommandError(output, context);
|
|
1317
|
+
}
|
|
1318
|
+
const contents = (0, import_smithy_client.map)({
|
|
1319
|
+
$metadata: deserializeMetadata(output)
|
|
1320
|
+
});
|
|
1321
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1322
|
+
return contents;
|
|
1323
|
+
}, "de_DeleteDataLakeOrganizationConfigurationCommand");
|
|
1324
|
+
var de_DeleteDataLakeOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1325
|
+
const parsedOutput = {
|
|
1326
|
+
...output,
|
|
1327
|
+
body: await parseErrorBody(output.body, context)
|
|
1328
|
+
};
|
|
1329
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1330
|
+
switch (errorCode) {
|
|
1331
|
+
case "AccessDeniedException":
|
|
1332
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1333
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1334
|
+
case "BadRequestException":
|
|
1335
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1336
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1337
|
+
case "ConflictException":
|
|
1338
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1339
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1340
|
+
case "InternalServerException":
|
|
1341
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1342
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1343
|
+
case "ResourceNotFoundException":
|
|
1344
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1345
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1346
|
+
case "ThrottlingException":
|
|
1347
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1348
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1349
|
+
default:
|
|
1350
|
+
const parsedBody = parsedOutput.body;
|
|
1351
|
+
return throwDefaultError({
|
|
1352
|
+
output,
|
|
1353
|
+
parsedBody,
|
|
1354
|
+
errorCode
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
}, "de_DeleteDataLakeOrganizationConfigurationCommandError");
|
|
1358
|
+
var de_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1359
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1360
|
+
return de_DeleteSubscriberCommandError(output, context);
|
|
1361
|
+
}
|
|
1362
|
+
const contents = (0, import_smithy_client.map)({
|
|
1363
|
+
$metadata: deserializeMetadata(output)
|
|
1364
|
+
});
|
|
1365
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1366
|
+
return contents;
|
|
1367
|
+
}, "de_DeleteSubscriberCommand");
|
|
1368
|
+
var de_DeleteSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1369
|
+
const parsedOutput = {
|
|
1370
|
+
...output,
|
|
1371
|
+
body: await parseErrorBody(output.body, context)
|
|
1372
|
+
};
|
|
1373
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1374
|
+
switch (errorCode) {
|
|
1375
|
+
case "AccessDeniedException":
|
|
1376
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1377
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1378
|
+
case "BadRequestException":
|
|
1379
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1380
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1381
|
+
case "ConflictException":
|
|
1382
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1383
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1384
|
+
case "InternalServerException":
|
|
1385
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1386
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1387
|
+
case "ResourceNotFoundException":
|
|
1388
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1389
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1390
|
+
case "ThrottlingException":
|
|
1391
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1392
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1393
|
+
default:
|
|
1394
|
+
const parsedBody = parsedOutput.body;
|
|
1395
|
+
return throwDefaultError({
|
|
1396
|
+
output,
|
|
1397
|
+
parsedBody,
|
|
1398
|
+
errorCode
|
|
1399
|
+
});
|
|
1400
|
+
}
|
|
1401
|
+
}, "de_DeleteSubscriberCommandError");
|
|
1402
|
+
var de_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1403
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1404
|
+
return de_DeleteSubscriberNotificationCommandError(output, context);
|
|
1405
|
+
}
|
|
1406
|
+
const contents = (0, import_smithy_client.map)({
|
|
1407
|
+
$metadata: deserializeMetadata(output)
|
|
1408
|
+
});
|
|
1409
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1410
|
+
return contents;
|
|
1411
|
+
}, "de_DeleteSubscriberNotificationCommand");
|
|
1412
|
+
var de_DeleteSubscriberNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1413
|
+
const parsedOutput = {
|
|
1414
|
+
...output,
|
|
1415
|
+
body: await parseErrorBody(output.body, context)
|
|
1416
|
+
};
|
|
1417
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1418
|
+
switch (errorCode) {
|
|
1419
|
+
case "AccessDeniedException":
|
|
1420
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1421
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1422
|
+
case "BadRequestException":
|
|
1423
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1424
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1425
|
+
case "ConflictException":
|
|
1426
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1427
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1428
|
+
case "InternalServerException":
|
|
1429
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1430
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1431
|
+
case "ResourceNotFoundException":
|
|
1432
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1433
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1434
|
+
case "ThrottlingException":
|
|
1435
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1436
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1437
|
+
default:
|
|
1438
|
+
const parsedBody = parsedOutput.body;
|
|
1439
|
+
return throwDefaultError({
|
|
1440
|
+
output,
|
|
1441
|
+
parsedBody,
|
|
1442
|
+
errorCode
|
|
1443
|
+
});
|
|
1444
|
+
}
|
|
1445
|
+
}, "de_DeleteSubscriberNotificationCommandError");
|
|
1446
|
+
var de_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1447
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1448
|
+
return de_DeregisterDataLakeDelegatedAdministratorCommandError(output, context);
|
|
1449
|
+
}
|
|
1450
|
+
const contents = (0, import_smithy_client.map)({
|
|
1451
|
+
$metadata: deserializeMetadata(output)
|
|
1452
|
+
});
|
|
1453
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1454
|
+
return contents;
|
|
1455
|
+
}, "de_DeregisterDataLakeDelegatedAdministratorCommand");
|
|
1456
|
+
var de_DeregisterDataLakeDelegatedAdministratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1457
|
+
const parsedOutput = {
|
|
1458
|
+
...output,
|
|
1459
|
+
body: await parseErrorBody(output.body, context)
|
|
1460
|
+
};
|
|
1461
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1462
|
+
switch (errorCode) {
|
|
1463
|
+
case "AccessDeniedException":
|
|
1464
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1465
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1466
|
+
case "BadRequestException":
|
|
1467
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1468
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1469
|
+
case "ConflictException":
|
|
1470
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1471
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1472
|
+
case "InternalServerException":
|
|
1473
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1474
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1475
|
+
case "ResourceNotFoundException":
|
|
1476
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1477
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1478
|
+
case "ThrottlingException":
|
|
1479
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1480
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1481
|
+
default:
|
|
1482
|
+
const parsedBody = parsedOutput.body;
|
|
1483
|
+
return throwDefaultError({
|
|
1484
|
+
output,
|
|
1485
|
+
parsedBody,
|
|
1486
|
+
errorCode
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
}, "de_DeregisterDataLakeDelegatedAdministratorCommandError");
|
|
1490
|
+
var de_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1491
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1492
|
+
return de_GetDataLakeExceptionSubscriptionCommandError(output, context);
|
|
1493
|
+
}
|
|
1494
|
+
const contents = (0, import_smithy_client.map)({
|
|
1495
|
+
$metadata: deserializeMetadata(output)
|
|
1496
|
+
});
|
|
1497
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1498
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1499
|
+
exceptionTimeToLive: import_smithy_client.expectLong,
|
|
1500
|
+
notificationEndpoint: import_smithy_client.expectString,
|
|
1501
|
+
subscriptionProtocol: import_smithy_client.expectString
|
|
1502
|
+
});
|
|
1503
|
+
Object.assign(contents, doc);
|
|
1504
|
+
return contents;
|
|
1505
|
+
}, "de_GetDataLakeExceptionSubscriptionCommand");
|
|
1506
|
+
var de_GetDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1507
|
+
const parsedOutput = {
|
|
1508
|
+
...output,
|
|
1509
|
+
body: await parseErrorBody(output.body, context)
|
|
1510
|
+
};
|
|
1511
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1512
|
+
switch (errorCode) {
|
|
1513
|
+
case "AccessDeniedException":
|
|
1514
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1515
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1516
|
+
case "BadRequestException":
|
|
1517
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1518
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1519
|
+
case "ConflictException":
|
|
1520
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1521
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1522
|
+
case "InternalServerException":
|
|
1523
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1524
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1525
|
+
case "ResourceNotFoundException":
|
|
1526
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1527
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1528
|
+
case "ThrottlingException":
|
|
1529
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1530
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1531
|
+
default:
|
|
1532
|
+
const parsedBody = parsedOutput.body;
|
|
1533
|
+
return throwDefaultError({
|
|
1534
|
+
output,
|
|
1535
|
+
parsedBody,
|
|
1536
|
+
errorCode
|
|
1537
|
+
});
|
|
1538
|
+
}
|
|
1539
|
+
}, "de_GetDataLakeExceptionSubscriptionCommandError");
|
|
1540
|
+
var de_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1541
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1542
|
+
return de_GetDataLakeOrganizationConfigurationCommandError(output, context);
|
|
1543
|
+
}
|
|
1544
|
+
const contents = (0, import_smithy_client.map)({
|
|
1545
|
+
$metadata: deserializeMetadata(output)
|
|
1546
|
+
});
|
|
1547
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1548
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1549
|
+
autoEnableNewAccount: import_smithy_client._json
|
|
1550
|
+
});
|
|
1551
|
+
Object.assign(contents, doc);
|
|
1552
|
+
return contents;
|
|
1553
|
+
}, "de_GetDataLakeOrganizationConfigurationCommand");
|
|
1554
|
+
var de_GetDataLakeOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1555
|
+
const parsedOutput = {
|
|
1556
|
+
...output,
|
|
1557
|
+
body: await parseErrorBody(output.body, context)
|
|
1558
|
+
};
|
|
1559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1560
|
+
switch (errorCode) {
|
|
1561
|
+
case "AccessDeniedException":
|
|
1562
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1563
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1564
|
+
case "BadRequestException":
|
|
1565
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1566
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1567
|
+
case "ConflictException":
|
|
1568
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1569
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1570
|
+
case "InternalServerException":
|
|
1571
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1572
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1573
|
+
case "ResourceNotFoundException":
|
|
1574
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1575
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1576
|
+
case "ThrottlingException":
|
|
1577
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1578
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1579
|
+
default:
|
|
1580
|
+
const parsedBody = parsedOutput.body;
|
|
1581
|
+
return throwDefaultError({
|
|
1582
|
+
output,
|
|
1583
|
+
parsedBody,
|
|
1584
|
+
errorCode
|
|
1585
|
+
});
|
|
1586
|
+
}
|
|
1587
|
+
}, "de_GetDataLakeOrganizationConfigurationCommandError");
|
|
1588
|
+
var de_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1589
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1590
|
+
return de_GetDataLakeSourcesCommandError(output, context);
|
|
1591
|
+
}
|
|
1592
|
+
const contents = (0, import_smithy_client.map)({
|
|
1593
|
+
$metadata: deserializeMetadata(output)
|
|
1594
|
+
});
|
|
1595
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1596
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1597
|
+
dataLakeArn: import_smithy_client.expectString,
|
|
1598
|
+
dataLakeSources: import_smithy_client._json,
|
|
1599
|
+
nextToken: import_smithy_client.expectString
|
|
1600
|
+
});
|
|
1601
|
+
Object.assign(contents, doc);
|
|
1602
|
+
return contents;
|
|
1603
|
+
}, "de_GetDataLakeSourcesCommand");
|
|
1604
|
+
var de_GetDataLakeSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1605
|
+
const parsedOutput = {
|
|
1606
|
+
...output,
|
|
1607
|
+
body: await parseErrorBody(output.body, context)
|
|
1608
|
+
};
|
|
1609
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1610
|
+
switch (errorCode) {
|
|
1611
|
+
case "AccessDeniedException":
|
|
1612
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1613
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1614
|
+
case "BadRequestException":
|
|
1615
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1616
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1617
|
+
case "ConflictException":
|
|
1618
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1619
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1620
|
+
case "InternalServerException":
|
|
1621
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1622
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1623
|
+
case "ResourceNotFoundException":
|
|
1624
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1625
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1626
|
+
case "ThrottlingException":
|
|
1627
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1628
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1629
|
+
default:
|
|
1630
|
+
const parsedBody = parsedOutput.body;
|
|
1631
|
+
return throwDefaultError({
|
|
1632
|
+
output,
|
|
1633
|
+
parsedBody,
|
|
1634
|
+
errorCode
|
|
1635
|
+
});
|
|
1636
|
+
}
|
|
1637
|
+
}, "de_GetDataLakeSourcesCommandError");
|
|
1638
|
+
var de_GetSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1639
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1640
|
+
return de_GetSubscriberCommandError(output, context);
|
|
1641
|
+
}
|
|
1642
|
+
const contents = (0, import_smithy_client.map)({
|
|
1643
|
+
$metadata: deserializeMetadata(output)
|
|
1644
|
+
});
|
|
1645
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1646
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1647
|
+
subscriber: (_) => de_SubscriberResource(_, context)
|
|
1648
|
+
});
|
|
1649
|
+
Object.assign(contents, doc);
|
|
1650
|
+
return contents;
|
|
1651
|
+
}, "de_GetSubscriberCommand");
|
|
1652
|
+
var de_GetSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1653
|
+
const parsedOutput = {
|
|
1654
|
+
...output,
|
|
1655
|
+
body: await parseErrorBody(output.body, context)
|
|
1656
|
+
};
|
|
1657
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1658
|
+
switch (errorCode) {
|
|
1659
|
+
case "AccessDeniedException":
|
|
1660
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1661
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1662
|
+
case "BadRequestException":
|
|
1663
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1664
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1665
|
+
case "ConflictException":
|
|
1666
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1667
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1668
|
+
case "InternalServerException":
|
|
1669
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1670
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1671
|
+
case "ResourceNotFoundException":
|
|
1672
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1673
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1674
|
+
case "ThrottlingException":
|
|
1675
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1676
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1677
|
+
default:
|
|
1678
|
+
const parsedBody = parsedOutput.body;
|
|
1679
|
+
return throwDefaultError({
|
|
1680
|
+
output,
|
|
1681
|
+
parsedBody,
|
|
1682
|
+
errorCode
|
|
1683
|
+
});
|
|
1684
|
+
}
|
|
1685
|
+
}, "de_GetSubscriberCommandError");
|
|
1686
|
+
var de_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1687
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1688
|
+
return de_ListDataLakeExceptionsCommandError(output, context);
|
|
1689
|
+
}
|
|
1690
|
+
const contents = (0, import_smithy_client.map)({
|
|
1691
|
+
$metadata: deserializeMetadata(output)
|
|
1692
|
+
});
|
|
1693
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1694
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1695
|
+
exceptions: (_) => de_DataLakeExceptionList(_, context),
|
|
1696
|
+
nextToken: import_smithy_client.expectString
|
|
1697
|
+
});
|
|
1698
|
+
Object.assign(contents, doc);
|
|
1699
|
+
return contents;
|
|
1700
|
+
}, "de_ListDataLakeExceptionsCommand");
|
|
1701
|
+
var de_ListDataLakeExceptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1702
|
+
const parsedOutput = {
|
|
1703
|
+
...output,
|
|
1704
|
+
body: await parseErrorBody(output.body, context)
|
|
1705
|
+
};
|
|
1706
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1707
|
+
switch (errorCode) {
|
|
1708
|
+
case "AccessDeniedException":
|
|
1709
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1710
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1711
|
+
case "BadRequestException":
|
|
1712
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1713
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1714
|
+
case "ConflictException":
|
|
1715
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1716
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1717
|
+
case "InternalServerException":
|
|
1718
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1719
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1720
|
+
case "ResourceNotFoundException":
|
|
1721
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1722
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1723
|
+
case "ThrottlingException":
|
|
1724
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1725
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1726
|
+
default:
|
|
1727
|
+
const parsedBody = parsedOutput.body;
|
|
1728
|
+
return throwDefaultError({
|
|
1729
|
+
output,
|
|
1730
|
+
parsedBody,
|
|
1731
|
+
errorCode
|
|
1732
|
+
});
|
|
1733
|
+
}
|
|
1734
|
+
}, "de_ListDataLakeExceptionsCommandError");
|
|
1735
|
+
var de_ListDataLakesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1736
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1737
|
+
return de_ListDataLakesCommandError(output, context);
|
|
1738
|
+
}
|
|
1739
|
+
const contents = (0, import_smithy_client.map)({
|
|
1740
|
+
$metadata: deserializeMetadata(output)
|
|
1741
|
+
});
|
|
1742
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1743
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1744
|
+
dataLakes: import_smithy_client._json
|
|
1745
|
+
});
|
|
1746
|
+
Object.assign(contents, doc);
|
|
1747
|
+
return contents;
|
|
1748
|
+
}, "de_ListDataLakesCommand");
|
|
1749
|
+
var de_ListDataLakesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1750
|
+
const parsedOutput = {
|
|
1751
|
+
...output,
|
|
1752
|
+
body: await parseErrorBody(output.body, context)
|
|
1753
|
+
};
|
|
1754
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1755
|
+
switch (errorCode) {
|
|
1756
|
+
case "AccessDeniedException":
|
|
1757
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1758
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1759
|
+
case "BadRequestException":
|
|
1760
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1761
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1762
|
+
case "ConflictException":
|
|
1763
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1764
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1765
|
+
case "InternalServerException":
|
|
1766
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1767
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1768
|
+
case "ResourceNotFoundException":
|
|
1769
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1770
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1771
|
+
case "ThrottlingException":
|
|
1772
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1773
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1774
|
+
default:
|
|
1775
|
+
const parsedBody = parsedOutput.body;
|
|
1776
|
+
return throwDefaultError({
|
|
1777
|
+
output,
|
|
1778
|
+
parsedBody,
|
|
1779
|
+
errorCode
|
|
1780
|
+
});
|
|
1781
|
+
}
|
|
1782
|
+
}, "de_ListDataLakesCommandError");
|
|
1783
|
+
var de_ListLogSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1784
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1785
|
+
return de_ListLogSourcesCommandError(output, context);
|
|
1786
|
+
}
|
|
1787
|
+
const contents = (0, import_smithy_client.map)({
|
|
1788
|
+
$metadata: deserializeMetadata(output)
|
|
1789
|
+
});
|
|
1790
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1791
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1792
|
+
nextToken: import_smithy_client.expectString,
|
|
1793
|
+
sources: import_smithy_client._json
|
|
1794
|
+
});
|
|
1795
|
+
Object.assign(contents, doc);
|
|
1796
|
+
return contents;
|
|
1797
|
+
}, "de_ListLogSourcesCommand");
|
|
1798
|
+
var de_ListLogSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1799
|
+
const parsedOutput = {
|
|
1800
|
+
...output,
|
|
1801
|
+
body: await parseErrorBody(output.body, context)
|
|
1802
|
+
};
|
|
1803
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1804
|
+
switch (errorCode) {
|
|
1805
|
+
case "AccessDeniedException":
|
|
1806
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1807
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1808
|
+
case "BadRequestException":
|
|
1809
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1810
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1811
|
+
case "ConflictException":
|
|
1812
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1813
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1814
|
+
case "InternalServerException":
|
|
1815
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1816
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1817
|
+
case "ResourceNotFoundException":
|
|
1818
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1819
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1820
|
+
case "ThrottlingException":
|
|
1821
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1822
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1823
|
+
default:
|
|
1824
|
+
const parsedBody = parsedOutput.body;
|
|
1825
|
+
return throwDefaultError({
|
|
1826
|
+
output,
|
|
1827
|
+
parsedBody,
|
|
1828
|
+
errorCode
|
|
1829
|
+
});
|
|
1830
|
+
}
|
|
1831
|
+
}, "de_ListLogSourcesCommandError");
|
|
1832
|
+
var de_ListSubscribersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1833
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1834
|
+
return de_ListSubscribersCommandError(output, context);
|
|
1835
|
+
}
|
|
1836
|
+
const contents = (0, import_smithy_client.map)({
|
|
1837
|
+
$metadata: deserializeMetadata(output)
|
|
1838
|
+
});
|
|
1839
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1840
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1841
|
+
nextToken: import_smithy_client.expectString,
|
|
1842
|
+
subscribers: (_) => de_SubscriberResourceList(_, context)
|
|
1843
|
+
});
|
|
1844
|
+
Object.assign(contents, doc);
|
|
1845
|
+
return contents;
|
|
1846
|
+
}, "de_ListSubscribersCommand");
|
|
1847
|
+
var de_ListSubscribersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1848
|
+
const parsedOutput = {
|
|
1849
|
+
...output,
|
|
1850
|
+
body: await parseErrorBody(output.body, context)
|
|
1851
|
+
};
|
|
1852
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1853
|
+
switch (errorCode) {
|
|
1854
|
+
case "AccessDeniedException":
|
|
1855
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1856
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1857
|
+
case "BadRequestException":
|
|
1858
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1859
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1860
|
+
case "ConflictException":
|
|
1861
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1862
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1863
|
+
case "InternalServerException":
|
|
1864
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1865
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1866
|
+
case "ResourceNotFoundException":
|
|
1867
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1868
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1869
|
+
case "ThrottlingException":
|
|
1870
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1871
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1872
|
+
default:
|
|
1873
|
+
const parsedBody = parsedOutput.body;
|
|
1874
|
+
return throwDefaultError({
|
|
1875
|
+
output,
|
|
1876
|
+
parsedBody,
|
|
1877
|
+
errorCode
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
}, "de_ListSubscribersCommandError");
|
|
1881
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1882
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1883
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1884
|
+
}
|
|
1885
|
+
const contents = (0, import_smithy_client.map)({
|
|
1886
|
+
$metadata: deserializeMetadata(output)
|
|
1887
|
+
});
|
|
1888
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1889
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1890
|
+
tags: import_smithy_client._json
|
|
1891
|
+
});
|
|
1892
|
+
Object.assign(contents, doc);
|
|
1893
|
+
return contents;
|
|
1894
|
+
}, "de_ListTagsForResourceCommand");
|
|
1895
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1896
|
+
const parsedOutput = {
|
|
1897
|
+
...output,
|
|
1898
|
+
body: await parseErrorBody(output.body, context)
|
|
1899
|
+
};
|
|
1900
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1901
|
+
switch (errorCode) {
|
|
1902
|
+
case "AccessDeniedException":
|
|
1903
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1904
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1905
|
+
case "BadRequestException":
|
|
1906
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1907
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1908
|
+
case "ConflictException":
|
|
1909
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1910
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1911
|
+
case "InternalServerException":
|
|
1912
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1913
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1914
|
+
case "ResourceNotFoundException":
|
|
1915
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1916
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1917
|
+
case "ThrottlingException":
|
|
1918
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1919
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1920
|
+
default:
|
|
1921
|
+
const parsedBody = parsedOutput.body;
|
|
1922
|
+
return throwDefaultError({
|
|
1923
|
+
output,
|
|
1924
|
+
parsedBody,
|
|
1925
|
+
errorCode
|
|
1926
|
+
});
|
|
1927
|
+
}
|
|
1928
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1929
|
+
var de_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1930
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1931
|
+
return de_RegisterDataLakeDelegatedAdministratorCommandError(output, context);
|
|
1932
|
+
}
|
|
1933
|
+
const contents = (0, import_smithy_client.map)({
|
|
1934
|
+
$metadata: deserializeMetadata(output)
|
|
1935
|
+
});
|
|
1936
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1937
|
+
return contents;
|
|
1938
|
+
}, "de_RegisterDataLakeDelegatedAdministratorCommand");
|
|
1939
|
+
var de_RegisterDataLakeDelegatedAdministratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1940
|
+
const parsedOutput = {
|
|
1941
|
+
...output,
|
|
1942
|
+
body: await parseErrorBody(output.body, context)
|
|
1943
|
+
};
|
|
1944
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1945
|
+
switch (errorCode) {
|
|
1946
|
+
case "AccessDeniedException":
|
|
1947
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1948
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1949
|
+
case "BadRequestException":
|
|
1950
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1951
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1952
|
+
case "ConflictException":
|
|
1953
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1954
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1955
|
+
case "InternalServerException":
|
|
1956
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
1957
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1958
|
+
case "ResourceNotFoundException":
|
|
1959
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
1960
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1961
|
+
case "ThrottlingException":
|
|
1962
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
1963
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1964
|
+
default:
|
|
1965
|
+
const parsedBody = parsedOutput.body;
|
|
1966
|
+
return throwDefaultError({
|
|
1967
|
+
output,
|
|
1968
|
+
parsedBody,
|
|
1969
|
+
errorCode
|
|
1970
|
+
});
|
|
1971
|
+
}
|
|
1972
|
+
}, "de_RegisterDataLakeDelegatedAdministratorCommandError");
|
|
1973
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1974
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1975
|
+
return de_TagResourceCommandError(output, context);
|
|
1976
|
+
}
|
|
1977
|
+
const contents = (0, import_smithy_client.map)({
|
|
1978
|
+
$metadata: deserializeMetadata(output)
|
|
1979
|
+
});
|
|
1980
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1981
|
+
return contents;
|
|
1982
|
+
}, "de_TagResourceCommand");
|
|
1983
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1984
|
+
const parsedOutput = {
|
|
1985
|
+
...output,
|
|
1986
|
+
body: await parseErrorBody(output.body, context)
|
|
1987
|
+
};
|
|
1988
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1989
|
+
switch (errorCode) {
|
|
1990
|
+
case "AccessDeniedException":
|
|
1991
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
1992
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1993
|
+
case "BadRequestException":
|
|
1994
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
1995
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1996
|
+
case "ConflictException":
|
|
1997
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
1998
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1999
|
+
case "InternalServerException":
|
|
2000
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
2001
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2002
|
+
case "ResourceNotFoundException":
|
|
2003
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
2004
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2005
|
+
case "ThrottlingException":
|
|
2006
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
2007
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2008
|
+
default:
|
|
2009
|
+
const parsedBody = parsedOutput.body;
|
|
2010
|
+
return throwDefaultError({
|
|
2011
|
+
output,
|
|
2012
|
+
parsedBody,
|
|
2013
|
+
errorCode
|
|
2014
|
+
});
|
|
2015
|
+
}
|
|
2016
|
+
}, "de_TagResourceCommandError");
|
|
2017
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2018
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2019
|
+
return de_UntagResourceCommandError(output, context);
|
|
2020
|
+
}
|
|
2021
|
+
const contents = (0, import_smithy_client.map)({
|
|
2022
|
+
$metadata: deserializeMetadata(output)
|
|
2023
|
+
});
|
|
2024
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2025
|
+
return contents;
|
|
2026
|
+
}, "de_UntagResourceCommand");
|
|
2027
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2028
|
+
const parsedOutput = {
|
|
2029
|
+
...output,
|
|
2030
|
+
body: await parseErrorBody(output.body, context)
|
|
2031
|
+
};
|
|
2032
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2033
|
+
switch (errorCode) {
|
|
2034
|
+
case "AccessDeniedException":
|
|
2035
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
2036
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2037
|
+
case "BadRequestException":
|
|
2038
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
2039
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2040
|
+
case "ConflictException":
|
|
2041
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
2042
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2043
|
+
case "InternalServerException":
|
|
2044
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
2045
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2046
|
+
case "ResourceNotFoundException":
|
|
2047
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
2048
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2049
|
+
case "ThrottlingException":
|
|
2050
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
2051
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2052
|
+
default:
|
|
2053
|
+
const parsedBody = parsedOutput.body;
|
|
2054
|
+
return throwDefaultError({
|
|
2055
|
+
output,
|
|
2056
|
+
parsedBody,
|
|
2057
|
+
errorCode
|
|
2058
|
+
});
|
|
2059
|
+
}
|
|
2060
|
+
}, "de_UntagResourceCommandError");
|
|
2061
|
+
var de_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2062
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2063
|
+
return de_UpdateDataLakeCommandError(output, context);
|
|
2064
|
+
}
|
|
2065
|
+
const contents = (0, import_smithy_client.map)({
|
|
2066
|
+
$metadata: deserializeMetadata(output)
|
|
2067
|
+
});
|
|
2068
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2069
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2070
|
+
dataLakes: import_smithy_client._json
|
|
2071
|
+
});
|
|
2072
|
+
Object.assign(contents, doc);
|
|
2073
|
+
return contents;
|
|
2074
|
+
}, "de_UpdateDataLakeCommand");
|
|
2075
|
+
var de_UpdateDataLakeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2076
|
+
const parsedOutput = {
|
|
2077
|
+
...output,
|
|
2078
|
+
body: await parseErrorBody(output.body, context)
|
|
2079
|
+
};
|
|
2080
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2081
|
+
switch (errorCode) {
|
|
2082
|
+
case "AccessDeniedException":
|
|
2083
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
2084
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2085
|
+
case "BadRequestException":
|
|
2086
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
2087
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2088
|
+
case "ConflictException":
|
|
2089
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
2090
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2091
|
+
case "InternalServerException":
|
|
2092
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
2093
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2094
|
+
case "ResourceNotFoundException":
|
|
2095
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
2096
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2097
|
+
case "ThrottlingException":
|
|
2098
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
2099
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2100
|
+
default:
|
|
2101
|
+
const parsedBody = parsedOutput.body;
|
|
2102
|
+
return throwDefaultError({
|
|
2103
|
+
output,
|
|
2104
|
+
parsedBody,
|
|
2105
|
+
errorCode
|
|
2106
|
+
});
|
|
2107
|
+
}
|
|
2108
|
+
}, "de_UpdateDataLakeCommandError");
|
|
2109
|
+
var de_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2110
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2111
|
+
return de_UpdateDataLakeExceptionSubscriptionCommandError(output, context);
|
|
2112
|
+
}
|
|
2113
|
+
const contents = (0, import_smithy_client.map)({
|
|
2114
|
+
$metadata: deserializeMetadata(output)
|
|
2115
|
+
});
|
|
2116
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2117
|
+
return contents;
|
|
2118
|
+
}, "de_UpdateDataLakeExceptionSubscriptionCommand");
|
|
2119
|
+
var de_UpdateDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2120
|
+
const parsedOutput = {
|
|
2121
|
+
...output,
|
|
2122
|
+
body: await parseErrorBody(output.body, context)
|
|
2123
|
+
};
|
|
2124
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2125
|
+
switch (errorCode) {
|
|
2126
|
+
case "AccessDeniedException":
|
|
2127
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
2128
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2129
|
+
case "BadRequestException":
|
|
2130
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
2131
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2132
|
+
case "ConflictException":
|
|
2133
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
2134
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2135
|
+
case "InternalServerException":
|
|
2136
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
2137
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2138
|
+
case "ResourceNotFoundException":
|
|
2139
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
2140
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2141
|
+
case "ThrottlingException":
|
|
2142
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
2143
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2144
|
+
default:
|
|
2145
|
+
const parsedBody = parsedOutput.body;
|
|
2146
|
+
return throwDefaultError({
|
|
2147
|
+
output,
|
|
2148
|
+
parsedBody,
|
|
2149
|
+
errorCode
|
|
2150
|
+
});
|
|
2151
|
+
}
|
|
2152
|
+
}, "de_UpdateDataLakeExceptionSubscriptionCommandError");
|
|
2153
|
+
var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2154
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2155
|
+
return de_UpdateSubscriberCommandError(output, context);
|
|
2156
|
+
}
|
|
2157
|
+
const contents = (0, import_smithy_client.map)({
|
|
2158
|
+
$metadata: deserializeMetadata(output)
|
|
2159
|
+
});
|
|
2160
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2161
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2162
|
+
subscriber: (_) => de_SubscriberResource(_, context)
|
|
2163
|
+
});
|
|
2164
|
+
Object.assign(contents, doc);
|
|
2165
|
+
return contents;
|
|
2166
|
+
}, "de_UpdateSubscriberCommand");
|
|
2167
|
+
var de_UpdateSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2168
|
+
const parsedOutput = {
|
|
2169
|
+
...output,
|
|
2170
|
+
body: await parseErrorBody(output.body, context)
|
|
2171
|
+
};
|
|
2172
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2173
|
+
switch (errorCode) {
|
|
2174
|
+
case "AccessDeniedException":
|
|
2175
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
2176
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2177
|
+
case "BadRequestException":
|
|
2178
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
2179
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2180
|
+
case "ConflictException":
|
|
2181
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
2182
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2183
|
+
case "InternalServerException":
|
|
2184
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
2185
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2186
|
+
case "ResourceNotFoundException":
|
|
2187
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
2188
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2189
|
+
case "ThrottlingException":
|
|
2190
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
2191
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2192
|
+
default:
|
|
2193
|
+
const parsedBody = parsedOutput.body;
|
|
2194
|
+
return throwDefaultError({
|
|
2195
|
+
output,
|
|
2196
|
+
parsedBody,
|
|
2197
|
+
errorCode
|
|
2198
|
+
});
|
|
2199
|
+
}
|
|
2200
|
+
}, "de_UpdateSubscriberCommandError");
|
|
2201
|
+
var de_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2202
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2203
|
+
return de_UpdateSubscriberNotificationCommandError(output, context);
|
|
2204
|
+
}
|
|
2205
|
+
const contents = (0, import_smithy_client.map)({
|
|
2206
|
+
$metadata: deserializeMetadata(output)
|
|
2207
|
+
});
|
|
2208
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2209
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2210
|
+
subscriberEndpoint: import_smithy_client.expectString
|
|
2211
|
+
});
|
|
2212
|
+
Object.assign(contents, doc);
|
|
2213
|
+
return contents;
|
|
2214
|
+
}, "de_UpdateSubscriberNotificationCommand");
|
|
2215
|
+
var de_UpdateSubscriberNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2216
|
+
const parsedOutput = {
|
|
2217
|
+
...output,
|
|
2218
|
+
body: await parseErrorBody(output.body, context)
|
|
2219
|
+
};
|
|
2220
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2221
|
+
switch (errorCode) {
|
|
2222
|
+
case "AccessDeniedException":
|
|
2223
|
+
case "com.amazonaws.securitylake#AccessDeniedException":
|
|
2224
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2225
|
+
case "BadRequestException":
|
|
2226
|
+
case "com.amazonaws.securitylake#BadRequestException":
|
|
2227
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2228
|
+
case "ConflictException":
|
|
2229
|
+
case "com.amazonaws.securitylake#ConflictException":
|
|
2230
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2231
|
+
case "InternalServerException":
|
|
2232
|
+
case "com.amazonaws.securitylake#InternalServerException":
|
|
2233
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2234
|
+
case "ResourceNotFoundException":
|
|
2235
|
+
case "com.amazonaws.securitylake#ResourceNotFoundException":
|
|
2236
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2237
|
+
case "ThrottlingException":
|
|
2238
|
+
case "com.amazonaws.securitylake#ThrottlingException":
|
|
2239
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2240
|
+
default:
|
|
2241
|
+
const parsedBody = parsedOutput.body;
|
|
2242
|
+
return throwDefaultError({
|
|
2243
|
+
output,
|
|
2244
|
+
parsedBody,
|
|
2245
|
+
errorCode
|
|
2246
|
+
});
|
|
2247
|
+
}
|
|
2248
|
+
}, "de_UpdateSubscriberNotificationCommandError");
|
|
2249
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(SecurityLakeServiceException);
|
|
2250
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2251
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2252
|
+
const data = parsedOutput.body;
|
|
2253
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2254
|
+
errorCode: import_smithy_client.expectString,
|
|
2255
|
+
message: import_smithy_client.expectString
|
|
2256
|
+
});
|
|
2257
|
+
Object.assign(contents, doc);
|
|
2258
|
+
const exception = new AccessDeniedException({
|
|
2259
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2260
|
+
...contents
|
|
2261
|
+
});
|
|
2262
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2263
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2264
|
+
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2265
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2266
|
+
const data = parsedOutput.body;
|
|
2267
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2268
|
+
message: import_smithy_client.expectString
|
|
2269
|
+
});
|
|
2270
|
+
Object.assign(contents, doc);
|
|
2271
|
+
const exception = new BadRequestException({
|
|
2272
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2273
|
+
...contents
|
|
2274
|
+
});
|
|
2275
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2276
|
+
}, "de_BadRequestExceptionRes");
|
|
2277
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2278
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2279
|
+
const data = parsedOutput.body;
|
|
2280
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2281
|
+
message: import_smithy_client.expectString,
|
|
2282
|
+
resourceName: import_smithy_client.expectString,
|
|
2283
|
+
resourceType: import_smithy_client.expectString
|
|
2284
|
+
});
|
|
2285
|
+
Object.assign(contents, doc);
|
|
2286
|
+
const exception = new ConflictException({
|
|
2287
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2288
|
+
...contents
|
|
2289
|
+
});
|
|
2290
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2291
|
+
}, "de_ConflictExceptionRes");
|
|
2292
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2293
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2294
|
+
const data = parsedOutput.body;
|
|
2295
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2296
|
+
message: import_smithy_client.expectString
|
|
2297
|
+
});
|
|
2298
|
+
Object.assign(contents, doc);
|
|
2299
|
+
const exception = new InternalServerException({
|
|
2300
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2301
|
+
...contents
|
|
2302
|
+
});
|
|
2303
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2304
|
+
}, "de_InternalServerExceptionRes");
|
|
2305
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2306
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2307
|
+
const data = parsedOutput.body;
|
|
2308
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2309
|
+
message: import_smithy_client.expectString,
|
|
2310
|
+
resourceName: import_smithy_client.expectString,
|
|
2311
|
+
resourceType: import_smithy_client.expectString
|
|
2312
|
+
});
|
|
2313
|
+
Object.assign(contents, doc);
|
|
2314
|
+
const exception = new ResourceNotFoundException({
|
|
2315
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2316
|
+
...contents
|
|
2317
|
+
});
|
|
2318
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2319
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2320
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2321
|
+
const contents = (0, import_smithy_client.map)({
|
|
2322
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
2323
|
+
});
|
|
2324
|
+
const data = parsedOutput.body;
|
|
2325
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2326
|
+
message: import_smithy_client.expectString,
|
|
2327
|
+
quotaCode: import_smithy_client.expectString,
|
|
2328
|
+
serviceCode: import_smithy_client.expectString
|
|
2329
|
+
});
|
|
2330
|
+
Object.assign(contents, doc);
|
|
2331
|
+
const exception = new ThrottlingException({
|
|
2332
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2333
|
+
...contents
|
|
2334
|
+
});
|
|
2335
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2336
|
+
}, "de_ThrottlingExceptionRes");
|
|
2337
|
+
var de_DataLakeException = /* @__PURE__ */ __name((output, context) => {
|
|
2338
|
+
return (0, import_smithy_client.take)(output, {
|
|
2339
|
+
exception: import_smithy_client.expectString,
|
|
2340
|
+
region: import_smithy_client.expectString,
|
|
2341
|
+
remediation: import_smithy_client.expectString,
|
|
2342
|
+
timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2343
|
+
});
|
|
2344
|
+
}, "de_DataLakeException");
|
|
2345
|
+
var de_DataLakeExceptionList = /* @__PURE__ */ __name((output, context) => {
|
|
2346
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2347
|
+
return de_DataLakeException(entry, context);
|
|
2348
|
+
});
|
|
2349
|
+
return retVal;
|
|
2350
|
+
}, "de_DataLakeExceptionList");
|
|
2351
|
+
var de_SubscriberResource = /* @__PURE__ */ __name((output, context) => {
|
|
2352
|
+
return (0, import_smithy_client.take)(output, {
|
|
2353
|
+
accessTypes: import_smithy_client._json,
|
|
2354
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2355
|
+
resourceShareArn: import_smithy_client.expectString,
|
|
2356
|
+
resourceShareName: import_smithy_client.expectString,
|
|
2357
|
+
roleArn: import_smithy_client.expectString,
|
|
2358
|
+
s3BucketArn: import_smithy_client.expectString,
|
|
2359
|
+
sources: import_smithy_client._json,
|
|
2360
|
+
subscriberArn: import_smithy_client.expectString,
|
|
2361
|
+
subscriberDescription: import_smithy_client.expectString,
|
|
2362
|
+
subscriberEndpoint: import_smithy_client.expectString,
|
|
2363
|
+
subscriberId: import_smithy_client.expectString,
|
|
2364
|
+
subscriberIdentity: import_smithy_client._json,
|
|
2365
|
+
subscriberName: import_smithy_client.expectString,
|
|
2366
|
+
subscriberStatus: import_smithy_client.expectString,
|
|
2367
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2368
|
+
});
|
|
2369
|
+
}, "de_SubscriberResource");
|
|
2370
|
+
var de_SubscriberResourceList = /* @__PURE__ */ __name((output, context) => {
|
|
2371
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2372
|
+
return de_SubscriberResource(entry, context);
|
|
2373
|
+
});
|
|
2374
|
+
return retVal;
|
|
2375
|
+
}, "de_SubscriberResourceList");
|
|
2376
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2377
|
+
httpStatusCode: output.statusCode,
|
|
2378
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2379
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2380
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2381
|
+
}), "deserializeMetadata");
|
|
2382
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2383
|
+
var _mR = "maxResults";
|
|
2384
|
+
var _nT = "nextToken";
|
|
2385
|
+
var _r = "regions";
|
|
2386
|
+
var _rAS = "retryAfterSeconds";
|
|
2387
|
+
var _ra = "retry-after";
|
|
2388
|
+
var _sV = "sourceVersion";
|
|
2389
|
+
var _tK = "tagKeys";
|
|
2390
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2391
|
+
if (encoded.length) {
|
|
2392
|
+
return JSON.parse(encoded);
|
|
2393
|
+
}
|
|
2394
|
+
return {};
|
|
2395
|
+
}), "parseBody");
|
|
2396
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2397
|
+
const value = await parseBody(errorBody, context);
|
|
2398
|
+
value.message = value.message ?? value.Message;
|
|
2399
|
+
return value;
|
|
2400
|
+
}, "parseErrorBody");
|
|
2401
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2402
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2403
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2404
|
+
let cleanValue = rawValue;
|
|
2405
|
+
if (typeof cleanValue === "number") {
|
|
2406
|
+
cleanValue = cleanValue.toString();
|
|
2407
|
+
}
|
|
2408
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2409
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2410
|
+
}
|
|
2411
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2412
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2413
|
+
}
|
|
2414
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2415
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2416
|
+
}
|
|
2417
|
+
return cleanValue;
|
|
2418
|
+
}, "sanitizeErrorCode");
|
|
2419
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2420
|
+
if (headerKey !== void 0) {
|
|
2421
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2422
|
+
}
|
|
2423
|
+
if (data.code !== void 0) {
|
|
2424
|
+
return sanitizeErrorCode(data.code);
|
|
2425
|
+
}
|
|
2426
|
+
if (data["__type"] !== void 0) {
|
|
2427
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2428
|
+
}
|
|
2429
|
+
}, "loadRestJsonErrorCode");
|
|
2430
|
+
|
|
2431
|
+
// src/commands/CreateAwsLogSourceCommand.ts
|
|
2432
|
+
var _CreateAwsLogSourceCommand = class _CreateAwsLogSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2433
|
+
...commonParams
|
|
2434
|
+
}).m(function(Command, cs, config, o) {
|
|
2435
|
+
return [
|
|
2436
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2437
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2438
|
+
];
|
|
2439
|
+
}).s("SecurityLake", "CreateAwsLogSource", {}).n("SecurityLakeClient", "CreateAwsLogSourceCommand").f(void 0, void 0).ser(se_CreateAwsLogSourceCommand).de(de_CreateAwsLogSourceCommand).build() {
|
|
2440
|
+
};
|
|
2441
|
+
__name(_CreateAwsLogSourceCommand, "CreateAwsLogSourceCommand");
|
|
2442
|
+
var CreateAwsLogSourceCommand = _CreateAwsLogSourceCommand;
|
|
2443
|
+
|
|
2444
|
+
// src/commands/CreateCustomLogSourceCommand.ts
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
var _CreateCustomLogSourceCommand = class _CreateCustomLogSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2450
|
+
...commonParams
|
|
2451
|
+
}).m(function(Command, cs, config, o) {
|
|
2452
|
+
return [
|
|
2453
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2454
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2455
|
+
];
|
|
2456
|
+
}).s("SecurityLake", "CreateCustomLogSource", {}).n("SecurityLakeClient", "CreateCustomLogSourceCommand").f(void 0, void 0).ser(se_CreateCustomLogSourceCommand).de(de_CreateCustomLogSourceCommand).build() {
|
|
2457
|
+
};
|
|
2458
|
+
__name(_CreateCustomLogSourceCommand, "CreateCustomLogSourceCommand");
|
|
2459
|
+
var CreateCustomLogSourceCommand = _CreateCustomLogSourceCommand;
|
|
2460
|
+
|
|
2461
|
+
// src/commands/CreateDataLakeCommand.ts
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
var _CreateDataLakeCommand = class _CreateDataLakeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2467
|
+
...commonParams
|
|
2468
|
+
}).m(function(Command, cs, config, o) {
|
|
2469
|
+
return [
|
|
2470
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2471
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2472
|
+
];
|
|
2473
|
+
}).s("SecurityLake", "CreateDataLake", {}).n("SecurityLakeClient", "CreateDataLakeCommand").f(void 0, void 0).ser(se_CreateDataLakeCommand).de(de_CreateDataLakeCommand).build() {
|
|
2474
|
+
};
|
|
2475
|
+
__name(_CreateDataLakeCommand, "CreateDataLakeCommand");
|
|
2476
|
+
var CreateDataLakeCommand = _CreateDataLakeCommand;
|
|
2477
|
+
|
|
2478
|
+
// src/commands/CreateDataLakeExceptionSubscriptionCommand.ts
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
var _CreateDataLakeExceptionSubscriptionCommand = class _CreateDataLakeExceptionSubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2484
|
+
...commonParams
|
|
2485
|
+
}).m(function(Command, cs, config, o) {
|
|
2486
|
+
return [
|
|
2487
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2488
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2489
|
+
];
|
|
2490
|
+
}).s("SecurityLake", "CreateDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "CreateDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_CreateDataLakeExceptionSubscriptionCommand).de(de_CreateDataLakeExceptionSubscriptionCommand).build() {
|
|
2491
|
+
};
|
|
2492
|
+
__name(_CreateDataLakeExceptionSubscriptionCommand, "CreateDataLakeExceptionSubscriptionCommand");
|
|
2493
|
+
var CreateDataLakeExceptionSubscriptionCommand = _CreateDataLakeExceptionSubscriptionCommand;
|
|
2494
|
+
|
|
2495
|
+
// src/commands/CreateDataLakeOrganizationConfigurationCommand.ts
|
|
2496
|
+
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
var _CreateDataLakeOrganizationConfigurationCommand = class _CreateDataLakeOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2501
|
+
...commonParams
|
|
2502
|
+
}).m(function(Command, cs, config, o) {
|
|
2503
|
+
return [
|
|
2504
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2505
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2506
|
+
];
|
|
2507
|
+
}).s("SecurityLake", "CreateDataLakeOrganizationConfiguration", {}).n("SecurityLakeClient", "CreateDataLakeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_CreateDataLakeOrganizationConfigurationCommand).de(de_CreateDataLakeOrganizationConfigurationCommand).build() {
|
|
2508
|
+
};
|
|
2509
|
+
__name(_CreateDataLakeOrganizationConfigurationCommand, "CreateDataLakeOrganizationConfigurationCommand");
|
|
2510
|
+
var CreateDataLakeOrganizationConfigurationCommand = _CreateDataLakeOrganizationConfigurationCommand;
|
|
2511
|
+
|
|
2512
|
+
// src/commands/CreateSubscriberCommand.ts
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
var _CreateSubscriberCommand = class _CreateSubscriberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2518
|
+
...commonParams
|
|
2519
|
+
}).m(function(Command, cs, config, o) {
|
|
2520
|
+
return [
|
|
2521
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2522
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2523
|
+
];
|
|
2524
|
+
}).s("SecurityLake", "CreateSubscriber", {}).n("SecurityLakeClient", "CreateSubscriberCommand").f(void 0, void 0).ser(se_CreateSubscriberCommand).de(de_CreateSubscriberCommand).build() {
|
|
2525
|
+
};
|
|
2526
|
+
__name(_CreateSubscriberCommand, "CreateSubscriberCommand");
|
|
2527
|
+
var CreateSubscriberCommand = _CreateSubscriberCommand;
|
|
2528
|
+
|
|
2529
|
+
// src/commands/CreateSubscriberNotificationCommand.ts
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
var _CreateSubscriberNotificationCommand = class _CreateSubscriberNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2535
|
+
...commonParams
|
|
2536
|
+
}).m(function(Command, cs, config, o) {
|
|
2537
|
+
return [
|
|
2538
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2539
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2540
|
+
];
|
|
2541
|
+
}).s("SecurityLake", "CreateSubscriberNotification", {}).n("SecurityLakeClient", "CreateSubscriberNotificationCommand").f(void 0, void 0).ser(se_CreateSubscriberNotificationCommand).de(de_CreateSubscriberNotificationCommand).build() {
|
|
2542
|
+
};
|
|
2543
|
+
__name(_CreateSubscriberNotificationCommand, "CreateSubscriberNotificationCommand");
|
|
2544
|
+
var CreateSubscriberNotificationCommand = _CreateSubscriberNotificationCommand;
|
|
2545
|
+
|
|
2546
|
+
// src/commands/DeleteAwsLogSourceCommand.ts
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
var _DeleteAwsLogSourceCommand = class _DeleteAwsLogSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2552
|
+
...commonParams
|
|
2553
|
+
}).m(function(Command, cs, config, o) {
|
|
2554
|
+
return [
|
|
2555
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2556
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2557
|
+
];
|
|
2558
|
+
}).s("SecurityLake", "DeleteAwsLogSource", {}).n("SecurityLakeClient", "DeleteAwsLogSourceCommand").f(void 0, void 0).ser(se_DeleteAwsLogSourceCommand).de(de_DeleteAwsLogSourceCommand).build() {
|
|
2559
|
+
};
|
|
2560
|
+
__name(_DeleteAwsLogSourceCommand, "DeleteAwsLogSourceCommand");
|
|
2561
|
+
var DeleteAwsLogSourceCommand = _DeleteAwsLogSourceCommand;
|
|
2562
|
+
|
|
2563
|
+
// src/commands/DeleteCustomLogSourceCommand.ts
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
var _DeleteCustomLogSourceCommand = class _DeleteCustomLogSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2569
|
+
...commonParams
|
|
2570
|
+
}).m(function(Command, cs, config, o) {
|
|
2571
|
+
return [
|
|
2572
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2573
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2574
|
+
];
|
|
2575
|
+
}).s("SecurityLake", "DeleteCustomLogSource", {}).n("SecurityLakeClient", "DeleteCustomLogSourceCommand").f(void 0, void 0).ser(se_DeleteCustomLogSourceCommand).de(de_DeleteCustomLogSourceCommand).build() {
|
|
2576
|
+
};
|
|
2577
|
+
__name(_DeleteCustomLogSourceCommand, "DeleteCustomLogSourceCommand");
|
|
2578
|
+
var DeleteCustomLogSourceCommand = _DeleteCustomLogSourceCommand;
|
|
2579
|
+
|
|
2580
|
+
// src/commands/DeleteDataLakeCommand.ts
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
var _DeleteDataLakeCommand = class _DeleteDataLakeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2586
|
+
...commonParams
|
|
2587
|
+
}).m(function(Command, cs, config, o) {
|
|
2588
|
+
return [
|
|
2589
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2590
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2591
|
+
];
|
|
2592
|
+
}).s("SecurityLake", "DeleteDataLake", {}).n("SecurityLakeClient", "DeleteDataLakeCommand").f(void 0, void 0).ser(se_DeleteDataLakeCommand).de(de_DeleteDataLakeCommand).build() {
|
|
2593
|
+
};
|
|
2594
|
+
__name(_DeleteDataLakeCommand, "DeleteDataLakeCommand");
|
|
2595
|
+
var DeleteDataLakeCommand = _DeleteDataLakeCommand;
|
|
2596
|
+
|
|
2597
|
+
// src/commands/DeleteDataLakeExceptionSubscriptionCommand.ts
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
var _DeleteDataLakeExceptionSubscriptionCommand = class _DeleteDataLakeExceptionSubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2603
|
+
...commonParams
|
|
2604
|
+
}).m(function(Command, cs, config, o) {
|
|
2605
|
+
return [
|
|
2606
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2607
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2608
|
+
];
|
|
2609
|
+
}).s("SecurityLake", "DeleteDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "DeleteDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_DeleteDataLakeExceptionSubscriptionCommand).de(de_DeleteDataLakeExceptionSubscriptionCommand).build() {
|
|
2610
|
+
};
|
|
2611
|
+
__name(_DeleteDataLakeExceptionSubscriptionCommand, "DeleteDataLakeExceptionSubscriptionCommand");
|
|
2612
|
+
var DeleteDataLakeExceptionSubscriptionCommand = _DeleteDataLakeExceptionSubscriptionCommand;
|
|
2613
|
+
|
|
2614
|
+
// src/commands/DeleteDataLakeOrganizationConfigurationCommand.ts
|
|
2615
|
+
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
var _DeleteDataLakeOrganizationConfigurationCommand = class _DeleteDataLakeOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2620
|
+
...commonParams
|
|
2621
|
+
}).m(function(Command, cs, config, o) {
|
|
2622
|
+
return [
|
|
2623
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2624
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2625
|
+
];
|
|
2626
|
+
}).s("SecurityLake", "DeleteDataLakeOrganizationConfiguration", {}).n("SecurityLakeClient", "DeleteDataLakeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_DeleteDataLakeOrganizationConfigurationCommand).de(de_DeleteDataLakeOrganizationConfigurationCommand).build() {
|
|
2627
|
+
};
|
|
2628
|
+
__name(_DeleteDataLakeOrganizationConfigurationCommand, "DeleteDataLakeOrganizationConfigurationCommand");
|
|
2629
|
+
var DeleteDataLakeOrganizationConfigurationCommand = _DeleteDataLakeOrganizationConfigurationCommand;
|
|
2630
|
+
|
|
2631
|
+
// src/commands/DeleteSubscriberCommand.ts
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
var _DeleteSubscriberCommand = class _DeleteSubscriberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2637
|
+
...commonParams
|
|
2638
|
+
}).m(function(Command, cs, config, o) {
|
|
2639
|
+
return [
|
|
2640
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2641
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2642
|
+
];
|
|
2643
|
+
}).s("SecurityLake", "DeleteSubscriber", {}).n("SecurityLakeClient", "DeleteSubscriberCommand").f(void 0, void 0).ser(se_DeleteSubscriberCommand).de(de_DeleteSubscriberCommand).build() {
|
|
2644
|
+
};
|
|
2645
|
+
__name(_DeleteSubscriberCommand, "DeleteSubscriberCommand");
|
|
2646
|
+
var DeleteSubscriberCommand = _DeleteSubscriberCommand;
|
|
2647
|
+
|
|
2648
|
+
// src/commands/DeleteSubscriberNotificationCommand.ts
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
var _DeleteSubscriberNotificationCommand = class _DeleteSubscriberNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2654
|
+
...commonParams
|
|
2655
|
+
}).m(function(Command, cs, config, o) {
|
|
2656
|
+
return [
|
|
2657
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2658
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2659
|
+
];
|
|
2660
|
+
}).s("SecurityLake", "DeleteSubscriberNotification", {}).n("SecurityLakeClient", "DeleteSubscriberNotificationCommand").f(void 0, void 0).ser(se_DeleteSubscriberNotificationCommand).de(de_DeleteSubscriberNotificationCommand).build() {
|
|
2661
|
+
};
|
|
2662
|
+
__name(_DeleteSubscriberNotificationCommand, "DeleteSubscriberNotificationCommand");
|
|
2663
|
+
var DeleteSubscriberNotificationCommand = _DeleteSubscriberNotificationCommand;
|
|
2664
|
+
|
|
2665
|
+
// src/commands/DeregisterDataLakeDelegatedAdministratorCommand.ts
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
var _DeregisterDataLakeDelegatedAdministratorCommand = class _DeregisterDataLakeDelegatedAdministratorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2671
|
+
...commonParams
|
|
2672
|
+
}).m(function(Command, cs, config, o) {
|
|
2673
|
+
return [
|
|
2674
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2675
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2676
|
+
];
|
|
2677
|
+
}).s("SecurityLake", "DeregisterDataLakeDelegatedAdministrator", {}).n("SecurityLakeClient", "DeregisterDataLakeDelegatedAdministratorCommand").f(void 0, void 0).ser(se_DeregisterDataLakeDelegatedAdministratorCommand).de(de_DeregisterDataLakeDelegatedAdministratorCommand).build() {
|
|
2678
|
+
};
|
|
2679
|
+
__name(_DeregisterDataLakeDelegatedAdministratorCommand, "DeregisterDataLakeDelegatedAdministratorCommand");
|
|
2680
|
+
var DeregisterDataLakeDelegatedAdministratorCommand = _DeregisterDataLakeDelegatedAdministratorCommand;
|
|
2681
|
+
|
|
2682
|
+
// src/commands/GetDataLakeExceptionSubscriptionCommand.ts
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
var _GetDataLakeExceptionSubscriptionCommand = class _GetDataLakeExceptionSubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2688
|
+
...commonParams
|
|
2689
|
+
}).m(function(Command, cs, config, o) {
|
|
2690
|
+
return [
|
|
2691
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2692
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2693
|
+
];
|
|
2694
|
+
}).s("SecurityLake", "GetDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "GetDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_GetDataLakeExceptionSubscriptionCommand).de(de_GetDataLakeExceptionSubscriptionCommand).build() {
|
|
2695
|
+
};
|
|
2696
|
+
__name(_GetDataLakeExceptionSubscriptionCommand, "GetDataLakeExceptionSubscriptionCommand");
|
|
2697
|
+
var GetDataLakeExceptionSubscriptionCommand = _GetDataLakeExceptionSubscriptionCommand;
|
|
2698
|
+
|
|
2699
|
+
// src/commands/GetDataLakeOrganizationConfigurationCommand.ts
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
var _GetDataLakeOrganizationConfigurationCommand = class _GetDataLakeOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2705
|
+
...commonParams
|
|
2706
|
+
}).m(function(Command, cs, config, o) {
|
|
2707
|
+
return [
|
|
2708
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2709
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2710
|
+
];
|
|
2711
|
+
}).s("SecurityLake", "GetDataLakeOrganizationConfiguration", {}).n("SecurityLakeClient", "GetDataLakeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_GetDataLakeOrganizationConfigurationCommand).de(de_GetDataLakeOrganizationConfigurationCommand).build() {
|
|
2712
|
+
};
|
|
2713
|
+
__name(_GetDataLakeOrganizationConfigurationCommand, "GetDataLakeOrganizationConfigurationCommand");
|
|
2714
|
+
var GetDataLakeOrganizationConfigurationCommand = _GetDataLakeOrganizationConfigurationCommand;
|
|
2715
|
+
|
|
2716
|
+
// src/commands/GetDataLakeSourcesCommand.ts
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
var _GetDataLakeSourcesCommand = class _GetDataLakeSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2722
|
+
...commonParams
|
|
2723
|
+
}).m(function(Command, cs, config, o) {
|
|
2724
|
+
return [
|
|
2725
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2726
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2727
|
+
];
|
|
2728
|
+
}).s("SecurityLake", "GetDataLakeSources", {}).n("SecurityLakeClient", "GetDataLakeSourcesCommand").f(void 0, void 0).ser(se_GetDataLakeSourcesCommand).de(de_GetDataLakeSourcesCommand).build() {
|
|
2729
|
+
};
|
|
2730
|
+
__name(_GetDataLakeSourcesCommand, "GetDataLakeSourcesCommand");
|
|
2731
|
+
var GetDataLakeSourcesCommand = _GetDataLakeSourcesCommand;
|
|
2732
|
+
|
|
2733
|
+
// src/commands/GetSubscriberCommand.ts
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
var _GetSubscriberCommand = class _GetSubscriberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2739
|
+
...commonParams
|
|
2740
|
+
}).m(function(Command, cs, config, o) {
|
|
2741
|
+
return [
|
|
2742
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2743
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2744
|
+
];
|
|
2745
|
+
}).s("SecurityLake", "GetSubscriber", {}).n("SecurityLakeClient", "GetSubscriberCommand").f(void 0, void 0).ser(se_GetSubscriberCommand).de(de_GetSubscriberCommand).build() {
|
|
2746
|
+
};
|
|
2747
|
+
__name(_GetSubscriberCommand, "GetSubscriberCommand");
|
|
2748
|
+
var GetSubscriberCommand = _GetSubscriberCommand;
|
|
2749
|
+
|
|
2750
|
+
// src/commands/ListDataLakeExceptionsCommand.ts
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
var _ListDataLakeExceptionsCommand = class _ListDataLakeExceptionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2756
|
+
...commonParams
|
|
2757
|
+
}).m(function(Command, cs, config, o) {
|
|
2758
|
+
return [
|
|
2759
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2760
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2761
|
+
];
|
|
2762
|
+
}).s("SecurityLake", "ListDataLakeExceptions", {}).n("SecurityLakeClient", "ListDataLakeExceptionsCommand").f(void 0, void 0).ser(se_ListDataLakeExceptionsCommand).de(de_ListDataLakeExceptionsCommand).build() {
|
|
2763
|
+
};
|
|
2764
|
+
__name(_ListDataLakeExceptionsCommand, "ListDataLakeExceptionsCommand");
|
|
2765
|
+
var ListDataLakeExceptionsCommand = _ListDataLakeExceptionsCommand;
|
|
2766
|
+
|
|
2767
|
+
// src/commands/ListDataLakesCommand.ts
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
var _ListDataLakesCommand = class _ListDataLakesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2773
|
+
...commonParams
|
|
2774
|
+
}).m(function(Command, cs, config, o) {
|
|
2775
|
+
return [
|
|
2776
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2777
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2778
|
+
];
|
|
2779
|
+
}).s("SecurityLake", "ListDataLakes", {}).n("SecurityLakeClient", "ListDataLakesCommand").f(void 0, void 0).ser(se_ListDataLakesCommand).de(de_ListDataLakesCommand).build() {
|
|
2780
|
+
};
|
|
2781
|
+
__name(_ListDataLakesCommand, "ListDataLakesCommand");
|
|
2782
|
+
var ListDataLakesCommand = _ListDataLakesCommand;
|
|
2783
|
+
|
|
2784
|
+
// src/commands/ListLogSourcesCommand.ts
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
var _ListLogSourcesCommand = class _ListLogSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2790
|
+
...commonParams
|
|
2791
|
+
}).m(function(Command, cs, config, o) {
|
|
2792
|
+
return [
|
|
2793
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2794
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2795
|
+
];
|
|
2796
|
+
}).s("SecurityLake", "ListLogSources", {}).n("SecurityLakeClient", "ListLogSourcesCommand").f(void 0, void 0).ser(se_ListLogSourcesCommand).de(de_ListLogSourcesCommand).build() {
|
|
2797
|
+
};
|
|
2798
|
+
__name(_ListLogSourcesCommand, "ListLogSourcesCommand");
|
|
2799
|
+
var ListLogSourcesCommand = _ListLogSourcesCommand;
|
|
2800
|
+
|
|
2801
|
+
// src/commands/ListSubscribersCommand.ts
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
var _ListSubscribersCommand = class _ListSubscribersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2807
|
+
...commonParams
|
|
2808
|
+
}).m(function(Command, cs, config, o) {
|
|
2809
|
+
return [
|
|
2810
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2811
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2812
|
+
];
|
|
2813
|
+
}).s("SecurityLake", "ListSubscribers", {}).n("SecurityLakeClient", "ListSubscribersCommand").f(void 0, void 0).ser(se_ListSubscribersCommand).de(de_ListSubscribersCommand).build() {
|
|
2814
|
+
};
|
|
2815
|
+
__name(_ListSubscribersCommand, "ListSubscribersCommand");
|
|
2816
|
+
var ListSubscribersCommand = _ListSubscribersCommand;
|
|
2817
|
+
|
|
2818
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2824
|
+
...commonParams
|
|
2825
|
+
}).m(function(Command, cs, config, o) {
|
|
2826
|
+
return [
|
|
2827
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2828
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2829
|
+
];
|
|
2830
|
+
}).s("SecurityLake", "ListTagsForResource", {}).n("SecurityLakeClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2831
|
+
};
|
|
2832
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
2833
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
2834
|
+
|
|
2835
|
+
// src/commands/RegisterDataLakeDelegatedAdministratorCommand.ts
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
var _RegisterDataLakeDelegatedAdministratorCommand = class _RegisterDataLakeDelegatedAdministratorCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2841
|
+
...commonParams
|
|
2842
|
+
}).m(function(Command, cs, config, o) {
|
|
2843
|
+
return [
|
|
2844
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2845
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2846
|
+
];
|
|
2847
|
+
}).s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {}).n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand").f(void 0, void 0).ser(se_RegisterDataLakeDelegatedAdministratorCommand).de(de_RegisterDataLakeDelegatedAdministratorCommand).build() {
|
|
2848
|
+
};
|
|
2849
|
+
__name(_RegisterDataLakeDelegatedAdministratorCommand, "RegisterDataLakeDelegatedAdministratorCommand");
|
|
2850
|
+
var RegisterDataLakeDelegatedAdministratorCommand = _RegisterDataLakeDelegatedAdministratorCommand;
|
|
2851
|
+
|
|
2852
|
+
// src/commands/TagResourceCommand.ts
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2858
|
+
...commonParams
|
|
2859
|
+
}).m(function(Command, cs, config, o) {
|
|
2860
|
+
return [
|
|
2861
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2862
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2863
|
+
];
|
|
2864
|
+
}).s("SecurityLake", "TagResource", {}).n("SecurityLakeClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2865
|
+
};
|
|
2866
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2867
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2868
|
+
|
|
2869
|
+
// src/commands/UntagResourceCommand.ts
|
|
2870
|
+
|
|
2871
|
+
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2875
|
+
...commonParams
|
|
2876
|
+
}).m(function(Command, cs, config, o) {
|
|
2877
|
+
return [
|
|
2878
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2879
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2880
|
+
];
|
|
2881
|
+
}).s("SecurityLake", "UntagResource", {}).n("SecurityLakeClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2882
|
+
};
|
|
2883
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2884
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2885
|
+
|
|
2886
|
+
// src/commands/UpdateDataLakeCommand.ts
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
var _UpdateDataLakeCommand = class _UpdateDataLakeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2892
|
+
...commonParams
|
|
2893
|
+
}).m(function(Command, cs, config, o) {
|
|
2894
|
+
return [
|
|
2895
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2896
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2897
|
+
];
|
|
2898
|
+
}).s("SecurityLake", "UpdateDataLake", {}).n("SecurityLakeClient", "UpdateDataLakeCommand").f(void 0, void 0).ser(se_UpdateDataLakeCommand).de(de_UpdateDataLakeCommand).build() {
|
|
2899
|
+
};
|
|
2900
|
+
__name(_UpdateDataLakeCommand, "UpdateDataLakeCommand");
|
|
2901
|
+
var UpdateDataLakeCommand = _UpdateDataLakeCommand;
|
|
2902
|
+
|
|
2903
|
+
// src/commands/UpdateDataLakeExceptionSubscriptionCommand.ts
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
var _UpdateDataLakeExceptionSubscriptionCommand = class _UpdateDataLakeExceptionSubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2909
|
+
...commonParams
|
|
2910
|
+
}).m(function(Command, cs, config, o) {
|
|
2911
|
+
return [
|
|
2912
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2913
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2914
|
+
];
|
|
2915
|
+
}).s("SecurityLake", "UpdateDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_UpdateDataLakeExceptionSubscriptionCommand).de(de_UpdateDataLakeExceptionSubscriptionCommand).build() {
|
|
2916
|
+
};
|
|
2917
|
+
__name(_UpdateDataLakeExceptionSubscriptionCommand, "UpdateDataLakeExceptionSubscriptionCommand");
|
|
2918
|
+
var UpdateDataLakeExceptionSubscriptionCommand = _UpdateDataLakeExceptionSubscriptionCommand;
|
|
2919
|
+
|
|
2920
|
+
// src/commands/UpdateSubscriberCommand.ts
|
|
2921
|
+
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
var _UpdateSubscriberCommand = class _UpdateSubscriberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2926
|
+
...commonParams
|
|
2927
|
+
}).m(function(Command, cs, config, o) {
|
|
2928
|
+
return [
|
|
2929
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2930
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2931
|
+
];
|
|
2932
|
+
}).s("SecurityLake", "UpdateSubscriber", {}).n("SecurityLakeClient", "UpdateSubscriberCommand").f(void 0, void 0).ser(se_UpdateSubscriberCommand).de(de_UpdateSubscriberCommand).build() {
|
|
2933
|
+
};
|
|
2934
|
+
__name(_UpdateSubscriberCommand, "UpdateSubscriberCommand");
|
|
2935
|
+
var UpdateSubscriberCommand = _UpdateSubscriberCommand;
|
|
2936
|
+
|
|
2937
|
+
// src/commands/UpdateSubscriberNotificationCommand.ts
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
|
|
2942
|
+
var _UpdateSubscriberNotificationCommand = class _UpdateSubscriberNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2943
|
+
...commonParams
|
|
2944
|
+
}).m(function(Command, cs, config, o) {
|
|
2945
|
+
return [
|
|
2946
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2947
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2948
|
+
];
|
|
2949
|
+
}).s("SecurityLake", "UpdateSubscriberNotification", {}).n("SecurityLakeClient", "UpdateSubscriberNotificationCommand").f(void 0, void 0).ser(se_UpdateSubscriberNotificationCommand).de(de_UpdateSubscriberNotificationCommand).build() {
|
|
2950
|
+
};
|
|
2951
|
+
__name(_UpdateSubscriberNotificationCommand, "UpdateSubscriberNotificationCommand");
|
|
2952
|
+
var UpdateSubscriberNotificationCommand = _UpdateSubscriberNotificationCommand;
|
|
2953
|
+
|
|
2954
|
+
// src/SecurityLake.ts
|
|
2955
|
+
var commands = {
|
|
2956
|
+
CreateAwsLogSourceCommand,
|
|
2957
|
+
CreateCustomLogSourceCommand,
|
|
2958
|
+
CreateDataLakeCommand,
|
|
2959
|
+
CreateDataLakeExceptionSubscriptionCommand,
|
|
2960
|
+
CreateDataLakeOrganizationConfigurationCommand,
|
|
2961
|
+
CreateSubscriberCommand,
|
|
2962
|
+
CreateSubscriberNotificationCommand,
|
|
2963
|
+
DeleteAwsLogSourceCommand,
|
|
2964
|
+
DeleteCustomLogSourceCommand,
|
|
2965
|
+
DeleteDataLakeCommand,
|
|
2966
|
+
DeleteDataLakeExceptionSubscriptionCommand,
|
|
2967
|
+
DeleteDataLakeOrganizationConfigurationCommand,
|
|
2968
|
+
DeleteSubscriberCommand,
|
|
2969
|
+
DeleteSubscriberNotificationCommand,
|
|
2970
|
+
DeregisterDataLakeDelegatedAdministratorCommand,
|
|
2971
|
+
GetDataLakeExceptionSubscriptionCommand,
|
|
2972
|
+
GetDataLakeOrganizationConfigurationCommand,
|
|
2973
|
+
GetDataLakeSourcesCommand,
|
|
2974
|
+
GetSubscriberCommand,
|
|
2975
|
+
ListDataLakeExceptionsCommand,
|
|
2976
|
+
ListDataLakesCommand,
|
|
2977
|
+
ListLogSourcesCommand,
|
|
2978
|
+
ListSubscribersCommand,
|
|
2979
|
+
ListTagsForResourceCommand,
|
|
2980
|
+
RegisterDataLakeDelegatedAdministratorCommand,
|
|
2981
|
+
TagResourceCommand,
|
|
2982
|
+
UntagResourceCommand,
|
|
2983
|
+
UpdateDataLakeCommand,
|
|
2984
|
+
UpdateDataLakeExceptionSubscriptionCommand,
|
|
2985
|
+
UpdateSubscriberCommand,
|
|
2986
|
+
UpdateSubscriberNotificationCommand
|
|
2987
|
+
};
|
|
2988
|
+
var _SecurityLake = class _SecurityLake extends SecurityLakeClient {
|
|
2989
|
+
};
|
|
2990
|
+
__name(_SecurityLake, "SecurityLake");
|
|
2991
|
+
var SecurityLake = _SecurityLake;
|
|
2992
|
+
(0, import_smithy_client.createAggregatedClient)(commands, SecurityLake);
|
|
2993
|
+
|
|
2994
|
+
// src/pagination/GetDataLakeSourcesPaginator.ts
|
|
2995
|
+
|
|
2996
|
+
var paginateGetDataLakeSources = (0, import_core.createPaginator)(SecurityLakeClient, GetDataLakeSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
2997
|
+
|
|
2998
|
+
// src/pagination/ListDataLakeExceptionsPaginator.ts
|
|
2999
|
+
|
|
3000
|
+
var paginateListDataLakeExceptions = (0, import_core.createPaginator)(SecurityLakeClient, ListDataLakeExceptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3001
|
+
|
|
3002
|
+
// src/pagination/ListLogSourcesPaginator.ts
|
|
3003
|
+
|
|
3004
|
+
var paginateListLogSources = (0, import_core.createPaginator)(SecurityLakeClient, ListLogSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
3005
|
+
|
|
3006
|
+
// src/pagination/ListSubscribersPaginator.ts
|
|
3007
|
+
|
|
3008
|
+
var paginateListSubscribers = (0, import_core.createPaginator)(SecurityLakeClient, ListSubscribersCommand, "nextToken", "nextToken", "maxResults");
|
|
3009
|
+
|
|
3010
|
+
// src/index.ts
|
|
3011
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3012
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3013
|
+
0 && (module.exports = {
|
|
3014
|
+
AccessDeniedException,
|
|
3015
|
+
AccessType,
|
|
3016
|
+
AwsLogSourceName,
|
|
3017
|
+
BadRequestException,
|
|
3018
|
+
ConflictException,
|
|
3019
|
+
CreateAwsLogSourceCommand,
|
|
3020
|
+
CreateCustomLogSourceCommand,
|
|
3021
|
+
CreateDataLakeCommand,
|
|
3022
|
+
CreateDataLakeExceptionSubscriptionCommand,
|
|
3023
|
+
CreateDataLakeOrganizationConfigurationCommand,
|
|
3024
|
+
CreateSubscriberCommand,
|
|
3025
|
+
CreateSubscriberNotificationCommand,
|
|
3026
|
+
DataLakeStatus,
|
|
3027
|
+
DeleteAwsLogSourceCommand,
|
|
3028
|
+
DeleteCustomLogSourceCommand,
|
|
3029
|
+
DeleteDataLakeCommand,
|
|
3030
|
+
DeleteDataLakeExceptionSubscriptionCommand,
|
|
3031
|
+
DeleteDataLakeOrganizationConfigurationCommand,
|
|
3032
|
+
DeleteSubscriberCommand,
|
|
3033
|
+
DeleteSubscriberNotificationCommand,
|
|
3034
|
+
DeregisterDataLakeDelegatedAdministratorCommand,
|
|
3035
|
+
GetDataLakeExceptionSubscriptionCommand,
|
|
3036
|
+
GetDataLakeOrganizationConfigurationCommand,
|
|
3037
|
+
GetDataLakeSourcesCommand,
|
|
3038
|
+
GetSubscriberCommand,
|
|
3039
|
+
HttpMethod,
|
|
3040
|
+
InternalServerException,
|
|
3041
|
+
ListDataLakeExceptionsCommand,
|
|
3042
|
+
ListDataLakesCommand,
|
|
3043
|
+
ListLogSourcesCommand,
|
|
3044
|
+
ListSubscribersCommand,
|
|
3045
|
+
ListTagsForResourceCommand,
|
|
3046
|
+
LogSourceResource,
|
|
3047
|
+
NotificationConfiguration,
|
|
3048
|
+
RegisterDataLakeDelegatedAdministratorCommand,
|
|
3049
|
+
ResourceNotFoundException,
|
|
3050
|
+
SecurityLake,
|
|
3051
|
+
SecurityLakeClient,
|
|
3052
|
+
SecurityLakeServiceException,
|
|
3053
|
+
SourceCollectionStatus,
|
|
3054
|
+
SubscriberStatus,
|
|
3055
|
+
TagResourceCommand,
|
|
3056
|
+
ThrottlingException,
|
|
3057
|
+
UntagResourceCommand,
|
|
3058
|
+
UpdateDataLakeCommand,
|
|
3059
|
+
UpdateDataLakeExceptionSubscriptionCommand,
|
|
3060
|
+
UpdateSubscriberCommand,
|
|
3061
|
+
UpdateSubscriberNotificationCommand,
|
|
3062
|
+
__Client,
|
|
3063
|
+
paginateGetDataLakeSources,
|
|
3064
|
+
paginateListDataLakeExceptions,
|
|
3065
|
+
paginateListLogSources,
|
|
3066
|
+
paginateListSubscribers
|
|
3067
|
+
});
|