@aws-sdk/client-securitylake 3.928.0 → 3.930.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist-cjs/index.js +1131 -1213
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SecurityLakeClient.js +2 -0
  4. package/dist-es/commands/CreateAwsLogSourceCommand.js +3 -9
  5. package/dist-es/commands/CreateCustomLogSourceCommand.js +3 -9
  6. package/dist-es/commands/CreateDataLakeCommand.js +3 -9
  7. package/dist-es/commands/CreateDataLakeExceptionSubscriptionCommand.js +3 -9
  8. package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +3 -9
  9. package/dist-es/commands/CreateSubscriberCommand.js +3 -9
  10. package/dist-es/commands/CreateSubscriberNotificationCommand.js +3 -9
  11. package/dist-es/commands/DeleteAwsLogSourceCommand.js +3 -9
  12. package/dist-es/commands/DeleteCustomLogSourceCommand.js +3 -9
  13. package/dist-es/commands/DeleteDataLakeCommand.js +3 -9
  14. package/dist-es/commands/DeleteDataLakeExceptionSubscriptionCommand.js +3 -9
  15. package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +3 -9
  16. package/dist-es/commands/DeleteSubscriberCommand.js +3 -9
  17. package/dist-es/commands/DeleteSubscriberNotificationCommand.js +3 -9
  18. package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +3 -9
  19. package/dist-es/commands/GetDataLakeExceptionSubscriptionCommand.js +3 -9
  20. package/dist-es/commands/GetDataLakeOrganizationConfigurationCommand.js +3 -9
  21. package/dist-es/commands/GetDataLakeSourcesCommand.js +3 -9
  22. package/dist-es/commands/GetSubscriberCommand.js +3 -9
  23. package/dist-es/commands/ListDataLakeExceptionsCommand.js +3 -9
  24. package/dist-es/commands/ListDataLakesCommand.js +3 -9
  25. package/dist-es/commands/ListLogSourcesCommand.js +3 -9
  26. package/dist-es/commands/ListSubscribersCommand.js +3 -9
  27. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  28. package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +3 -9
  29. package/dist-es/commands/TagResourceCommand.js +3 -9
  30. package/dist-es/commands/UntagResourceCommand.js +3 -9
  31. package/dist-es/commands/UpdateDataLakeCommand.js +3 -9
  32. package/dist-es/commands/UpdateDataLakeExceptionSubscriptionCommand.js +3 -9
  33. package/dist-es/commands/UpdateSubscriberCommand.js +3 -9
  34. package/dist-es/commands/UpdateSubscriberNotificationCommand.js +3 -9
  35. package/dist-es/models/models_0.js +0 -20
  36. package/dist-es/runtimeConfig.shared.js +2 -0
  37. package/dist-es/schemas/schemas_0.js +1061 -0
  38. package/dist-types/SecurityLakeClient.d.ts +10 -1
  39. package/dist-types/models/models_0.d.ts +8 -2
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/runtimeConfig.d.ts +1 -0
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  44. package/dist-types/schemas/schemas_0.d.ts +148 -0
  45. package/dist-types/ts3.4/SecurityLakeClient.d.ts +4 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +0 -2
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +153 -0
  52. package/package.json +33 -33
  53. package/dist-es/protocols/Aws_restJson1.js +0 -965
  54. package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class SecurityLakeClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class SecurityLakeClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class SecurityLakeServiceException extends smithyClient.ServiceException {
113
+ let SecurityLakeServiceException$1 = class SecurityLakeServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, SecurityLakeServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends SecurityLakeServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends SecurityLakeServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  errorCode;
@@ -130,7 +130,7 @@ class AccessDeniedException extends SecurityLakeServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.errorCode = opts.errorCode;
132
132
  }
133
- }
133
+ };
134
134
  const AccessType = {
135
135
  LAKEFORMATION: "LAKEFORMATION",
136
136
  S3: "S3",
@@ -145,7 +145,7 @@ const AwsLogSourceName = {
145
145
  VPC_FLOW: "VPC_FLOW",
146
146
  WAF: "WAF",
147
147
  };
148
- class BadRequestException extends SecurityLakeServiceException {
148
+ let BadRequestException$1 = class BadRequestException extends SecurityLakeServiceException$1 {
149
149
  name = "BadRequestException";
150
150
  $fault = "client";
151
151
  constructor(opts) {
@@ -156,8 +156,8 @@ class BadRequestException extends SecurityLakeServiceException {
156
156
  });
157
157
  Object.setPrototypeOf(this, BadRequestException.prototype);
158
158
  }
159
- }
160
- class ConflictException extends SecurityLakeServiceException {
159
+ };
160
+ let ConflictException$1 = class ConflictException extends SecurityLakeServiceException$1 {
161
161
  name = "ConflictException";
162
162
  $fault = "client";
163
163
  resourceName;
@@ -172,8 +172,8 @@ class ConflictException extends SecurityLakeServiceException {
172
172
  this.resourceName = opts.resourceName;
173
173
  this.resourceType = opts.resourceType;
174
174
  }
175
- }
176
- class InternalServerException extends SecurityLakeServiceException {
175
+ };
176
+ let InternalServerException$1 = class InternalServerException extends SecurityLakeServiceException$1 {
177
177
  name = "InternalServerException";
178
178
  $fault = "server";
179
179
  $retryable = {};
@@ -185,8 +185,8 @@ class InternalServerException extends SecurityLakeServiceException {
185
185
  });
186
186
  Object.setPrototypeOf(this, InternalServerException.prototype);
187
187
  }
188
- }
189
- class ResourceNotFoundException extends SecurityLakeServiceException {
188
+ };
189
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends SecurityLakeServiceException$1 {
190
190
  name = "ResourceNotFoundException";
191
191
  $fault = "client";
192
192
  resourceName;
@@ -201,8 +201,8 @@ class ResourceNotFoundException extends SecurityLakeServiceException {
201
201
  this.resourceName = opts.resourceName;
202
202
  this.resourceType = opts.resourceType;
203
203
  }
204
- }
205
- class ThrottlingException extends SecurityLakeServiceException {
204
+ };
205
+ let ThrottlingException$1 = class ThrottlingException extends SecurityLakeServiceException$1 {
206
206
  name = "ThrottlingException";
207
207
  $fault = "client";
208
208
  $retryable = {
@@ -222,23 +222,13 @@ class ThrottlingException extends SecurityLakeServiceException {
222
222
  this.quotaCode = opts.quotaCode;
223
223
  this.retryAfterSeconds = opts.retryAfterSeconds;
224
224
  }
225
- }
225
+ };
226
226
  const DataLakeStatus = {
227
227
  COMPLETED: "COMPLETED",
228
228
  FAILED: "FAILED",
229
229
  INITIALIZED: "INITIALIZED",
230
230
  PENDING: "PENDING",
231
231
  };
232
- exports.LogSourceResource = void 0;
233
- (function (LogSourceResource) {
234
- LogSourceResource.visit = (value, visitor) => {
235
- if (value.awsLogSource !== undefined)
236
- return visitor.awsLogSource(value.awsLogSource);
237
- if (value.customLogSource !== undefined)
238
- return visitor.customLogSource(value.customLogSource);
239
- return visitor._(value.$unknown[0], value.$unknown[1]);
240
- };
241
- })(exports.LogSourceResource || (exports.LogSourceResource = {}));
242
232
  const SubscriberStatus = {
243
233
  ACTIVE: "ACTIVE",
244
234
  DEACTIVATED: "DEACTIVATED",
@@ -249,996 +239,1074 @@ const HttpMethod = {
249
239
  POST: "POST",
250
240
  PUT: "PUT",
251
241
  };
252
- exports.NotificationConfiguration = void 0;
253
- (function (NotificationConfiguration) {
254
- NotificationConfiguration.visit = (value, visitor) => {
255
- if (value.sqsNotificationConfiguration !== undefined)
256
- return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);
257
- if (value.httpsNotificationConfiguration !== undefined)
258
- return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);
259
- return visitor._(value.$unknown[0], value.$unknown[1]);
260
- };
261
- })(exports.NotificationConfiguration || (exports.NotificationConfiguration = {}));
262
242
  const SourceCollectionStatus = {
263
243
  COLLECTING: "COLLECTING",
264
244
  MISCONFIGURED: "MISCONFIGURED",
265
245
  NOT_COLLECTING: "NOT_COLLECTING",
266
246
  };
267
247
 
