@aws-sdk/client-securitylake 3.290.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.
@@ -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;
@@ -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
@@ -14,15 +14,12 @@ export interface DeleteDatalakeAutoEnableCommandInput extends DeleteDatalakeAuto
14
14
  export interface DeleteDatalakeAutoEnableCommandOutput extends DeleteDatalakeAutoEnableResponse, __MetadataBearer {
15
15
  }
16
16
  /**
17
- * <p>Automatically deletes Amazon Security Lake to stop collecting security data. When you delete
18
- * Amazon Security Lake from your account, Security Lake is disabled in all Regions. Also, this API
19
- * automatically takes steps to remove the account from Security Lake . </p>
20
- * <p>This operation disables security data collection from sources, deletes data stored, and
21
- * stops making data accessible to subscribers. Security Lake also deletes all the existing
22
- * settings and resources that it stores or maintains for your Amazon Web Services account in
23
- * the current Region, including security log and event data. The <code>DeleteDatalake</code>
24
- * 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
25
- * Guide</a>.</p>
17
+ * <p>
18
+ * <code>DeleteDatalakeAutoEnable</code> removes automatic enablement of configuration
19
+ * settings for new member accounts (but keeps settings for the delegated administrator) from
20
+ * Amazon Security Lake. You must run this API using credentials of the delegated administrator.
21
+ * When you run this API, new member accounts that are added after the organization enables
22
+ * Security Lake won't contribute to the data lake.</p>
26
23
  * @example
27
24
  * Use a bare-bones client and the command you need to make an API call.
28
25
  * ```javascript
@@ -14,8 +14,8 @@ export interface UpdateSubscriptionNotificationConfigurationCommandInput extends
14
14
  export interface UpdateSubscriptionNotificationConfigurationCommandOutput extends UpdateSubscriptionNotificationConfigurationResponse, __MetadataBearer {
15
15
  }
16
16
  /**
17
- * <p>Creates a new subscription notification or adds the existing subscription notification
18
- * setting for the specified subscription ID.</p>
17
+ * <p>Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or
18
+ * switches the notification subscription endpoint for a subscriber.</p>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -9,6 +9,10 @@ import { SecurityLakeServiceException as __BaseException } from "./SecurityLakeS
9
9
  export declare class AccessDeniedException extends __BaseException {
10
10
  readonly name: "AccessDeniedException";
11
11
  readonly $fault: "client";
12
+ /**
13
+ * <p>A coded string to provide more information about the access denied exception. You can use the error code to check the exception type.</p>
14
+ */
15
+ errorCode?: string;
12
16
  /**
13
17
  * @internal
14
18
  */
@@ -638,8 +642,8 @@ export interface CreateSubscriberResponse {
638
642
  subscriptionId: string | undefined;
639
643
  /**
640
644
  * <p>The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more
641
- * information about ARNs and how to use them in policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM identifiers in
642
- * the Identity and Access Management (IAM) User Guide</a>. .</p>
645
+ * information about ARNs and how to use them in policies, see <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/subscriber-management.html">Amazon Security Lake User
646
+ * Guide</a>.</p>
643
647
  */
644
648
  roleArn?: string;
645
649
  /**
@@ -650,6 +654,14 @@ export interface CreateSubscriberResponse {
650
654
  * <p>The ARN for the Amazon S3 bucket. </p>
651
655
  */
652
656
  s3BucketArn?: string;
657
+ /**
658
+ * <p>The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.</p>
659
+ */
660
+ resourceShareArn?: string;
661
+ /**
662
+ * <p>The name of the resource share.</p>
663
+ */
664
+ resourceShareName?: string;
653
665
  }
654
666
  /**
655
667
  * <p>The request was rejected because a value that's not valid or is out of range was
@@ -669,7 +681,7 @@ export declare enum HttpsMethod {
669
681
  }
670
682
  export interface CreateSubscriptionNotificationConfigurationRequest {
671
683
  /**
672
- * <p>The subscription ID for the notification subscription/</p>
684
+ * <p>The subscription ID for the notification subscription.</p>
673
685
  */
674
686
  subscriptionId: string | undefined;
