File Explorer

/var/runtime/node_modules/@aws-sdk/client-chatbot/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.js137 KB · 3277 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, {  AssociateToConfigurationCommand: () => AssociateToConfigurationCommand,  Chatbot: () => Chatbot,  ChatbotClient: () => ChatbotClient,  ChatbotServiceException: () => ChatbotServiceException,  ChimeWebhookConfigurationFilterSensitiveLog: () => ChimeWebhookConfigurationFilterSensitiveLog,  ConflictException: () => ConflictException,  CreateChimeWebhookConfigurationCommand: () => CreateChimeWebhookConfigurationCommand,  CreateChimeWebhookConfigurationException: () => CreateChimeWebhookConfigurationException,  CreateChimeWebhookConfigurationRequestFilterSensitiveLog: () => CreateChimeWebhookConfigurationRequestFilterSensitiveLog,  CreateChimeWebhookConfigurationResultFilterSensitiveLog: () => CreateChimeWebhookConfigurationResultFilterSensitiveLog,  CreateCustomActionCommand: () => CreateCustomActionCommand,  CreateMicrosoftTeamsChannelConfigurationCommand: () => CreateMicrosoftTeamsChannelConfigurationCommand,  CreateSlackChannelConfigurationCommand: () => CreateSlackChannelConfigurationCommand,  CreateSlackChannelConfigurationException: () => CreateSlackChannelConfigurationException,  CreateSlackChannelConfigurationRequestFilterSensitiveLog: () => CreateSlackChannelConfigurationRequestFilterSensitiveLog,  CreateSlackChannelConfigurationResultFilterSensitiveLog: () => CreateSlackChannelConfigurationResultFilterSensitiveLog,  CreateTeamsChannelConfigurationException: () => CreateTeamsChannelConfigurationException,  CreateTeamsChannelConfigurationRequestFilterSensitiveLog: () => CreateTeamsChannelConfigurationRequestFilterSensitiveLog,  CreateTeamsChannelConfigurationResultFilterSensitiveLog: () => CreateTeamsChannelConfigurationResultFilterSensitiveLog,  CustomActionAttachmentCriteriaOperator: () => CustomActionAttachmentCriteriaOperator,  DeleteChimeWebhookConfigurationCommand: () => DeleteChimeWebhookConfigurationCommand,  DeleteChimeWebhookConfigurationException: () => DeleteChimeWebhookConfigurationException,  DeleteCustomActionCommand: () => DeleteCustomActionCommand,  DeleteMicrosoftTeamsChannelConfigurationCommand: () => DeleteMicrosoftTeamsChannelConfigurationCommand,  DeleteMicrosoftTeamsConfiguredTeamCommand: () => DeleteMicrosoftTeamsConfiguredTeamCommand,  DeleteMicrosoftTeamsUserIdentityCommand: () => DeleteMicrosoftTeamsUserIdentityCommand,  DeleteMicrosoftTeamsUserIdentityException: () => DeleteMicrosoftTeamsUserIdentityException,  DeleteSlackChannelConfigurationCommand: () => DeleteSlackChannelConfigurationCommand,  DeleteSlackChannelConfigurationException: () => DeleteSlackChannelConfigurationException,  DeleteSlackUserIdentityCommand: () => DeleteSlackUserIdentityCommand,  DeleteSlackUserIdentityException: () => DeleteSlackUserIdentityException,  DeleteSlackWorkspaceAuthorizationCommand: () => DeleteSlackWorkspaceAuthorizationCommand,  DeleteSlackWorkspaceAuthorizationFault: () => DeleteSlackWorkspaceAuthorizationFault,  DeleteTeamsChannelConfigurationException: () => DeleteTeamsChannelConfigurationException,  DeleteTeamsConfiguredTeamException: () => DeleteTeamsConfiguredTeamException,  DescribeChimeWebhookConfigurationsCommand: () => DescribeChimeWebhookConfigurationsCommand,  DescribeChimeWebhookConfigurationsException: () => DescribeChimeWebhookConfigurationsException,  DescribeChimeWebhookConfigurationsResultFilterSensitiveLog: () => DescribeChimeWebhookConfigurationsResultFilterSensitiveLog,  DescribeSlackChannelConfigurationsCommand: () => DescribeSlackChannelConfigurationsCommand,  DescribeSlackChannelConfigurationsException: () => DescribeSlackChannelConfigurationsException,  DescribeSlackChannelConfigurationsResultFilterSensitiveLog: () => DescribeSlackChannelConfigurationsResultFilterSensitiveLog,  DescribeSlackUserIdentitiesCommand: () => DescribeSlackUserIdentitiesCommand,  DescribeSlackUserIdentitiesException: () => DescribeSlackUserIdentitiesException,  DescribeSlackWorkspacesCommand: () => DescribeSlackWorkspacesCommand,  DescribeSlackWorkspacesException: () => DescribeSlackWorkspacesException,  DisassociateFromConfigurationCommand: () => DisassociateFromConfigurationCommand,  GetAccountPreferencesCommand: () => GetAccountPreferencesCommand,  GetAccountPreferencesException: () => GetAccountPreferencesException,  GetCustomActionCommand: () => GetCustomActionCommand,  GetMicrosoftTeamsChannelConfigurationCommand: () => GetMicrosoftTeamsChannelConfigurationCommand,  GetTeamsChannelConfigurationException: () => GetTeamsChannelConfigurationException,  GetTeamsChannelConfigurationResultFilterSensitiveLog: () => GetTeamsChannelConfigurationResultFilterSensitiveLog,  InternalServiceError: () => InternalServiceError,  InvalidParameterException: () => InvalidParameterException,  InvalidRequestException: () => InvalidRequestException,  LimitExceededException: () => LimitExceededException,  ListAssociationsCommand: () => ListAssociationsCommand,  ListCustomActionsCommand: () => ListCustomActionsCommand,  ListMicrosoftTeamsChannelConfigurationsCommand: () => ListMicrosoftTeamsChannelConfigurationsCommand,  ListMicrosoftTeamsConfiguredTeamsCommand: () => ListMicrosoftTeamsConfiguredTeamsCommand,  ListMicrosoftTeamsConfiguredTeamsException: () => ListMicrosoftTeamsConfiguredTeamsException,  ListMicrosoftTeamsUserIdentitiesCommand: () => ListMicrosoftTeamsUserIdentitiesCommand,  ListMicrosoftTeamsUserIdentitiesException: () => ListMicrosoftTeamsUserIdentitiesException,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  ListTeamsChannelConfigurationsException: () => ListTeamsChannelConfigurationsException,  ListTeamsChannelConfigurationsResultFilterSensitiveLog: () => ListTeamsChannelConfigurationsResultFilterSensitiveLog,  ResourceNotFoundException: () => ResourceNotFoundException,  ServiceUnavailableException: () => ServiceUnavailableException,  SlackChannelConfigurationFilterSensitiveLog: () => SlackChannelConfigurationFilterSensitiveLog,  TagResourceCommand: () => TagResourceCommand,  TeamsChannelConfigurationFilterSensitiveLog: () => TeamsChannelConfigurationFilterSensitiveLog,  TooManyTagsException: () => TooManyTagsException,  UnauthorizedException: () => UnauthorizedException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateAccountPreferencesCommand: () => UpdateAccountPreferencesCommand,  UpdateAccountPreferencesException: () => UpdateAccountPreferencesException,  UpdateChimeWebhookConfigurationCommand: () => UpdateChimeWebhookConfigurationCommand,  UpdateChimeWebhookConfigurationException: () => UpdateChimeWebhookConfigurationException,  UpdateChimeWebhookConfigurationRequestFilterSensitiveLog: () => UpdateChimeWebhookConfigurationRequestFilterSensitiveLog,  UpdateChimeWebhookConfigurationResultFilterSensitiveLog: () => UpdateChimeWebhookConfigurationResultFilterSensitiveLog,  UpdateCustomActionCommand: () => UpdateCustomActionCommand,  UpdateMicrosoftTeamsChannelConfigurationCommand: () => UpdateMicrosoftTeamsChannelConfigurationCommand,  UpdateSlackChannelConfigurationCommand: () => UpdateSlackChannelConfigurationCommand,  UpdateSlackChannelConfigurationException: () => UpdateSlackChannelConfigurationException,  UpdateSlackChannelConfigurationRequestFilterSensitiveLog: () => UpdateSlackChannelConfigurationRequestFilterSensitiveLog,  UpdateSlackChannelConfigurationResultFilterSensitiveLog: () => UpdateSlackChannelConfigurationResultFilterSensitiveLog,  UpdateTeamsChannelConfigurationException: () => UpdateTeamsChannelConfigurationException,  UpdateTeamsChannelConfigurationRequestFilterSensitiveLog: () => UpdateTeamsChannelConfigurationRequestFilterSensitiveLog,  UpdateTeamsChannelConfigurationResultFilterSensitiveLog: () => UpdateTeamsChannelConfigurationResultFilterSensitiveLog,  __Client: () => import_smithy_client.Client,  paginateDescribeChimeWebhookConfigurations: () => paginateDescribeChimeWebhookConfigurations,  paginateDescribeSlackChannelConfigurations: () => paginateDescribeSlackChannelConfigurations,  paginateDescribeSlackUserIdentities: () => paginateDescribeSlackUserIdentities,  paginateDescribeSlackWorkspaces: () => paginateDescribeSlackWorkspaces,  paginateListAssociations: () => paginateListAssociations,  paginateListCustomActions: () => paginateListCustomActions,  paginateListMicrosoftTeamsChannelConfigurations: () => paginateListMicrosoftTeamsChannelConfigurations,  paginateListMicrosoftTeamsConfiguredTeams: () => paginateListMicrosoftTeamsConfiguredTeams,  paginateListMicrosoftTeamsUserIdentities: () => paginateListMicrosoftTeamsUserIdentities});module.exports = __toCommonJS(index_exports); // src/ChatbotClient.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: "chatbot"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/ChatbotClient.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/ChatbotClient.tsvar ChatbotClient = class extends import_smithy_client.Client {  static {    __name(this, "ChatbotClient");  }  /**   * The resolved configuration of ChatbotClient class. This is resolved and normalized from the {@link ChatbotClientConfig | 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.defaultChatbotHttpAuthSchemeParametersProvider,        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/Chatbot.ts  // src/commands/AssociateToConfigurationCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");  var import_uuid = require("uuid"); // src/models/ChatbotServiceException.ts var ChatbotServiceException = class _ChatbotServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "ChatbotServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _ChatbotServiceException.prototype);  }}; // src/models/models_0.ts var InternalServiceError = class _InternalServiceError extends ChatbotServiceException {  static {    __name(this, "InternalServiceError");  }  name = "InternalServiceError";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServiceError",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServiceError.prototype);    this.Message = opts.Message;  }};var InvalidRequestException = class _InvalidRequestException extends ChatbotServiceException {  static {    __name(this, "InvalidRequestException");  }  name = "InvalidRequestException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidRequestException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidRequestException.prototype);  }};var UnauthorizedException = class _UnauthorizedException extends ChatbotServiceException {  static {    __name(this, "UnauthorizedException");  }  name = "UnauthorizedException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "UnauthorizedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _UnauthorizedException.prototype);  }};var ConflictException = class _ConflictException extends ChatbotServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);  }};var CreateChimeWebhookConfigurationException = class _CreateChimeWebhookConfigurationException extends ChatbotServiceException {  static {    __name(this, "CreateChimeWebhookConfigurationException");  }  name = "CreateChimeWebhookConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "CreateChimeWebhookConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _CreateChimeWebhookConfigurationException.prototype);    this.Message = opts.Message;  }};var InvalidParameterException = class _InvalidParameterException extends ChatbotServiceException {  static {    __name(this, "InvalidParameterException");  }  name = "InvalidParameterException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidParameterException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidParameterException.prototype);  }};var LimitExceededException = class _LimitExceededException extends ChatbotServiceException {  static {    __name(this, "LimitExceededException");  }  name = "LimitExceededException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "LimitExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _LimitExceededException.prototype);  }};var CustomActionAttachmentCriteriaOperator = {  EQUALS: "EQUALS",  HAS_VALUE: "HAS_VALUE"};var CreateTeamsChannelConfigurationException = class _CreateTeamsChannelConfigurationException extends ChatbotServiceException {  static {    __name(this, "CreateTeamsChannelConfigurationException");  }  name = "CreateTeamsChannelConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "CreateTeamsChannelConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _CreateTeamsChannelConfigurationException.prototype);    this.Message = opts.Message;  }};var CreateSlackChannelConfigurationException = class _CreateSlackChannelConfigurationException extends ChatbotServiceException {  static {    __name(this, "CreateSlackChannelConfigurationException");  }  name = "CreateSlackChannelConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "CreateSlackChannelConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _CreateSlackChannelConfigurationException.prototype);    this.Message = opts.Message;  }};var ResourceNotFoundException = class _ResourceNotFoundException extends ChatbotServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.Message = opts.Message;  }};var DeleteChimeWebhookConfigurationException = class _DeleteChimeWebhookConfigurationException extends ChatbotServiceException {  static {    __name(this, "DeleteChimeWebhookConfigurationException");  }  name = "DeleteChimeWebhookConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DeleteChimeWebhookConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DeleteChimeWebhookConfigurationException.prototype);    this.Message = opts.Message;  }};var DeleteTeamsChannelConfigurationException = class _DeleteTeamsChannelConfigurationException extends ChatbotServiceException {  static {    __name(this, "DeleteTeamsChannelConfigurationException");  }  name = "DeleteTeamsChannelConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DeleteTeamsChannelConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DeleteTeamsChannelConfigurationException.prototype);    this.Message = opts.Message;  }};var DeleteTeamsConfiguredTeamException = class _DeleteTeamsConfiguredTeamException extends ChatbotServiceException {  static {    __name(this, "DeleteTeamsConfiguredTeamException");  }  name = "DeleteTeamsConfiguredTeamException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DeleteTeamsConfiguredTeamException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DeleteTeamsConfiguredTeamException.prototype);    this.Message = opts.Message;  }};var DeleteMicrosoftTeamsUserIdentityException = class _DeleteMicrosoftTeamsUserIdentityException extends ChatbotServiceException {  static {    __name(this, "DeleteMicrosoftTeamsUserIdentityException");  }  name = "DeleteMicrosoftTeamsUserIdentityException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DeleteMicrosoftTeamsUserIdentityException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DeleteMicrosoftTeamsUserIdentityException.prototype);    this.Message = opts.Message;  }};var DeleteSlackChannelConfigurationException = class _DeleteSlackChannelConfigurationException extends ChatbotServiceException {  static {    __name(this, "DeleteSlackChannelConfigurationException");  }  name = "DeleteSlackChannelConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DeleteSlackChannelConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DeleteSlackChannelConfigurationException.prototype);    this.Message = opts.Message;  }};var DeleteSlackUserIdentityException = class _DeleteSlackUserIdentityException extends ChatbotServiceException {  static {    __name(this, "DeleteSlackUserIdentityException");  }  name = "DeleteSlackUserIdentityException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DeleteSlackUserIdentityException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DeleteSlackUserIdentityException.prototype);    this.Message = opts.Message;  }};var DeleteSlackWorkspaceAuthorizationFault = class _DeleteSlackWorkspaceAuthorizationFault extends ChatbotServiceException {  static {    __name(this, "DeleteSlackWorkspaceAuthorizationFault");  }  name = "DeleteSlackWorkspaceAuthorizationFault";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DeleteSlackWorkspaceAuthorizationFault",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DeleteSlackWorkspaceAuthorizationFault.prototype);    this.Message = opts.Message;  }};var DescribeChimeWebhookConfigurationsException = class _DescribeChimeWebhookConfigurationsException extends ChatbotServiceException {  static {    __name(this, "DescribeChimeWebhookConfigurationsException");  }  name = "DescribeChimeWebhookConfigurationsException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DescribeChimeWebhookConfigurationsException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DescribeChimeWebhookConfigurationsException.prototype);    this.Message = opts.Message;  }};var DescribeSlackChannelConfigurationsException = class _DescribeSlackChannelConfigurationsException extends ChatbotServiceException {  static {    __name(this, "DescribeSlackChannelConfigurationsException");  }  name = "DescribeSlackChannelConfigurationsException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DescribeSlackChannelConfigurationsException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DescribeSlackChannelConfigurationsException.prototype);    this.Message = opts.Message;  }};var DescribeSlackUserIdentitiesException = class _DescribeSlackUserIdentitiesException extends ChatbotServiceException {  static {    __name(this, "DescribeSlackUserIdentitiesException");  }  name = "DescribeSlackUserIdentitiesException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DescribeSlackUserIdentitiesException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DescribeSlackUserIdentitiesException.prototype);    this.Message = opts.Message;  }};var DescribeSlackWorkspacesException = class _DescribeSlackWorkspacesException extends ChatbotServiceException {  static {    __name(this, "DescribeSlackWorkspacesException");  }  name = "DescribeSlackWorkspacesException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DescribeSlackWorkspacesException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _DescribeSlackWorkspacesException.prototype);    this.Message = opts.Message;  }};var GetAccountPreferencesException = class _GetAccountPreferencesException extends ChatbotServiceException {  static {    __name(this, "GetAccountPreferencesException");  }  name = "GetAccountPreferencesException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "GetAccountPreferencesException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _GetAccountPreferencesException.prototype);    this.Message = opts.Message;  }};var GetTeamsChannelConfigurationException = class _GetTeamsChannelConfigurationException extends ChatbotServiceException {  static {    __name(this, "GetTeamsChannelConfigurationException");  }  name = "GetTeamsChannelConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "GetTeamsChannelConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _GetTeamsChannelConfigurationException.prototype);    this.Message = opts.Message;  }};var ListTeamsChannelConfigurationsException = class _ListTeamsChannelConfigurationsException extends ChatbotServiceException {  static {    __name(this, "ListTeamsChannelConfigurationsException");  }  name = "ListTeamsChannelConfigurationsException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ListTeamsChannelConfigurationsException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _ListTeamsChannelConfigurationsException.prototype);    this.Message = opts.Message;  }};var ListMicrosoftTeamsConfiguredTeamsException = class _ListMicrosoftTeamsConfiguredTeamsException extends ChatbotServiceException {  static {    __name(this, "ListMicrosoftTeamsConfiguredTeamsException");  }  name = "ListMicrosoftTeamsConfiguredTeamsException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ListMicrosoftTeamsConfiguredTeamsException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _ListMicrosoftTeamsConfiguredTeamsException.prototype);    this.Message = opts.Message;  }};var ListMicrosoftTeamsUserIdentitiesException = class _ListMicrosoftTeamsUserIdentitiesException extends ChatbotServiceException {  static {    __name(this, "ListMicrosoftTeamsUserIdentitiesException");  }  name = "ListMicrosoftTeamsUserIdentitiesException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ListMicrosoftTeamsUserIdentitiesException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _ListMicrosoftTeamsUserIdentitiesException.prototype);    this.Message = opts.Message;  }};var ServiceUnavailableException = class _ServiceUnavailableException extends ChatbotServiceException {  static {    __name(this, "ServiceUnavailableException");  }  name = "ServiceUnavailableException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceUnavailableException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);  }};var TooManyTagsException = class _TooManyTagsException extends ChatbotServiceException {  static {    __name(this, "TooManyTagsException");  }  name = "TooManyTagsException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "TooManyTagsException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _TooManyTagsException.prototype);  }};var UpdateAccountPreferencesException = class _UpdateAccountPreferencesException extends ChatbotServiceException {  static {    __name(this, "UpdateAccountPreferencesException");  }  name = "UpdateAccountPreferencesException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UpdateAccountPreferencesException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _UpdateAccountPreferencesException.prototype);    this.Message = opts.Message;  }};var UpdateChimeWebhookConfigurationException = class _UpdateChimeWebhookConfigurationException extends ChatbotServiceException {  static {    __name(this, "UpdateChimeWebhookConfigurationException");  }  name = "UpdateChimeWebhookConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UpdateChimeWebhookConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _UpdateChimeWebhookConfigurationException.prototype);    this.Message = opts.Message;  }};var UpdateTeamsChannelConfigurationException = class _UpdateTeamsChannelConfigurationException extends ChatbotServiceException {  static {    __name(this, "UpdateTeamsChannelConfigurationException");  }  name = "UpdateTeamsChannelConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UpdateTeamsChannelConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _UpdateTeamsChannelConfigurationException.prototype);    this.Message = opts.Message;  }};var UpdateSlackChannelConfigurationException = class _UpdateSlackChannelConfigurationException extends ChatbotServiceException {  static {    __name(this, "UpdateSlackChannelConfigurationException");  }  name = "UpdateSlackChannelConfigurationException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UpdateSlackChannelConfigurationException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _UpdateSlackChannelConfigurationException.prototype);    this.Message = opts.Message;  }};var ChimeWebhookConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.WebhookDescription && { WebhookDescription: import_smithy_client.SENSITIVE_STRING }}), "ChimeWebhookConfigurationFilterSensitiveLog");var CreateChimeWebhookConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.WebhookDescription && { WebhookDescription: import_smithy_client.SENSITIVE_STRING },  ...obj.WebhookUrl && { WebhookUrl: import_smithy_client.SENSITIVE_STRING }}), "CreateChimeWebhookConfigurationRequestFilterSensitiveLog");var CreateChimeWebhookConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.WebhookConfiguration && {    WebhookConfiguration: ChimeWebhookConfigurationFilterSensitiveLog(obj.WebhookConfiguration)  }}), "CreateChimeWebhookConfigurationResultFilterSensitiveLog");var CreateTeamsChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelName && { ChannelName: import_smithy_client.SENSITIVE_STRING },  ...obj.TeamName && { TeamName: import_smithy_client.SENSITIVE_STRING }}), "CreateTeamsChannelConfigurationRequestFilterSensitiveLog");var TeamsChannelConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelName && { ChannelName: import_smithy_client.SENSITIVE_STRING },  ...obj.TeamName && { TeamName: import_smithy_client.SENSITIVE_STRING }}), "TeamsChannelConfigurationFilterSensitiveLog");var CreateTeamsChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelConfiguration && {    ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)  }}), "CreateTeamsChannelConfigurationResultFilterSensitiveLog");var CreateSlackChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.SlackChannelName && { SlackChannelName: import_smithy_client.SENSITIVE_STRING }}), "CreateSlackChannelConfigurationRequestFilterSensitiveLog");var SlackChannelConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.SlackChannelName && { SlackChannelName: import_smithy_client.SENSITIVE_STRING }}), "SlackChannelConfigurationFilterSensitiveLog");var CreateSlackChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelConfiguration && {    ChannelConfiguration: SlackChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)  }}), "CreateSlackChannelConfigurationResultFilterSensitiveLog");var DescribeChimeWebhookConfigurationsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.WebhookConfigurations && {    WebhookConfigurations: obj.WebhookConfigurations.map((item) => ChimeWebhookConfigurationFilterSensitiveLog(item))  }}), "DescribeChimeWebhookConfigurationsResultFilterSensitiveLog");var DescribeSlackChannelConfigurationsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.SlackChannelConfigurations && {    SlackChannelConfigurations: obj.SlackChannelConfigurations.map(      (item) => SlackChannelConfigurationFilterSensitiveLog(item)    )  }}), "DescribeSlackChannelConfigurationsResultFilterSensitiveLog");var GetTeamsChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelConfiguration && {    ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)  }}), "GetTeamsChannelConfigurationResultFilterSensitiveLog");var ListTeamsChannelConfigurationsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.TeamChannelConfigurations && {    TeamChannelConfigurations: obj.TeamChannelConfigurations.map(      (item) => TeamsChannelConfigurationFilterSensitiveLog(item)    )  }}), "ListTeamsChannelConfigurationsResultFilterSensitiveLog");var UpdateChimeWebhookConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.WebhookDescription && { WebhookDescription: import_smithy_client.SENSITIVE_STRING },  ...obj.WebhookUrl && { WebhookUrl: import_smithy_client.SENSITIVE_STRING }}), "UpdateChimeWebhookConfigurationRequestFilterSensitiveLog");var UpdateChimeWebhookConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.WebhookConfiguration && {    WebhookConfiguration: ChimeWebhookConfigurationFilterSensitiveLog(obj.WebhookConfiguration)  }}), "UpdateChimeWebhookConfigurationResultFilterSensitiveLog");var UpdateTeamsChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelName && { ChannelName: import_smithy_client.SENSITIVE_STRING }}), "UpdateTeamsChannelConfigurationRequestFilterSensitiveLog");var UpdateTeamsChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelConfiguration && {    ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)  }}), "UpdateTeamsChannelConfigurationResultFilterSensitiveLog");var UpdateSlackChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.SlackChannelName && { SlackChannelName: import_smithy_client.SENSITIVE_STRING }}), "UpdateSlackChannelConfigurationRequestFilterSensitiveLog");var UpdateSlackChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ChannelConfiguration && {    ChannelConfiguration: SlackChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)  }}), "UpdateSlackChannelConfigurationResultFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar se_AssociateToConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/associate-to-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfiguration: [],      Resource: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_AssociateToConfigurationCommand");var se_CreateChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/create-chime-webhook-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ConfigurationName: [],      IamRoleArn: [],      LoggingLevel: [],      SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      WebhookDescription: [],      WebhookUrl: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateChimeWebhookConfigurationCommand");var se_CreateCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/create-custom-action");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ActionName: [],      AliasName: [],      Attachments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attachments"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateCustomActionCommand");var se_CreateMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/create-ms-teams-channel-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChannelId: [],      ChannelName: [],      ConfigurationName: [],      GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),      IamRoleArn: [],      LoggingLevel: [],      SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      TeamId: [],      TeamName: [],      TenantId: [],      UserAuthorizationRequired: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateMicrosoftTeamsChannelConfigurationCommand");var se_CreateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/create-slack-channel-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ConfigurationName: [],      GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),      IamRoleArn: [],      LoggingLevel: [],      SlackChannelId: [],      SlackChannelName: [],      SlackTeamId: [],      SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      UserAuthorizationRequired: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateSlackChannelConfigurationCommand");var se_DeleteChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-chime-webhook-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteChimeWebhookConfigurationCommand");var se_DeleteCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-custom-action");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      CustomActionArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteCustomActionCommand");var se_DeleteMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-ms-teams-channel-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteMicrosoftTeamsChannelConfigurationCommand");var se_DeleteMicrosoftTeamsConfiguredTeamCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-ms-teams-configured-teams");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      TeamId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteMicrosoftTeamsConfiguredTeamCommand");var se_DeleteMicrosoftTeamsUserIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-ms-teams-user-identity");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      UserId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteMicrosoftTeamsUserIdentityCommand");var se_DeleteSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-slack-channel-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteSlackChannelConfigurationCommand");var se_DeleteSlackUserIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-slack-user-identity");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      SlackTeamId: [],      SlackUserId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteSlackUserIdentityCommand");var se_DeleteSlackWorkspaceAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/delete-slack-workspace-authorization");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      SlackTeamId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteSlackWorkspaceAuthorizationCommand");var se_DescribeChimeWebhookConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/describe-chime-webhook-configurations");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DescribeChimeWebhookConfigurationsCommand");var se_DescribeSlackChannelConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/describe-slack-channel-configurations");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DescribeSlackChannelConfigurationsCommand");var se_DescribeSlackUserIdentitiesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/describe-slack-user-identities");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DescribeSlackUserIdentitiesCommand");var se_DescribeSlackWorkspacesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/describe-slack-workspaces");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DescribeSlackWorkspacesCommand");var se_DisassociateFromConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/disassociate-from-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfiguration: [],      Resource: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateFromConfigurationCommand");var se_GetAccountPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/get-account-preferences");  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetAccountPreferencesCommand");var se_GetCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/get-custom-action");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      CustomActionArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetCustomActionCommand");var se_GetMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/get-ms-teams-channel-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetMicrosoftTeamsChannelConfigurationCommand");var se_ListAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/list-associations");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfiguration: [],      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListAssociationsCommand");var se_ListCustomActionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/list-custom-actions");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListCustomActionsCommand");var se_ListMicrosoftTeamsChannelConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/list-ms-teams-channel-configurations");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: [],      TeamId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListMicrosoftTeamsChannelConfigurationsCommand");var se_ListMicrosoftTeamsConfiguredTeamsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/list-ms-teams-configured-teams");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListMicrosoftTeamsConfiguredTeamsCommand");var se_ListMicrosoftTeamsUserIdentitiesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/list-ms-teams-user-identities");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListMicrosoftTeamsUserIdentitiesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/list-tags-for-resource");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceARN: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tag-resource");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceARN: [],      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 = {    "content-type": "application/json"  };  b.bp("/untag-resource");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceARN: [],      TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateAccountPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/update-account-preferences");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      TrainingDataCollectionEnabled: [],      UserAuthorizationRequired: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateAccountPreferencesCommand");var se_UpdateChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/update-chime-webhook-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      IamRoleArn: [],      LoggingLevel: [],      SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),      WebhookDescription: [],      WebhookUrl: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateChimeWebhookConfigurationCommand");var se_UpdateCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/update-custom-action");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AliasName: [],      Attachments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attachments"),      CustomActionArn: [],      Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateCustomActionCommand");var se_UpdateMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/update-ms-teams-channel-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChannelId: [],      ChannelName: [],      ChatConfigurationArn: [],      GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),      IamRoleArn: [],      LoggingLevel: [],      SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),      UserAuthorizationRequired: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateMicrosoftTeamsChannelConfigurationCommand");var se_UpdateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/update-slack-channel-configuration");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatConfigurationArn: [],      GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),      IamRoleArn: [],      LoggingLevel: [],      SlackChannelId: [],      SlackChannelName: [],      SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),      UserAuthorizationRequired: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateSlackChannelConfigurationCommand");var de_AssociateToConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && 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_AssociateToConfigurationCommand");var de_CreateChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && 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, {    WebhookConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateChimeWebhookConfigurationCommand");var de_CreateCustomActionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && 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, {    CustomActionArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateCustomActionCommand");var de_CreateMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && 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, {    ChannelConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateMicrosoftTeamsChannelConfigurationCommand");var de_CreateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && 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, {    ChannelConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreateSlackChannelConfigurationCommand");var de_DeleteChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteChimeWebhookConfigurationCommand");var de_DeleteCustomActionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteCustomActionCommand");var de_DeleteMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteMicrosoftTeamsChannelConfigurationCommand");var de_DeleteMicrosoftTeamsConfiguredTeamCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteMicrosoftTeamsConfiguredTeamCommand");var de_DeleteMicrosoftTeamsUserIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteMicrosoftTeamsUserIdentityCommand");var de_DeleteSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteSlackChannelConfigurationCommand");var de_DeleteSlackUserIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteSlackUserIdentityCommand");var de_DeleteSlackWorkspaceAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DeleteSlackWorkspaceAuthorizationCommand");var de_DescribeChimeWebhookConfigurationsCommand = /* @__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,    WebhookConfigurations: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeChimeWebhookConfigurationsCommand");var de_DescribeSlackChannelConfigurationsCommand = /* @__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,    SlackChannelConfigurations: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeSlackChannelConfigurationsCommand");var de_DescribeSlackUserIdentitiesCommand = /* @__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,    SlackUserIdentities: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeSlackUserIdentitiesCommand");var de_DescribeSlackWorkspacesCommand = /* @__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,    SlackWorkspaces: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeSlackWorkspacesCommand");var de_DisassociateFromConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && 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_DisassociateFromConfigurationCommand");var de_GetAccountPreferencesCommand = /* @__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, {    AccountPreferences: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetAccountPreferencesCommand");var de_GetCustomActionCommand = /* @__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, {    CustomAction: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetCustomActionCommand");var de_GetMicrosoftTeamsChannelConfigurationCommand = /* @__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, {    ChannelConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetMicrosoftTeamsChannelConfigurationCommand");var de_ListAssociationsCommand = /* @__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, {    Associations: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListAssociationsCommand");var de_ListCustomActionsCommand = /* @__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, {    CustomActions: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListCustomActionsCommand");var de_ListMicrosoftTeamsChannelConfigurationsCommand = /* @__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,    TeamChannelConfigurations: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListMicrosoftTeamsChannelConfigurationsCommand");var de_ListMicrosoftTeamsConfiguredTeamsCommand = /* @__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, {    ConfiguredTeams: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListMicrosoftTeamsConfiguredTeamsCommand");var de_ListMicrosoftTeamsUserIdentitiesCommand = /* @__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,    TeamsUserIdentities: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListMicrosoftTeamsUserIdentitiesCommand");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_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_UpdateAccountPreferencesCommand = /* @__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, {    AccountPreferences: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateAccountPreferencesCommand");var de_UpdateChimeWebhookConfigurationCommand = /* @__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, {    WebhookConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateChimeWebhookConfigurationCommand");var de_UpdateCustomActionCommand = /* @__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, {    CustomActionArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateCustomActionCommand");var de_UpdateMicrosoftTeamsChannelConfigurationCommand = /* @__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, {    ChannelConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateMicrosoftTeamsChannelConfigurationCommand");var de_UpdateSlackChannelConfigurationCommand = /* @__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, {    ChannelConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateSlackChannelConfigurationCommand");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 "InternalServiceError":    case "com.amazonaws.chatbot#InternalServiceError":      throw await de_InternalServiceErrorRes(parsedOutput, context);    case "InvalidRequestException":    case "com.amazonaws.chatbot#InvalidRequestException":      throw await de_InvalidRequestExceptionRes(parsedOutput, context);    case "UnauthorizedException":    case "com.amazonaws.chatbot#UnauthorizedException":      throw await de_UnauthorizedExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.chatbot#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "CreateChimeWebhookConfigurationException":    case "com.amazonaws.chatbot#CreateChimeWebhookConfigurationException":      throw await de_CreateChimeWebhookConfigurationExceptionRes(parsedOutput, context);    case "InvalidParameterException":    case "com.amazonaws.chatbot#InvalidParameterException":      throw await de_InvalidParameterExceptionRes(parsedOutput, context);    case "LimitExceededException":    case "com.amazonaws.chatbot#LimitExceededException":      throw await de_LimitExceededExceptionRes(parsedOutput, context);    case "CreateTeamsChannelConfigurationException":    case "com.amazonaws.chatbot#CreateTeamsChannelConfigurationException":      throw await de_CreateTeamsChannelConfigurationExceptionRes(parsedOutput, context);    case "CreateSlackChannelConfigurationException":    case "com.amazonaws.chatbot#CreateSlackChannelConfigurationException":      throw await de_CreateSlackChannelConfigurationExceptionRes(parsedOutput, context);    case "DeleteChimeWebhookConfigurationException":    case "com.amazonaws.chatbot#DeleteChimeWebhookConfigurationException":      throw await de_DeleteChimeWebhookConfigurationExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.chatbot#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "DeleteTeamsChannelConfigurationException":    case "com.amazonaws.chatbot#DeleteTeamsChannelConfigurationException":      throw await de_DeleteTeamsChannelConfigurationExceptionRes(parsedOutput, context);    case "DeleteTeamsConfiguredTeamException":    case "com.amazonaws.chatbot#DeleteTeamsConfiguredTeamException":      throw await de_DeleteTeamsConfiguredTeamExceptionRes(parsedOutput, context);    case "DeleteMicrosoftTeamsUserIdentityException":    case "com.amazonaws.chatbot#DeleteMicrosoftTeamsUserIdentityException":      throw await de_DeleteMicrosoftTeamsUserIdentityExceptionRes(parsedOutput, context);    case "DeleteSlackChannelConfigurationException":    case "com.amazonaws.chatbot#DeleteSlackChannelConfigurationException":      throw await de_DeleteSlackChannelConfigurationExceptionRes(parsedOutput, context);    case "DeleteSlackUserIdentityException":    case "com.amazonaws.chatbot#DeleteSlackUserIdentityException":      throw await de_DeleteSlackUserIdentityExceptionRes(parsedOutput, context);    case "DeleteSlackWorkspaceAuthorizationFault":    case "com.amazonaws.chatbot#DeleteSlackWorkspaceAuthorizationFault":      throw await de_DeleteSlackWorkspaceAuthorizationFaultRes(parsedOutput, context);    case "DescribeChimeWebhookConfigurationsException":    case "com.amazonaws.chatbot#DescribeChimeWebhookConfigurationsException":      throw await de_DescribeChimeWebhookConfigurationsExceptionRes(parsedOutput, context);    case "DescribeSlackChannelConfigurationsException":    case "com.amazonaws.chatbot#DescribeSlackChannelConfigurationsException":      throw await de_DescribeSlackChannelConfigurationsExceptionRes(parsedOutput, context);    case "DescribeSlackUserIdentitiesException":    case "com.amazonaws.chatbot#DescribeSlackUserIdentitiesException":      throw await de_DescribeSlackUserIdentitiesExceptionRes(parsedOutput, context);    case "DescribeSlackWorkspacesException":    case "com.amazonaws.chatbot#DescribeSlackWorkspacesException":      throw await de_DescribeSlackWorkspacesExceptionRes(parsedOutput, context);    case "GetAccountPreferencesException":    case "com.amazonaws.chatbot#GetAccountPreferencesException":      throw await de_GetAccountPreferencesExceptionRes(parsedOutput, context);    case "GetTeamsChannelConfigurationException":    case "com.amazonaws.chatbot#GetTeamsChannelConfigurationException":      throw await de_GetTeamsChannelConfigurationExceptionRes(parsedOutput, context);    case "ListTeamsChannelConfigurationsException":    case "com.amazonaws.chatbot#ListTeamsChannelConfigurationsException":      throw await de_ListTeamsChannelConfigurationsExceptionRes(parsedOutput, context);    case "ListMicrosoftTeamsConfiguredTeamsException":    case "com.amazonaws.chatbot#ListMicrosoftTeamsConfiguredTeamsException":      throw await de_ListMicrosoftTeamsConfiguredTeamsExceptionRes(parsedOutput, context);    case "ListMicrosoftTeamsUserIdentitiesException":    case "com.amazonaws.chatbot#ListMicrosoftTeamsUserIdentitiesException":      throw await de_ListMicrosoftTeamsUserIdentitiesExceptionRes(parsedOutput, context);    case "ServiceUnavailableException":    case "com.amazonaws.chatbot#ServiceUnavailableException":      throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);    case "TooManyTagsException":    case "com.amazonaws.chatbot#TooManyTagsException":      throw await de_TooManyTagsExceptionRes(parsedOutput, context);    case "UpdateAccountPreferencesException":    case "com.amazonaws.chatbot#UpdateAccountPreferencesException":      throw await de_UpdateAccountPreferencesExceptionRes(parsedOutput, context);    case "UpdateChimeWebhookConfigurationException":    case "com.amazonaws.chatbot#UpdateChimeWebhookConfigurationException":      throw await de_UpdateChimeWebhookConfigurationExceptionRes(parsedOutput, context);    case "UpdateTeamsChannelConfigurationException":    case "com.amazonaws.chatbot#UpdateTeamsChannelConfigurationException":      throw await de_UpdateTeamsChannelConfigurationExceptionRes(parsedOutput, context);    case "UpdateSlackChannelConfigurationException":    case "com.amazonaws.chatbot#UpdateSlackChannelConfigurationException":      throw await de_UpdateSlackChannelConfigurationExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(ChatbotServiceException);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  });  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_CreateChimeWebhookConfigurationExceptionRes = /* @__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 CreateChimeWebhookConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_CreateChimeWebhookConfigurationExceptionRes");var de_CreateSlackChannelConfigurationExceptionRes = /* @__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 CreateSlackChannelConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_CreateSlackChannelConfigurationExceptionRes");var de_CreateTeamsChannelConfigurationExceptionRes = /* @__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 CreateTeamsChannelConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_CreateTeamsChannelConfigurationExceptionRes");var de_DeleteChimeWebhookConfigurationExceptionRes = /* @__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 DeleteChimeWebhookConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeleteChimeWebhookConfigurationExceptionRes");var de_DeleteMicrosoftTeamsUserIdentityExceptionRes = /* @__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 DeleteMicrosoftTeamsUserIdentityException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeleteMicrosoftTeamsUserIdentityExceptionRes");var de_DeleteSlackChannelConfigurationExceptionRes = /* @__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 DeleteSlackChannelConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeleteSlackChannelConfigurationExceptionRes");var de_DeleteSlackUserIdentityExceptionRes = /* @__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 DeleteSlackUserIdentityException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeleteSlackUserIdentityExceptionRes");var de_DeleteSlackWorkspaceAuthorizationFaultRes = /* @__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 DeleteSlackWorkspaceAuthorizationFault({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeleteSlackWorkspaceAuthorizationFaultRes");var de_DeleteTeamsChannelConfigurationExceptionRes = /* @__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 DeleteTeamsChannelConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeleteTeamsChannelConfigurationExceptionRes");var de_DeleteTeamsConfiguredTeamExceptionRes = /* @__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 DeleteTeamsConfiguredTeamException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeleteTeamsConfiguredTeamExceptionRes");var de_DescribeChimeWebhookConfigurationsExceptionRes = /* @__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 DescribeChimeWebhookConfigurationsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DescribeChimeWebhookConfigurationsExceptionRes");var de_DescribeSlackChannelConfigurationsExceptionRes = /* @__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 DescribeSlackChannelConfigurationsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DescribeSlackChannelConfigurationsExceptionRes");var de_DescribeSlackUserIdentitiesExceptionRes = /* @__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 DescribeSlackUserIdentitiesException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DescribeSlackUserIdentitiesExceptionRes");var de_DescribeSlackWorkspacesExceptionRes = /* @__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 DescribeSlackWorkspacesException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DescribeSlackWorkspacesExceptionRes");var de_GetAccountPreferencesExceptionRes = /* @__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 GetAccountPreferencesException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_GetAccountPreferencesExceptionRes");var de_GetTeamsChannelConfigurationExceptionRes = /* @__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 GetTeamsChannelConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_GetTeamsChannelConfigurationExceptionRes");var de_InternalServiceErrorRes = /* @__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 InternalServiceError({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServiceErrorRes");var de_InvalidParameterExceptionRes = /* @__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 InvalidParameterException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidParameterExceptionRes");var de_InvalidRequestExceptionRes = /* @__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 InvalidRequestException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidRequestExceptionRes");var de_LimitExceededExceptionRes = /* @__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 LimitExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_LimitExceededExceptionRes");var de_ListMicrosoftTeamsConfiguredTeamsExceptionRes = /* @__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 ListMicrosoftTeamsConfiguredTeamsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ListMicrosoftTeamsConfiguredTeamsExceptionRes");var de_ListMicrosoftTeamsUserIdentitiesExceptionRes = /* @__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 ListMicrosoftTeamsUserIdentitiesException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ListMicrosoftTeamsUserIdentitiesExceptionRes");var de_ListTeamsChannelConfigurationsExceptionRes = /* @__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 ListTeamsChannelConfigurationsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ListTeamsChannelConfigurationsExceptionRes");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  });  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_ServiceUnavailableExceptionRes = /* @__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 ServiceUnavailableException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceUnavailableExceptionRes");var de_TooManyTagsExceptionRes = /* @__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 TooManyTagsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyTagsExceptionRes");var de_UnauthorizedExceptionRes = /* @__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 UnauthorizedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UnauthorizedExceptionRes");var de_UpdateAccountPreferencesExceptionRes = /* @__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 UpdateAccountPreferencesException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UpdateAccountPreferencesExceptionRes");var de_UpdateChimeWebhookConfigurationExceptionRes = /* @__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 UpdateChimeWebhookConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UpdateChimeWebhookConfigurationExceptionRes");var de_UpdateSlackChannelConfigurationExceptionRes = /* @__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 UpdateSlackChannelConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UpdateSlackChannelConfigurationExceptionRes");var de_UpdateTeamsChannelConfigurationExceptionRes = /* @__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 UpdateTeamsChannelConfigurationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UpdateTeamsChannelConfigurationExceptionRes");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"); // src/commands/AssociateToConfigurationCommand.tsvar AssociateToConfigurationCommand = 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("WheatleyOrchestration_20171011", "AssociateToConfiguration", {}).n("ChatbotClient", "AssociateToConfigurationCommand").f(void 0, void 0).ser(se_AssociateToConfigurationCommand).de(de_AssociateToConfigurationCommand).build() {  static {    __name(this, "AssociateToConfigurationCommand");  }}; // src/commands/CreateChimeWebhookConfigurationCommand.ts   var CreateChimeWebhookConfigurationCommand = 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("WheatleyOrchestration_20171011", "CreateChimeWebhookConfiguration", {}).n("ChatbotClient", "CreateChimeWebhookConfigurationCommand").f(CreateChimeWebhookConfigurationRequestFilterSensitiveLog, CreateChimeWebhookConfigurationResultFilterSensitiveLog).ser(se_CreateChimeWebhookConfigurationCommand).de(de_CreateChimeWebhookConfigurationCommand).build() {  static {    __name(this, "CreateChimeWebhookConfigurationCommand");  }}; // src/commands/CreateCustomActionCommand.ts   var CreateCustomActionCommand = 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("WheatleyOrchestration_20171011", "CreateCustomAction", {}).n("ChatbotClient", "CreateCustomActionCommand").f(void 0, void 0).ser(se_CreateCustomActionCommand).de(de_CreateCustomActionCommand).build() {  static {    __name(this, "CreateCustomActionCommand");  }}; // src/commands/CreateMicrosoftTeamsChannelConfigurationCommand.ts   var CreateMicrosoftTeamsChannelConfigurationCommand = 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("WheatleyOrchestration_20171011", "CreateMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "CreateMicrosoftTeamsChannelConfigurationCommand").f(CreateTeamsChannelConfigurationRequestFilterSensitiveLog, CreateTeamsChannelConfigurationResultFilterSensitiveLog).ser(se_CreateMicrosoftTeamsChannelConfigurationCommand).de(de_CreateMicrosoftTeamsChannelConfigurationCommand).build() {  static {    __name(this, "CreateMicrosoftTeamsChannelConfigurationCommand");  }}; // src/commands/CreateSlackChannelConfigurationCommand.ts   var CreateSlackChannelConfigurationCommand = 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("WheatleyOrchestration_20171011", "CreateSlackChannelConfiguration", {}).n("ChatbotClient", "CreateSlackChannelConfigurationCommand").f(CreateSlackChannelConfigurationRequestFilterSensitiveLog, CreateSlackChannelConfigurationResultFilterSensitiveLog).ser(se_CreateSlackChannelConfigurationCommand).de(de_CreateSlackChannelConfigurationCommand).build() {  static {    __name(this, "CreateSlackChannelConfigurationCommand");  }}; // src/commands/DeleteChimeWebhookConfigurationCommand.ts   var DeleteChimeWebhookConfigurationCommand = 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("WheatleyOrchestration_20171011", "DeleteChimeWebhookConfiguration", {}).n("ChatbotClient", "DeleteChimeWebhookConfigurationCommand").f(void 0, void 0).ser(se_DeleteChimeWebhookConfigurationCommand).de(de_DeleteChimeWebhookConfigurationCommand).build() {  static {    __name(this, "DeleteChimeWebhookConfigurationCommand");  }}; // src/commands/DeleteCustomActionCommand.ts   var DeleteCustomActionCommand = 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("WheatleyOrchestration_20171011", "DeleteCustomAction", {}).n("ChatbotClient", "DeleteCustomActionCommand").f(void 0, void 0).ser(se_DeleteCustomActionCommand).de(de_DeleteCustomActionCommand).build() {  static {    __name(this, "DeleteCustomActionCommand");  }}; // src/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.ts   var DeleteMicrosoftTeamsChannelConfigurationCommand = 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("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "DeleteMicrosoftTeamsChannelConfigurationCommand").f(void 0, void 0).ser(se_DeleteMicrosoftTeamsChannelConfigurationCommand).de(de_DeleteMicrosoftTeamsChannelConfigurationCommand).build() {  static {    __name(this, "DeleteMicrosoftTeamsChannelConfigurationCommand");  }}; // src/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.ts   var DeleteMicrosoftTeamsConfiguredTeamCommand = 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("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsConfiguredTeam", {}).n("ChatbotClient", "DeleteMicrosoftTeamsConfiguredTeamCommand").f(void 0, void 0).ser(se_DeleteMicrosoftTeamsConfiguredTeamCommand).de(de_DeleteMicrosoftTeamsConfiguredTeamCommand).build() {  static {    __name(this, "DeleteMicrosoftTeamsConfiguredTeamCommand");  }}; // src/commands/DeleteMicrosoftTeamsUserIdentityCommand.ts   var DeleteMicrosoftTeamsUserIdentityCommand = 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("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsUserIdentity", {}).n("ChatbotClient", "DeleteMicrosoftTeamsUserIdentityCommand").f(void 0, void 0).ser(se_DeleteMicrosoftTeamsUserIdentityCommand).de(de_DeleteMicrosoftTeamsUserIdentityCommand).build() {  static {    __name(this, "DeleteMicrosoftTeamsUserIdentityCommand");  }}; // src/commands/DeleteSlackChannelConfigurationCommand.ts   var DeleteSlackChannelConfigurationCommand = 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("WheatleyOrchestration_20171011", "DeleteSlackChannelConfiguration", {}).n("ChatbotClient", "DeleteSlackChannelConfigurationCommand").f(void 0, void 0).ser(se_DeleteSlackChannelConfigurationCommand).de(de_DeleteSlackChannelConfigurationCommand).build() {  static {    __name(this, "DeleteSlackChannelConfigurationCommand");  }}; // src/commands/DeleteSlackUserIdentityCommand.ts   var DeleteSlackUserIdentityCommand = 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("WheatleyOrchestration_20171011", "DeleteSlackUserIdentity", {}).n("ChatbotClient", "DeleteSlackUserIdentityCommand").f(void 0, void 0).ser(se_DeleteSlackUserIdentityCommand).de(de_DeleteSlackUserIdentityCommand).build() {  static {    __name(this, "DeleteSlackUserIdentityCommand");  }}; // src/commands/DeleteSlackWorkspaceAuthorizationCommand.ts   var DeleteSlackWorkspaceAuthorizationCommand = 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("WheatleyOrchestration_20171011", "DeleteSlackWorkspaceAuthorization", {}).n("ChatbotClient", "DeleteSlackWorkspaceAuthorizationCommand").f(void 0, void 0).ser(se_DeleteSlackWorkspaceAuthorizationCommand).de(de_DeleteSlackWorkspaceAuthorizationCommand).build() {  static {    __name(this, "DeleteSlackWorkspaceAuthorizationCommand");  }}; // src/commands/DescribeChimeWebhookConfigurationsCommand.ts   var DescribeChimeWebhookConfigurationsCommand = 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("WheatleyOrchestration_20171011", "DescribeChimeWebhookConfigurations", {}).n("ChatbotClient", "DescribeChimeWebhookConfigurationsCommand").f(void 0, DescribeChimeWebhookConfigurationsResultFilterSensitiveLog).ser(se_DescribeChimeWebhookConfigurationsCommand).de(de_DescribeChimeWebhookConfigurationsCommand).build() {  static {    __name(this, "DescribeChimeWebhookConfigurationsCommand");  }}; // src/commands/DescribeSlackChannelConfigurationsCommand.ts   var DescribeSlackChannelConfigurationsCommand = 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("WheatleyOrchestration_20171011", "DescribeSlackChannelConfigurations", {}).n("ChatbotClient", "DescribeSlackChannelConfigurationsCommand").f(void 0, DescribeSlackChannelConfigurationsResultFilterSensitiveLog).ser(se_DescribeSlackChannelConfigurationsCommand).de(de_DescribeSlackChannelConfigurationsCommand).build() {  static {    __name(this, "DescribeSlackChannelConfigurationsCommand");  }}; // src/commands/DescribeSlackUserIdentitiesCommand.ts   var DescribeSlackUserIdentitiesCommand = 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("WheatleyOrchestration_20171011", "DescribeSlackUserIdentities", {}).n("ChatbotClient", "DescribeSlackUserIdentitiesCommand").f(void 0, void 0).ser(se_DescribeSlackUserIdentitiesCommand).de(de_DescribeSlackUserIdentitiesCommand).build() {  static {    __name(this, "DescribeSlackUserIdentitiesCommand");  }}; // src/commands/DescribeSlackWorkspacesCommand.ts   var DescribeSlackWorkspacesCommand = 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("WheatleyOrchestration_20171011", "DescribeSlackWorkspaces", {}).n("ChatbotClient", "DescribeSlackWorkspacesCommand").f(void 0, void 0).ser(se_DescribeSlackWorkspacesCommand).de(de_DescribeSlackWorkspacesCommand).build() {  static {    __name(this, "DescribeSlackWorkspacesCommand");  }}; // src/commands/DisassociateFromConfigurationCommand.ts   var DisassociateFromConfigurationCommand = 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("WheatleyOrchestration_20171011", "DisassociateFromConfiguration", {}).n("ChatbotClient", "DisassociateFromConfigurationCommand").f(void 0, void 0).ser(se_DisassociateFromConfigurationCommand).de(de_DisassociateFromConfigurationCommand).build() {  static {    __name(this, "DisassociateFromConfigurationCommand");  }}; // src/commands/GetAccountPreferencesCommand.ts   var GetAccountPreferencesCommand = 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("WheatleyOrchestration_20171011", "GetAccountPreferences", {}).n("ChatbotClient", "GetAccountPreferencesCommand").f(void 0, void 0).ser(se_GetAccountPreferencesCommand).de(de_GetAccountPreferencesCommand).build() {  static {    __name(this, "GetAccountPreferencesCommand");  }}; // src/commands/GetCustomActionCommand.ts   var GetCustomActionCommand = 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("WheatleyOrchestration_20171011", "GetCustomAction", {}).n("ChatbotClient", "GetCustomActionCommand").f(void 0, void 0).ser(se_GetCustomActionCommand).de(de_GetCustomActionCommand).build() {  static {    __name(this, "GetCustomActionCommand");  }}; // src/commands/GetMicrosoftTeamsChannelConfigurationCommand.ts   var GetMicrosoftTeamsChannelConfigurationCommand = 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("WheatleyOrchestration_20171011", "GetMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "GetMicrosoftTeamsChannelConfigurationCommand").f(void 0, GetTeamsChannelConfigurationResultFilterSensitiveLog).ser(se_GetMicrosoftTeamsChannelConfigurationCommand).de(de_GetMicrosoftTeamsChannelConfigurationCommand).build() {  static {    __name(this, "GetMicrosoftTeamsChannelConfigurationCommand");  }}; // src/commands/ListAssociationsCommand.ts   var ListAssociationsCommand = 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("WheatleyOrchestration_20171011", "ListAssociations", {}).n("ChatbotClient", "ListAssociationsCommand").f(void 0, void 0).ser(se_ListAssociationsCommand).de(de_ListAssociationsCommand).build() {  static {    __name(this, "ListAssociationsCommand");  }}; // src/commands/ListCustomActionsCommand.ts   var ListCustomActionsCommand = 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("WheatleyOrchestration_20171011", "ListCustomActions", {}).n("ChatbotClient", "ListCustomActionsCommand").f(void 0, void 0).ser(se_ListCustomActionsCommand).de(de_ListCustomActionsCommand).build() {  static {    __name(this, "ListCustomActionsCommand");  }}; // src/commands/ListMicrosoftTeamsChannelConfigurationsCommand.ts   var ListMicrosoftTeamsChannelConfigurationsCommand = 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("WheatleyOrchestration_20171011", "ListMicrosoftTeamsChannelConfigurations", {}).n("ChatbotClient", "ListMicrosoftTeamsChannelConfigurationsCommand").f(void 0, ListTeamsChannelConfigurationsResultFilterSensitiveLog).ser(se_ListMicrosoftTeamsChannelConfigurationsCommand).de(de_ListMicrosoftTeamsChannelConfigurationsCommand).build() {  static {    __name(this, "ListMicrosoftTeamsChannelConfigurationsCommand");  }}; // src/commands/ListMicrosoftTeamsConfiguredTeamsCommand.ts   var ListMicrosoftTeamsConfiguredTeamsCommand = 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("WheatleyOrchestration_20171011", "ListMicrosoftTeamsConfiguredTeams", {}).n("ChatbotClient", "ListMicrosoftTeamsConfiguredTeamsCommand").f(void 0, void 0).ser(se_ListMicrosoftTeamsConfiguredTeamsCommand).de(de_ListMicrosoftTeamsConfiguredTeamsCommand).build() {  static {    __name(this, "ListMicrosoftTeamsConfiguredTeamsCommand");  }}; // src/commands/ListMicrosoftTeamsUserIdentitiesCommand.ts   var ListMicrosoftTeamsUserIdentitiesCommand = 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("WheatleyOrchestration_20171011", "ListMicrosoftTeamsUserIdentities", {}).n("ChatbotClient", "ListMicrosoftTeamsUserIdentitiesCommand").f(void 0, void 0).ser(se_ListMicrosoftTeamsUserIdentitiesCommand).de(de_ListMicrosoftTeamsUserIdentitiesCommand).build() {  static {    __name(this, "ListMicrosoftTeamsUserIdentitiesCommand");  }}; // 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("WheatleyOrchestration_20171011", "ListTagsForResource", {}).n("ChatbotClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // 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("WheatleyOrchestration_20171011", "TagResource", {}).n("ChatbotClient", "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("WheatleyOrchestration_20171011", "UntagResource", {}).n("ChatbotClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateAccountPreferencesCommand.ts   var UpdateAccountPreferencesCommand = 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("WheatleyOrchestration_20171011", "UpdateAccountPreferences", {}).n("ChatbotClient", "UpdateAccountPreferencesCommand").f(void 0, void 0).ser(se_UpdateAccountPreferencesCommand).de(de_UpdateAccountPreferencesCommand).build() {  static {    __name(this, "UpdateAccountPreferencesCommand");  }}; // src/commands/UpdateChimeWebhookConfigurationCommand.ts   var UpdateChimeWebhookConfigurationCommand = 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("WheatleyOrchestration_20171011", "UpdateChimeWebhookConfiguration", {}).n("ChatbotClient", "UpdateChimeWebhookConfigurationCommand").f(UpdateChimeWebhookConfigurationRequestFilterSensitiveLog, UpdateChimeWebhookConfigurationResultFilterSensitiveLog).ser(se_UpdateChimeWebhookConfigurationCommand).de(de_UpdateChimeWebhookConfigurationCommand).build() {  static {    __name(this, "UpdateChimeWebhookConfigurationCommand");  }}; // src/commands/UpdateCustomActionCommand.ts   var UpdateCustomActionCommand = 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("WheatleyOrchestration_20171011", "UpdateCustomAction", {}).n("ChatbotClient", "UpdateCustomActionCommand").f(void 0, void 0).ser(se_UpdateCustomActionCommand).de(de_UpdateCustomActionCommand).build() {  static {    __name(this, "UpdateCustomActionCommand");  }}; // src/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.ts   var UpdateMicrosoftTeamsChannelConfigurationCommand = 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("WheatleyOrchestration_20171011", "UpdateMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "UpdateMicrosoftTeamsChannelConfigurationCommand").f(UpdateTeamsChannelConfigurationRequestFilterSensitiveLog, UpdateTeamsChannelConfigurationResultFilterSensitiveLog).ser(se_UpdateMicrosoftTeamsChannelConfigurationCommand).de(de_UpdateMicrosoftTeamsChannelConfigurationCommand).build() {  static {    __name(this, "UpdateMicrosoftTeamsChannelConfigurationCommand");  }}; // src/commands/UpdateSlackChannelConfigurationCommand.ts   var UpdateSlackChannelConfigurationCommand = 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("WheatleyOrchestration_20171011", "UpdateSlackChannelConfiguration", {}).n("ChatbotClient", "UpdateSlackChannelConfigurationCommand").f(UpdateSlackChannelConfigurationRequestFilterSensitiveLog, UpdateSlackChannelConfigurationResultFilterSensitiveLog).ser(se_UpdateSlackChannelConfigurationCommand).de(de_UpdateSlackChannelConfigurationCommand).build() {  static {    __name(this, "UpdateSlackChannelConfigurationCommand");  }}; // src/Chatbot.tsvar commands = {  AssociateToConfigurationCommand,  CreateChimeWebhookConfigurationCommand,  CreateCustomActionCommand,  CreateMicrosoftTeamsChannelConfigurationCommand,  CreateSlackChannelConfigurationCommand,  DeleteChimeWebhookConfigurationCommand,  DeleteCustomActionCommand,  DeleteMicrosoftTeamsChannelConfigurationCommand,  DeleteMicrosoftTeamsConfiguredTeamCommand,  DeleteMicrosoftTeamsUserIdentityCommand,  DeleteSlackChannelConfigurationCommand,  DeleteSlackUserIdentityCommand,  DeleteSlackWorkspaceAuthorizationCommand,  DescribeChimeWebhookConfigurationsCommand,  DescribeSlackChannelConfigurationsCommand,  DescribeSlackUserIdentitiesCommand,  DescribeSlackWorkspacesCommand,  DisassociateFromConfigurationCommand,  GetAccountPreferencesCommand,  GetCustomActionCommand,  GetMicrosoftTeamsChannelConfigurationCommand,  ListAssociationsCommand,  ListCustomActionsCommand,  ListMicrosoftTeamsChannelConfigurationsCommand,  ListMicrosoftTeamsConfiguredTeamsCommand,  ListMicrosoftTeamsUserIdentitiesCommand,  ListTagsForResourceCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateAccountPreferencesCommand,  UpdateChimeWebhookConfigurationCommand,  UpdateCustomActionCommand,  UpdateMicrosoftTeamsChannelConfigurationCommand,  UpdateSlackChannelConfigurationCommand};var Chatbot = class extends ChatbotClient {  static {    __name(this, "Chatbot");  }};(0, import_smithy_client.createAggregatedClient)(commands, Chatbot); // src/pagination/DescribeChimeWebhookConfigurationsPaginator.ts var paginateDescribeChimeWebhookConfigurations = (0, import_core.createPaginator)(ChatbotClient, DescribeChimeWebhookConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/DescribeSlackChannelConfigurationsPaginator.ts var paginateDescribeSlackChannelConfigurations = (0, import_core.createPaginator)(ChatbotClient, DescribeSlackChannelConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/DescribeSlackUserIdentitiesPaginator.ts var paginateDescribeSlackUserIdentities = (0, import_core.createPaginator)(ChatbotClient, DescribeSlackUserIdentitiesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/DescribeSlackWorkspacesPaginator.ts var paginateDescribeSlackWorkspaces = (0, import_core.createPaginator)(ChatbotClient, DescribeSlackWorkspacesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAssociationsPaginator.ts var paginateListAssociations = (0, import_core.createPaginator)(ChatbotClient, ListAssociationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCustomActionsPaginator.ts var paginateListCustomActions = (0, import_core.createPaginator)(ChatbotClient, ListCustomActionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.ts var paginateListMicrosoftTeamsChannelConfigurations = (0, import_core.createPaginator)(ChatbotClient, ListMicrosoftTeamsChannelConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.ts var paginateListMicrosoftTeamsConfiguredTeams = (0, import_core.createPaginator)(ChatbotClient, ListMicrosoftTeamsConfiguredTeamsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.ts var paginateListMicrosoftTeamsUserIdentities = (0, import_core.createPaginator)(ChatbotClient, ListMicrosoftTeamsUserIdentitiesCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  ChatbotServiceException,  __Client,  ChatbotClient,  Chatbot,  $Command,  AssociateToConfigurationCommand,  CreateChimeWebhookConfigurationCommand,  CreateCustomActionCommand,  CreateMicrosoftTeamsChannelConfigurationCommand,  CreateSlackChannelConfigurationCommand,  DeleteChimeWebhookConfigurationCommand,  DeleteCustomActionCommand,  DeleteMicrosoftTeamsChannelConfigurationCommand,  DeleteMicrosoftTeamsConfiguredTeamCommand,  DeleteMicrosoftTeamsUserIdentityCommand,  DeleteSlackChannelConfigurationCommand,  DeleteSlackUserIdentityCommand,  DeleteSlackWorkspaceAuthorizationCommand,  DescribeChimeWebhookConfigurationsCommand,  DescribeSlackChannelConfigurationsCommand,  DescribeSlackUserIdentitiesCommand,  DescribeSlackWorkspacesCommand,  DisassociateFromConfigurationCommand,  GetAccountPreferencesCommand,  GetCustomActionCommand,  GetMicrosoftTeamsChannelConfigurationCommand,  ListAssociationsCommand,  ListCustomActionsCommand,  ListMicrosoftTeamsChannelConfigurationsCommand,  ListMicrosoftTeamsConfiguredTeamsCommand,  ListMicrosoftTeamsUserIdentitiesCommand,  ListTagsForResourceCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateAccountPreferencesCommand,  UpdateChimeWebhookConfigurationCommand,  UpdateCustomActionCommand,  UpdateMicrosoftTeamsChannelConfigurationCommand,  UpdateSlackChannelConfigurationCommand,  paginateDescribeChimeWebhookConfigurations,  paginateDescribeSlackChannelConfigurations,  paginateDescribeSlackUserIdentities,  paginateDescribeSlackWorkspaces,  paginateListAssociations,  paginateListCustomActions,  paginateListMicrosoftTeamsChannelConfigurations,  paginateListMicrosoftTeamsConfiguredTeams,  paginateListMicrosoftTeamsUserIdentities,  InternalServiceError,  InvalidRequestException,  UnauthorizedException,  ConflictException,  CreateChimeWebhookConfigurationException,  InvalidParameterException,  LimitExceededException,  CustomActionAttachmentCriteriaOperator,  CreateTeamsChannelConfigurationException,  CreateSlackChannelConfigurationException,  ResourceNotFoundException,  DeleteChimeWebhookConfigurationException,  DeleteTeamsChannelConfigurationException,  DeleteTeamsConfiguredTeamException,  DeleteMicrosoftTeamsUserIdentityException,  DeleteSlackChannelConfigurationException,  DeleteSlackUserIdentityException,  DeleteSlackWorkspaceAuthorizationFault,  DescribeChimeWebhookConfigurationsException,  DescribeSlackChannelConfigurationsException,  DescribeSlackUserIdentitiesException,  DescribeSlackWorkspacesException,  GetAccountPreferencesException,  GetTeamsChannelConfigurationException,  ListTeamsChannelConfigurationsException,  ListMicrosoftTeamsConfiguredTeamsException,  ListMicrosoftTeamsUserIdentitiesException,  ServiceUnavailableException,  TooManyTagsException,  UpdateAccountPreferencesException,  UpdateChimeWebhookConfigurationException,  UpdateTeamsChannelConfigurationException,  UpdateSlackChannelConfigurationException,  ChimeWebhookConfigurationFilterSensitiveLog,  CreateChimeWebhookConfigurationRequestFilterSensitiveLog,  CreateChimeWebhookConfigurationResultFilterSensitiveLog,  CreateTeamsChannelConfigurationRequestFilterSensitiveLog,  TeamsChannelConfigurationFilterSensitiveLog,  CreateTeamsChannelConfigurationResultFilterSensitiveLog,  CreateSlackChannelConfigurationRequestFilterSensitiveLog,  SlackChannelConfigurationFilterSensitiveLog,  CreateSlackChannelConfigurationResultFilterSensitiveLog,  DescribeChimeWebhookConfigurationsResultFilterSensitiveLog,  DescribeSlackChannelConfigurationsResultFilterSensitiveLog,  GetTeamsChannelConfigurationResultFilterSensitiveLog,  ListTeamsChannelConfigurationsResultFilterSensitiveLog,  UpdateChimeWebhookConfigurationRequestFilterSensitiveLog,  UpdateChimeWebhookConfigurationResultFilterSensitiveLog,  UpdateTeamsChannelConfigurationRequestFilterSensitiveLog,  UpdateTeamsChannelConfigurationResultFilterSensitiveLog,  UpdateSlackChannelConfigurationRequestFilterSensitiveLog,  UpdateSlackChannelConfigurationResultFilterSensitiveLog});