@aws-sdk/client-securitylake 3.289.0 → 3.292.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 (42) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +11 -2
  3. package/dist-cjs/protocols/Aws_restJson1.js +27 -0
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/models/models_0.js +7 -0
  6. package/dist-es/protocols/Aws_restJson1.js +27 -0
  7. package/dist-types/SecurityLake.d.ts +10 -12
  8. package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +28 -0
  9. package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +29 -0
  10. package/dist-types/commands/CreateDatalakeAutoEnableCommand.d.ts +19 -0
  11. package/dist-types/commands/CreateDatalakeCommand.d.ts +30 -0
  12. package/dist-types/commands/CreateDatalakeDelegatedAdminCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateDatalakeExceptionsSubscriptionCommand.d.ts +19 -0
  14. package/dist-types/commands/CreateSubscriberCommand.d.ts +33 -0
  15. package/dist-types/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +31 -1
  16. package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +19 -0
  17. package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +29 -0
  18. package/dist-types/commands/DeleteDatalakeAutoEnableCommand.d.ts +25 -9
  19. package/dist-types/commands/DeleteDatalakeCommand.d.ts +30 -0
  20. package/dist-types/commands/DeleteDatalakeDelegatedAdminCommand.d.ts +17 -0
  21. package/dist-types/commands/DeleteDatalakeExceptionsSubscriptionCommand.d.ts +19 -0
  22. package/dist-types/commands/DeleteSubscriberCommand.d.ts +33 -0
  23. package/dist-types/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +29 -0
  24. package/dist-types/commands/GetDatalakeAutoEnableCommand.d.ts +19 -0
  25. package/dist-types/commands/GetDatalakeCommand.d.ts +22 -0
  26. package/dist-types/commands/GetDatalakeExceptionsExpiryCommand.d.ts +19 -0
  27. package/dist-types/commands/GetDatalakeExceptionsSubscriptionCommand.d.ts +19 -0
  28. package/dist-types/commands/GetDatalakeStatusCommand.d.ts +19 -0
  29. package/dist-types/commands/GetSubscriberCommand.d.ts +23 -0
  30. package/dist-types/commands/ListDatalakeExceptionsCommand.d.ts +19 -0
  31. package/dist-types/commands/ListLogSourcesCommand.d.ts +22 -0
  32. package/dist-types/commands/ListSubscribersCommand.d.ts +26 -0
  33. package/dist-types/commands/UpdateDatalakeCommand.d.ts +20 -0
  34. package/dist-types/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +19 -0
  35. package/dist-types/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +19 -0
  36. package/dist-types/commands/UpdateSubscriberCommand.d.ts +29 -0
  37. package/dist-types/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +31 -2
  38. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  39. package/dist-types/models/models_0.d.ts +83 -7
  40. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  41. package/dist-types/ts3.4/models/models_0.d.ts +19 -0
  42. package/package.json +35 -40
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "fn", r = "argv", s = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateSubscriberResponseFilterSensitiveLog = exports.CreateSubscriberRequestFilterSensitiveLog = exports.SourceTypeFilterSensitiveLog = exports.CreateDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = exports.CreateDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = exports.CreateDatalakeDelegatedAdminResponseFilterSensitiveLog = exports.CreateDatalakeDelegatedAdminRequestFilterSensitiveLog = exports.CreateDatalakeAutoEnableResponseFilterSensitiveLog = exports.CreateDatalakeAutoEnableRequestFilterSensitiveLog = exports.CreateDatalakeResponseFilterSensitiveLog = exports.CreateDatalakeRequestFilterSensitiveLog = exports.LakeConfigurationRequestFilterSensitiveLog = exports.RetentionSettingFilterSensitiveLog = exports.CreateCustomLogSourceResponseFilterSensitiveLog = exports.CreateCustomLogSourceRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.CreateAwsLogSourceResponseFilterSensitiveLog = exports.CreateAwsLogSourceRequestFilterSensitiveLog = exports.AutoEnableNewRegionConfigurationFilterSensitiveLog = exports.AccountSourcesFilterSensitiveLog = exports.LogsStatusFilterSensitiveLog = exports.SubscriptionStatus = exports.SettingsStatus = exports.EventBridgeException = exports.EndpointProtocol = exports.HttpsMethod = exports.InvalidInputException = exports.SourceType = exports.SubscriptionProtocolType = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.StorageClass = exports.ValidationException = exports.ValidationExceptionReason = exports.S3Exception = exports.ResourceNotFoundException = exports.InternalServerException = exports.Dimension = exports.ConflictSubscriptionException = exports.ConflictSourceNamesException = exports.ConflictException = exports.ConcurrentModificationException = exports.BucketNotFoundException = exports.AwsLogSourceType = exports.Region = exports.SourceStatus = exports.OcsfEventClass = exports.AccountNotFoundException = exports.AccessType = exports.AccessDeniedException = void 0;
4
- exports.UpdateSubscriptionNotificationConfigurationRequestFilterSensitiveLog = exports.UpdateSubscriberResponseFilterSensitiveLog = exports.UpdateSubscriberRequestFilterSensitiveLog = exports.UpdateDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = exports.UpdateDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = exports.UpdateDatalakeExceptionsExpiryResponseFilterSensitiveLog = exports.UpdateDatalakeExceptionsExpiryRequestFilterSensitiveLog = exports.UpdateDatalakeResponseFilterSensitiveLog = exports.UpdateDatalakeRequestFilterSensitiveLog = exports.ListSubscribersResponseFilterSensitiveLog = exports.ListSubscribersRequestFilterSensitiveLog = exports.ListLogSourcesResponseFilterSensitiveLog = exports.ListLogSourcesRequestFilterSensitiveLog = exports.ListDatalakeExceptionsResponseFilterSensitiveLog = exports.ListDatalakeExceptionsRequestFilterSensitiveLog = exports.GetSubscriberResponseFilterSensitiveLog = exports.SubscriberResourceFilterSensitiveLog = exports.GetSubscriberRequestFilterSensitiveLog = exports.GetDatalakeStatusResponseFilterSensitiveLog = exports.GetDatalakeStatusRequestFilterSensitiveLog = exports.GetDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = exports.ProtocolAndNotificationEndpointFilterSensitiveLog = exports.GetDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = exports.GetDatalakeExceptionsExpiryResponseFilterSensitiveLog = exports.GetDatalakeExceptionsExpiryRequestFilterSensitiveLog = exports.GetDatalakeAutoEnableResponseFilterSensitiveLog = exports.GetDatalakeAutoEnableRequestFilterSensitiveLog = exports.GetDatalakeResponseFilterSensitiveLog = exports.LakeConfigurationResponseFilterSensitiveLog = exports.GetDatalakeRequestFilterSensitiveLog = exports.FailuresResponseFilterSensitiveLog = exports.FailuresFilterSensitiveLog = exports.DeleteSubscriptionNotificationConfigurationResponseFilterSensitiveLog = exports.DeleteSubscriptionNotificationConfigurationRequestFilterSensitiveLog = exports.DeleteSubscriberResponseFilterSensitiveLog = exports.DeleteSubscriberRequestFilterSensitiveLog = exports.DeleteDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = exports.DeleteDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = exports.DeleteDatalakeDelegatedAdminResponseFilterSensitiveLog = exports.DeleteDatalakeDelegatedAdminRequestFilterSensitiveLog = exports.DeleteDatalakeAutoEnableResponseFilterSensitiveLog = exports.DeleteDatalakeAutoEnableRequestFilterSensitiveLog = exports.DeleteDatalakeResponseFilterSensitiveLog = exports.DeleteDatalakeRequestFilterSensitiveLog = exports.DeleteCustomLogSourceResponseFilterSensitiveLog = exports.DeleteCustomLogSourceRequestFilterSensitiveLog = exports.DeleteAwsLogSourceResponseFilterSensitiveLog = exports.DeleteAwsLogSourceRequestFilterSensitiveLog = exports.CreateSubscriptionNotificationConfigurationResponseFilterSensitiveLog = exports.CreateSubscriptionNotificationConfigurationRequestFilterSensitiveLog = void 0;
5
- exports.UpdateSubscriptionNotificationConfigurationResponseFilterSensitiveLog = void 0;
4
+ exports.UpdateSubscriberRequestFilterSensitiveLog = exports.UpdateDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = exports.UpdateDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = exports.UpdateDatalakeExceptionsExpiryResponseFilterSensitiveLog = exports.UpdateDatalakeExceptionsExpiryRequestFilterSensitiveLog = exports.UpdateDatalakeResponseFilterSensitiveLog = exports.UpdateDatalakeRequestFilterSensitiveLog = exports.ListSubscribersResponseFilterSensitiveLog = exports.ListSubscribersRequestFilterSensitiveLog = exports.ListLogSourcesResponseFilterSensitiveLog = exports.ListLogSourcesRequestFilterSensitiveLog = exports.ListDatalakeExceptionsResponseFilterSensitiveLog = exports.ListDatalakeExceptionsRequestFilterSensitiveLog = exports.GetSubscriberResponseFilterSensitiveLog = exports.SubscriberResourceFilterSensitiveLog = exports.GetSubscriberRequestFilterSensitiveLog = exports.GetDatalakeStatusResponseFilterSensitiveLog = exports.GetDatalakeStatusRequestFilterSensitiveLog = exports.GetDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = exports.ProtocolAndNotificationEndpointFilterSensitiveLog = exports.GetDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = exports.GetDatalakeExceptionsExpiryResponseFilterSensitiveLog = exports.GetDatalakeExceptionsExpiryRequestFilterSensitiveLog = exports.GetDatalakeAutoEnableResponseFilterSensitiveLog = exports.GetDatalakeAutoEnableRequestFilterSensitiveLog = exports.GetDatalakeResponseFilterSensitiveLog = exports.LakeConfigurationResponseFilterSensitiveLog = exports.UpdateStatusFilterSensitiveLog = exports.LastUpdateFailureFilterSensitiveLog = exports.GetDatalakeRequestFilterSensitiveLog = exports.FailuresResponseFilterSensitiveLog = exports.FailuresFilterSensitiveLog = exports.DeleteSubscriptionNotificationConfigurationResponseFilterSensitiveLog = exports.DeleteSubscriptionNotificationConfigurationRequestFilterSensitiveLog = exports.DeleteSubscriberResponseFilterSensitiveLog = exports.DeleteSubscriberRequestFilterSensitiveLog = exports.DeleteDatalakeExceptionsSubscriptionResponseFilterSensitiveLog = exports.DeleteDatalakeExceptionsSubscriptionRequestFilterSensitiveLog = exports.DeleteDatalakeDelegatedAdminResponseFilterSensitiveLog = exports.DeleteDatalakeDelegatedAdminRequestFilterSensitiveLog = exports.DeleteDatalakeAutoEnableResponseFilterSensitiveLog = exports.DeleteDatalakeAutoEnableRequestFilterSensitiveLog = exports.DeleteDatalakeResponseFilterSensitiveLog = exports.DeleteDatalakeRequestFilterSensitiveLog = exports.DeleteCustomLogSourceResponseFilterSensitiveLog = exports.DeleteCustomLogSourceRequestFilterSensitiveLog = exports.DeleteAwsLogSourceResponseFilterSensitiveLog = exports.DeleteAwsLogSourceRequestFilterSensitiveLog = exports.CreateSubscriptionNotificationConfigurationResponseFilterSensitiveLog = exports.CreateSubscriptionNotificationConfigurationRequestFilterSensitiveLog = void 0;
5
+ exports.UpdateSubscriptionNotificationConfigurationResponseFilterSensitiveLog = exports.UpdateSubscriptionNotificationConfigurationRequestFilterSensitiveLog = exports.UpdateSubscriberResponseFilterSensitiveLog = void 0;
6
6
  const SecurityLakeServiceException_1 = require("./SecurityLakeServiceException");