268
- const se_CreateAwsLogSourceCommand = async (input, context) => {
269
- const b = core.requestBuilder(input, context);
270
- const headers = {
271
- "content-type": "application/json",
272
- };
273
- b.bp("/v1/datalake/logsources/aws");
274
- let body;
275
- body = JSON.stringify(smithyClient.take(input, {
276
- sources: (_) => smithyClient._json(_),
277
- }));
278
- b.m("POST").h(headers).b(body);
279
- return b.build();
280
- };
281
- const se_CreateCustomLogSourceCommand = async (input, context) => {
282
- const b = core.requestBuilder(input, context);
283
- const headers = {
284
- "content-type": "application/json",
285
- };
286
- b.bp("/v1/datalake/logsources/custom");
287
- let body;
288
- body = JSON.stringify(smithyClient.take(input, {
289
- configuration: (_) => smithyClient._json(_),
290
- eventClasses: (_) => smithyClient._json(_),
291
- sourceName: [],
292
- sourceVersion: [],
293
- }));
294
- b.m("POST").h(headers).b(body);
295
- return b.build();
296
- };
297
- const se_CreateDataLakeCommand = async (input, context) => {
298
- const b = core.requestBuilder(input, context);
299
- const headers = {
300
- "content-type": "application/json",
301
- };
302
- b.bp("/v1/datalake");
303
- let body;
304
- body = JSON.stringify(smithyClient.take(input, {
305
- configurations: (_) => smithyClient._json(_),
306
- metaStoreManagerRoleArn: [],
307
- tags: (_) => smithyClient._json(_),
308
- }));
309
- b.m("POST").h(headers).b(body);
310
- return b.build();
311
- };
312
- const se_CreateDataLakeExceptionSubscriptionCommand = async (input, context) => {
313
- const b = core.requestBuilder(input, context);
314
- const headers = {
315
- "content-type": "application/json",
316
- };
317
- b.bp("/v1/datalake/exceptions/subscription");
318
- let body;
319
- body = JSON.stringify(smithyClient.take(input, {
320
- exceptionTimeToLive: [],
321
- notificationEndpoint: [],
322
- subscriptionProtocol: [],
323
- }));
324
- b.m("POST").h(headers).b(body);
325
- return b.build();
326
- };
327
- const se_CreateDataLakeOrganizationConfigurationCommand = async (input, context) => {
328
- const b = core.requestBuilder(input, context);
329
- const headers = {
330
- "content-type": "application/json",
331
- };
332
- b.bp("/v1/datalake/organization/configuration");
333
- let body;
334
- body = JSON.stringify(smithyClient.take(input, {
335
- autoEnableNewAccount: (_) => smithyClient._json(_),
336
- }));
337
- b.m("POST").h(headers).b(body);
338
- return b.build();
339
- };
340
- const se_CreateSubscriberCommand = async (input, context) => {
341
- const b = core.requestBuilder(input, context);
342
- const headers = {
343
- "content-type": "application/json",
344
- };
345
- b.bp("/v1/subscribers");
346
- let body;
347
- body = JSON.stringify(smithyClient.take(input, {
348
- accessTypes: (_) => smithyClient._json(_),
349
- sources: (_) => smithyClient._json(_),
350
- subscriberDescription: [],
351
- subscriberIdentity: (_) => smithyClient._json(_),
352
- subscriberName: [],
353
- tags: (_) => smithyClient._json(_),
354
- }));
355
- b.m("POST").h(headers).b(body);
356
- return b.build();
357
- };
358
- const se_CreateSubscriberNotificationCommand = async (input, context) => {
359
- const b = core.requestBuilder(input, context);
360
- const headers = {
361
- "content-type": "application/json",
362
- };
363
- b.bp("/v1/subscribers/{subscriberId}/notification");
364
- b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
365
- let body;
366
- body = JSON.stringify(smithyClient.take(input, {
367
- configuration: (_) => smithyClient._json(_),
368
- }));
369
- b.m("POST").h(headers).b(body);
370
- return b.build();
371
- };
372
- const se_DeleteAwsLogSourceCommand = async (input, context) => {
373
- const b = core.requestBuilder(input, context);
374
- const headers = {
375
- "content-type": "application/json",
376
- };
377
- b.bp("/v1/datalake/logsources/aws/delete");
378
- let body;
379
- body = JSON.stringify(smithyClient.take(input, {
380
- sources: (_) => smithyClient._json(_),
381
- }));
382
- b.m("POST").h(headers).b(body);
383
- return b.build();
384
- };
385
- const se_DeleteCustomLogSourceCommand = async (input, context) => {
386
- const b = core.requestBuilder(input, context);
387
- const headers = {};
388
- b.bp("/v1/datalake/logsources/custom/{sourceName}");
389
- b.p("sourceName", () => input.sourceName, "{sourceName}", false);
390
- const query = smithyClient.map({
391
- [_sV]: [, input[_sV]],
392
- });
393
- let body;
394
- b.m("DELETE").h(headers).q(query).b(body);
395
- return b.build();
396
- };
397
- const se_DeleteDataLakeCommand = async (input, context) => {
398
- const b = core.requestBuilder(input, context);
399
- const headers = {
400
- "content-type": "application/json",
401
- };
402
- b.bp("/v1/datalake/delete");
403
- let body;
404
- body = JSON.stringify(smithyClient.take(input, {
405
- regions: (_) => smithyClient._json(_),
406
- }));
407
- b.m("POST").h(headers).b(body);
408
- return b.build();
409
- };
410
- const se_DeleteDataLakeExceptionSubscriptionCommand = async (input, context) => {
411
- const b = core.requestBuilder(input, context);
412
- const headers = {};
413
- b.bp("/v1/datalake/exceptions/subscription");
414
- let body;
415
- b.m("DELETE").h(headers).b(body);
416
- return b.build();
417
- };
418
- const se_DeleteDataLakeOrganizationConfigurationCommand = async (input, context) => {
419
- const b = core.requestBuilder(input, context);
420
- const headers = {
421
- "content-type": "application/json",
422
- };
423
- b.bp("/v1/datalake/organization/configuration/delete");
424
- let body;
425
- body = JSON.stringify(smithyClient.take(input, {
426
- autoEnableNewAccount: (_) => smithyClient._json(_),
427
- }));
428
- b.m("POST").h(headers).b(body);
429
- return b.build();
430
- };
431
- const se_DeleteSubscriberCommand = async (input, context) => {
432
- const b = core.requestBuilder(input, context);
433
- const headers = {};
434
- b.bp("/v1/subscribers/{subscriberId}");
435
- b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
436
- let body;
437
- b.m("DELETE").h(headers).b(body);
438
- return b.build();
439
- };
440
- const se_DeleteSubscriberNotificationCommand = async (input, context) => {
441
- const b = core.requestBuilder(input, context);
442
- const headers = {};
443
- b.bp("/v1/subscribers/{subscriberId}/notification");
444
- b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
445
- let body;
446
- b.m("DELETE").h(headers).b(body);
447
- return b.build();
448
- };
449
- const se_DeregisterDataLakeDelegatedAdministratorCommand = async (input, context) => {
450
- const b = core.requestBuilder(input, context);
451
- const headers = {};
452
- b.bp("/v1/datalake/delegate");
453
- let body;
454
- b.m("DELETE").h(headers).b(body);
455
- return b.build();
456
- };
457
- const se_GetDataLakeExceptionSubscriptionCommand = async (input, context) => {
458
- const b = core.requestBuilder(input, context);
459
- const headers = {};
460
- b.bp("/v1/datalake/exceptions/subscription");
461
- let body;
462
- b.m("GET").h(headers).b(body);
463
- return b.build();
464
- };
465
- const se_GetDataLakeOrganizationConfigurationCommand = async (input, context) => {
466
- const b = core.requestBuilder(input, context);
467
- const headers = {};
468
- b.bp("/v1/datalake/organization/configuration");
469
- let body;
470
- b.m("GET").h(headers).b(body);
471
- return b.build();
472
- };
473
- const se_GetDataLakeSourcesCommand = async (input, context) => {
474
- const b = core.requestBuilder(input, context);
475
- const headers = {
476
- "content-type": "application/json",
477
- };
478
- b.bp("/v1/datalake/sources");
479
- let body;
480
- body = JSON.stringify(smithyClient.take(input, {
481
- accounts: (_) => smithyClient._json(_),
482
- maxResults: [],
483
- nextToken: [],
484
- }));
485
- b.m("POST").h(headers).b(body);
486
- return b.build();
487
- };
488
- const se_GetSubscriberCommand = async (input, context) => {
489
- const b = core.requestBuilder(input, context);
490
- const headers = {};
491
- b.bp("/v1/subscribers/{subscriberId}");
492
- b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
493
- let body;
494
- b.m("GET").h(headers).b(body);
495
- return b.build();
496
- };
497
- const se_ListDataLakeExceptionsCommand = async (input, context) => {
498
- const b = core.requestBuilder(input, context);
499
- const headers = {
500
- "content-type": "application/json",
501
- };
502
- b.bp("/v1/datalake/exceptions");
503
- let body;
504
- body = JSON.stringify(smithyClient.take(input, {
505
- maxResults: [],
506
- nextToken: [],
507
- regions: (_) => smithyClient._json(_),
508
- }));
509
- b.m("POST").h(headers).b(body);
510
- return b.build();
511
- };
512
- const se_ListDataLakesCommand = async (input, context) => {
513
- const b = core.requestBuilder(input, context);
514
- const headers = {};
515
- b.bp("/v1/datalakes");
516
- const query = smithyClient.map({
517
- [_r]: [() => input.regions !== void 0, () => input[_r] || []],
518
- });
519
- let body;
520
- b.m("GET").h(headers).q(query).b(body);
521
- return b.build();
522
- };
523
- const se_ListLogSourcesCommand = async (input, context) => {
524
- const b = core.requestBuilder(input, context);
525
- const headers = {
526
- "content-type": "application/json",
527
- };
528
- b.bp("/v1/datalake/logsources/list");
529
- let body;
530
- body = JSON.stringify(smithyClient.take(input, {
531
- accounts: (_) => smithyClient._json(_),
532
- maxResults: [],
533
- nextToken: [],
534
- regions: (_) => smithyClient._json(_),
535
- sources: (_) => smithyClient._json(_),
536
- }));
537
- b.m("POST").h(headers).b(body);
538
- return b.build();
539
- };
540
- const se_ListSubscribersCommand = async (input, context) => {
541
- const b = core.requestBuilder(input, context);
542
- const headers = {};
543
- b.bp("/v1/subscribers");
544
- const query = smithyClient.map({
545
- [_nT]: [, input[_nT]],
546
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
547
- });
548
- let body;
549
- b.m("GET").h(headers).q(query).b(body);
550
- return b.build();
551
- };
552
- const se_ListTagsForResourceCommand = async (input, context) => {
553
- const b = core.requestBuilder(input, context);
554
- const headers = {};
555
- b.bp("/v1/tags/{resourceArn}");
556
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
557
- let body;
558
- b.m("GET").h(headers).b(body);
559
- return b.build();
560
- };
561
- const se_RegisterDataLakeDelegatedAdministratorCommand = async (input, context) => {
562
- const b = core.requestBuilder(input, context);
563
- const headers = {
564
- "content-type": "application/json",
565
- };
566
- b.bp("/v1/datalake/delegate");
567
- let body;
568
- body = JSON.stringify(smithyClient.take(input, {
569
- accountId: [],
570
- }));
571
- b.m("POST").h(headers).b(body);
572
- return b.build();
573
- };
574
- const se_TagResourceCommand = async (input, context) => {
575
- const b = core.requestBuilder(input, context);
576
- const headers = {
577
- "content-type": "application/json",
578
- };
579
- b.bp("/v1/tags/{resourceArn}");
580
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
581
- let body;
582
- body = JSON.stringify(smithyClient.take(input, {
583
- tags: (_) => smithyClient._json(_),
584
- }));
585
- b.m("POST").h(headers).b(body);
586
- return b.build();
587
- };
588
- const se_UntagResourceCommand = async (input, context) => {
589
- const b = core.requestBuilder(input, context);
590
- const headers = {};
591
- b.bp("/v1/tags/{resourceArn}");
592
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
593
- const query = smithyClient.map({
594
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
595
- });
596
- let body;
597
- b.m("DELETE").h(headers).q(query).b(body);
598
- return b.build();
599
- };
600
- const se_UpdateDataLakeCommand = async (input, context) => {
601
- const b = core.requestBuilder(input, context);
602
- const headers = {
603
- "content-type": "application/json",
604
- };
605
- b.bp("/v1/datalake");
606
- let body;
607
- body = JSON.stringify(smithyClient.take(input, {
608
- configurations: (_) => smithyClient._json(_),
609
- metaStoreManagerRoleArn: [],
610
- }));
611
- b.m("PUT").h(headers).b(body);
612
- return b.build();
613
- };
614
- const se_UpdateDataLakeExceptionSubscriptionCommand = async (input, context) => {
615
- const b = core.requestBuilder(input, context);
616
- const headers = {
617
- "content-type": "application/json",
618
- };
619
- b.bp("/v1/datalake/exceptions/subscription");
620
- let body;
621
- body = JSON.stringify(smithyClient.take(input, {
622
- exceptionTimeToLive: [],
623
- notificationEndpoint: [],
624
- subscriptionProtocol: [],
625
- }));
626
- b.m("PUT").h(headers).b(body);
627
- return b.build();
628
- };
629
- const se_UpdateSubscriberCommand = async (input, context) => {
630
- const b = core.requestBuilder(input, context);
631
- const headers = {
632
- "content-type": "application/json",
633
- };
634
- b.bp("/v1/subscribers/{subscriberId}");
635
- b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
636
- let body;
637
- body = JSON.stringify(smithyClient.take(input, {
638
- sources: (_) => smithyClient._json(_),
639
- subscriberDescription: [],
640
- subscriberIdentity: (_) => smithyClient._json(_),
641
- subscriberName: [],
642
- }));
643
- b.m("PUT").h(headers).b(body);
644
- return b.build();
645
- };
646
- const se_UpdateSubscriberNotificationCommand = async (input, context) => {
647
- const b = core.requestBuilder(input, context);
648
- const headers = {
649
- "content-type": "application/json",
650
- };
651
- b.bp("/v1/subscribers/{subscriberId}/notification");
652
- b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);
653
- let body;
654
- body = JSON.stringify(smithyClient.take(input, {
655
- configuration: (_) => smithyClient._json(_),
656
- }));
657
- b.m("PUT").h(headers).b(body);
658
- return b.build();
659
- };
660
- const de_CreateAwsLogSourceCommand = async (output, context) => {
661
- if (output.statusCode !== 200 && output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const contents = smithyClient.map({
665
- $metadata: deserializeMetadata(output),
666
- });
667
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
668
- const doc = smithyClient.take(data, {
669
- failed: smithyClient._json,
670
- });
671
- Object.assign(contents, doc);
672
- return contents;
673
- };
674
- const de_CreateCustomLogSourceCommand = async (output, context) => {
675
- if (output.statusCode !== 200 && output.statusCode >= 300) {
676
- return de_CommandError(output, context);
677
- }
678
- const contents = smithyClient.map({
679
- $metadata: deserializeMetadata(output),
680
- });
681
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
682
- const doc = smithyClient.take(data, {
683
- source: smithyClient._json,
684
- });
685
- Object.assign(contents, doc);
686
- return contents;
687
- };
688
- const de_CreateDataLakeCommand = async (output, context) => {
689
- if (output.statusCode !== 200 && output.statusCode >= 300) {
690
- return de_CommandError(output, context);
691
- }
692
- const contents = smithyClient.map({
693
- $metadata: deserializeMetadata(output),
694
- });
695
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
696
- const doc = smithyClient.take(data, {
697
- dataLakes: smithyClient._json,
698
- });
699
- Object.assign(contents, doc);
700
- return contents;
701
- };
702
- const de_CreateDataLakeExceptionSubscriptionCommand = async (output, context) => {
703
- if (output.statusCode !== 200 && output.statusCode >= 300) {
704
- return de_CommandError(output, context);
705
- }
706
- const contents = smithyClient.map({
707
- $metadata: deserializeMetadata(output),
708
- });
709
- await smithyClient.collectBody(output.body, context);
710
- return contents;
711
- };
712
- const de_CreateDataLakeOrganizationConfigurationCommand = async (output, context) => {
713
- if (output.statusCode !== 200 && output.statusCode >= 300) {
714
- return de_CommandError(output, context);
715
- }
716
- const contents = smithyClient.map({
717
- $metadata: deserializeMetadata(output),
718
- });
719
- await smithyClient.collectBody(output.body, context);
720
- return contents;
721
- };
722
- const de_CreateSubscriberCommand = async (output, context) => {
723
- if (output.statusCode !== 200 && output.statusCode >= 300) {
724
- return de_CommandError(output, context);
725
- }
726
- const contents = smithyClient.map({
727
- $metadata: deserializeMetadata(output),
728
- });
729
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
730
- const doc = smithyClient.take(data, {
731
- subscriber: (_) => de_SubscriberResource(_),
732
- });
733
- Object.assign(contents, doc);
734
- return contents;
735
- };
736
- const de_CreateSubscriberNotificationCommand = async (output, context) => {
737
- if (output.statusCode !== 200 && output.statusCode >= 300) {
738
- return de_CommandError(output, context);
739
- }
740
- const contents = smithyClient.map({
741
- $metadata: deserializeMetadata(output),
742
- });
743
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
744
- const doc = smithyClient.take(data, {
745
- subscriberEndpoint: smithyClient.expectString,
746
- });
747
- Object.assign(contents, doc);
748
- return contents;
749
- };
750
- const de_DeleteAwsLogSourceCommand = async (output, context) => {
751
- if (output.statusCode !== 200 && output.statusCode >= 300) {
752
- return de_CommandError(output, context);
753
- }
754
- const contents = smithyClient.map({
755
- $metadata: deserializeMetadata(output),
756
- });
757
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
758
- const doc = smithyClient.take(data, {
759
- failed: smithyClient._json,
760
- });
761
- Object.assign(contents, doc);
762
- return contents;
763
- };
764
- const de_DeleteCustomLogSourceCommand = async (output, context) => {
765
- if (output.statusCode !== 200 && output.statusCode >= 300) {
766
- return de_CommandError(output, context);
767
- }
768
- const contents = smithyClient.map({
769
- $metadata: deserializeMetadata(output),
770
- });
771
- await smithyClient.collectBody(output.body, context);
772
- return contents;
773
- };
774
- const de_DeleteDataLakeCommand = async (output, context) => {
775
- if (output.statusCode !== 200 && output.statusCode >= 300) {
776
- return de_CommandError(output, context);
777
- }
778
- const contents = smithyClient.map({
779
- $metadata: deserializeMetadata(output),
780
- });
781
- await smithyClient.collectBody(output.body, context);
782
- return contents;
783
- };
784
- const de_DeleteDataLakeExceptionSubscriptionCommand = async (output, context) => {
785
- if (output.statusCode !== 200 && output.statusCode >= 300) {
786
- return de_CommandError(output, context);
787
- }
788
- const contents = smithyClient.map({
789
- $metadata: deserializeMetadata(output),
790
- });
791
- await smithyClient.collectBody(output.body, context);
792
- return contents;
793
- };
794
- const de_DeleteDataLakeOrganizationConfigurationCommand = async (output, context) => {
795
- if (output.statusCode !== 200 && output.statusCode >= 300) {
796
- return de_CommandError(output, context);
797
- }
798
- const contents = smithyClient.map({
799
- $metadata: deserializeMetadata(output),
800
- });
801
- await smithyClient.collectBody(output.body, context);
802
- return contents;
803
- };
804
- const de_DeleteSubscriberCommand = async (output, context) => {
805
- if (output.statusCode !== 200 && output.statusCode >= 300) {
806
- return de_CommandError(output, context);
807
- }
808
- const contents = smithyClient.map({
809
- $metadata: deserializeMetadata(output),
810
- });
811
- await smithyClient.collectBody(output.body, context);
812
- return contents;
813
- };
814
- const de_DeleteSubscriberNotificationCommand = async (output, context) => {
815
- if (output.statusCode !== 200 && output.statusCode >= 300) {
816
- return de_CommandError(output, context);
817
- }
818
- const contents = smithyClient.map({
819
- $metadata: deserializeMetadata(output),
820
- });
821
- await smithyClient.collectBody(output.body, context);
822
- return contents;
823
- };
824
- const de_DeregisterDataLakeDelegatedAdministratorCommand = async (output, context) => {
825
- if (output.statusCode !== 200 && output.statusCode >= 300) {
826
- return de_CommandError(output, context);
827
- }
828
- const contents = smithyClient.map({
829
- $metadata: deserializeMetadata(output),
830
- });
831
- await smithyClient.collectBody(output.body, context);
832
- return contents;
833
- };
834
- const de_GetDataLakeExceptionSubscriptionCommand = async (output, context) => {
835
- if (output.statusCode !== 200 && output.statusCode >= 300) {
836
- return de_CommandError(output, context);
837
- }
838
- const contents = smithyClient.map({
839
- $metadata: deserializeMetadata(output),
840
- });
841
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
842
- const doc = smithyClient.take(data, {
843
- exceptionTimeToLive: smithyClient.expectLong,
844
- notificationEndpoint: smithyClient.expectString,
845
- subscriptionProtocol: smithyClient.expectString,
846
- });
847
- Object.assign(contents, doc);
848
- return contents;
849
- };
850
- const de_GetDataLakeOrganizationConfigurationCommand = async (output, context) => {
851
- if (output.statusCode !== 200 && output.statusCode >= 300) {
852
- return de_CommandError(output, context);
853
- }
854
- const contents = smithyClient.map({
855
- $metadata: deserializeMetadata(output),
856
- });
857
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
858
- const doc = smithyClient.take(data, {
859
- autoEnableNewAccount: smithyClient._json,
860
- });
861
- Object.assign(contents, doc);
862
- return contents;
863
- };
864
- const de_GetDataLakeSourcesCommand = async (output, context) => {
865
- if (output.statusCode !== 200 && output.statusCode >= 300) {
866
- return de_CommandError(output, context);
867
- }
868
- const contents = smithyClient.map({
869
- $metadata: deserializeMetadata(output),
870
- });
871
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
872
- const doc = smithyClient.take(data, {
873
- dataLakeArn: smithyClient.expectString,
874
- dataLakeSources: smithyClient._json,
875
- nextToken: smithyClient.expectString,
876
- });
877
- Object.assign(contents, doc);
878
- return contents;
879
- };
880
- const de_GetSubscriberCommand = async (output, context) => {
881
- if (output.statusCode !== 200 && output.statusCode >= 300) {
882
- return de_CommandError(output, context);
883
- }
884
- const contents = smithyClient.map({
885
- $metadata: deserializeMetadata(output),
886
- });
887
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
888
- const doc = smithyClient.take(data, {
889
- subscriber: (_) => de_SubscriberResource(_),
890
- });
891
- Object.assign(contents, doc);
892
- return contents;
893
- };
894
- const de_ListDataLakeExceptionsCommand = async (output, context) => {
895
- if (output.statusCode !== 200 && output.statusCode >= 300) {
896
- return de_CommandError(output, context);
897
- }
898
- const contents = smithyClient.map({
899
- $metadata: deserializeMetadata(output),
900
- });
901
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
902
- const doc = smithyClient.take(data, {
903
- exceptions: (_) => de_DataLakeExceptionList(_),
904
- nextToken: smithyClient.expectString,
905
- });
906
- Object.assign(contents, doc);
907
- return contents;
908
- };
909
- const de_ListDataLakesCommand = async (output, context) => {
910
- if (output.statusCode !== 200 && output.statusCode >= 300) {
911
- return de_CommandError(output, context);
912
- }
913
- const contents = smithyClient.map({
914
- $metadata: deserializeMetadata(output),
915
- });
916
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
917
- const doc = smithyClient.take(data, {
918
- dataLakes: smithyClient._json,
919
- });
920
- Object.assign(contents, doc);
921
- return contents;
922
- };
923
- const de_ListLogSourcesCommand = async (output, context) => {
924
- if (output.statusCode !== 200 && output.statusCode >= 300) {
925
- return de_CommandError(output, context);
926
- }
927
- const contents = smithyClient.map({
928
- $metadata: deserializeMetadata(output),
929
- });
930
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
931
- const doc = smithyClient.take(data, {
932
- nextToken: smithyClient.expectString,
933
- sources: smithyClient._json,
934
- });
935
- Object.assign(contents, doc);
936
- return contents;
937
- };
938
- const de_ListSubscribersCommand = async (output, context) => {
939
- if (output.statusCode !== 200 && output.statusCode >= 300) {
940
- return de_CommandError(output, context);
941
- }
942
- const contents = smithyClient.map({
943
- $metadata: deserializeMetadata(output),
944
- });
945
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
946
- const doc = smithyClient.take(data, {
947
- nextToken: smithyClient.expectString,
948
- subscribers: (_) => de_SubscriberResourceList(_),
949
- });
950
- Object.assign(contents, doc);
951
- return contents;
952
- };
953
- const de_ListTagsForResourceCommand = async (output, context) => {
954
- if (output.statusCode !== 200 && output.statusCode >= 300) {
955
- return de_CommandError(output, context);
956
- }
957
- const contents = smithyClient.map({
958
- $metadata: deserializeMetadata(output),
959
- });
960
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
961
- const doc = smithyClient.take(data, {
962
- tags: smithyClient._json,
963
- });
964
- Object.assign(contents, doc);
965
- return contents;
966
- };
967
- const de_RegisterDataLakeDelegatedAdministratorCommand = async (output, context) => {
968
- if (output.statusCode !== 200 && output.statusCode >= 300) {
969
- return de_CommandError(output, context);
970
- }
971
- const contents = smithyClient.map({
972
- $metadata: deserializeMetadata(output),
973
- });
974
- await smithyClient.collectBody(output.body, context);
975
- return contents;
976
- };
977
- const de_TagResourceCommand = async (output, context) => {
978
- if (output.statusCode !== 200 && output.statusCode >= 300) {
979
- return de_CommandError(output, context);
980
- }
981
- const contents = smithyClient.map({
982
- $metadata: deserializeMetadata(output),
983
- });
984
- await smithyClient.collectBody(output.body, context);
985
- return contents;
986
- };
987
- const de_UntagResourceCommand = async (output, context) => {
988
- if (output.statusCode !== 200 && output.statusCode >= 300) {
989
- return de_CommandError(output, context);
990
- }
991
- const contents = smithyClient.map({
992
- $metadata: deserializeMetadata(output),
993
- });
994
- await smithyClient.collectBody(output.body, context);
995
- return contents;
996
- };
997
- const de_UpdateDataLakeCommand = async (output, context) => {
998
- if (output.statusCode !== 200 && output.statusCode >= 300) {
999
- return de_CommandError(output, context);
1000
- }
1001
- const contents = smithyClient.map({
1002
- $metadata: deserializeMetadata(output),
1003
- });
1004
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1005
- const doc = smithyClient.take(data, {
1006
- dataLakes: smithyClient._json,
1007
- });
1008
- Object.assign(contents, doc);
1009
- return contents;
1010
- };
1011
- const de_UpdateDataLakeExceptionSubscriptionCommand = async (output, context) => {
1012
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1013
- return de_CommandError(output, context);
1014
- }
1015
- const contents = smithyClient.map({
1016
- $metadata: deserializeMetadata(output),
1017
- });
1018
- await smithyClient.collectBody(output.body, context);
1019
- return contents;
1020
- };
1021
- const de_UpdateSubscriberCommand = async (output, context) => {
1022
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1023
- return de_CommandError(output, context);
1024
- }
1025
- const contents = smithyClient.map({
1026
- $metadata: deserializeMetadata(output),
1027
- });
1028
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1029
- const doc = smithyClient.take(data, {
1030
- subscriber: (_) => de_SubscriberResource(_),
1031
- });
1032
- Object.assign(contents, doc);
1033
- return contents;
1034
- };
1035
- const de_UpdateSubscriberNotificationCommand = async (output, context) => {
1036
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1037
- return de_CommandError(output, context);
1038
- }
1039
- const contents = smithyClient.map({
1040
- $metadata: deserializeMetadata(output),
1041
- });
1042
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1043
- const doc = smithyClient.take(data, {
1044
- subscriberEndpoint: smithyClient.expectString,
1045
- });
1046
- Object.assign(contents, doc);
1047
- return contents;
1048
- };
1049
- const de_CommandError = async (output, context) => {
1050
- const parsedOutput = {
1051
- ...output,
1052
- body: await core$1.parseJsonErrorBody(output.body, context),
1053
- };
1054
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1055
- switch (errorCode) {
1056
- case "AccessDeniedException":
1057
- case "com.amazonaws.securitylake#AccessDeniedException":
1058
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1059
- case "BadRequestException":
1060
- case "com.amazonaws.securitylake#BadRequestException":
1061
- throw await de_BadRequestExceptionRes(parsedOutput);
1062
- case "ConflictException":
1063
- case "com.amazonaws.securitylake#ConflictException":
1064
- throw await de_ConflictExceptionRes(parsedOutput);
1065
- case "InternalServerException":
1066
- case "com.amazonaws.securitylake#InternalServerException":
1067
- throw await de_InternalServerExceptionRes(parsedOutput);
1068
- case "ResourceNotFoundException":
1069
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1070
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1071
- case "ThrottlingException":
1072
- case "com.amazonaws.securitylake#ThrottlingException":
1073
- throw await de_ThrottlingExceptionRes(parsedOutput);
1074
- default:
1075
- const parsedBody = parsedOutput.body;
1076
- return throwDefaultError({
1077
- output,
1078
- parsedBody,
1079
- errorCode,
1080
- });
1081
- }
1082
- };
1083
- const throwDefaultError = smithyClient.withBaseException(SecurityLakeServiceException);
1084
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1085
- const contents = smithyClient.map({});
1086
- const data = parsedOutput.body;
1087
- const doc = smithyClient.take(data, {
1088
- errorCode: smithyClient.expectString,
1089
- message: smithyClient.expectString,
1090
- });
1091
- Object.assign(contents, doc);
1092
- const exception = new AccessDeniedException({
1093
- $metadata: deserializeMetadata(parsedOutput),
1094
- ...contents,
1095
- });
1096
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1097
- };
1098
- const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1099
- const contents = smithyClient.map({});
1100
- const data = parsedOutput.body;
1101
- const doc = smithyClient.take(data, {
1102
- message: smithyClient.expectString,
1103
- });
1104
- Object.assign(contents, doc);
1105
- const exception = new BadRequestException({
1106
- $metadata: deserializeMetadata(parsedOutput),
1107
- ...contents,
1108
- });
1109
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1110
- };
1111
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1112
- const contents = smithyClient.map({});
1113
- const data = parsedOutput.body;
1114
- const doc = smithyClient.take(data, {
1115
- message: smithyClient.expectString,
1116
- resourceName: smithyClient.expectString,
1117
- resourceType: smithyClient.expectString,
1118
- });
1119
- Object.assign(contents, doc);
1120
- const exception = new ConflictException({
1121
- $metadata: deserializeMetadata(parsedOutput),
1122
- ...contents,
1123
- });
1124
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1125
- };
1126
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1127
- const contents = smithyClient.map({});
1128
- const data = parsedOutput.body;
1129
- const doc = smithyClient.take(data, {
1130
- message: smithyClient.expectString,
1131
- });
1132
- Object.assign(contents, doc);
1133
- const exception = new InternalServerException({
1134
- $metadata: deserializeMetadata(parsedOutput),
1135
- ...contents,
1136
- });
1137
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1138
- };
1139
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1140
- const contents = smithyClient.map({});
1141
- const data = parsedOutput.body;
1142
- const doc = smithyClient.take(data, {
1143
- message: smithyClient.expectString,
1144
- resourceName: smithyClient.expectString,
1145
- resourceType: smithyClient.expectString,
1146
- });
1147
- Object.assign(contents, doc);
1148
- const exception = new ResourceNotFoundException({
1149
- $metadata: deserializeMetadata(parsedOutput),
1150
- ...contents,
1151
- });
1152
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1153
- };
1154
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1155
- const contents = smithyClient.map({
1156
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1157
- });
1158
- const data = parsedOutput.body;
1159
- const doc = smithyClient.take(data, {
1160
- message: smithyClient.expectString,
1161
- quotaCode: smithyClient.expectString,
1162
- serviceCode: smithyClient.expectString,
1163
- });
1164
- Object.assign(contents, doc);
1165
- const exception = new ThrottlingException({
1166
- $metadata: deserializeMetadata(parsedOutput),
1167
- ...contents,
1168
- });
1169
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1170
- };
1171
- const de_DataLakeException = (output, context) => {
1172
- return smithyClient.take(output, {
1173
- exception: smithyClient.expectString,
1174
- region: smithyClient.expectString,
1175
- remediation: smithyClient.expectString,
1176
- timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1177
- });
1178
- };
1179
- const de_DataLakeExceptionList = (output, context) => {
1180
- const retVal = (output || [])
1181
- .filter((e) => e != null)
1182
- .map((entry) => {
1183
- return de_DataLakeException(entry);
1184
- });
1185
- return retVal;
1186
- };
1187
- const de_SubscriberResource = (output, context) => {
1188
- return smithyClient.take(output, {
1189
- accessTypes: smithyClient._json,
1190
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1191
- resourceShareArn: smithyClient.expectString,
1192
- resourceShareName: smithyClient.expectString,
1193
- roleArn: smithyClient.expectString,
1194
- s3BucketArn: smithyClient.expectString,
1195
- sources: smithyClient._json,
1196
- subscriberArn: smithyClient.expectString,
1197
- subscriberDescription: smithyClient.expectString,
1198
- subscriberEndpoint: smithyClient.expectString,
1199
- subscriberId: smithyClient.expectString,
1200
- subscriberIdentity: smithyClient._json,
1201
- subscriberName: smithyClient.expectString,
1202
- subscriberStatus: smithyClient.expectString,
1203
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1204
- });
1205
- };
1206
- const de_SubscriberResourceList = (output, context) => {
1207
- const retVal = (output || [])
1208
- .filter((e) => e != null)
1209
- .map((entry) => {
1210
- return de_SubscriberResource(entry);
1211
- });
1212
- return retVal;
1213
- };
1214
- const deserializeMetadata = (output) => ({
1215
- httpStatusCode: output.statusCode,
1216
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1217
- extendedRequestId: output.headers["x-amz-id-2"],
1218
- cfId: output.headers["x-amz-cf-id"],
1219
- });
248
+ const _ADE = "AccessDeniedException";
249
+ const _AI = "AwsIdentity";
250
+ const _ALSC = "AwsLogSourceConfiguration";
251
+ const _ALSCL = "AwsLogSourceConfigurationList";
252
+ const _ALSR = "AwsLogSourceResource";
253
+ const _ALSRL = "AwsLogSourceResourceList";
254
+ const _BRE = "BadRequestException";
255
+ const _CALS = "CreateAwsLogSource";
256
+ const _CALSR = "CreateAwsLogSourceRequest";
257
+ const _CALSRr = "CreateAwsLogSourceResponse";
258
+ const _CCLS = "CreateCustomLogSource";
259
+ const _CCLSR = "CreateCustomLogSourceRequest";
260
+ const _CCLSRr = "CreateCustomLogSourceResponse";
261
+ const _CDL = "CreateDataLake";
262
+ const _CDLES = "CreateDataLakeExceptionSubscription";
263
+ const _CDLESR = "CreateDataLakeExceptionSubscriptionRequest";
264
+ const _CDLESRr = "CreateDataLakeExceptionSubscriptionResponse";
265
+ const _CDLOC = "CreateDataLakeOrganizationConfiguration";
266
+ const _CDLOCR = "CreateDataLakeOrganizationConfigurationRequest";
267
+ const _CDLOCRr = "CreateDataLakeOrganizationConfigurationResponse";
268
+ const _CDLR = "CreateDataLakeRequest";
269
+ const _CDLRr = "CreateDataLakeResponse";
270
+ const _CE = "ConflictException";
271
+ const _CLSA = "CustomLogSourceAttributes";
272
+ const _CLSC = "CustomLogSourceConfiguration";
273
+ const _CLSCC = "CustomLogSourceCrawlerConfiguration";
274
+ const _CLSP = "CustomLogSourceProvider";
275
+ const _CLSR = "CustomLogSourceResource";
276
+ const _CS = "CreateSubscriber";
277
+ const _CSN = "CreateSubscriberNotification";
278
+ const _CSNR = "CreateSubscriberNotificationRequest";
279
+ const _CSNRr = "CreateSubscriberNotificationResponse";
280
+ const _CSR = "CreateSubscriberRequest";
281
+ const _CSRr = "CreateSubscriberResponse";
282
+ const _DALS = "DeleteAwsLogSource";
283
+ const _DALSR = "DeleteAwsLogSourceRequest";
284
+ const _DALSRe = "DeleteAwsLogSourceResponse";
285
+ const _DCLS = "DeleteCustomLogSource";
286
+ const _DCLSR = "DeleteCustomLogSourceRequest";
287
+ const _DCLSRe = "DeleteCustomLogSourceResponse";
288
+ const _DDL = "DeleteDataLake";
289
+ const _DDLDA = "DeregisterDataLakeDelegatedAdministrator";
290
+ const _DDLDAR = "DeregisterDataLakeDelegatedAdministratorRequest";
291
+ const _DDLDARe = "DeregisterDataLakeDelegatedAdministratorResponse";
292
+ const _DDLES = "DeleteDataLakeExceptionSubscription";
293
+ const _DDLESR = "DeleteDataLakeExceptionSubscriptionRequest";
294
+ const _DDLESRe = "DeleteDataLakeExceptionSubscriptionResponse";
295
+ const _DDLOC = "DeleteDataLakeOrganizationConfiguration";
296
+ const _DDLOCR = "DeleteDataLakeOrganizationConfigurationRequest";
297
+ const _DDLOCRe = "DeleteDataLakeOrganizationConfigurationResponse";
298
+ const _DDLR = "DeleteDataLakeRequest";
299
+ const _DDLRe = "DeleteDataLakeResponse";
300
+ const _DLAENAC = "DataLakeAutoEnableNewAccountConfiguration";
301
+ const _DLAENACL = "DataLakeAutoEnableNewAccountConfigurationList";
302
+ const _DLC = "DataLakeConfiguration";
303
+ const _DLCL = "DataLakeConfigurationList";
304
+ const _DLE = "DataLakeException";
305
+ const _DLEC = "DataLakeEncryptionConfiguration";
306
+ const _DLEL = "DataLakeExceptionList";
307
+ const _DLLC = "DataLakeLifecycleConfiguration";
308
+ const _DLLE = "DataLakeLifecycleExpiration";
309
+ const _DLLT = "DataLakeLifecycleTransition";
310
+ const _DLLTL = "DataLakeLifecycleTransitionList";
311
+ const _DLR = "DataLakeResource";
312
+ const _DLRC = "DataLakeReplicationConfiguration";
313
+ const _DLRL = "DataLakeResourceList";
314
+ const _DLS = "DataLakeSource";
315
+ const _DLSL = "DataLakeSourceList";
316
+ const _DLSS = "DataLakeSourceStatus";
317
+ const _DLSSL = "DataLakeSourceStatusList";
318
+ const _DLUE = "DataLakeUpdateException";
319
+ const _DLUS = "DataLakeUpdateStatus";
320
+ const _DS = "DeleteSubscriber";
321
+ const _DSN = "DeleteSubscriberNotification";
322
+ const _DSNR = "DeleteSubscriberNotificationRequest";
323
+ const _DSNRe = "DeleteSubscriberNotificationResponse";
324
+ const _DSR = "DeleteSubscriberRequest";
325
+ const _DSRe = "DeleteSubscriberResponse";
326
+ const _GDLES = "GetDataLakeExceptionSubscription";
327
+ const _GDLESR = "GetDataLakeExceptionSubscriptionRequest";
328
+ const _GDLESRe = "GetDataLakeExceptionSubscriptionResponse";
329
+ const _GDLOC = "GetDataLakeOrganizationConfiguration";
330
+ const _GDLOCR = "GetDataLakeOrganizationConfigurationRequest";
331
+ const _GDLOCRe = "GetDataLakeOrganizationConfigurationResponse";
332
+ const _GDLS = "GetDataLakeSources";
333
+ const _GDLSR = "GetDataLakeSourcesRequest";
334
+ const _GDLSRe = "GetDataLakeSourcesResponse";
335
+ const _GS = "GetSubscriber";
336
+ const _GSR = "GetSubscriberRequest";
337
+ const _GSRe = "GetSubscriberResponse";
338
+ const _HNC = "HttpsNotificationConfiguration";
339
+ const _ISE = "InternalServerException";
340
+ const _LDL = "ListDataLakes";
341
+ const _LDLE = "ListDataLakeExceptions";
342
+ const _LDLER = "ListDataLakeExceptionsRequest";
343
+ const _LDLERi = "ListDataLakeExceptionsResponse";
344
+ const _LDLR = "ListDataLakesRequest";
345
+ const _LDLRi = "ListDataLakesResponse";
346
+ const _LLS = "ListLogSources";
347
+ const _LLSR = "ListLogSourcesRequest";
348
+ const _LLSRi = "ListLogSourcesResponse";
349
+ const _LS = "LogSource";
350
+ const _LSL = "LogSourceList";
351
+ const _LSR = "ListSubscribersRequest";
352
+ const _LSRL = "LogSourceResourceList";
353
+ const _LSRi = "ListSubscribersResponse";
354
+ const _LSRo = "LogSourceResource";
355
+ const _LSi = "ListSubscribers";
356
+ const _LTFR = "ListTagsForResource";
357
+ const _LTFRR = "ListTagsForResourceRequest";
358
+ const _LTFRRi = "ListTagsForResourceResponse";
359
+ const _NC = "NotificationConfiguration";
360
+ const _RA = "Retry-After";
361
+ const _RDLDA = "RegisterDataLakeDelegatedAdministrator";
362
+ const _RDLDAR = "RegisterDataLakeDelegatedAdministratorRequest";
363
+ const _RDLDARe = "RegisterDataLakeDelegatedAdministratorResponse";
364
+ const _RNFE = "ResourceNotFoundException";
365
+ const _SNC = "SqsNotificationConfiguration";
366
+ const _SR = "SubscriberResource";
367
+ const _SRL = "SubscriberResourceList";
368
+ const _T = "Tag";
369
+ const _TE = "ThrottlingException";
370
+ const _TL = "TagList";
371
+ const _TR = "TagResource";
372
+ const _TRR = "TagResourceRequest";
373
+ const _TRRa = "TagResourceResponse";
374
+ const _UDL = "UpdateDataLake";
375
+ const _UDLES = "UpdateDataLakeExceptionSubscription";
376
+ const _UDLESR = "UpdateDataLakeExceptionSubscriptionRequest";
377
+ const _UDLESRp = "UpdateDataLakeExceptionSubscriptionResponse";
378
+ const _UDLR = "UpdateDataLakeRequest";
379
+ const _UDLRp = "UpdateDataLakeResponse";
380
+ const _UR = "UntagResource";
381
+ const _URR = "UntagResourceRequest";
382
+ const _URRn = "UntagResourceResponse";
383
+ const _US = "UpdateSubscriber";
384
+ const _USN = "UpdateSubscriberNotification";
385
+ const _USNR = "UpdateSubscriberNotificationRequest";
386
+ const _USNRp = "UpdateSubscriberNotificationResponse";
387
+ const _USR = "UpdateSubscriberRequest";
388
+ const _USRp = "UpdateSubscriberResponse";
389
+ const _a = "accounts";
390
+ const _aAKN = "authorizationApiKeyName";
391
+ const _aAKV = "authorizationApiKeyValue";
392
+ const _aENA = "autoEnableNewAccount";
393
+ const _aI = "accountId";
394
+ const _aLS = "awsLogSource";
395
+ const _aT = "accessTypes";
396
+ const _ac = "account";
397
+ const _at = "attributes";
398
+ const _c = "client";
399
+ const _cA = "crawlerArn";
400
+ const _cAr = "createdAt";
401
+ const _cC = "crawlerConfiguration";
402
+ const _cLS = "customLogSource";
403
+ const _cS = "createStatus";
404
+ const _co = "configuration";
405
+ const _cod = "code";
406
+ const _con = "configurations";
407
+ const _d = "days";
408
+ const _dA = "databaseArn";
409
+ const _dL = "dataLakes";
410
+ const _dLA = "dataLakeArn";
411
+ const _dLS = "dataLakeSources";
412
+ const _e = "error";
413
+ const _eC = "errorCode";
414
+ const _eCn = "encryptionConfiguration";
415
+ const _eCv = "eventClasses";
416
+ const _eI = "externalId";
417
+ const _eTTL = "exceptionTimeToLive";
418
+ const _en = "endpoint";
419
+ const _ex = "exception";
420
+ const _exc = "exceptions";
421
+ const _exp = "expiration";
422
+ const _f = "failed";
423
+ const _h = "http";
424
+ const _hE = "httpError";
425
+ const _hH = "httpHeader";
426
+ const _hM = "httpMethod";
427
+ const _hNC = "httpsNotificationConfiguration";
428
+ const _hQ = "httpQuery";
429
+ const _k = "key";
430
+ const _kKI = "kmsKeyId";
431
+ const _l = "location";
432
+ const _lC = "lifecycleConfiguration";
433
+ const _m = "message";
1220
434
  const _mR = "maxResults";