675
687
  /**
@@ -695,7 +707,8 @@ export interface CreateSubscriptionNotificationConfigurationRequest {
695
707
  createSqs?: boolean;
696
708
  /**
697
709
  * <p>The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you
698
- * created.</p>
710
+ * created. For more information about ARNs and how to use them in policies, see <a href="https://docs.aws.amazon.com//security-lake/latest/userguide/subscriber-data-access.html">Managing data access</a> and <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/security-iam-awsmanpol.html">Amazon Web Services
711
+ * Managed Policies</a> in the Amazon Security Lake User Guide.</p>
699
712
  */
700
713
  roleArn?: string;
701
714
  }
@@ -754,8 +767,8 @@ export interface DeleteDatalakeResponse {
754
767
  }
755
768
  export interface DeleteDatalakeAutoEnableRequest {
756
769
  /**
757
- * <p>Delete Amazon Security Lake with the specified configuration settings to stop ingesting
758
- * security data for new accounts in Security Lake. </p>
770
+ * <p>Remove automatic enablement of configuration settings for new member accounts in
771
+ * Security Lake. </p>
759
772
  */
760
773
  removeFromConfigurationForNewAccounts: AutoEnableNewRegionConfiguration[] | undefined;
761
774
  }
@@ -847,6 +860,44 @@ export declare enum SettingsStatus {
847
860
  INITIALIZED = "INITIALIZED",
848
861
  PENDING = "PENDING"
849
862
  }
863
+ /**
864
+ * <p>The details of the last <code>UpdateDatalake</code> or <code>DeleteDatalake</code>
865
+ * API request which failed.</p>
866
+ */
867
+ export interface LastUpdateFailure {
868
+ /**
869
+ * <p>The reason for the failure of the last <code>UpdateDatalake</code>or
870
+ * <code>DeleteDatalake</code> API request.</p>
871
+ */
872
+ reason?: string;
873
+ /**
874
+ * <p>The reason code for the failure of the last <code>UpdateDatalake</code> or
875
+ * <code>DeleteDatalake</code> API request.</p>
876
+ */
877
+ code?: string;
878
+ }
879
+ /**
880
+ * <p>The status of the last <code>UpdateDatalake</code> or <code>DeleteDatalake</code> API
881
+ * request. This is set to Completed after the configuration is updated, or removed if
882
+ * deletion of the data lake is successful.</p>
883
+ */
884
+ export interface UpdateStatus {
885
+ /**
886
+ * <p>The unique ID for the <code>UpdateDatalake</code> or <code>DeleteDatalake</code> API
887
+ * request.</p>
888
+ */
889
+ lastUpdateRequestId?: string;
890
+ /**
891
+ * <p>The status of the last <code>UpdateDatalake</code> or <code>DeleteDatalake</code> API
892
+ * request that was requested.</p>
893
+ */
894
+ lastUpdateStatus?: SettingsStatus | string;
895
+ /**
896
+ * <p>The details of the last <code>UpdateDatalake</code>or <code>DeleteDatalake</code> API
897
+ * request which failed.</p>
898
+ */
899
+ lastUpdateFailure?: LastUpdateFailure;
900
+ }
850
901
  /**
851
902
  * <p>Provides details of Amazon Security Lake lake configuration object.</p>
852
903
  */
@@ -889,6 +940,11 @@ export interface LakeConfigurationResponse {
889
940
  * <p>Retrieves the status of the configuration operation for an account in Amazon Security Lake. </p>
890
941
  */
891
942
  status?: SettingsStatus | string;
943
+ /**
944
+ * <p>The status of the last <code>UpdateDatalake </code>or <code>DeleteDatalake</code> API
945
+ * request. </p>
946
+ */
947
+ updateStatus?: UpdateStatus;
892
948
  }
893
949
  export interface GetDatalakeResponse {
894
950
  /**
@@ -1056,6 +1112,17 @@ export interface SubscriberResource {
1056
1112
  * <p>The date and time when the subscription was created. </p>
1057
1113
  */
1058
1114
  updatedAt?: Date;
1115
+ /**
1116
+ * <p>The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before
1117
+ * accepting the RAM resource share invitation, you can view details related to the RAM
1118
+ * resource share.</p>
1119
+ * <p>This field is available only for Lake Formation subscribers created after March 8, 2023.</p>
1120
+ */
1121
+ resourceShareArn?: string;
1122
+ /**
1123
+ * <p>The name of the resource share.</p>
1124
+ */
1125
+ resourceShareName?: string;
1059
1126
  }