7
7
  class AccessDeniedException extends SecurityLakeServiceException_1.SecurityLakeServiceException {
8
8
  constructor(opts) {
@@ -14,6 +14,7 @@ class AccessDeniedException extends SecurityLakeServiceException_1.SecurityLakeS
14
14
  this.name = "AccessDeniedException";
15
15
  this.$fault = "client";
16
16
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
+ this.errorCode = opts.errorCode;
17
18
  }
18
19
  }
19
20
  exports.AccessDeniedException = AccessDeniedException;
@@ -525,6 +526,14 @@ const GetDatalakeRequestFilterSensitiveLog = (obj) => ({
525
526
  ...obj,
526
527
  });
527
528
  exports.GetDatalakeRequestFilterSensitiveLog = GetDatalakeRequestFilterSensitiveLog;
529
+ const LastUpdateFailureFilterSensitiveLog = (obj) => ({
530
+ ...obj,
531
+ });
532
+ exports.LastUpdateFailureFilterSensitiveLog = LastUpdateFailureFilterSensitiveLog;
533
+ const UpdateStatusFilterSensitiveLog = (obj) => ({
534
+ ...obj,
535
+ });
536
+ exports.UpdateStatusFilterSensitiveLog = UpdateStatusFilterSensitiveLog;
528
537
  const LakeConfigurationResponseFilterSensitiveLog = (obj) => ({
529
538
  ...obj,
530
539
  });