435
+ const _mSMRA = "metaStoreManagerRoleArn";
436
+ const _nE = "notificationEndpoint";
1221
437
  const _nT = "nextToken";
438
+ const _p = "principal";
439
+ const _pI = "providerIdentity";
440
+ const _pr = "provider";
441
+ const _qC = "quotaCode";
1222
442
  const _r = "regions";
443
+ const _rA = "roleArn";
1223
444
  const _rAS = "retryAfterSeconds";
1224
- const _ra = "retry-after";
445
+ const _rAe = "resourceArn";
446
+ const _rC = "replicationConfiguration";
447
+ const _rI = "requestId";
448
+ const _rN = "resourceName";
449
+ const _rSA = "resourceShareArn";
450
+ const _rSN = "resourceShareName";
451
+ const _rT = "resourceType";
452
+ const _re = "region";
453
+ const _rea = "reason";
454
+ const _rem = "remediation";
455
+ const _res = "resource";
456
+ const _s = "sources";
457
+ const _sA = "subscriberArn";
458
+ const _sBA = "s3BucketArn";
459
+ const _sC = "storageClass";
460
+ const _sCe = "serviceCode";
461
+ const _sD = "subscriberDescription";
462
+ const _sE = "subscriberEndpoint";
463
+ const _sI = "subscriberId";
464
+ const _sIu = "subscriberIdentity";
465
+ const _sN = "sourceName";
466
+ const _sNC = "sqsNotificationConfiguration";
467
+ const _sNu = "subscriberName";
468
+ const _sP = "subscriptionProtocol";
469
+ const _sS = "sourceStatuses";
470
+ const _sSu = "subscriberStatus";
1225
471
  const _sV = "sourceVersion";
