File Explorer

/var/runtime/node_modules/@aws-sdk/client-securitylake/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

2 dirs
3 files
index.js83.8 KB · 2036 lines
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => {  for (var name in all)    __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => {  if (from && typeof from === "object" || typeof from === "function") {    for (let key of __getOwnPropNames(from))      if (!__hasOwnProp.call(to, key) && key !== except)        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });  }  return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, {  AccessDeniedException: () => AccessDeniedException,  AccessType: () => AccessType,  AwsLogSourceName: () => AwsLogSourceName,  BadRequestException: () => BadRequestException,  ConflictException: () => ConflictException,  CreateAwsLogSourceCommand: () => CreateAwsLogSourceCommand,  CreateCustomLogSourceCommand: () => CreateCustomLogSourceCommand,  CreateDataLakeCommand: () => CreateDataLakeCommand,  CreateDataLakeExceptionSubscriptionCommand: () => CreateDataLakeExceptionSubscriptionCommand,  CreateDataLakeOrganizationConfigurationCommand: () => CreateDataLakeOrganizationConfigurationCommand,  CreateSubscriberCommand: () => CreateSubscriberCommand,  CreateSubscriberNotificationCommand: () => CreateSubscriberNotificationCommand,  DataLakeStatus: () => DataLakeStatus,  DeleteAwsLogSourceCommand: () => DeleteAwsLogSourceCommand,  DeleteCustomLogSourceCommand: () => DeleteCustomLogSourceCommand,  DeleteDataLakeCommand: () => DeleteDataLakeCommand,  DeleteDataLakeExceptionSubscriptionCommand: () => DeleteDataLakeExceptionSubscriptionCommand,  DeleteDataLakeOrganizationConfigurationCommand: () => DeleteDataLakeOrganizationConfigurationCommand,  DeleteSubscriberCommand: () => DeleteSubscriberCommand,  DeleteSubscriberNotificationCommand: () => DeleteSubscriberNotificationCommand,  DeregisterDataLakeDelegatedAdministratorCommand: () => DeregisterDataLakeDelegatedAdministratorCommand,  GetDataLakeExceptionSubscriptionCommand: () => GetDataLakeExceptionSubscriptionCommand,  GetDataLakeOrganizationConfigurationCommand: () => GetDataLakeOrganizationConfigurationCommand,  GetDataLakeSourcesCommand: () => GetDataLakeSourcesCommand,  GetSubscriberCommand: () => GetSubscriberCommand,  HttpMethod: () => HttpMethod,  InternalServerException: () => InternalServerException,  ListDataLakeExceptionsCommand: () => ListDataLakeExceptionsCommand,  ListDataLakesCommand: () => ListDataLakesCommand,  ListLogSourcesCommand: () => ListLogSourcesCommand,  ListSubscribersCommand: () => ListSubscribersCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  LogSourceResource: () => LogSourceResource,  NotificationConfiguration: () => NotificationConfiguration,  RegisterDataLakeDelegatedAdministratorCommand: () => RegisterDataLakeDelegatedAdministratorCommand,  ResourceNotFoundException: () => ResourceNotFoundException,  SecurityLake: () => SecurityLake,  SecurityLakeClient: () => SecurityLakeClient,  SecurityLakeServiceException: () => SecurityLakeServiceException,  SourceCollectionStatus: () => SourceCollectionStatus,  SubscriberStatus: () => SubscriberStatus,  TagResourceCommand: () => TagResourceCommand,  ThrottlingException: () => ThrottlingException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateDataLakeCommand: () => UpdateDataLakeCommand,  UpdateDataLakeExceptionSubscriptionCommand: () => UpdateDataLakeExceptionSubscriptionCommand,  UpdateSubscriberCommand: () => UpdateSubscriberCommand,  UpdateSubscriberNotificationCommand: () => UpdateSubscriberNotificationCommand,  __Client: () => import_smithy_client.Client,  paginateGetDataLakeSources: () => paginateGetDataLakeSources,  paginateListDataLakeExceptions: () => paginateListDataLakeExceptions,  paginateListLogSources: () => paginateListLogSources,  paginateListSubscribers: () => paginateListSubscribers});module.exports = __toCommonJS(index_exports); // src/SecurityLakeClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {  return Object.assign(options, {    useDualstackEndpoint: options.useDualstackEndpoint ?? false,    useFipsEndpoint: options.useFipsEndpoint ?? false,    defaultSigningName: "securitylake"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/SecurityLakeClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;  let _credentials = runtimeConfig.credentials;  return {    setHttpAuthScheme(httpAuthScheme) {      const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);      if (index === -1) {        _httpAuthSchemes.push(httpAuthScheme);      } else {        _httpAuthSchemes.splice(index, 1, httpAuthScheme);      }    },    httpAuthSchemes() {      return _httpAuthSchemes;    },    setHttpAuthSchemeProvider(httpAuthSchemeProvider) {      _httpAuthSchemeProvider = httpAuthSchemeProvider;    },    httpAuthSchemeProvider() {      return _httpAuthSchemeProvider;    },    setCredentials(credentials) {      _credentials = credentials;    },    credentials() {      return _credentials;    }  };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {  return {    httpAuthSchemes: config.httpAuthSchemes(),    httpAuthSchemeProvider: config.httpAuthSchemeProvider(),    credentials: config.credentials()  };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {  const extensionConfiguration = Object.assign(    (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),    (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),    (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),    getHttpAuthExtensionConfiguration(runtimeConfig)  );  extensions.forEach((extension) => extension.configure(extensionConfiguration));  return Object.assign(    runtimeConfig,    (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),    (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),    (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),    resolveHttpAuthRuntimeConfig(extensionConfiguration)  );}, "resolveRuntimeExtensions"); // src/SecurityLakeClient.tsvar SecurityLakeClient = class extends import_smithy_client.Client {  static {    __name(this, "SecurityLakeClient");  }  /**   * The resolved configuration of SecurityLakeClient class. This is resolved and normalized from the {@link SecurityLakeClientConfig | constructor configuration interface}.   */  config;  constructor(...[configuration]) {    const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});    super(_config_0);    this.initConfig = _config_0;    const _config_1 = resolveClientEndpointParameters(_config_0);    const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);    const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);    const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);    const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);    const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);    const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);    const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);    this.config = _config_8;    this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));    this.middlewareStack.use(      (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {        httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSecurityLakeHttpAuthSchemeParametersProvider,        identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({          "aws.auth#sigv4": config.credentials        }), "identityProviderConfigProvider")      })    );    this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));  }  /**   * Destroy underlying resources, like sockets. It's usually not necessary to do this.   * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.   * Otherwise, sockets might stay open for quite a long time before the server terminates them.   */  destroy() {    super.destroy();  }}; // src/SecurityLake.ts  // src/commands/CreateAwsLogSourceCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");   // src/models/SecurityLakeServiceException.ts var SecurityLakeServiceException = class _SecurityLakeServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "SecurityLakeServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _SecurityLakeServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends SecurityLakeServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  /**   * <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>   * @public   */  errorCode;  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);    this.errorCode = opts.errorCode;  }};var AccessType = {  LAKEFORMATION: "LAKEFORMATION",  S3: "S3"};var AwsLogSourceName = {  CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",  EKS_AUDIT: "EKS_AUDIT",  LAMBDA_EXECUTION: "LAMBDA_EXECUTION",  ROUTE53: "ROUTE53",  S3_DATA: "S3_DATA",  SH_FINDINGS: "SH_FINDINGS",  VPC_FLOW: "VPC_FLOW",  WAF: "WAF"};var BadRequestException = class _BadRequestException extends SecurityLakeServiceException {  static {    __name(this, "BadRequestException");  }  name = "BadRequestException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "BadRequestException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _BadRequestException.prototype);  }};var ConflictException = class _ConflictException extends SecurityLakeServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  /**   * <p>The resource name.</p>   * @public   */  resourceName;  /**   * <p>The resource type.</p>   * @public   */  resourceType;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.resourceName = opts.resourceName;    this.resourceType = opts.resourceType;  }};var InternalServerException = class _InternalServerException extends SecurityLakeServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  $retryable = {};  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);  }};var ResourceNotFoundException = class _ResourceNotFoundException extends SecurityLakeServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  /**   * <p>The name of the resource that could not be found.</p>   * @public   */  resourceName;  /**   * <p>The type of the resource that could not be found.</p>   * @public   */  resourceType;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.resourceName = opts.resourceName;    this.resourceType = opts.resourceType;  }};var ThrottlingException = class _ThrottlingException extends SecurityLakeServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  $retryable = {    throttling: true  };  /**   * <p>The code for the service in Service Quotas.</p>   * @public   */  serviceCode;  /**   * <p>That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.</p>   * @public   */  quotaCode;  /**   * <p>Retry the request after the specified time.</p>   * @public   */  retryAfterSeconds;  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);    this.serviceCode = opts.serviceCode;    this.quotaCode = opts.quotaCode;    this.retryAfterSeconds = opts.retryAfterSeconds;  }};var DataLakeStatus = {  COMPLETED: "COMPLETED",  FAILED: "FAILED",  INITIALIZED: "INITIALIZED",  PENDING: "PENDING"};var LogSourceResource;((LogSourceResource3) => {  LogSourceResource3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.awsLogSource !== void 0) return visitor.awsLogSource(value.awsLogSource);    if (value.customLogSource !== void 0) return visitor.customLogSource(value.customLogSource);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(LogSourceResource || (LogSourceResource = {}));var SubscriberStatus = {  ACTIVE: "ACTIVE",  DEACTIVATED: "DEACTIVATED",  PENDING: "PENDING",  READY: "READY"};var HttpMethod = {  POST: "POST",  PUT: "PUT"};var NotificationConfiguration;((NotificationConfiguration3) => {  NotificationConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.sqsNotificationConfiguration !== void 0)      return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);    if (value.httpsNotificationConfiguration !== void 0)      return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(NotificationConfiguration || (NotificationConfiguration = {}));var SourceCollectionStatus = {  COLLECTING: "COLLECTING",  MISCONFIGURED: "MISCONFIGURED",  NOT_COLLECTING: "NOT_COLLECTING"}; // src/protocols/Aws_restJson1.tsvar se_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/logsources/aws");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateAwsLogSourceCommand");var se_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/logsources/custom");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration"),      eventClasses: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventClasses"),      sourceName: [],      sourceVersion: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateCustomLogSourceCommand");var se_CreateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      configurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configurations"),      metaStoreManagerRoleArn: [],      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateDataLakeCommand");var se_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/exceptions/subscription");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      exceptionTimeToLive: [],      notificationEndpoint: [],      subscriptionProtocol: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateDataLakeExceptionSubscriptionCommand");var se_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/organization/configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      autoEnableNewAccount: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "autoEnableNewAccount")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateDataLakeOrganizationConfigurationCommand");var se_CreateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/subscribers");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      accessTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accessTypes"),      sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),      subscriberDescription: [],      subscriberIdentity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscriberIdentity"),      subscriberName: [],      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateSubscriberCommand");var se_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/subscribers/{subscriberId}/notification");  b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateSubscriberNotificationCommand");var se_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/logsources/aws/delete");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteAwsLogSourceCommand");var se_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/datalake/logsources/custom/{sourceName}");  b.p("sourceName", () => input.sourceName, "{sourceName}", false);  const query = (0, import_smithy_client.map)({    [_sV]: [, input[_sV]]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteCustomLogSourceCommand");var se_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/delete");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteDataLakeCommand");var se_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/datalake/exceptions/subscription");  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteDataLakeExceptionSubscriptionCommand");var se_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/organization/configuration/delete");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      autoEnableNewAccount: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "autoEnableNewAccount")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteDataLakeOrganizationConfigurationCommand");var se_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/subscribers/{subscriberId}");  b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteSubscriberCommand");var se_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/subscribers/{subscriberId}/notification");  b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteSubscriberNotificationCommand");var se_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/datalake/delegate");  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeregisterDataLakeDelegatedAdministratorCommand");var se_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/datalake/exceptions/subscription");  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetDataLakeExceptionSubscriptionCommand");var se_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/datalake/organization/configuration");  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetDataLakeOrganizationConfigurationCommand");var se_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/sources");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      accounts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accounts"),      maxResults: [],      nextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetDataLakeSourcesCommand");var se_GetSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/subscribers/{subscriberId}");  b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSubscriberCommand");var se_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/exceptions");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      maxResults: [],      nextToken: [],      regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListDataLakeExceptionsCommand");var se_ListDataLakesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/datalakes");  const query = (0, import_smithy_client.map)({    [_r]: [() => input.regions !== void 0, () => input[_r] || []]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListDataLakesCommand");var se_ListLogSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/logsources/list");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      accounts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accounts"),      maxResults: [],      nextToken: [],      regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions"),      sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListLogSourcesCommand");var se_ListSubscribersCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/subscribers");  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListSubscribersCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/delegate");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      accountId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_RegisterDataLakeDelegatedAdministratorCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  const query = (0, import_smithy_client.map)({    [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      configurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configurations"),      metaStoreManagerRoleArn: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateDataLakeCommand");var se_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/datalake/exceptions/subscription");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      exceptionTimeToLive: [],      notificationEndpoint: [],      subscriptionProtocol: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateDataLakeExceptionSubscriptionCommand");var se_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/subscribers/{subscriberId}");  b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),      subscriberDescription: [],      subscriberIdentity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subscriberIdentity"),      subscriberName: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateSubscriberCommand");var se_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/subscribers/{subscriberId}/notification");  b.p("subscriberId", () => input.subscriberId, "{subscriberId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateSubscriberNotificationCommand");var de_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    failed: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateAwsLogSourceCommand");var de_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    source: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateCustomLogSourceCommand");var de_CreateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    dataLakes: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateDataLakeCommand");var de_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_CreateDataLakeExceptionSubscriptionCommand");var de_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_CreateDataLakeOrganizationConfigurationCommand");var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")  });  Object.assign(contents, doc);  return contents;}, "de_CreateSubscriberCommand");var de_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    subscriberEndpoint: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateSubscriberNotificationCommand");var de_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    failed: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DeleteAwsLogSourceCommand");var de_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteCustomLogSourceCommand");var de_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteDataLakeCommand");var de_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteDataLakeExceptionSubscriptionCommand");var de_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteDataLakeOrganizationConfigurationCommand");var de_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteSubscriberCommand");var de_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteSubscriberNotificationCommand");var de_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeregisterDataLakeDelegatedAdministratorCommand");var de_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    exceptionTimeToLive: import_smithy_client.expectLong,    notificationEndpoint: import_smithy_client.expectString,    subscriptionProtocol: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetDataLakeExceptionSubscriptionCommand");var de_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    autoEnableNewAccount: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetDataLakeOrganizationConfigurationCommand");var de_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    dataLakeArn: import_smithy_client.expectString,    dataLakeSources: import_smithy_client._json,    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetDataLakeSourcesCommand");var de_GetSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")  });  Object.assign(contents, doc);  return contents;}, "de_GetSubscriberCommand");var de_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    exceptions: /* @__PURE__ */ __name((_) => de_DataLakeExceptionList(_, context), "exceptions"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListDataLakeExceptionsCommand");var de_ListDataLakesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    dataLakes: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListDataLakesCommand");var de_ListLogSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    nextToken: import_smithy_client.expectString,    sources: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListLogSourcesCommand");var de_ListSubscribersCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    nextToken: import_smithy_client.expectString,    subscribers: /* @__PURE__ */ __name((_) => de_SubscriberResourceList(_, context), "subscribers")  });  Object.assign(contents, doc);  return contents;}, "de_ListSubscribersCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTagsForResourceCommand");var de_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_RegisterDataLakeDelegatedAdministratorCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagResourceCommand");var de_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    dataLakes: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateDataLakeCommand");var de_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateDataLakeExceptionSubscriptionCommand");var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    subscriber: /* @__PURE__ */ __name((_) => de_SubscriberResource(_, context), "subscriber")  });  Object.assign(contents, doc);  return contents;}, "de_UpdateSubscriberCommand");var de_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    subscriberEndpoint: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateSubscriberNotificationCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {  const parsedOutput = {    ...output,    body: await (0, import_core2.parseJsonErrorBody)(output.body, context)  };  const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);  switch (errorCode) {    case "AccessDeniedException":    case "com.amazonaws.securitylake#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "BadRequestException":    case "com.amazonaws.securitylake#BadRequestException":      throw await de_BadRequestExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.securitylake#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.securitylake#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.securitylake#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.securitylake#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(SecurityLakeServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    errorCode: import_smithy_client.expectString,    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new BadRequestException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_BadRequestExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    resourceName: import_smithy_client.expectString,    resourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalServerException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    resourceName: import_smithy_client.expectString,    resourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({    [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]  });  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    quotaCode: import_smithy_client.expectString,    serviceCode: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_DataLakeException = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    exception: import_smithy_client.expectString,    region: import_smithy_client.expectString,    remediation: import_smithy_client.expectString,    timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")  });}, "de_DataLakeException");var de_DataLakeExceptionList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_DataLakeException(entry, context);  });  return retVal;}, "de_DataLakeExceptionList");var de_SubscriberResource = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    accessTypes: import_smithy_client._json,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    resourceShareArn: import_smithy_client.expectString,    resourceShareName: import_smithy_client.expectString,    roleArn: import_smithy_client.expectString,    s3BucketArn: import_smithy_client.expectString,    sources: import_smithy_client._json,    subscriberArn: import_smithy_client.expectString,    subscriberDescription: import_smithy_client.expectString,    subscriberEndpoint: import_smithy_client.expectString,    subscriberId: import_smithy_client.expectString,    subscriberIdentity: import_smithy_client._json,    subscriberName: import_smithy_client.expectString,    subscriberStatus: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")  });}, "de_SubscriberResource");var de_SubscriberResourceList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SubscriberResource(entry, context);  });  return retVal;}, "de_SubscriberResourceList");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({  httpStatusCode: output.statusCode,  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],  extendedRequestId: output.headers["x-amz-id-2"],  cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _mR = "maxResults";var _nT = "nextToken";var _r = "regions";var _rAS = "retryAfterSeconds";var _ra = "retry-after";var _sV = "sourceVersion";var _tK = "tagKeys"; // src/commands/CreateAwsLogSourceCommand.tsvar CreateAwsLogSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "CreateAwsLogSource", {}).n("SecurityLakeClient", "CreateAwsLogSourceCommand").f(void 0, void 0).ser(se_CreateAwsLogSourceCommand).de(de_CreateAwsLogSourceCommand).build() {  static {    __name(this, "CreateAwsLogSourceCommand");  }}; // src/commands/CreateCustomLogSourceCommand.ts   var CreateCustomLogSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "CreateCustomLogSource", {}).n("SecurityLakeClient", "CreateCustomLogSourceCommand").f(void 0, void 0).ser(se_CreateCustomLogSourceCommand).de(de_CreateCustomLogSourceCommand).build() {  static {    __name(this, "CreateCustomLogSourceCommand");  }}; // src/commands/CreateDataLakeCommand.ts   var CreateDataLakeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "CreateDataLake", {}).n("SecurityLakeClient", "CreateDataLakeCommand").f(void 0, void 0).ser(se_CreateDataLakeCommand).de(de_CreateDataLakeCommand).build() {  static {    __name(this, "CreateDataLakeCommand");  }}; // src/commands/CreateDataLakeExceptionSubscriptionCommand.ts   var CreateDataLakeExceptionSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "CreateDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "CreateDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_CreateDataLakeExceptionSubscriptionCommand).de(de_CreateDataLakeExceptionSubscriptionCommand).build() {  static {    __name(this, "CreateDataLakeExceptionSubscriptionCommand");  }}; // src/commands/CreateDataLakeOrganizationConfigurationCommand.ts   var CreateDataLakeOrganizationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "CreateDataLakeOrganizationConfiguration", {}).n("SecurityLakeClient", "CreateDataLakeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_CreateDataLakeOrganizationConfigurationCommand).de(de_CreateDataLakeOrganizationConfigurationCommand).build() {  static {    __name(this, "CreateDataLakeOrganizationConfigurationCommand");  }}; // src/commands/CreateSubscriberCommand.ts   var CreateSubscriberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "CreateSubscriber", {}).n("SecurityLakeClient", "CreateSubscriberCommand").f(void 0, void 0).ser(se_CreateSubscriberCommand).de(de_CreateSubscriberCommand).build() {  static {    __name(this, "CreateSubscriberCommand");  }}; // src/commands/CreateSubscriberNotificationCommand.ts   var CreateSubscriberNotificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "CreateSubscriberNotification", {}).n("SecurityLakeClient", "CreateSubscriberNotificationCommand").f(void 0, void 0).ser(se_CreateSubscriberNotificationCommand).de(de_CreateSubscriberNotificationCommand).build() {  static {    __name(this, "CreateSubscriberNotificationCommand");  }}; // src/commands/DeleteAwsLogSourceCommand.ts   var DeleteAwsLogSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeleteAwsLogSource", {}).n("SecurityLakeClient", "DeleteAwsLogSourceCommand").f(void 0, void 0).ser(se_DeleteAwsLogSourceCommand).de(de_DeleteAwsLogSourceCommand).build() {  static {    __name(this, "DeleteAwsLogSourceCommand");  }}; // src/commands/DeleteCustomLogSourceCommand.ts   var DeleteCustomLogSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeleteCustomLogSource", {}).n("SecurityLakeClient", "DeleteCustomLogSourceCommand").f(void 0, void 0).ser(se_DeleteCustomLogSourceCommand).de(de_DeleteCustomLogSourceCommand).build() {  static {    __name(this, "DeleteCustomLogSourceCommand");  }}; // src/commands/DeleteDataLakeCommand.ts   var DeleteDataLakeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeleteDataLake", {}).n("SecurityLakeClient", "DeleteDataLakeCommand").f(void 0, void 0).ser(se_DeleteDataLakeCommand).de(de_DeleteDataLakeCommand).build() {  static {    __name(this, "DeleteDataLakeCommand");  }}; // src/commands/DeleteDataLakeExceptionSubscriptionCommand.ts   var DeleteDataLakeExceptionSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeleteDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "DeleteDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_DeleteDataLakeExceptionSubscriptionCommand).de(de_DeleteDataLakeExceptionSubscriptionCommand).build() {  static {    __name(this, "DeleteDataLakeExceptionSubscriptionCommand");  }}; // src/commands/DeleteDataLakeOrganizationConfigurationCommand.ts   var DeleteDataLakeOrganizationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeleteDataLakeOrganizationConfiguration", {}).n("SecurityLakeClient", "DeleteDataLakeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_DeleteDataLakeOrganizationConfigurationCommand).de(de_DeleteDataLakeOrganizationConfigurationCommand).build() {  static {    __name(this, "DeleteDataLakeOrganizationConfigurationCommand");  }}; // src/commands/DeleteSubscriberCommand.ts   var DeleteSubscriberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeleteSubscriber", {}).n("SecurityLakeClient", "DeleteSubscriberCommand").f(void 0, void 0).ser(se_DeleteSubscriberCommand).de(de_DeleteSubscriberCommand).build() {  static {    __name(this, "DeleteSubscriberCommand");  }}; // src/commands/DeleteSubscriberNotificationCommand.ts   var DeleteSubscriberNotificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeleteSubscriberNotification", {}).n("SecurityLakeClient", "DeleteSubscriberNotificationCommand").f(void 0, void 0).ser(se_DeleteSubscriberNotificationCommand).de(de_DeleteSubscriberNotificationCommand).build() {  static {    __name(this, "DeleteSubscriberNotificationCommand");  }}; // src/commands/DeregisterDataLakeDelegatedAdministratorCommand.ts   var DeregisterDataLakeDelegatedAdministratorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "DeregisterDataLakeDelegatedAdministrator", {}).n("SecurityLakeClient", "DeregisterDataLakeDelegatedAdministratorCommand").f(void 0, void 0).ser(se_DeregisterDataLakeDelegatedAdministratorCommand).de(de_DeregisterDataLakeDelegatedAdministratorCommand).build() {  static {    __name(this, "DeregisterDataLakeDelegatedAdministratorCommand");  }}; // src/commands/GetDataLakeExceptionSubscriptionCommand.ts   var GetDataLakeExceptionSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "GetDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "GetDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_GetDataLakeExceptionSubscriptionCommand).de(de_GetDataLakeExceptionSubscriptionCommand).build() {  static {    __name(this, "GetDataLakeExceptionSubscriptionCommand");  }}; // src/commands/GetDataLakeOrganizationConfigurationCommand.ts   var GetDataLakeOrganizationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "GetDataLakeOrganizationConfiguration", {}).n("SecurityLakeClient", "GetDataLakeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_GetDataLakeOrganizationConfigurationCommand).de(de_GetDataLakeOrganizationConfigurationCommand).build() {  static {    __name(this, "GetDataLakeOrganizationConfigurationCommand");  }}; // src/commands/GetDataLakeSourcesCommand.ts   var GetDataLakeSourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "GetDataLakeSources", {}).n("SecurityLakeClient", "GetDataLakeSourcesCommand").f(void 0, void 0).ser(se_GetDataLakeSourcesCommand).de(de_GetDataLakeSourcesCommand).build() {  static {    __name(this, "GetDataLakeSourcesCommand");  }}; // src/commands/GetSubscriberCommand.ts   var GetSubscriberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "GetSubscriber", {}).n("SecurityLakeClient", "GetSubscriberCommand").f(void 0, void 0).ser(se_GetSubscriberCommand).de(de_GetSubscriberCommand).build() {  static {    __name(this, "GetSubscriberCommand");  }}; // src/commands/ListDataLakeExceptionsCommand.ts   var ListDataLakeExceptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "ListDataLakeExceptions", {}).n("SecurityLakeClient", "ListDataLakeExceptionsCommand").f(void 0, void 0).ser(se_ListDataLakeExceptionsCommand).de(de_ListDataLakeExceptionsCommand).build() {  static {    __name(this, "ListDataLakeExceptionsCommand");  }}; // src/commands/ListDataLakesCommand.ts   var ListDataLakesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "ListDataLakes", {}).n("SecurityLakeClient", "ListDataLakesCommand").f(void 0, void 0).ser(se_ListDataLakesCommand).de(de_ListDataLakesCommand).build() {  static {    __name(this, "ListDataLakesCommand");  }}; // src/commands/ListLogSourcesCommand.ts   var ListLogSourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "ListLogSources", {}).n("SecurityLakeClient", "ListLogSourcesCommand").f(void 0, void 0).ser(se_ListLogSourcesCommand).de(de_ListLogSourcesCommand).build() {  static {    __name(this, "ListLogSourcesCommand");  }}; // src/commands/ListSubscribersCommand.ts   var ListSubscribersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "ListSubscribers", {}).n("SecurityLakeClient", "ListSubscribersCommand").f(void 0, void 0).ser(se_ListSubscribersCommand).de(de_ListSubscribersCommand).build() {  static {    __name(this, "ListSubscribersCommand");  }}; // src/commands/ListTagsForResourceCommand.ts   var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "ListTagsForResource", {}).n("SecurityLakeClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/RegisterDataLakeDelegatedAdministratorCommand.ts   var RegisterDataLakeDelegatedAdministratorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {}).n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand").f(void 0, void 0).ser(se_RegisterDataLakeDelegatedAdministratorCommand).de(de_RegisterDataLakeDelegatedAdministratorCommand).build() {  static {    __name(this, "RegisterDataLakeDelegatedAdministratorCommand");  }}; // src/commands/TagResourceCommand.ts   var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "TagResource", {}).n("SecurityLakeClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {  static {    __name(this, "TagResourceCommand");  }}; // src/commands/UntagResourceCommand.ts   var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "UntagResource", {}).n("SecurityLakeClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateDataLakeCommand.ts   var UpdateDataLakeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "UpdateDataLake", {}).n("SecurityLakeClient", "UpdateDataLakeCommand").f(void 0, void 0).ser(se_UpdateDataLakeCommand).de(de_UpdateDataLakeCommand).build() {  static {    __name(this, "UpdateDataLakeCommand");  }}; // src/commands/UpdateDataLakeExceptionSubscriptionCommand.ts   var UpdateDataLakeExceptionSubscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "UpdateDataLakeExceptionSubscription", {}).n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand").f(void 0, void 0).ser(se_UpdateDataLakeExceptionSubscriptionCommand).de(de_UpdateDataLakeExceptionSubscriptionCommand).build() {  static {    __name(this, "UpdateDataLakeExceptionSubscriptionCommand");  }}; // src/commands/UpdateSubscriberCommand.ts   var UpdateSubscriberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "UpdateSubscriber", {}).n("SecurityLakeClient", "UpdateSubscriberCommand").f(void 0, void 0).ser(se_UpdateSubscriberCommand).de(de_UpdateSubscriberCommand).build() {  static {    __name(this, "UpdateSubscriberCommand");  }}; // src/commands/UpdateSubscriberNotificationCommand.ts   var UpdateSubscriberNotificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("SecurityLake", "UpdateSubscriberNotification", {}).n("SecurityLakeClient", "UpdateSubscriberNotificationCommand").f(void 0, void 0).ser(se_UpdateSubscriberNotificationCommand).de(de_UpdateSubscriberNotificationCommand).build() {  static {    __name(this, "UpdateSubscriberNotificationCommand");  }}; // src/SecurityLake.tsvar commands = {  CreateAwsLogSourceCommand,  CreateCustomLogSourceCommand,  CreateDataLakeCommand,  CreateDataLakeExceptionSubscriptionCommand,  CreateDataLakeOrganizationConfigurationCommand,  CreateSubscriberCommand,  CreateSubscriberNotificationCommand,  DeleteAwsLogSourceCommand,  DeleteCustomLogSourceCommand,  DeleteDataLakeCommand,  DeleteDataLakeExceptionSubscriptionCommand,  DeleteDataLakeOrganizationConfigurationCommand,  DeleteSubscriberCommand,  DeleteSubscriberNotificationCommand,  DeregisterDataLakeDelegatedAdministratorCommand,  GetDataLakeExceptionSubscriptionCommand,  GetDataLakeOrganizationConfigurationCommand,  GetDataLakeSourcesCommand,  GetSubscriberCommand,  ListDataLakeExceptionsCommand,  ListDataLakesCommand,  ListLogSourcesCommand,  ListSubscribersCommand,  ListTagsForResourceCommand,  RegisterDataLakeDelegatedAdministratorCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateDataLakeCommand,  UpdateDataLakeExceptionSubscriptionCommand,  UpdateSubscriberCommand,  UpdateSubscriberNotificationCommand};var SecurityLake = class extends SecurityLakeClient {  static {    __name(this, "SecurityLake");  }};(0, import_smithy_client.createAggregatedClient)(commands, SecurityLake); // src/pagination/GetDataLakeSourcesPaginator.ts var paginateGetDataLakeSources = (0, import_core.createPaginator)(SecurityLakeClient, GetDataLakeSourcesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListDataLakeExceptionsPaginator.ts var paginateListDataLakeExceptions = (0, import_core.createPaginator)(SecurityLakeClient, ListDataLakeExceptionsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListLogSourcesPaginator.ts var paginateListLogSources = (0, import_core.createPaginator)(SecurityLakeClient, ListLogSourcesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListSubscribersPaginator.ts var paginateListSubscribers = (0, import_core.createPaginator)(SecurityLakeClient, ListSubscribersCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  SecurityLakeServiceException,  __Client,  SecurityLakeClient,  SecurityLake,  $Command,  CreateAwsLogSourceCommand,  CreateCustomLogSourceCommand,  CreateDataLakeCommand,  CreateDataLakeExceptionSubscriptionCommand,  CreateDataLakeOrganizationConfigurationCommand,  CreateSubscriberCommand,  CreateSubscriberNotificationCommand,  DeleteAwsLogSourceCommand,  DeleteCustomLogSourceCommand,  DeleteDataLakeCommand,  DeleteDataLakeExceptionSubscriptionCommand,  DeleteDataLakeOrganizationConfigurationCommand,  DeleteSubscriberCommand,  DeleteSubscriberNotificationCommand,  DeregisterDataLakeDelegatedAdministratorCommand,  GetDataLakeExceptionSubscriptionCommand,  GetDataLakeOrganizationConfigurationCommand,  GetDataLakeSourcesCommand,  GetSubscriberCommand,  ListDataLakeExceptionsCommand,  ListDataLakesCommand,  ListLogSourcesCommand,  ListSubscribersCommand,  ListTagsForResourceCommand,  RegisterDataLakeDelegatedAdministratorCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateDataLakeCommand,  UpdateDataLakeExceptionSubscriptionCommand,  UpdateSubscriberCommand,  UpdateSubscriberNotificationCommand,  paginateGetDataLakeSources,  paginateListDataLakeExceptions,  paginateListLogSources,  paginateListSubscribers,  AccessDeniedException,  AccessType,  AwsLogSourceName,  BadRequestException,  ConflictException,  InternalServerException,  ResourceNotFoundException,  ThrottlingException,  DataLakeStatus,  LogSourceResource,  SubscriberStatus,  HttpMethod,  NotificationConfiguration,  SourceCollectionStatus});