@@ -976,6 +976,12 @@ const deserializeAws_restJson1CreateSubscriberCommand = async (output, context)
976
976
  $metadata: deserializeMetadata(output),
977
977
  });
978
978
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
979
+ if (data.resourceShareArn != null) {
980
+ contents.resourceShareArn = (0, smithy_client_1.expectString)(data.resourceShareArn);
981
+ }
982
+ if (data.resourceShareName != null) {
983
+ contents.resourceShareName = (0, smithy_client_1.expectString)(data.resourceShareName);
984
+ }
979
985
  if (data.roleArn != null) {
980
986
  contents.roleArn = (0, smithy_client_1.expectString)(data.roleArn);
981
987
  }
@@ -2100,6 +2106,9 @@ const map = smithy_client_1.map;
2100
2106
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2101
2107
  const contents = map({});
2102
2108
  const data = parsedOutput.body;
2109
+ if (data.errorCode != null) {
2110
+ contents.errorCode = (0, smithy_client_1.expectString)(data.errorCode);
2111
+ }
2103
2112
  if (data.message != null) {
2104
2113
  contents.message = (0, smithy_client_1.expectString)(data.message);
2105
2114
  }
@@ -2580,6 +2589,7 @@ const deserializeAws_restJson1LakeConfigurationResponse = (output, context) => {
2580
2589
  s3BucketArn: (0, smithy_client_1.expectString)(output.s3BucketArn),
2581
2590
  status: (0, smithy_client_1.expectString)(output.status),
2582
2591
  tagsMap: output.tagsMap != null ? deserializeAws_restJson1TagsMap(output.tagsMap, context) : undefined,
2592
+ updateStatus: output.updateStatus != null ? deserializeAws_restJson1UpdateStatus(output.updateStatus, context) : undefined,
2583
2593
  };