472
+ const _se = "server";
473
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.securitylake";
474
+ const _so = "source";
475
+ const _st = "status";
476
+ const _su = "subscriber";
477
+ const _sub = "subscribers";
478
+ const _t = "tags";
479
+ const _tA = "tableArn";
1226
480
  const _tK = "tagKeys";
481
+ const _tRA = "targetRoleArn";
482
+ const _ti = "timestamp";
483
+ const _tr = "transitions";
484
+ const _uA = "updatedAt";
485
+ const _uS = "updateStatus";
486
+ const _v = "value";
487
+ const n0 = "com.amazonaws.securitylake";
488
+ var AccessDeniedException = [
489
+ -3,
490
+ n0,
491
+ _ADE,
492
+ {
493
+ [_e]: _c,
494
+ [_hE]: 403,
495
+ },
496
+ [_m, _eC],
497
+ [0, 0],
498
+ ];
499
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
500
+ var AwsIdentity = [3, n0, _AI, 0, [_p, _eI], [0, 0]];
501
+ var AwsLogSourceConfiguration = [
502
+ 3,
503
+ n0,
504
+ _ALSC,
505
+ 0,
506
+ [_a, _r, _sN, _sV],
507
+ [64 | 0, 64 | 0, 0, 0],
508
+ ];
509
+ var AwsLogSourceResource = [3, n0, _ALSR, 0, [_sN, _sV], [0, 0]];
510
+ var BadRequestException = [
511
+ -3,
512
+ n0,
513
+ _BRE,
514
+ {
515
+ [_e]: _c,
516
+ [_hE]: 400,
517
+ },
518
+ [_m],
519
+ [0],
520
+ ];
521
+ schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
522
+ var ConflictException = [
523
+ -3,
524
+ n0,
525
+ _CE,
526
+ {
527
+ [_e]: _c,
528
+ [_hE]: 409,
529
+ },
530
+ [_m, _rN, _rT],
531
+ [0, 0, 0],
532
+ ];
533
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
534
+ var CreateAwsLogSourceRequest = [
535
+ 3,
536
+ n0,
537
+ _CALSR,
538
+ 0,
539
+ [_s],
540
+ [() => AwsLogSourceConfigurationList],
541
+ ];
542
+ var CreateAwsLogSourceResponse = [3, n0, _CALSRr, 0, [_f], [64 | 0]];
543
+ var CreateCustomLogSourceRequest = [
544
+ 3,
545
+ n0,
546
+ _CCLSR,
547
+ 0,
548
+ [_sN, _sV, _eCv, _co],
549
+ [0, 0, 64 | 0, () => CustomLogSourceConfiguration],
550
+ ];
551
+ var CreateCustomLogSourceResponse = [
552
+ 3,
553
+ n0,
554
+ _CCLSRr,
555
+ 0,
556
+ [_so],
557
+ [() => CustomLogSourceResource],
558
+ ];
559
+ var CreateDataLakeExceptionSubscriptionRequest = [
560
+ 3,
561
+ n0,
562
+ _CDLESR,
563
+ 0,
564
+ [_sP, _nE, _eTTL],
565
+ [0, 0, 1],
566
+ ];
567
+ var CreateDataLakeExceptionSubscriptionResponse = [3, n0, _CDLESRr, 0, [], []];
568
+ var CreateDataLakeOrganizationConfigurationRequest = [
569
+ 3,
570
+ n0,
571
+ _CDLOCR,
572
+ 0,
573
+ [_aENA],
574
+ [() => DataLakeAutoEnableNewAccountConfigurationList],
575
+ ];
576
+ var CreateDataLakeOrganizationConfigurationResponse = [3, n0, _CDLOCRr, 0, [], []];
577
+ var CreateDataLakeRequest = [
578
+ 3,
579
+ n0,
580
+ _CDLR,
581
+ 0,
582
+ [_con, _mSMRA, _t],
583
+ [() => DataLakeConfigurationList, 0, () => TagList],
584
+ ];
585
+ var CreateDataLakeResponse = [3, n0, _CDLRr, 0, [_dL], [() => DataLakeResourceList]];
586
+ var CreateSubscriberNotificationRequest = [
587
+ 3,
588
+ n0,
589
+ _CSNR,
590
+ 0,
591
+ [_sI, _co],
592
+ [[0, 1], () => NotificationConfiguration],
593
+ ];
594
+ var CreateSubscriberNotificationResponse = [3, n0, _CSNRr, 0, [_sE], [0]];
595
+ var CreateSubscriberRequest = [
596
+ 3,
597
+ n0,
598
+ _CSR,
599
+ 0,
600
+ [_sIu, _sNu, _sD, _s, _aT, _t],
601
+ [() => AwsIdentity, 0, 0, () => LogSourceResourceList, 64 | 0, () => TagList],
602
+ ];
603
+ var CreateSubscriberResponse = [3, n0, _CSRr, 0, [_su], [() => SubscriberResource]];
604
+ var CustomLogSourceAttributes = [3, n0, _CLSA, 0, [_cA, _dA, _tA], [0, 0, 0]];
605
+ var CustomLogSourceConfiguration = [
606
+ 3,
607
+ n0,
608
+ _CLSC,
609
+ 0,
610
+ [_cC, _pI],
611
+ [() => CustomLogSourceCrawlerConfiguration, () => AwsIdentity],
612
+ ];
613
+ var CustomLogSourceCrawlerConfiguration = [3, n0, _CLSCC, 0, [_rA], [0]];
614
+ var CustomLogSourceProvider = [3, n0, _CLSP, 0, [_rA, _l], [0, 0]];
615
+ var CustomLogSourceResource = [
616
+ 3,
617
+ n0,
618
+ _CLSR,
619
+ 0,
620
+ [_sN, _sV, _pr, _at],
621
+ [0, 0, () => CustomLogSourceProvider, () => CustomLogSourceAttributes],
622
+ ];
623
+ var DataLakeAutoEnableNewAccountConfiguration = [
624
+ 3,
625
+ n0,
626
+ _DLAENAC,
627
+ 0,
628
+ [_re, _s],
629
+ [0, () => AwsLogSourceResourceList],
630
+ ];
631
+ var DataLakeConfiguration = [
632
+ 3,
633
+ n0,
634
+ _DLC,
635
+ 0,
636
+ [_re, _eCn, _lC, _rC],
637
+ [
638
+ 0,
639
+ () => DataLakeEncryptionConfiguration,
640
+ () => DataLakeLifecycleConfiguration,
641
+ () => DataLakeReplicationConfiguration,
642
+ ],
643
+ ];
644
+ var DataLakeEncryptionConfiguration = [3, n0, _DLEC, 0, [_kKI], [0]];
645
+ var DataLakeException = [3, n0, _DLE, 0, [_re, _ex, _rem, _ti], [0, 0, 0, 5]];
646
+ var DataLakeLifecycleConfiguration = [
647
+ 3,
648
+ n0,
649
+ _DLLC,
650
+ 0,
651
+ [_exp, _tr],
652
+ [() => DataLakeLifecycleExpiration, () => DataLakeLifecycleTransitionList],
653
+ ];
654
+ var DataLakeLifecycleExpiration = [3, n0, _DLLE, 0, [_d], [1]];
655
+ var DataLakeLifecycleTransition = [3, n0, _DLLT, 0, [_sC, _d], [0, 1]];
656
+ var DataLakeReplicationConfiguration = [3, n0, _DLRC, 0, [_r, _rA], [64 | 0, 0]];
657
+ var DataLakeResource = [
658
+ 3,
659
+ n0,
660
+ _DLR,
661
+ 0,
662
+ [_dLA, _re, _sBA, _eCn, _lC, _rC, _cS, _uS],
663
+ [
664
+ 0,
665
+ 0,
666
+ 0,
667
+ () => DataLakeEncryptionConfiguration,
668
+ () => DataLakeLifecycleConfiguration,
669
+ () => DataLakeReplicationConfiguration,
670
+ 0,
671
+ () => DataLakeUpdateStatus,
672
+ ],
673
+ ];
674
+ var DataLakeSource = [
675
+ 3,
676
+ n0,
677
+ _DLS,
678
+ 0,
679
+ [_ac, _sN, _eCv, _sS],
680
+ [0, 0, 64 | 0, () => DataLakeSourceStatusList],
681
+ ];
682
+ var DataLakeSourceStatus = [3, n0, _DLSS, 0, [_res, _st], [0, 0]];
683
+ var DataLakeUpdateException = [3, n0, _DLUE, 0, [_rea, _cod], [0, 0]];
684
+ var DataLakeUpdateStatus = [
685
+ 3,
686
+ n0,
687
+ _DLUS,
688
+ 0,
689
+ [_rI, _st, _ex],
690
+ [0, 0, () => DataLakeUpdateException],
691
+ ];
692
+ var DeleteAwsLogSourceRequest = [
693
+ 3,
694
+ n0,
695
+ _DALSR,
696
+ 0,
697
+ [_s],
698
+ [() => AwsLogSourceConfigurationList],
699
+ ];
700
+ var DeleteAwsLogSourceResponse = [3, n0, _DALSRe, 0, [_f], [64 | 0]];
701
+ var DeleteCustomLogSourceRequest = [
702
+ 3,
703
+ n0,
704
+ _DCLSR,
705
+ 0,
706
+ [_sN, _sV],
707
+ [
708
+ [0, 1],
709
+ [
710
+ 0,
711
+ {
712
+ [_hQ]: _sV,
713
+ },
714
+ ],
715
+ ],
716
+ ];
717
+ var DeleteCustomLogSourceResponse = [3, n0, _DCLSRe, 0, [], []];
718
+ var DeleteDataLakeExceptionSubscriptionRequest = [3, n0, _DDLESR, 0, [], []];
719
+ var DeleteDataLakeExceptionSubscriptionResponse = [3, n0, _DDLESRe, 0, [], []];
720
+ var DeleteDataLakeOrganizationConfigurationRequest = [
721
+ 3,
722
+ n0,
723
+ _DDLOCR,
724
+ 0,
725
+ [_aENA],
726
+ [() => DataLakeAutoEnableNewAccountConfigurationList],
727
+ ];
728
+ var DeleteDataLakeOrganizationConfigurationResponse = [3, n0, _DDLOCRe, 0, [], []];
729
+ var DeleteDataLakeRequest = [3, n0, _DDLR, 0, [_r], [64 | 0]];
730
+ var DeleteDataLakeResponse = [3, n0, _DDLRe, 0, [], []];
731
+ var DeleteSubscriberNotificationRequest = [3, n0, _DSNR, 0, [_sI], [[0, 1]]];
732
+ var DeleteSubscriberNotificationResponse = [3, n0, _DSNRe, 0, [], []];
733
+ var DeleteSubscriberRequest = [3, n0, _DSR, 0, [_sI], [[0, 1]]];
734
+ var DeleteSubscriberResponse = [3, n0, _DSRe, 0, [], []];
735
+ var DeregisterDataLakeDelegatedAdministratorRequest = [3, n0, _DDLDAR, 0, [], []];
736
+ var DeregisterDataLakeDelegatedAdministratorResponse = [3, n0, _DDLDARe, 0, [], []];
737
+ var GetDataLakeExceptionSubscriptionRequest = [3, n0, _GDLESR, 0, [], []];
738
+ var GetDataLakeExceptionSubscriptionResponse = [
739
+ 3,
740
+ n0,
741
+ _GDLESRe,
742
+ 0,
743
+ [_sP, _nE, _eTTL],
744
+ [0, 0, 1],
745
+ ];
746
+ var GetDataLakeOrganizationConfigurationRequest = [3, n0, _GDLOCR, 0, [], []];
747
+ var GetDataLakeOrganizationConfigurationResponse = [
748
+ 3,
749
+ n0,
750
+ _GDLOCRe,
751
+ 0,
752
+ [_aENA],
753
+ [() => DataLakeAutoEnableNewAccountConfigurationList],
754
+ ];
755
+ var GetDataLakeSourcesRequest = [3, n0, _GDLSR, 0, [_a, _mR, _nT], [64 | 0, 1, 0]];
756
+ var GetDataLakeSourcesResponse = [
757
+ 3,
758
+ n0,
759
+ _GDLSRe,
760
+ 0,
761
+ [_dLA, _dLS, _nT],
762
+ [0, () => DataLakeSourceList, 0],
763
+ ];
764
+ var GetSubscriberRequest = [3, n0, _GSR, 0, [_sI], [[0, 1]]];
765
+ var GetSubscriberResponse = [3, n0, _GSRe, 0, [_su], [() => SubscriberResource]];
766
+ var HttpsNotificationConfiguration = [
767
+ 3,
768
+ n0,
769
+ _HNC,
770
+ 0,
771
+ [_en, _aAKN, _aAKV, _hM, _tRA],
772
+ [0, 0, 0, 0, 0],
773
+ ];
774
+ var InternalServerException = [
775
+ -3,
776
+ n0,
777
+ _ISE,
778
+ {
779
+ [_e]: _se,
780
+ [_hE]: 500,
781
+ },
782
+ [_m],
783
+ [0],
784
+ ];
785
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
786
+ var ListDataLakeExceptionsRequest = [3, n0, _LDLER, 0, [_r, _mR, _nT], [64 | 0, 1, 0]];
787
+ var ListDataLakeExceptionsResponse = [
788
+ 3,
789
+ n0,
790
+ _LDLERi,
791
+ 0,
792
+ [_exc, _nT],
793
+ [() => DataLakeExceptionList, 0],
794
+ ];
795
+ var ListDataLakesRequest = [
796
+ 3,
797
+ n0,
798
+ _LDLR,
799
+ 0,
800
+ [_r],
801
+ [
802
+ [
803
+ 64 | 0,
804
+ {
805
+ [_hQ]: _r,
806
+ },
807
+ ],
808
+ ],
809
+ ];
810
+ var ListDataLakesResponse = [3, n0, _LDLRi, 0, [_dL], [() => DataLakeResourceList]];
811
+ var ListLogSourcesRequest = [
812
+ 3,
813
+ n0,
814
+ _LLSR,
815
+ 0,
816
+ [_a, _r, _s, _mR, _nT],
817
+ [64 | 0, 64 | 0, () => LogSourceResourceList, 1, 0],
818
+ ];
819
+ var ListLogSourcesResponse = [3, n0, _LLSRi, 0, [_s, _nT], [() => LogSourceList, 0]];
820
+ var ListSubscribersRequest = [
821
+ 3,
822
+ n0,
823
+ _LSR,
824
+ 0,
825
+ [_nT, _mR],
826
+ [
827
+ [
828
+ 0,
829
+ {
830
+ [_hQ]: _nT,
831
+ },
832
+ ],
833
+ [
834
+ 1,
835
+ {
836
+ [_hQ]: _mR,
837
+ },
838
+ ],
839
+ ],
840
+ ];
841
+ var ListSubscribersResponse = [
842
+ 3,
843
+ n0,
844
+ _LSRi,
845
+ 0,
846
+ [_sub, _nT],
847
+ [() => SubscriberResourceList, 0],
848
+ ];
849
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
850
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [() => TagList]];
851
+ var LogSource = [3, n0, _LS, 0, [_ac, _re, _s], [0, 0, () => LogSourceResourceList]];
852
+ var RegisterDataLakeDelegatedAdministratorRequest = [3, n0, _RDLDAR, 0, [_aI], [0]];
853
+ var RegisterDataLakeDelegatedAdministratorResponse = [3, n0, _RDLDARe, 0, [], []];
854
+ var ResourceNotFoundException = [
855
+ -3,
856
+ n0,
857
+ _RNFE,
858
+ {
859
+ [_e]: _c,
860
+ [_hE]: 404,
861
+ },
862
+ [_m, _rN, _rT],
863
+ [0, 0, 0],
864
+ ];
865
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
866
+ var SqsNotificationConfiguration = [3, n0, _SNC, 0, [], []];
867
+ var SubscriberResource = [
868
+ 3,
869
+ n0,
870
+ _SR,
871
+ 0,
872
+ [_sI, _sA, _sIu, _sNu, _sD, _s, _aT, _rA, _sBA, _sE, _sSu, _rSA, _rSN, _cAr, _uA],
873
+ [0, 0, () => AwsIdentity, 0, 0, () => LogSourceResourceList, 64 | 0, 0, 0, 0, 0, 0, 0, 5, 5],
874
+ ];
875
+ var Tag = [3, n0, _T, 0, [_k, _v], [0, 0]];
876
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _t], [[0, 1], () => TagList]];
877
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
878
+ var ThrottlingException = [
879
+ -3,
880
+ n0,
881
+ _TE,
882
+ {
883
+ [_e]: _c,
884
+ [_hE]: 429,
885
+ },
886
+ [_m, _sCe, _qC, _rAS],
887
+ [
888
+ 0,
889
+ 0,
890
+ 0,
891
+ [
892
+ 1,
893
+ {
894
+ [_hH]: _RA,
895
+ },
896
+ ],
897
+ ],
898
+ ];
899
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
900
+ var UntagResourceRequest = [
901
+ 3,
902
+ n0,
903
+ _URR,
904
+ 0,
905
+ [_rAe, _tK],
906
+ [
907
+ [0, 1],
908
+ [
909
+ 64 | 0,
910
+ {
911
+ [_hQ]: _tK,
912
+ },
913
+ ],
914
+ ],
915
+ ];
916
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
917
+ var UpdateDataLakeExceptionSubscriptionRequest = [
918
+ 3,
919
+ n0,
920
+ _UDLESR,
921
+ 0,
922
+ [_sP, _nE, _eTTL],
923
+ [0, 0, 1],
924
+ ];
925
+ var UpdateDataLakeExceptionSubscriptionResponse = [3, n0, _UDLESRp, 0, [], []];
926
+ var UpdateDataLakeRequest = [
927
+ 3,
928
+ n0,
929
+ _UDLR,
930
+ 0,
931
+ [_con, _mSMRA],
932
+ [() => DataLakeConfigurationList, 0],
933
+ ];
934
+ var UpdateDataLakeResponse = [3, n0, _UDLRp, 0, [_dL], [() => DataLakeResourceList]];
935
+ var UpdateSubscriberNotificationRequest = [
936
+ 3,
937
+ n0,
938
+ _USNR,
939
+ 0,
940
+ [_sI, _co],
941
+ [[0, 1], () => NotificationConfiguration],
942
+ ];
943
+ var UpdateSubscriberNotificationResponse = [3, n0, _USNRp, 0, [_sE], [0]];
944
+ var UpdateSubscriberRequest = [
945
+ 3,
946
+ n0,
947
+ _USR,
948
+ 0,
949
+ [_sI, _sIu, _sNu, _sD, _s],
950
+ [[0, 1], () => AwsIdentity, 0, 0, () => LogSourceResourceList],
951
+ ];
952
+ var UpdateSubscriberResponse = [3, n0, _USRp, 0, [_su], [() => SubscriberResource]];
953
+ var SecurityLakeServiceException = [-3, _sm, "SecurityLakeServiceException", 0, [], []];
954
+ schema.TypeRegistry.for(_sm).registerError(SecurityLakeServiceException, SecurityLakeServiceException$1);
955
+ var AwsLogSourceConfigurationList = [1, n0, _ALSCL, 0, () => AwsLogSourceConfiguration];
956
+ var AwsLogSourceResourceList = [1, n0, _ALSRL, 0, () => AwsLogSourceResource];
957
+ var DataLakeAutoEnableNewAccountConfigurationList = [
958
+ 1,
959
+ n0,
960
+ _DLAENACL,
961
+ 0,
962
+ () => DataLakeAutoEnableNewAccountConfiguration,
963
+ ];
964
+ var DataLakeConfigurationList = [1, n0, _DLCL, 0, () => DataLakeConfiguration];
965
+ var DataLakeExceptionList = [1, n0, _DLEL, 0, () => DataLakeException];
966
+ var DataLakeLifecycleTransitionList = [1, n0, _DLLTL, 0, () => DataLakeLifecycleTransition];
967
+ var DataLakeResourceList = [1, n0, _DLRL, 0, () => DataLakeResource];
968
+ var DataLakeSourceList = [1, n0, _DLSL, 0, () => DataLakeSource];
969
+ var DataLakeSourceStatusList = [1, n0, _DLSSL, 0, () => DataLakeSourceStatus];
970
+ var LogSourceList = [1, n0, _LSL, 0, () => LogSource];
971
+ var LogSourceResourceList = [1, n0, _LSRL, 0, () => LogSourceResource];
972
+ var SubscriberResourceList = [1, n0, _SRL, 0, () => SubscriberResource];
973
+ var TagList = [1, n0, _TL, 0, () => Tag];
974
+ var LogSourceResource = [
975
+ 3,
976
+ n0,
977
+ _LSRo,
978
+ 0,
979
+ [_aLS, _cLS],
980
+ [() => AwsLogSourceResource, () => CustomLogSourceResource],
981
+ ];
982
+ var NotificationConfiguration = [
983
+ 3,
984
+ n0,
985
+ _NC,
986
+ 0,
987
+ [_sNC, _hNC],
988
+ [() => SqsNotificationConfiguration, () => HttpsNotificationConfiguration],
989
+ ];
990
+ var CreateAwsLogSource = [
991
+ 9,
992
+ n0,
993
+ _CALS,
994
+ {
995
+ [_h]: ["POST", "/v1/datalake/logsources/aws", 200],
996
+ },
997
+ () => CreateAwsLogSourceRequest,
998
+ () => CreateAwsLogSourceResponse,
999
+ ];
1000
+ var CreateCustomLogSource = [
1001
+ 9,
1002
+ n0,
1003
+ _CCLS,
1004
+ {
1005
+ [_h]: ["POST", "/v1/datalake/logsources/custom", 200],
1006
+ },
1007
+ () => CreateCustomLogSourceRequest,
1008
+ () => CreateCustomLogSourceResponse,
1009
+ ];
1010
+ var CreateDataLake = [
1011
+ 9,
1012
+ n0,
1013
+ _CDL,
1014
+ {
1015
+ [_h]: ["POST", "/v1/datalake", 200],
1016
+ },
1017
+ () => CreateDataLakeRequest,
1018
+ () => CreateDataLakeResponse,
1019
+ ];
1020
+ var CreateDataLakeExceptionSubscription = [
1021
+ 9,
1022
+ n0,
1023
+ _CDLES,
1024
+ {
1025
+ [_h]: ["POST", "/v1/datalake/exceptions/subscription", 200],
1026
+ },
1027
+ () => CreateDataLakeExceptionSubscriptionRequest,
1028
+ () => CreateDataLakeExceptionSubscriptionResponse,
1029
+ ];
1030
+ var CreateDataLakeOrganizationConfiguration = [
1031
+ 9,
1032
+ n0,
1033
+ _CDLOC,
1034
+ {
1035
+ [_h]: ["POST", "/v1/datalake/organization/configuration", 200],
1036
+ },
1037
+ () => CreateDataLakeOrganizationConfigurationRequest,
1038
+ () => CreateDataLakeOrganizationConfigurationResponse,
1039
+ ];
1040
+ var CreateSubscriber = [
1041
+ 9,
1042
+ n0,
1043
+ _CS,
1044
+ {
1045
+ [_h]: ["POST", "/v1/subscribers", 200],
1046
+ },
1047
+ () => CreateSubscriberRequest,
1048
+ () => CreateSubscriberResponse,
1049
+ ];
1050
+ var CreateSubscriberNotification = [
1051
+ 9,
1052
+ n0,
1053
+ _CSN,
1054
+ {
1055
+ [_h]: ["POST", "/v1/subscribers/{subscriberId}/notification", 200],
1056
+ },
1057
+ () => CreateSubscriberNotificationRequest,
1058
+ () => CreateSubscriberNotificationResponse,
1059
+ ];
1060
+ var DeleteAwsLogSource = [
1061
+ 9,
1062
+ n0,
1063
+ _DALS,
1064
+ {
1065
+ [_h]: ["POST", "/v1/datalake/logsources/aws/delete", 200],
1066
+ },
1067
+ () => DeleteAwsLogSourceRequest,
1068
+ () => DeleteAwsLogSourceResponse,
1069
+ ];
1070
+ var DeleteCustomLogSource = [
1071
+ 9,
1072
+ n0,
1073
+ _DCLS,
1074
+ {
1075
+ [_h]: ["DELETE", "/v1/datalake/logsources/custom/{sourceName}", 200],
1076
+ },
1077
+ () => DeleteCustomLogSourceRequest,
1078
+ () => DeleteCustomLogSourceResponse,
1079
+ ];
1080
+ var DeleteDataLake = [
1081
+ 9,
1082
+ n0,
1083
+ _DDL,
1084
+ {
1085
+ [_h]: ["POST", "/v1/datalake/delete", 200],
1086
+ },
1087
+ () => DeleteDataLakeRequest,
1088
+ () => DeleteDataLakeResponse,
1089
+ ];
1090
+ var DeleteDataLakeExceptionSubscription = [
1091
+ 9,
1092
+ n0,
1093
+ _DDLES,
1094
+ {
1095
+ [_h]: ["DELETE", "/v1/datalake/exceptions/subscription", 200],
1096
+ },
1097
+ () => DeleteDataLakeExceptionSubscriptionRequest,
1098
+ () => DeleteDataLakeExceptionSubscriptionResponse,
1099
+ ];
1100
+ var DeleteDataLakeOrganizationConfiguration = [
1101
+ 9,
1102
+ n0,
1103
+ _DDLOC,
1104
+ {
1105
+ [_h]: ["POST", "/v1/datalake/organization/configuration/delete", 200],
1106
+ },
1107
+ () => DeleteDataLakeOrganizationConfigurationRequest,
1108
+ () => DeleteDataLakeOrganizationConfigurationResponse,
1109
+ ];
1110
+ var DeleteSubscriber = [
1111
+ 9,
1112
+ n0,
1113
+ _DS,
1114
+ {
1115
+ [_h]: ["DELETE", "/v1/subscribers/{subscriberId}", 200],
1116
+ },
1117
+ () => DeleteSubscriberRequest,
1118
+ () => DeleteSubscriberResponse,
1119
+ ];
1120
+ var DeleteSubscriberNotification = [
1121
+ 9,
1122
+ n0,
1123
+ _DSN,
1124
+ {
1125
+ [_h]: ["DELETE", "/v1/subscribers/{subscriberId}/notification", 200],
1126
+ },
1127
+ () => DeleteSubscriberNotificationRequest,
1128
+ () => DeleteSubscriberNotificationResponse,
1129
+ ];
1130
+ var DeregisterDataLakeDelegatedAdministrator = [
1131
+ 9,
1132
+ n0,
1133
+ _DDLDA,
1134
+ {
1135
+ [_h]: ["DELETE", "/v1/datalake/delegate", 200],
1136
+ },
1137
+ () => DeregisterDataLakeDelegatedAdministratorRequest,
1138
+ () => DeregisterDataLakeDelegatedAdministratorResponse,
1139
+ ];
1140
+ var GetDataLakeExceptionSubscription = [
1141
+ 9,
1142
+ n0,
1143
+ _GDLES,
1144
+ {
1145
+ [_h]: ["GET", "/v1/datalake/exceptions/subscription", 200],
1146
+ },
1147
+ () => GetDataLakeExceptionSubscriptionRequest,
1148
+ () => GetDataLakeExceptionSubscriptionResponse,
1149
+ ];
1150
+ var GetDataLakeOrganizationConfiguration = [
1151
+ 9,
1152
+ n0,
1153
+ _GDLOC,
1154
+ {
1155
+ [_h]: ["GET", "/v1/datalake/organization/configuration", 200],
1156
+ },
1157
+ () => GetDataLakeOrganizationConfigurationRequest,
1158
+ () => GetDataLakeOrganizationConfigurationResponse,
1159
+ ];
1160
+ var GetDataLakeSources = [
1161
+ 9,
1162
+ n0,
1163
+ _GDLS,
1164
+ {
1165
+ [_h]: ["POST", "/v1/datalake/sources", 200],
1166
+ },
1167
+ () => GetDataLakeSourcesRequest,
1168
+ () => GetDataLakeSourcesResponse,
1169
+ ];
1170
+ var GetSubscriber = [
1171
+ 9,
1172
+ n0,
1173
+ _GS,
1174
+ {
1175
+ [_h]: ["GET", "/v1/subscribers/{subscriberId}", 200],
1176
+ },
1177
+ () => GetSubscriberRequest,
1178
+ () => GetSubscriberResponse,
1179
+ ];
1180
+ var ListDataLakeExceptions = [
1181
+ 9,
1182
+ n0,
1183
+ _LDLE,
1184
+ {
1185
+ [_h]: ["POST", "/v1/datalake/exceptions", 200],
1186
+ },
1187
+ () => ListDataLakeExceptionsRequest,
1188
+ () => ListDataLakeExceptionsResponse,
1189
+ ];
1190
+ var ListDataLakes = [
1191
+ 9,
1192
+ n0,
1193
+ _LDL,
1194
+ {
1195
+ [_h]: ["GET", "/v1/datalakes", 200],
1196
+ },
1197
+ () => ListDataLakesRequest,
1198
+ () => ListDataLakesResponse,
1199
+ ];
1200
+ var ListLogSources = [
1201
+ 9,
1202
+ n0,
1203
+ _LLS,
1204
+ {
1205
+ [_h]: ["POST", "/v1/datalake/logsources/list", 200],
1206
+ },
1207
+ () => ListLogSourcesRequest,
1208
+ () => ListLogSourcesResponse,
1209
+ ];
1210
+ var ListSubscribers = [
1211
+ 9,
1212
+ n0,
1213
+ _LSi,
1214
+ {
1215
+ [_h]: ["GET", "/v1/subscribers", 200],
1216
+ },
1217
+ () => ListSubscribersRequest,
1218
+ () => ListSubscribersResponse,
1219
+ ];
1220
+ var ListTagsForResource = [
1221
+ 9,
1222
+ n0,
1223
+ _LTFR,
1224
+ {
1225
+ [_h]: ["GET", "/v1/tags/{resourceArn}", 200],
1226
+ },
1227
+ () => ListTagsForResourceRequest,
1228
+ () => ListTagsForResourceResponse,
1229
+ ];
1230
+ var RegisterDataLakeDelegatedAdministrator = [
1231
+ 9,
1232
+ n0,
1233
+ _RDLDA,
1234
+ {
1235
+ [_h]: ["POST", "/v1/datalake/delegate", 200],
1236
+ },
1237
+ () => RegisterDataLakeDelegatedAdministratorRequest,
1238
+ () => RegisterDataLakeDelegatedAdministratorResponse,
1239
+ ];
1240
+ var TagResource = [
1241
+ 9,
1242
+ n0,
1243
+ _TR,
1244
+ {
1245
+ [_h]: ["POST", "/v1/tags/{resourceArn}", 200],
1246
+ },
1247
+ () => TagResourceRequest,
1248
+ () => TagResourceResponse,
1249
+ ];
1250
+ var UntagResource = [
1251
+ 9,
1252
+ n0,
1253
+ _UR,
1254
+ {
1255
+ [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200],
1256
+ },
1257
+ () => UntagResourceRequest,
1258
+ () => UntagResourceResponse,
1259
+ ];
1260
+ var UpdateDataLake = [
1261
+ 9,
1262
+ n0,
1263
+ _UDL,
1264
+ {
1265
+ [_h]: ["PUT", "/v1/datalake", 200],
1266
+ },
1267
+ () => UpdateDataLakeRequest,
1268
+ () => UpdateDataLakeResponse,
1269
+ ];
1270
+ var UpdateDataLakeExceptionSubscription = [
1271
+ 9,
1272
+ n0,
1273
+ _UDLES,
1274
+ {
1275
+ [_h]: ["PUT", "/v1/datalake/exceptions/subscription", 200],
1276
+ },
1277
+ () => UpdateDataLakeExceptionSubscriptionRequest,
1278
+ () => UpdateDataLakeExceptionSubscriptionResponse,
1279
+ ];
1280
+ var UpdateSubscriber = [
1281
+ 9,
1282
+ n0,
1283
+ _US,
1284
+ {
1285
+ [_h]: ["PUT", "/v1/subscribers/{subscriberId}", 200],
1286
+ },
1287
+ () => UpdateSubscriberRequest,
1288
+ () => UpdateSubscriberResponse,
1289
+ ];
1290
+ var UpdateSubscriberNotification = [
1291
+ 9,
1292
+ n0,
1293
+ _USN,
1294
+ {
1295
+ [_h]: ["PUT", "/v1/subscribers/{subscriberId}/notification", 200],
1296
+ },
1297
+ () => UpdateSubscriberNotificationRequest,
1298
+ () => UpdateSubscriberNotificationResponse,
1299
+ ];
1227
1300
 