1060
1127
  export interface GetSubscriberResponse {
1061
1128
  /**
@@ -1241,7 +1308,8 @@ export interface UpdateSubscriptionNotificationConfigurationRequest {
1241
1308
  */
1242
1309
  createSqs?: boolean;
1243
1310
  /**
1244
- * <p>The Amazon Resource Name (ARN) specifying the role of the subscriber. </p>
1311
+ * <p>The Amazon Resource Name (ARN) specifying the role of the subscriber. For more information about ARNs and how to use them in policies, see, see the <a href="https://docs.aws.amazon.com//security-lake/latest/userguide/subscriber-data-access.html">Managing data access</a> and <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/security-iam-awsmanpol.html">Amazon Web Services Managed Policies</a>in the Amazon Security Lake User
1312
+ * Guide.</p>
1245
1313
  */
1246
1314
  roleArn?: string;
1247
1315
  }
@@ -1419,6 +1487,14 @@ export declare const FailuresResponseFilterSensitiveLog: (obj: FailuresResponse)
1419
1487
  * @internal
1420
1488
  */
1421
1489
  export declare const GetDatalakeRequestFilterSensitiveLog: (obj: GetDatalakeRequest) => any;
1490
+ /**
1491
+ * @internal
1492
+ */
1493
+ export declare const LastUpdateFailureFilterSensitiveLog: (obj: LastUpdateFailure) => any;
1494
+ /**
1495
+ * @internal
1496
+ */
1497
+ export declare const UpdateStatusFilterSensitiveLog: (obj: UpdateStatus) => any;
1422
1498
  /**
1423
1499
  * @internal
1424
1500
  */
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -3,6 +3,7 @@ import { SecurityLakeServiceException as __BaseException } from "./SecurityLakeS
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
+ errorCode?: string;
6
7
  constructor(
7
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
9
  );
@@ -311,6 +312,8 @@ export interface CreateSubscriberResponse {
311
312
  roleArn?: string;
312
313
  snsArn?: string;
313
314
  s3BucketArn?: string;
315
+ resourceShareArn?: string;
316
+ resourceShareName?: string;
314
317
  }