2584
2594
  };
2585
2595
  const deserializeAws_restJson1LakeConfigurationResponseMap = (output, context) => {
@@ -2591,6 +2601,12 @@ const deserializeAws_restJson1LakeConfigurationResponseMap = (output, context) =
2591
2601
  return acc;
2592
2602
  }, {});
2593
2603
  };
2604
+ const deserializeAws_restJson1LastUpdateFailure = (output, context) => {
2605
+ return {
2606
+ code: (0, smithy_client_1.expectString)(output.code),
2607
+ reason: (0, smithy_client_1.expectString)(output.reason),
2608
+ };
2609
+ };
2594
2610
  const deserializeAws_restJson1LogsStatus = (output, context) => {
2595
2611
  return {
2596
2612
  healthStatus: (0, smithy_client_1.expectString)(output.healthStatus),
@@ -2690,6 +2706,8 @@ const deserializeAws_restJson1SubscriberResource = (output, context) => {
2690
2706
  accountId: (0, smithy_client_1.expectString)(output.accountId),
2691
2707
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
2692
2708
  externalId: (0, smithy_client_1.expectString)(output.externalId),
2709
+ resourceShareArn: (0, smithy_client_1.expectString)(output.resourceShareArn),
2710
+ resourceShareName: (0, smithy_client_1.expectString)(output.resourceShareName),
2693
2711
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
2694
2712
  s3BucketArn: (0, smithy_client_1.expectString)(output.s3BucketArn),
2695
2713
  snsArn: (0, smithy_client_1.expectString)(output.snsArn),
@@ -2721,6 +2739,15 @@ const deserializeAws_restJson1TwoDimensionsMap = (output, context) => {
2721
2739
  return acc;
2722
2740
  }, {});
2723
2741
  };
2742
+ const deserializeAws_restJson1UpdateStatus = (output, context) => {
2743
+ return {
2744
+ lastUpdateFailure: output.lastUpdateFailure != null
2745
+ ? deserializeAws_restJson1LastUpdateFailure(output.lastUpdateFailure, context)
2746
+ : undefined,
2747
+ lastUpdateRequestId: (0, smithy_client_1.expectString)(output.lastUpdateRequestId),
2748
+ lastUpdateStatus: (0, smithy_client_1.expectString)(output.lastUpdateStatus),
2749
+ };
2750
+ };
2724
2751
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
2725
2752
  return {
2726
2753
  message: (0, smithy_client_1.expectString)(output.message),
@@ -1,4 +1,4 @@
1
- const q = "fn", r = "argv", s = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://securitylake-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://securitylake.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -9,6 +9,7 @@ export class AccessDeniedException extends __BaseException {
9
9
  this.name = "AccessDeniedException";
10
10
  this.$fault = "client";
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ this.errorCode = opts.errorCode;
12
13
  }
13
14
  }
14
15
  export var AccessType;
@@ -463,6 +464,12 @@ export const FailuresResponseFilterSensitiveLog = (obj) => ({
463
464
  export const GetDatalakeRequestFilterSensitiveLog = (obj) => ({
464
465
  ...obj,
465
466
  });
467
+ export const LastUpdateFailureFilterSensitiveLog = (obj) => ({
468
+ ...obj,
469
+ });
470
+ export const UpdateStatusFilterSensitiveLog = (obj) => ({
471
+ ...obj,
472
+ });
466
473
  export const LakeConfigurationResponseFilterSensitiveLog = (obj) => ({
467
474
  ...obj,
468
475
  });
@@ -936,6 +936,12 @@ export const deserializeAws_restJson1CreateSubscriberCommand = async (output, co
936
936
  $metadata: deserializeMetadata(output),
937
937
  });
938
938
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
939
+ if (data.resourceShareArn != null) {
940
+ contents.resourceShareArn = __expectString(data.resourceShareArn);
941
+ }
942
+ if (data.resourceShareName != null) {
943
+ contents.resourceShareName = __expectString(data.resourceShareName);
944
+ }
939
945
  if (data.roleArn != null) {
940
946
  contents.roleArn = __expectString(data.roleArn);
941
947
  }
@@ -2036,6 +2042,9 @@ const map = __map;
2036
2042
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2037
2043
  const contents = map({});
2038
2044
  const data = parsedOutput.body;
2045
+ if (data.errorCode != null) {
2046
+ contents.errorCode = __expectString(data.errorCode);
2047
+ }
2039
2048
  if (data.message != null) {
2040
2049
  contents.message = __expectString(data.message);
2041
2050
  }
@@ -2516,6 +2525,7 @@ const deserializeAws_restJson1LakeConfigurationResponse = (output, context) => {
2516
2525
  s3BucketArn: __expectString(output.s3BucketArn),
2517
2526
  status: __expectString(output.status),
2518
2527
  tagsMap: output.tagsMap != null ? deserializeAws_restJson1TagsMap(output.tagsMap, context) : undefined,
2528
+ updateStatus: output.updateStatus != null ? deserializeAws_restJson1UpdateStatus(output.updateStatus, context) : undefined,
2519
2529
  };
2520
2530
  };