1228
1301
  class CreateAwsLogSourceCommand extends smithyClient.Command
1229
1302
  .classBuilder()
1230
1303
  .ep(commonParams)
1231
1304
  .m(function (Command, cs, config, o) {
1232
- return [
1233
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1234
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1235
- ];
1305
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1236
1306
  })
1237
1307
  .s("SecurityLake", "CreateAwsLogSource", {})
1238
1308
  .n("SecurityLakeClient", "CreateAwsLogSourceCommand")
1239
- .f(void 0, void 0)
1240
- .ser(se_CreateAwsLogSourceCommand)
1241
- .de(de_CreateAwsLogSourceCommand)
1309
+ .sc(CreateAwsLogSource)
1242
1310
  .build() {
1243
1311
  }
1244
1312
 
@@ -1246,16 +1314,11 @@ class CreateCustomLogSourceCommand extends smithyClient.Command
1246
1314
  .classBuilder()
1247
1315
  .ep(commonParams)
1248
1316
  .m(function (Command, cs, config, o) {
1249
- return [
1250
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1251
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1252
- ];
1317
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1253
1318
  })
1254
1319
  .s("SecurityLake", "CreateCustomLogSource", {})
1255
1320
  .n("SecurityLakeClient", "CreateCustomLogSourceCommand")