315
318
  export declare class InvalidInputException extends __BaseException {
316
319
  readonly name: "InvalidInputException";
@@ -402,6 +405,15 @@ export declare enum SettingsStatus {
402
405
  INITIALIZED = "INITIALIZED",
403
406
  PENDING = "PENDING",
404
407
  }
408
+ export interface LastUpdateFailure {
409
+ reason?: string;
410
+ code?: string;
411
+ }
412
+ export interface UpdateStatus {
413
+ lastUpdateRequestId?: string;
414
+ lastUpdateStatus?: SettingsStatus | string;
415
+ lastUpdateFailure?: LastUpdateFailure;
416
+ }
405
417
  export interface LakeConfigurationResponse {
406
418
  encryptionKey?: string;
407
419
  retentionSettings?: RetentionSetting[];
@@ -410,6 +422,7 @@ export interface LakeConfigurationResponse {
410
422
  replicationRoleArn?: string;
411
423
  s3BucketArn?: string;
412
424
  status?: SettingsStatus | string;
425
+ updateStatus?: UpdateStatus;
413
426
  }
414
427
  export interface GetDatalakeResponse {
415
428
  configurations: Record<string, LakeConfigurationResponse> | undefined;
@@ -464,6 +477,8 @@ export interface SubscriberResource {
464
477
  externalId?: string;
465
478
  createdAt?: Date;
466
479
  updatedAt?: Date;
480
+ resourceShareArn?: string;
481
+ resourceShareName?: string;
467
482
  }
468
483
  export interface GetSubscriberResponse {
469
484
  subscriber?: SubscriberResource;
@@ -654,6 +669,10 @@ export declare const FailuresResponseFilterSensitiveLog: (
654
669
  export declare const GetDatalakeRequestFilterSensitiveLog: (
655
670
  obj: GetDatalakeRequest
656
671
  ) => any;
672
+ export declare const LastUpdateFailureFilterSensitiveLog: (
673
+ obj: LastUpdateFailure
674
+ ) => any;
675
+ export declare const UpdateStatusFilterSensitiveLog: (obj: UpdateStatus) => any;
657
676
  export declare const LakeConfigurationResponseFilterSensitiveLog: (
658
677
  obj: LakeConfigurationResponse
659
678
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securitylake",
3
3
  "description": "AWS SDK for JavaScript Securitylake Client for Node.js, Browser and React Native",
4
- "version": "3.290.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,55 +20,50 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.290.0",
24
- "@aws-sdk/config-resolver": "3.290.0",
25
- "@aws-sdk/credential-provider-node": "3.290.0",
26
- "@aws-sdk/fetch-http-handler": "3.290.0",
27
- "@aws-sdk/hash-node": "3.290.0",
28
- "@aws-sdk/invalid-dependency": "3.290.0",
29
- "@aws-sdk/middleware-content-length": "3.290.0",
30
- "@aws-sdk/middleware-endpoint": "3.290.0",
31
- "@aws-sdk/middleware-host-header": "3.290.0",
32
- "@aws-sdk/middleware-logger": "3.290.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
- "@aws-sdk/middleware-retry": "3.290.0",
35
- "@aws-sdk/middleware-serde": "3.290.0",
36
- "@aws-sdk/middleware-signing": "3.290.0",
37
- "@aws-sdk/middleware-stack": "3.290.0",
38
- "@aws-sdk/middleware-user-agent": "3.290.0",
39
- "@aws-sdk/node-config-provider": "3.290.0",
40
- "@aws-sdk/node-http-handler": "3.290.0",
41
- "@aws-sdk/protocol-http": "3.290.0",
42
- "@aws-sdk/smithy-client": "3.290.0",
43
- "@aws-sdk/types": "3.290.0",
44
- "@aws-sdk/url-parser": "3.290.0",
45
- "@aws-sdk/util-base64": "3.208.0",
46
- "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
- "@aws-sdk/util-endpoints": "3.290.0",
51
- "@aws-sdk/util-retry": "3.290.0",
52
- "@aws-sdk/util-user-agent-browser": "3.290.0",
53
- "@aws-sdk/util-user-agent-node": "3.290.0",
54
- "@aws-sdk/util-utf8": "3.254.0",
23
+ "@aws-sdk/client-sts": "3.292.0",
24
+ "@aws-sdk/config-resolver": "3.292.0",
25
+ "@aws-sdk/credential-provider-node": "3.292.0",
26
+ "@aws-sdk/fetch-http-handler": "3.292.0",
27
+ "@aws-sdk/hash-node": "3.292.0",
28
+ "@aws-sdk/invalid-dependency": "3.292.0",
29
+ "@aws-sdk/middleware-content-length": "3.292.0",
30
+ "@aws-sdk/middleware-endpoint": "3.292.0",
31
+ "@aws-sdk/middleware-host-header": "3.292.0",
32
+ "@aws-sdk/middleware-logger": "3.292.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
+ "@aws-sdk/middleware-retry": "3.292.0",
35
+ "@aws-sdk/middleware-serde": "3.292.0",
36
+ "@aws-sdk/middleware-signing": "3.292.0",
37
+ "@aws-sdk/middleware-stack": "3.292.0",
38
+ "@aws-sdk/middleware-user-agent": "3.292.0",
39
+ "@aws-sdk/node-config-provider": "3.292.0",
40
+ "@aws-sdk/node-http-handler": "3.292.0",
41
+ "@aws-sdk/protocol-http": "3.292.0",
42
+ "@aws-sdk/smithy-client": "3.292.0",
43
+ "@aws-sdk/types": "3.292.0",
44
+ "@aws-sdk/url-parser": "3.292.0",
45
+ "@aws-sdk/util-base64": "3.292.0",
46
+ "@aws-sdk/util-body-length-browser": "3.292.0",
47
+ "@aws-sdk/util-body-length-node": "3.292.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
+ "@aws-sdk/util-endpoints": "3.292.0",
51
+ "@aws-sdk/util-retry": "3.292.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
53
+ "@aws-sdk/util-user-agent-node": "3.292.0",
54
+ "@aws-sdk/util-utf8": "3.292.0",
55
55
  "tslib": "^2.3.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.292.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
- "typedoc": "0.19.2",
64
+ "typedoc": "0.23.23",
65
65
  "typescript": "~4.6.2"
66
66
  },
67
- "overrides": {
68
- "typedoc": {
69
- "typescript": "~4.6.2"
70
- }
71
- },
72
67
  "engines": {
73
68
  "node": ">=14.0.0"
74
69
  },