2521
2531
  const deserializeAws_restJson1LakeConfigurationResponseMap = (output, context) => {
@@ -2527,6 +2537,12 @@ const deserializeAws_restJson1LakeConfigurationResponseMap = (output, context) =
2527
2537
  return acc;
2528
2538
  }, {});
2529
2539
  };
2540
+ const deserializeAws_restJson1LastUpdateFailure = (output, context) => {
2541
+ return {
2542
+ code: __expectString(output.code),
2543
+ reason: __expectString(output.reason),
2544
+ };
2545
+ };
2530
2546
  const deserializeAws_restJson1LogsStatus = (output, context) => {
2531
2547
  return {
2532
2548
  healthStatus: __expectString(output.healthStatus),
@@ -2626,6 +2642,8 @@ const deserializeAws_restJson1SubscriberResource = (output, context) => {
2626
2642
  accountId: __expectString(output.accountId),
2627
2643
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
2628
2644
  externalId: __expectString(output.externalId),
2645
+ resourceShareArn: __expectString(output.resourceShareArn),
2646
+ resourceShareName: __expectString(output.resourceShareName),
2629
2647
  roleArn: __expectString(output.roleArn),
2630
2648
  s3BucketArn: __expectString(output.s3BucketArn),
2631
2649
  snsArn: __expectString(output.snsArn),
@@ -2657,6 +2675,15 @@ const deserializeAws_restJson1TwoDimensionsMap = (output, context) => {
2657
2675
  return acc;
2658
2676
  }, {});
2659
2677
  };
2678
+ const deserializeAws_restJson1UpdateStatus = (output, context) => {
2679
+ return {
2680
+ lastUpdateFailure: output.lastUpdateFailure != null
2681
+ ? deserializeAws_restJson1LastUpdateFailure(output.lastUpdateFailure, context)
2682
+ : undefined,
2683
+ lastUpdateRequestId: __expectString(output.lastUpdateRequestId),
2684
+ lastUpdateStatus: __expectString(output.lastUpdateStatus),
2685
+ };
2686
+ };
2660
2687
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
2661
2688
  return {
2662
2689
  message: __expectString(output.message),
@@ -148,7 +148,8 @@ export declare class SecurityLake extends SecurityLakeClient {
148
148
  createSubscriber(args: CreateSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriberCommandOutput) => void): void;
149
149
  /**
150
150
  * <p>Notifies the subscriber when new data is written to the data lake for the sources that
151
- * the subscriber consumes in Security Lake.</p>
151
+ * the subscriber consumes in Security Lake. You can create only one subscriber notification per
152
+ * subscriber.</p>
152
153
  */
153
154
  createSubscriptionNotificationConfiguration(args: CreateSubscriptionNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriptionNotificationConfigurationCommandOutput>;
154
155
  createSubscriptionNotificationConfiguration(args: CreateSubscriptionNotificationConfigurationCommandInput, cb: (err: any, data?: CreateSubscriptionNotificationConfigurationCommandOutput) => void): void;
@@ -193,15 +194,12 @@ export declare class SecurityLake extends SecurityLakeClient {
193
194
  deleteDatalake(args: DeleteDatalakeCommandInput, cb: (err: any, data?: DeleteDatalakeCommandOutput) => void): void;
194
195
  deleteDatalake(args: DeleteDatalakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatalakeCommandOutput) => void): void;
195
196
  /**
196
- * <p>Automatically deletes Amazon Security Lake to stop collecting security data. When you delete
197
- * Amazon Security Lake from your account, Security Lake is disabled in all Regions. Also, this API
198
- * automatically takes steps to remove the account from Security Lake . </p>
199
- * <p>This operation disables security data collection from sources, deletes data stored, and
200
- * stops making data accessible to subscribers. Security Lake also deletes all the existing
201
- * settings and resources that it stores or maintains for your Amazon Web Services account in
202
- * the current Region, including security log and event data. The <code>DeleteDatalake</code>
203
- * operation does not delete the Amazon S3 bucket, which is owned by your Amazon Web Services account. For more information, see the <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/disable-security-lake.html">Amazon Security Lake User
204
- * Guide</a>.</p>
197
+ * <p>
198
+ * <code>DeleteDatalakeAutoEnable</code> removes automatic enablement of configuration
199
+ * settings for new member accounts (but keeps settings for the delegated administrator) from
200
+ * Amazon Security Lake. You must run this API using credentials of the delegated administrator.
201
+ * When you run this API, new member accounts that are added after the organization enables
202
+ * Security Lake won't contribute to the data lake.</p>
205
203
  */
206
204
  deleteDatalakeAutoEnable(args: DeleteDatalakeAutoEnableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatalakeAutoEnableCommandOutput>;
207
205
  deleteDatalakeAutoEnable(args: DeleteDatalakeAutoEnableCommandInput, cb: (err: any, data?: DeleteDatalakeAutoEnableCommandOutput) => void): void;
@@ -329,8 +327,8 @@ export declare class SecurityLake extends SecurityLakeClient {
329
327
  updateSubscriber(args: UpdateSubscriberCommandInput, cb: (err: any, data?: UpdateSubscriberCommandOutput) => void): void;
330
328
  updateSubscriber(args: UpdateSubscriberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubscriberCommandOutput) => void): void;
331
329
  /**
332
- * <p>Creates a new subscription notification or adds the existing subscription notification
333
- * setting for the specified subscription ID.</p>
330
+ * <p>Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or
331
+ * switches the notification subscription endpoint for a subscriber.</p>
334
332
  */
335
333
  updateSubscriptionNotificationConfiguration(args: UpdateSubscriptionNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriptionNotificationConfigurationCommandOutput>;
336
334
  updateSubscriptionNotificationConfiguration(args: UpdateSubscriptionNotificationConfigurationCommandInput, cb: (err: any, data?: UpdateSubscriptionNotificationConfigurationCommandOutput) => void): void;
@@ -43,6 +43,34 @@ export interface CreateAwsLogSourceCommandOutput extends CreateAwsLogSourceRespo
43
43
  * @see {@link CreateAwsLogSourceCommandOutput} for command's `response` shape.
44
44
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
45
45
  *
46
+ * @throws {@link AccessDeniedException} (client fault)
47
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
48
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
49
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
50
+ * no applicable Allow statement.</p>
51
+ *
52
+ * @throws {@link AccountNotFoundException} (client fault)
53
+ * <p>Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you
54
+ * specified, or the account whose credentials you used to make this request isn't a member of
55
+ * an organization.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
59
+ * troubleshooting, perform the operation again. </p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource could not be found.</p>
63
+ *
64
+ * @throws {@link S3Exception} (client fault)
65
+ * <p>Provides an extension of the AmazonServiceException for errors reported by Amazon S3 while processing a request. In particular, this class provides access to the
66
+ * Amazon S3 extended request ID. If Amazon S3 is incorrectly handling a
67
+ * request and you need to contact Amazon, this extended request ID may provide useful
68
+ * debugging information. </p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>Your signing certificate could not be validated. </p>
72
+ *
73
+ *
46
74
  */
47
75
  export declare class CreateAwsLogSourceCommand extends $Command<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput, SecurityLakeClientResolvedConfig> {
48
76
  readonly input: CreateAwsLogSourceCommandInput;
@@ -34,6 +34,35 @@ export interface CreateCustomLogSourceCommandOutput extends CreateCustomLogSourc
34
34
  * @see {@link CreateCustomLogSourceCommandOutput} for command's `response` shape.
35
35
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
36
36
  *
37
+ * @throws {@link AccessDeniedException} (client fault)
38
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
39
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
40
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
41
+ * no applicable Allow statement.</p>
42
+ *
43
+ * @throws {@link AccountNotFoundException} (client fault)
44
+ * <p>Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you
45
+ * specified, or the account whose credentials you used to make this request isn't a member of
46
+ * an organization.</p>
47
+ *
48
+ * @throws {@link BucketNotFoundException} (client fault)
49
+ * <p>Amazon Security Lake generally returns 404 errors if the requested object is missing from the
50
+ * bucket.</p>
51
+ *
52
+ * @throws {@link ConflictSourceNamesException} (client fault)
53
+ * <p>There was a conflict when you attempted to modify a Security Lake source name. </p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
57
+ * troubleshooting, perform the operation again. </p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The resource could not be found.</p>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p>Your signing certificate could not be validated. </p>
64
+ *
65
+ *
37
66
  */
38
67
  export declare class CreateCustomLogSourceCommand extends $Command<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput, SecurityLakeClientResolvedConfig> {
39
68
  readonly input: CreateCustomLogSourceCommandInput;
@@ -31,6 +31,25 @@ export interface CreateDatalakeAutoEnableCommandOutput extends CreateDatalakeAut
31
31
  * @see {@link CreateDatalakeAutoEnableCommandOutput} for command's `response` shape.
32
32
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
36
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
37
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
38
+ * no applicable Allow statement.</p>
39
+ *
40
+ * @throws {@link AccountNotFoundException} (client fault)
41
+ * <p>Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you
42
+ * specified, or the account whose credentials you used to make this request isn't a member of
43
+ * an organization.</p>
44
+ *
45
+ * @throws {@link InternalServerException} (server fault)
46
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
47
+ * troubleshooting, perform the operation again. </p>
48
+ *
49
+ * @throws {@link ValidationException} (client fault)
50
+ * <p>Your signing certificate could not be validated. </p>
51
+ *
52
+ *
34
53
  */
35
54
  export declare class CreateDatalakeAutoEnableCommand extends $Command<CreateDatalakeAutoEnableCommandInput, CreateDatalakeAutoEnableCommandOutput, SecurityLakeClientResolvedConfig> {
36
55
  readonly input: CreateDatalakeAutoEnableCommandInput;
@@ -44,6 +44,36 @@ export interface CreateDatalakeCommandOutput extends CreateDatalakeResponse, __M
44
44
  * @see {@link CreateDatalakeCommandOutput} for command's `response` shape.
45
45
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
46
46
  *
47
+ * @throws {@link AccessDeniedException} (client fault)
48
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
49
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
50
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
51
+ * no applicable Allow statement.</p>
52
+ *
53
+ * @throws {@link ConflictException} (client fault)
54
+ * <p>Occurs when a conflict with a previous successful write is detected. This generally
55
+ * occurs when the previous write did not have time to propagate to the host serving the
56
+ * current request. A retry (with appropriate backoff logic) is the recommended response to
57
+ * this exception.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
61
+ * troubleshooting, perform the operation again. </p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The resource could not be found.</p>
65
+ *
66
+ * @throws {@link ServiceQuotaExceededException} (client fault)
67
+ * <p>You have exceeded your service quota. To perform the requested action, remove some of
68
+ * the relevant resources, or use Service Quotas to request a service quota increase. </p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The limit on the number of requests per second was exceeded. </p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>Your signing certificate could not be validated. </p>
75
+ *
76
+ *
47
77
  */
48
78
  export declare class CreateDatalakeCommand extends $Command<CreateDatalakeCommandInput, CreateDatalakeCommandOutput, SecurityLakeClientResolvedConfig> {
49
79
  readonly input: CreateDatalakeCommandInput;
@@ -31,6 +31,23 @@ export interface CreateDatalakeDelegatedAdminCommandOutput extends CreateDatalak
31
31
  * @see {@link CreateDatalakeDelegatedAdminCommandOutput} for command's `response` shape.
32
32
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
36
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
37
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
38
+ * no applicable Allow statement.</p>
39
+ *
40
+ * @throws {@link InternalServerException} (server fault)
41
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
42
+ * troubleshooting, perform the operation again. </p>
43
+ *
44
+ * @throws {@link ThrottlingException} (client fault)
45
+ * <p>The limit on the number of requests per second was exceeded. </p>
46
+ *
47
+ * @throws {@link ValidationException} (client fault)
48
+ * <p>Your signing certificate could not be validated. </p>
49
+ *
50
+ *
34
51
  */
35
52
  export declare class CreateDatalakeDelegatedAdminCommand extends $Command<CreateDatalakeDelegatedAdminCommandInput, CreateDatalakeDelegatedAdminCommandOutput, SecurityLakeClientResolvedConfig> {
36
53
  readonly input: CreateDatalakeDelegatedAdminCommandInput;
@@ -30,6 +30,25 @@ export interface CreateDatalakeExceptionsSubscriptionCommandOutput extends Creat
30
30
  * @see {@link CreateDatalakeExceptionsSubscriptionCommandOutput} for command's `response` shape.
31
31
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDeniedException} (client fault)
34
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
35
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
36
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
37
+ * no applicable Allow statement.</p>
38
+ *
39
+ * @throws {@link AccountNotFoundException} (client fault)
40
+ * <p>Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you
41
+ * specified, or the account whose credentials you used to make this request isn't a member of
42
+ * an organization.</p>
43
+ *
44
+ * @throws {@link InternalServerException} (server fault)
45
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
46
+ * troubleshooting, perform the operation again. </p>
47
+ *
48
+ * @throws {@link ValidationException} (client fault)
49
+ * <p>Your signing certificate could not be validated. </p>
50
+ *
51
+ *
33
52
  */
34
53
  export declare class CreateDatalakeExceptionsSubscriptionCommand extends $Command<CreateDatalakeExceptionsSubscriptionCommandInput, CreateDatalakeExceptionsSubscriptionCommandOutput, SecurityLakeClientResolvedConfig> {
35
54
  readonly input: CreateDatalakeExceptionsSubscriptionCommandInput;
@@ -30,6 +30,39 @@ export interface CreateSubscriberCommandOutput extends CreateSubscriberResponse,
30
30
  * @see {@link CreateSubscriberCommandOutput} for command's `response` shape.
31
31
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDeniedException} (client fault)
34
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
35
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
36
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
37
+ * no applicable Allow statement.</p>
38
+ *
39
+ * @throws {@link AccountNotFoundException} (client fault)
40
+ * <p>Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you
41
+ * specified, or the account whose credentials you used to make this request isn't a member of
42
+ * an organization.</p>
43
+ *
44
+ * @throws {@link BucketNotFoundException} (client fault)
45
+ * <p>Amazon Security Lake generally returns 404 errors if the requested object is missing from the
46
+ * bucket.</p>
47
+ *
48
+ * @throws {@link ConflictSubscriptionException} (client fault)
49
+ * <p>A conflicting subscription exception operation is in progress. </p>
50
+ *
51
+ * @throws {@link InternalServerException} (server fault)
52
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
53
+ * troubleshooting, perform the operation again. </p>
54
+ *
55
+ * @throws {@link InvalidInputException} (client fault)
56
+ * <p>The request was rejected because a value that's not valid or is out of range was
57
+ * supplied for an input parameter. </p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The resource could not be found.</p>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p>Your signing certificate could not be validated. </p>
64
+ *
65
+ *
33
66
  */
34
67
  export declare class CreateSubscriberCommand extends $Command<CreateSubscriberCommandInput, CreateSubscriberCommandOutput, SecurityLakeClientResolvedConfig> {
35
68
  readonly input: CreateSubscriberCommandInput;
@@ -15,7 +15,8 @@ export interface CreateSubscriptionNotificationConfigurationCommandOutput extend
15
15
  }
16
16
  /**
17
17
  * <p>Notifies the subscriber when new data is written to the data lake for the sources that
18
- * the subscriber consumes in Security Lake.</p>
18
+ * the subscriber consumes in Security Lake. You can create only one subscriber notification per
19
+ * subscriber.</p>
19
20
  * @example
20
21
  * Use a bare-bones client and the command you need to make an API call.
21
22
  * ```javascript
@@ -30,6 +31,35 @@ export interface CreateSubscriptionNotificationConfigurationCommandOutput extend
30
31
  * @see {@link CreateSubscriptionNotificationConfigurationCommandOutput} for command's `response` shape.
31
32
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
32
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
36
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
37
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
38
+ * no applicable Allow statement.</p>
39
+ *
40
+ * @throws {@link AccountNotFoundException} (client fault)
41
+ * <p>Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you
42
+ * specified, or the account whose credentials you used to make this request isn't a member of
43
+ * an organization.</p>
44
+ *
45
+ * @throws {@link ConcurrentModificationException} (client fault)
46
+ * <p>More than one process tried to modify a resource at the same time. </p>
47
+ *
48
+ * @throws {@link InternalServerException} (server fault)
49
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
50
+ * troubleshooting, perform the operation again. </p>
51
+ *
52
+ * @throws {@link InvalidInputException} (client fault)
53
+ * <p>The request was rejected because a value that's not valid or is out of range was
54
+ * supplied for an input parameter. </p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The resource could not be found.</p>
58
+ *
59
+ * @throws {@link ValidationException} (client fault)
60
+ * <p>Your signing certificate could not be validated. </p>
61
+ *
62
+ *
33
63
  */
34
64
  export declare class CreateSubscriptionNotificationConfigurationCommand extends $Command<CreateSubscriptionNotificationConfigurationCommandInput, CreateSubscriptionNotificationConfigurationCommandOutput, SecurityLakeClientResolvedConfig> {
35
65
  readonly input: CreateSubscriptionNotificationConfigurationCommandInput;
@@ -43,6 +43,25 @@ export interface DeleteAwsLogSourceCommandOutput extends DeleteAwsLogSourceRespo
43
43
  * @see {@link DeleteAwsLogSourceCommandOutput} for command's `response` shape.
44
44
  * @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
45
45
  *
46
+ * @throws {@link AccessDeniedException} (client fault)
47
+ * <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
48
+ * request. An explicit denial occurs when a policy contains a Deny statement for the specific
49
+ * Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
50
+ * no applicable Allow statement.</p>
51
+ *
52
+ * @throws {@link AccountNotFoundException} (client fault)
53
+ * <p>Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you
54
+ * specified, or the account whose credentials you used to make this request isn't a member of
55
+ * an organization.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>Internal service exceptions are sometimes caused by transient issues. Before you start
59
+ * troubleshooting, perform the operation again. </p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>Your signing certificate could not be validated. </p>
63
+ *
64
+ *
46
65
  */
47
66
  export declare class DeleteAwsLogSourceCommand extends $Command<DeleteAwsLogSourceCommandInput, DeleteAwsLogSourceCommandOutput, SecurityLakeClientResolvedConfig> {
48
67
  readonly input: DeleteAwsLogSourceCommandInput;