1256
- .f(void 0, void 0)
1257
- .ser(se_CreateCustomLogSourceCommand)
1258
- .de(de_CreateCustomLogSourceCommand)
1321
+ .sc(CreateCustomLogSource)
1259
1322
  .build() {
1260
1323
  }
1261
1324
 
@@ -1263,16 +1326,11 @@ class CreateDataLakeCommand extends smithyClient.Command
1263
1326
  .classBuilder()
1264
1327
  .ep(commonParams)
1265
1328
  .m(function (Command, cs, config, o) {
1266
- return [
1267
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1268
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1269
- ];
1329
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1270
1330
  })
1271
1331
  .s("SecurityLake", "CreateDataLake", {})
1272
1332
  .n("SecurityLakeClient", "CreateDataLakeCommand")
1273
- .f(void 0, void 0)
1274
- .ser(se_CreateDataLakeCommand)
1275
- .de(de_CreateDataLakeCommand)
1333
+ .sc(CreateDataLake)
1276
1334
  .build() {
1277
1335
  }
1278
1336
 
@@ -1280,16 +1338,11 @@ class CreateDataLakeExceptionSubscriptionCommand extends smithyClient.Command
1280
1338
  .classBuilder()
1281
1339
  .ep(commonParams)
1282
1340
  .m(function (Command, cs, config, o) {
1283
- return [
1284
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1285
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1286
- ];
1341
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1287
1342
  })
1288
1343
  .s("SecurityLake", "CreateDataLakeExceptionSubscription", {})
1289
1344
  .n("SecurityLakeClient", "CreateDataLakeExceptionSubscriptionCommand")
1290
- .f(void 0, void 0)
1291
- .ser(se_CreateDataLakeExceptionSubscriptionCommand)
1292
- .de(de_CreateDataLakeExceptionSubscriptionCommand)
1345
+ .sc(CreateDataLakeExceptionSubscription)
1293
1346
  .build() {
1294
1347
  }
1295
1348
 
@@ -1297,16 +1350,11 @@ class CreateDataLakeOrganizationConfigurationCommand extends smithyClient.Comman
1297
1350
  .classBuilder()
1298
1351
  .ep(commonParams)
1299
1352
  .m(function (Command, cs, config, o) {
1300
- return [
1301
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1302
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1303
- ];
1353
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
1354
  })
1305
1355
  .s("SecurityLake", "CreateDataLakeOrganizationConfiguration", {})
1306
1356
  .n("SecurityLakeClient", "CreateDataLakeOrganizationConfigurationCommand")
1307
- .f(void 0, void 0)
1308
- .ser(se_CreateDataLakeOrganizationConfigurationCommand)
1309
- .de(de_CreateDataLakeOrganizationConfigurationCommand)
1357
+ .sc(CreateDataLakeOrganizationConfiguration)
1310
1358
  .build() {
1311
1359
  }
1312
1360
 
@@ -1314,16 +1362,11 @@ class CreateSubscriberCommand extends smithyClient.Command
1314
1362
  .classBuilder()
1315
1363
  .ep(commonParams)
1316
1364
  .m(function (Command, cs, config, o) {
1317
- return [
1318
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1319
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1320
- ];
1365
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1321
1366
  })
1322
1367
  .s("SecurityLake", "CreateSubscriber", {})
1323
1368
  .n("SecurityLakeClient", "CreateSubscriberCommand")
1324
- .f(void 0, void 0)
1325
- .ser(se_CreateSubscriberCommand)
1326
- .de(de_CreateSubscriberCommand)
1369
+ .sc(CreateSubscriber)
1327
1370
  .build() {
1328
1371
  }
1329
1372
 
@@ -1331,16 +1374,11 @@ class CreateSubscriberNotificationCommand extends smithyClient.Command
1331
1374
  .classBuilder()
1332
1375
  .ep(commonParams)
1333
1376
  .m(function (Command, cs, config, o) {
1334
- return [
1335
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1336
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1337
- ];
1377
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1338
1378
  })
1339
1379
  .s("SecurityLake", "CreateSubscriberNotification", {})
1340
1380
  .n("SecurityLakeClient", "CreateSubscriberNotificationCommand")
1341
- .f(void 0, void 0)
1342
- .ser(se_CreateSubscriberNotificationCommand)
1343
- .de(de_CreateSubscriberNotificationCommand)
1381
+ .sc(CreateSubscriberNotification)
1344
1382
  .build() {
1345
1383
  }
1346
1384
 
@@ -1348,16 +1386,11 @@ class DeleteAwsLogSourceCommand extends smithyClient.Command
1348
1386
  .classBuilder()
1349
1387
  .ep(commonParams)
1350
1388
  .m(function (Command, cs, config, o) {
1351
- return [
1352
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1353
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1354
- ];
1389
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
1390
  })
1356
1391
  .s("SecurityLake", "DeleteAwsLogSource", {})
1357
1392
  .n("SecurityLakeClient", "DeleteAwsLogSourceCommand")
1358
- .f(void 0, void 0)
1359
- .ser(se_DeleteAwsLogSourceCommand)
1360
- .de(de_DeleteAwsLogSourceCommand)
1393
+ .sc(DeleteAwsLogSource)
1361
1394
  .build() {
1362
1395
  }
1363
1396
 
@@ -1365,16 +1398,11 @@ class DeleteCustomLogSourceCommand extends smithyClient.Command
1365
1398
  .classBuilder()
1366
1399
  .ep(commonParams)
1367
1400
  .m(function (Command, cs, config, o) {
1368
- return [
1369
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1370
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1371
- ];
1401
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1372
1402
  })
1373
1403
  .s("SecurityLake", "DeleteCustomLogSource", {})
1374
1404
  .n("SecurityLakeClient", "DeleteCustomLogSourceCommand")
1375
- .f(void 0, void 0)
1376
- .ser(se_DeleteCustomLogSourceCommand)
1377
- .de(de_DeleteCustomLogSourceCommand)
1405
+ .sc(DeleteCustomLogSource)
1378
1406
  .build() {
1379
1407
  }
1380
1408
 
@@ -1382,16 +1410,11 @@ class DeleteDataLakeCommand extends smithyClient.Command
1382
1410
  .classBuilder()
1383
1411
  .ep(commonParams)
1384
1412
  .m(function (Command, cs, config, o) {
1385
- return [
1386
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1387
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1388
- ];
1413
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1389
1414
  })
1390
1415
  .s("SecurityLake", "DeleteDataLake", {})
1391
1416
  .n("SecurityLakeClient", "DeleteDataLakeCommand")
1392
- .f(void 0, void 0)
1393
- .ser(se_DeleteDataLakeCommand)
1394
- .de(de_DeleteDataLakeCommand)
1417
+ .sc(DeleteDataLake)
1395
1418
  .build() {
1396
1419
  }
1397
1420
 
@@ -1399,16 +1422,11 @@ class DeleteDataLakeExceptionSubscriptionCommand extends smithyClient.Command
1399
1422
  .classBuilder()
1400
1423
  .ep(commonParams)
1401
1424
  .m(function (Command, cs, config, o) {
1402
- return [
1403
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1404
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1405
- ];
1425
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
1426
  })
1407
1427
  .s("SecurityLake", "DeleteDataLakeExceptionSubscription", {})
1408
1428
  .n("SecurityLakeClient", "DeleteDataLakeExceptionSubscriptionCommand")
1409
- .f(void 0, void 0)
1410
- .ser(se_DeleteDataLakeExceptionSubscriptionCommand)
1411
- .de(de_DeleteDataLakeExceptionSubscriptionCommand)
1429
+ .sc(DeleteDataLakeExceptionSubscription)
1412
1430
  .build() {
1413
1431
  }
1414
1432
 
@@ -1416,16 +1434,11 @@ class DeleteDataLakeOrganizationConfigurationCommand extends smithyClient.Comman
1416
1434
  .classBuilder()
1417
1435
  .ep(commonParams)
1418
1436
  .m(function (Command, cs, config, o) {
1419
- return [
1420
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1421
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1422
- ];
1437
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1423
1438
  })
1424
1439
  .s("SecurityLake", "DeleteDataLakeOrganizationConfiguration", {})
1425
1440
  .n("SecurityLakeClient", "DeleteDataLakeOrganizationConfigurationCommand")
1426
- .f(void 0, void 0)
1427
- .ser(se_DeleteDataLakeOrganizationConfigurationCommand)
1428
- .de(de_DeleteDataLakeOrganizationConfigurationCommand)
1441
+ .sc(DeleteDataLakeOrganizationConfiguration)
1429
1442
  .build() {
1430
1443
  }
1431
1444
 
@@ -1433,16 +1446,11 @@ class DeleteSubscriberCommand extends smithyClient.Command
1433
1446
  .classBuilder()
1434
1447
  .ep(commonParams)
1435
1448
  .m(function (Command, cs, config, o) {
1436
- return [
1437
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1438
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1439
- ];
1449
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1440
1450
  })
1441
1451
  .s("SecurityLake", "DeleteSubscriber", {})
1442
1452
  .n("SecurityLakeClient", "DeleteSubscriberCommand")
1443
- .f(void 0, void 0)
1444
- .ser(se_DeleteSubscriberCommand)
1445
- .de(de_DeleteSubscriberCommand)
1453
+ .sc(DeleteSubscriber)
1446
1454
  .build() {
1447
1455
  }
1448
1456
 
@@ -1450,16 +1458,11 @@ class DeleteSubscriberNotificationCommand extends smithyClient.Command
1450
1458
  .classBuilder()
1451
1459
  .ep(commonParams)
1452
1460
  .m(function (Command, cs, config, o) {
1453
- return [
1454
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1455
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1456
- ];
1461
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1457
1462
  })
1458
1463
  .s("SecurityLake", "DeleteSubscriberNotification", {})
1459
1464
  .n("SecurityLakeClient", "DeleteSubscriberNotificationCommand")
1460
- .f(void 0, void 0)
1461
- .ser(se_DeleteSubscriberNotificationCommand)
1462
- .de(de_DeleteSubscriberNotificationCommand)
1465
+ .sc(DeleteSubscriberNotification)
1463
1466
  .build() {
1464
1467
  }
1465
1468
 
@@ -1467,16 +1470,11 @@ class DeregisterDataLakeDelegatedAdministratorCommand extends smithyClient.Comma
1467
1470
  .classBuilder()
1468
1471
  .ep(commonParams)
1469
1472
  .m(function (Command, cs, config, o) {
1470
- return [
1471
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1472
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1473
- ];
1473
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
1474
  })
1475
1475
  .s("SecurityLake", "DeregisterDataLakeDelegatedAdministrator", {})
1476
1476
  .n("SecurityLakeClient", "DeregisterDataLakeDelegatedAdministratorCommand")
1477
- .f(void 0, void 0)
1478
- .ser(se_DeregisterDataLakeDelegatedAdministratorCommand)
1479
- .de(de_DeregisterDataLakeDelegatedAdministratorCommand)
1477
+ .sc(DeregisterDataLakeDelegatedAdministrator)
1480
1478
  .build() {
1481
1479
  }
1482
1480
 
@@ -1484,16 +1482,11 @@ class GetDataLakeExceptionSubscriptionCommand extends smithyClient.Command
1484
1482
  .classBuilder()
1485
1483
  .ep(commonParams)
1486
1484
  .m(function (Command, cs, config, o) {
1487
- return [
1488
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1489
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1490
- ];
1485
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
1486
  })
1492
1487
  .s("SecurityLake", "GetDataLakeExceptionSubscription", {})
1493
1488
  .n("SecurityLakeClient", "GetDataLakeExceptionSubscriptionCommand")
1494
- .f(void 0, void 0)
1495
- .ser(se_GetDataLakeExceptionSubscriptionCommand)
1496
- .de(de_GetDataLakeExceptionSubscriptionCommand)
1489
+ .sc(GetDataLakeExceptionSubscription)
1497
1490
  .build() {
1498
1491
  }
1499
1492
 
@@ -1501,16 +1494,11 @@ class GetDataLakeOrganizationConfigurationCommand extends smithyClient.Command
1501
1494
  .classBuilder()
1502
1495
  .ep(commonParams)
1503
1496
  .m(function (Command, cs, config, o) {
1504
- return [
1505
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1506
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1507
- ];
1497
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1508
1498
  })
1509
1499
  .s("SecurityLake", "GetDataLakeOrganizationConfiguration", {})
1510
1500
  .n("SecurityLakeClient", "GetDataLakeOrganizationConfigurationCommand")
1511
- .f(void 0, void 0)
1512
- .ser(se_GetDataLakeOrganizationConfigurationCommand)
1513
- .de(de_GetDataLakeOrganizationConfigurationCommand)
1501
+ .sc(GetDataLakeOrganizationConfiguration)
1514
1502
  .build() {
1515
1503
  }
1516
1504
 
@@ -1518,16 +1506,11 @@ class GetDataLakeSourcesCommand extends smithyClient.Command
1518
1506
  .classBuilder()
1519
1507
  .ep(commonParams)
1520
1508
  .m(function (Command, cs, config, o) {
1521
- return [
1522
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1523
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1524
- ];
1509
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1525
1510
  })
1526
1511
  .s("SecurityLake", "GetDataLakeSources", {})
1527
1512
  .n("SecurityLakeClient", "GetDataLakeSourcesCommand")
1528
- .f(void 0, void 0)
1529
- .ser(se_GetDataLakeSourcesCommand)
1530
- .de(de_GetDataLakeSourcesCommand)
1513
+ .sc(GetDataLakeSources)
1531
1514
  .build() {
1532
1515
  }
1533
1516
 
@@ -1535,16 +1518,11 @@ class GetSubscriberCommand extends smithyClient.Command
1535
1518
  .classBuilder()
1536
1519
  .ep(commonParams)
1537
1520
  .m(function (Command, cs, config, o) {
1538
- return [
1539
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1540
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1541
- ];
1521
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1542
1522
  })
1543
1523
  .s("SecurityLake", "GetSubscriber", {})
1544
1524
  .n("SecurityLakeClient", "GetSubscriberCommand")
1545
- .f(void 0, void 0)
1546
- .ser(se_GetSubscriberCommand)
1547
- .de(de_GetSubscriberCommand)
1525
+ .sc(GetSubscriber)
1548
1526
  .build() {
1549
1527
  }
1550
1528
 
@@ -1552,16 +1530,11 @@ class ListDataLakeExceptionsCommand extends smithyClient.Command
1552
1530
  .classBuilder()
1553
1531
  .ep(commonParams)
1554
1532
  .m(function (Command, cs, config, o) {
1555
- return [
1556
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1557
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1558
- ];
1533
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
1534
  })
1560
1535
  .s("SecurityLake", "ListDataLakeExceptions", {})
1561
1536
  .n("SecurityLakeClient", "ListDataLakeExceptionsCommand")
1562
- .f(void 0, void 0)
1563
- .ser(se_ListDataLakeExceptionsCommand)
1564
- .de(de_ListDataLakeExceptionsCommand)
1537
+ .sc(ListDataLakeExceptions)
1565
1538
  .build() {
1566
1539
  }
1567
1540
 
@@ -1569,16 +1542,11 @@ class ListDataLakesCommand extends smithyClient.Command
1569
1542
  .classBuilder()
1570
1543
  .ep(commonParams)
1571
1544
  .m(function (Command, cs, config, o) {
1572
- return [
1573
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1574
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1575
- ];
1545
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1576
1546
  })
1577
1547
  .s("SecurityLake", "ListDataLakes", {})
1578
1548
  .n("SecurityLakeClient", "ListDataLakesCommand")
1579
- .f(void 0, void 0)
1580
- .ser(se_ListDataLakesCommand)
1581
- .de(de_ListDataLakesCommand)
1549
+ .sc(ListDataLakes)
1582
1550
  .build() {
1583
1551
  }
1584
1552
 
@@ -1586,16 +1554,11 @@ class ListLogSourcesCommand extends smithyClient.Command
1586
1554
  .classBuilder()
1587
1555
  .ep(commonParams)
1588
1556
  .m(function (Command, cs, config, o) {
1589
- return [
1590
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1591
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1592
- ];
1557
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
1558
  })
1594
1559
  .s("SecurityLake", "ListLogSources", {})
1595
1560
  .n("SecurityLakeClient", "ListLogSourcesCommand")
1596
- .f(void 0, void 0)
1597
- .ser(se_ListLogSourcesCommand)
1598
- .de(de_ListLogSourcesCommand)
1561
+ .sc(ListLogSources)
1599
1562
  .build() {
1600
1563
  }
1601
1564
 
@@ -1603,16 +1566,11 @@ class ListSubscribersCommand extends smithyClient.Command
1603
1566
  .classBuilder()
1604
1567
  .ep(commonParams)
1605
1568
  .m(function (Command, cs, config, o) {
1606
- return [
1607
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1608
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1609
- ];
1569
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
1570
  })
1611
1571
  .s("SecurityLake", "ListSubscribers", {})
1612
1572
  .n("SecurityLakeClient", "ListSubscribersCommand")
1613
- .f(void 0, void 0)
1614
- .ser(se_ListSubscribersCommand)
1615
- .de(de_ListSubscribersCommand)
1573
+ .sc(ListSubscribers)
1616
1574
  .build() {
1617
1575
  }
1618
1576
 
@@ -1620,16 +1578,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1620
1578
  .classBuilder()
1621
1579
  .ep(commonParams)
1622
1580
  .m(function (Command, cs, config, o) {
1623
- return [
1624
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1625
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1626
- ];
1581
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
1582
  })
1628
1583
  .s("SecurityLake", "ListTagsForResource", {})
1629
1584
  .n("SecurityLakeClient", "ListTagsForResourceCommand")
1630
- .f(void 0, void 0)
1631
- .ser(se_ListTagsForResourceCommand)
1632
- .de(de_ListTagsForResourceCommand)
1585
+ .sc(ListTagsForResource)
1633
1586
  .build() {
1634
1587
  }
1635
1588
 
@@ -1637,16 +1590,11 @@ class RegisterDataLakeDelegatedAdministratorCommand extends smithyClient.Command
1637
1590
  .classBuilder()
1638
1591
  .ep(commonParams)
1639
1592
  .m(function (Command, cs, config, o) {
1640
- return [
1641
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1642
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1643
- ];
1593
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
1594
  })
1645
1595
  .s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {})
1646
1596
  .n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand")
1647
- .f(void 0, void 0)
1648
- .ser(se_RegisterDataLakeDelegatedAdministratorCommand)
1649
- .de(de_RegisterDataLakeDelegatedAdministratorCommand)
1597
+ .sc(RegisterDataLakeDelegatedAdministrator)
1650
1598
  .build() {
1651
1599
  }
1652
1600
 
@@ -1654,16 +1602,11 @@ class TagResourceCommand extends smithyClient.Command
1654
1602
  .classBuilder()
1655
1603
  .ep(commonParams)
1656
1604
  .m(function (Command, cs, config, o) {
1657
- return [
1658
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1659
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1660
- ];
1605
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1661
1606
  })
1662
1607
  .s("SecurityLake", "TagResource", {})
1663
1608
  .n("SecurityLakeClient", "TagResourceCommand")
1664
- .f(void 0, void 0)
1665
- .ser(se_TagResourceCommand)
1666
- .de(de_TagResourceCommand)
1609
+ .sc(TagResource)
1667
1610
  .build() {
1668
1611
  }
1669
1612
 
@@ -1671,16 +1614,11 @@ class UntagResourceCommand extends smithyClient.Command
1671
1614
  .classBuilder()
1672
1615
  .ep(commonParams)
1673
1616
  .m(function (Command, cs, config, o) {
1674
- return [
1675
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1676
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1677
- ];
1617
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
1618
  })
1679
1619
  .s("SecurityLake", "UntagResource", {})
1680
1620
  .n("SecurityLakeClient", "UntagResourceCommand")
1681
- .f(void 0, void 0)
1682
- .ser(se_UntagResourceCommand)
1683
- .de(de_UntagResourceCommand)
1621
+ .sc(UntagResource)
1684
1622
  .build() {
1685
1623
  }
1686
1624
 
@@ -1688,16 +1626,11 @@ class UpdateDataLakeCommand extends smithyClient.Command
1688
1626
  .classBuilder()
1689
1627
  .ep(commonParams)
1690
1628
  .m(function (Command, cs, config, o) {
1691
- return [
1692
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1693
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1694
- ];
1629
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1695
1630
  })
1696
1631
  .s("SecurityLake", "UpdateDataLake", {})
1697
1632
  .n("SecurityLakeClient", "UpdateDataLakeCommand")
1698
- .f(void 0, void 0)
1699
- .ser(se_UpdateDataLakeCommand)
1700
- .de(de_UpdateDataLakeCommand)
1633
+ .sc(UpdateDataLake)
1701
1634
  .build() {
1702
1635
  }
1703
1636
 
@@ -1705,16 +1638,11 @@ class UpdateDataLakeExceptionSubscriptionCommand extends smithyClient.Command
1705
1638
  .classBuilder()
1706
1639
  .ep(commonParams)
1707
1640
  .m(function (Command, cs, config, o) {
1708
- return [
1709
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1710
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1711
- ];
1641
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
1642
  })
1713
1643
  .s("SecurityLake", "UpdateDataLakeExceptionSubscription", {})
1714
1644
  .n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand")
1715
- .f(void 0, void 0)
1716
- .ser(se_UpdateDataLakeExceptionSubscriptionCommand)
1717
- .de(de_UpdateDataLakeExceptionSubscriptionCommand)
1645
+ .sc(UpdateDataLakeExceptionSubscription)
1718
1646
  .build() {
1719
1647
  }
1720
1648
 
@@ -1722,16 +1650,11 @@ class UpdateSubscriberCommand extends smithyClient.Command
1722
1650
  .classBuilder()
1723
1651
  .ep(commonParams)
1724
1652
  .m(function (Command, cs, config, o) {
1725
- return [
1726
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1727
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1728
- ];
1653
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1729
1654
  })
1730
1655
  .s("SecurityLake", "UpdateSubscriber", {})
1731
1656
  .n("SecurityLakeClient", "UpdateSubscriberCommand")
1732
- .f(void 0, void 0)
1733
- .ser(se_UpdateSubscriberCommand)
1734
- .de(de_UpdateSubscriberCommand)
1657
+ .sc(UpdateSubscriber)
1735
1658
  .build() {
1736
1659
  }
1737
1660
 
@@ -1739,16 +1662,11 @@ class UpdateSubscriberNotificationCommand extends smithyClient.Command
1739
1662
  .classBuilder()
1740
1663
  .ep(commonParams)
1741
1664
  .m(function (Command, cs, config, o) {
1742
- return [
1743
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1744
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1745
- ];
1665
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1746
1666
  })
1747
1667
  .s("SecurityLake", "UpdateSubscriberNotification", {})
1748
1668
  .n("SecurityLakeClient", "UpdateSubscriberNotificationCommand")
1749
- .f(void 0, void 0)
1750
- .ser(se_UpdateSubscriberNotificationCommand)
1751
- .de(de_UpdateSubscriberNotificationCommand)
1669
+ .sc(UpdateSubscriberNotification)
1752
1670
  .build() {
1753
1671
  }
1754
1672
 
@@ -1805,11 +1723,11 @@ Object.defineProperty(exports, "__Client", {
1805
1723
  enumerable: true,
1806
1724
  get: function () { return smithyClient.Client; }
1807
1725
  });
1808
- exports.AccessDeniedException = AccessDeniedException;
1726
+ exports.AccessDeniedException = AccessDeniedException$1;
1809
1727
  exports.AccessType = AccessType;
1810
1728
  exports.AwsLogSourceName = AwsLogSourceName;
1811
- exports.BadRequestException = BadRequestException;
1812
- exports.ConflictException = ConflictException;
1729
+ exports.BadRequestException = BadRequestException$1;
1730
+ exports.ConflictException = ConflictException$1;
1813
1731
  exports.CreateAwsLogSourceCommand = CreateAwsLogSourceCommand;
1814
1732
  exports.CreateCustomLogSourceCommand = CreateCustomLogSourceCommand;
1815
1733
  exports.CreateDataLakeCommand = CreateDataLakeCommand;
@@ -1831,21 +1749,21 @@ exports.GetDataLakeOrganizationConfigurationCommand = GetDataLakeOrganizationCon
1831
1749
  exports.GetDataLakeSourcesCommand = GetDataLakeSourcesCommand;
1832
1750
  exports.GetSubscriberCommand = GetSubscriberCommand;
1833
1751
  exports.HttpMethod = HttpMethod;
1834
- exports.InternalServerException = InternalServerException;
1752
+ exports.InternalServerException = InternalServerException$1;
1835
1753
  exports.ListDataLakeExceptionsCommand = ListDataLakeExceptionsCommand;
1836
1754
  exports.ListDataLakesCommand = ListDataLakesCommand;
1837
1755
  exports.ListLogSourcesCommand = ListLogSourcesCommand;
1838
1756
  exports.ListSubscribersCommand = ListSubscribersCommand;
1839
1757
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1840
1758
  exports.RegisterDataLakeDelegatedAdministratorCommand = RegisterDataLakeDelegatedAdministratorCommand;
1841
- exports.ResourceNotFoundException = ResourceNotFoundException;
1759
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1842
1760
  exports.SecurityLake = SecurityLake;
1843
1761
  exports.SecurityLakeClient = SecurityLakeClient;
1844
- exports.SecurityLakeServiceException = SecurityLakeServiceException;
1762
+ exports.SecurityLakeServiceException = SecurityLakeServiceException$1;
1845
1763
  exports.SourceCollectionStatus = SourceCollectionStatus;
1846
1764
  exports.SubscriberStatus = SubscriberStatus;
1847
1765
  exports.TagResourceCommand = TagResourceCommand;
1848
- exports.ThrottlingException = ThrottlingException;
1766
+ exports.ThrottlingException = ThrottlingException$1;
1849
1767
  exports.UntagResourceCommand = UntagResourceCommand;
1850
1768
  exports.UpdateDataLakeCommand = UpdateDataLakeCommand;
1851
1769
  exports.UpdateDataLakeExceptionSubscriptionCommand = UpdateDataLakeExceptionSubscriptionCommand;