File Explorer

/var/runtime/node_modules/@aws-sdk/client-support/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.js54.1 KB · 1324 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, {  AddAttachmentsToSetCommand: () => AddAttachmentsToSetCommand,  AddCommunicationToCaseCommand: () => AddCommunicationToCaseCommand,  AttachmentIdNotFound: () => AttachmentIdNotFound,  AttachmentLimitExceeded: () => AttachmentLimitExceeded,  AttachmentSetExpired: () => AttachmentSetExpired,  AttachmentSetIdNotFound: () => AttachmentSetIdNotFound,  AttachmentSetSizeLimitExceeded: () => AttachmentSetSizeLimitExceeded,  CaseCreationLimitExceeded: () => CaseCreationLimitExceeded,  CaseIdNotFound: () => CaseIdNotFound,  CreateCaseCommand: () => CreateCaseCommand,  DescribeAttachmentCommand: () => DescribeAttachmentCommand,  DescribeAttachmentLimitExceeded: () => DescribeAttachmentLimitExceeded,  DescribeCasesCommand: () => DescribeCasesCommand,  DescribeCommunicationsCommand: () => DescribeCommunicationsCommand,  DescribeCreateCaseOptionsCommand: () => DescribeCreateCaseOptionsCommand,  DescribeServicesCommand: () => DescribeServicesCommand,  DescribeSeverityLevelsCommand: () => DescribeSeverityLevelsCommand,  DescribeSupportedLanguagesCommand: () => DescribeSupportedLanguagesCommand,  DescribeTrustedAdvisorCheckRefreshStatusesCommand: () => DescribeTrustedAdvisorCheckRefreshStatusesCommand,  DescribeTrustedAdvisorCheckResultCommand: () => DescribeTrustedAdvisorCheckResultCommand,  DescribeTrustedAdvisorCheckSummariesCommand: () => DescribeTrustedAdvisorCheckSummariesCommand,  DescribeTrustedAdvisorChecksCommand: () => DescribeTrustedAdvisorChecksCommand,  InternalServerError: () => InternalServerError,  RefreshTrustedAdvisorCheckCommand: () => RefreshTrustedAdvisorCheckCommand,  ResolveCaseCommand: () => ResolveCaseCommand,  Support: () => Support,  SupportClient: () => SupportClient,  SupportServiceException: () => SupportServiceException,  ThrottlingException: () => ThrottlingException,  __Client: () => import_smithy_client.Client,  paginateDescribeCases: () => paginateDescribeCases,  paginateDescribeCommunications: () => paginateDescribeCommunications});module.exports = __toCommonJS(index_exports); // src/SupportClient.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: "support"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/SupportClient.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/SupportClient.tsvar SupportClient = class extends import_smithy_client.Client {  static {    __name(this, "SupportClient");  }  /**   * The resolved configuration of SupportClient class. This is resolved and normalized from the {@link SupportClientConfig | 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.defaultSupportHttpAuthSchemeParametersProvider,        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/Support.ts  // src/commands/AddAttachmentsToSetCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_json1_1.tsvar import_core2 = require("@aws-sdk/core");   // src/models/SupportServiceException.ts var SupportServiceException = class _SupportServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "SupportServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _SupportServiceException.prototype);  }}; // src/models/models_0.tsvar AttachmentLimitExceeded = class _AttachmentLimitExceeded extends SupportServiceException {  static {    __name(this, "AttachmentLimitExceeded");  }  name = "AttachmentLimitExceeded";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AttachmentLimitExceeded",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AttachmentLimitExceeded.prototype);  }};var AttachmentSetExpired = class _AttachmentSetExpired extends SupportServiceException {  static {    __name(this, "AttachmentSetExpired");  }  name = "AttachmentSetExpired";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AttachmentSetExpired",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AttachmentSetExpired.prototype);  }};var AttachmentSetIdNotFound = class _AttachmentSetIdNotFound extends SupportServiceException {  static {    __name(this, "AttachmentSetIdNotFound");  }  name = "AttachmentSetIdNotFound";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AttachmentSetIdNotFound",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AttachmentSetIdNotFound.prototype);  }};var AttachmentSetSizeLimitExceeded = class _AttachmentSetSizeLimitExceeded extends SupportServiceException {  static {    __name(this, "AttachmentSetSizeLimitExceeded");  }  name = "AttachmentSetSizeLimitExceeded";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AttachmentSetSizeLimitExceeded",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AttachmentSetSizeLimitExceeded.prototype);  }};var InternalServerError = class _InternalServerError extends SupportServiceException {  static {    __name(this, "InternalServerError");  }  name = "InternalServerError";  $fault = "server";  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerError",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerError.prototype);  }};var CaseIdNotFound = class _CaseIdNotFound extends SupportServiceException {  static {    __name(this, "CaseIdNotFound");  }  name = "CaseIdNotFound";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "CaseIdNotFound",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _CaseIdNotFound.prototype);  }};var AttachmentIdNotFound = class _AttachmentIdNotFound extends SupportServiceException {  static {    __name(this, "AttachmentIdNotFound");  }  name = "AttachmentIdNotFound";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AttachmentIdNotFound",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AttachmentIdNotFound.prototype);  }};var CaseCreationLimitExceeded = class _CaseCreationLimitExceeded extends SupportServiceException {  static {    __name(this, "CaseCreationLimitExceeded");  }  name = "CaseCreationLimitExceeded";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "CaseCreationLimitExceeded",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _CaseCreationLimitExceeded.prototype);  }};var DescribeAttachmentLimitExceeded = class _DescribeAttachmentLimitExceeded extends SupportServiceException {  static {    __name(this, "DescribeAttachmentLimitExceeded");  }  name = "DescribeAttachmentLimitExceeded";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "DescribeAttachmentLimitExceeded",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _DescribeAttachmentLimitExceeded.prototype);  }};var ThrottlingException = class _ThrottlingException extends SupportServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);  }}; // src/protocols/Aws_json1_1.tsvar se_AddAttachmentsToSetCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("AddAttachmentsToSet");  let body;  body = JSON.stringify(se_AddAttachmentsToSetRequest(input, context));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_AddAttachmentsToSetCommand");var se_AddCommunicationToCaseCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("AddCommunicationToCase");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_AddCommunicationToCaseCommand");var se_CreateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateCase");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateCaseCommand");var se_DescribeAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeAttachment");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeAttachmentCommand");var se_DescribeCasesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeCases");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeCasesCommand");var se_DescribeCommunicationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeCommunications");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeCommunicationsCommand");var se_DescribeCreateCaseOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeCreateCaseOptions");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeCreateCaseOptionsCommand");var se_DescribeServicesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeServices");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeServicesCommand");var se_DescribeSeverityLevelsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeSeverityLevels");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeSeverityLevelsCommand");var se_DescribeSupportedLanguagesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeSupportedLanguages");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeSupportedLanguagesCommand");var se_DescribeTrustedAdvisorCheckRefreshStatusesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeTrustedAdvisorCheckRefreshStatuses");  let body;  body = JSON.stringify(se_DescribeTrustedAdvisorCheckRefreshStatusesRequest(input, context));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeTrustedAdvisorCheckRefreshStatusesCommand");var se_DescribeTrustedAdvisorCheckResultCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeTrustedAdvisorCheckResult");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeTrustedAdvisorCheckResultCommand");var se_DescribeTrustedAdvisorChecksCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeTrustedAdvisorChecks");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeTrustedAdvisorChecksCommand");var se_DescribeTrustedAdvisorCheckSummariesCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DescribeTrustedAdvisorCheckSummaries");  let body;  body = JSON.stringify(se_DescribeTrustedAdvisorCheckSummariesRequest(input, context));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeTrustedAdvisorCheckSummariesCommand");var se_RefreshTrustedAdvisorCheckCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("RefreshTrustedAdvisorCheck");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RefreshTrustedAdvisorCheckCommand");var se_ResolveCaseCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ResolveCase");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ResolveCaseCommand");var de_AddAttachmentsToSetCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_AddAttachmentsToSetCommand");var de_AddCommunicationToCaseCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_AddCommunicationToCaseCommand");var de_CreateCaseCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_CreateCaseCommand");var de_DescribeAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = de_DescribeAttachmentResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeAttachmentCommand");var de_DescribeCasesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeCasesCommand");var de_DescribeCommunicationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeCommunicationsCommand");var de_DescribeCreateCaseOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeCreateCaseOptionsCommand");var de_DescribeServicesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeServicesCommand");var de_DescribeSeverityLevelsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeSeverityLevelsCommand");var de_DescribeSupportedLanguagesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeSupportedLanguagesCommand");var de_DescribeTrustedAdvisorCheckRefreshStatusesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeTrustedAdvisorCheckRefreshStatusesCommand");var de_DescribeTrustedAdvisorCheckResultCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = de_DescribeTrustedAdvisorCheckResultResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeTrustedAdvisorCheckResultCommand");var de_DescribeTrustedAdvisorChecksCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = de_DescribeTrustedAdvisorChecksResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeTrustedAdvisorChecksCommand");var de_DescribeTrustedAdvisorCheckSummariesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = de_DescribeTrustedAdvisorCheckSummariesResponse(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_DescribeTrustedAdvisorCheckSummariesCommand");var de_RefreshTrustedAdvisorCheckCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_RefreshTrustedAdvisorCheckCommand");var de_ResolveCaseCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode >= 300) {    return de_CommandError(output, context);  }  const data = await (0, import_core2.parseJsonBody)(output.body, context);  let contents = {};  contents = (0, import_smithy_client._json)(data);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_ResolveCaseCommand");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 "AttachmentLimitExceeded":    case "com.amazonaws.support#AttachmentLimitExceeded":      throw await de_AttachmentLimitExceededRes(parsedOutput, context);    case "AttachmentSetExpired":    case "com.amazonaws.support#AttachmentSetExpired":      throw await de_AttachmentSetExpiredRes(parsedOutput, context);    case "AttachmentSetIdNotFound":    case "com.amazonaws.support#AttachmentSetIdNotFound":      throw await de_AttachmentSetIdNotFoundRes(parsedOutput, context);    case "AttachmentSetSizeLimitExceeded":    case "com.amazonaws.support#AttachmentSetSizeLimitExceeded":      throw await de_AttachmentSetSizeLimitExceededRes(parsedOutput, context);    case "InternalServerError":    case "com.amazonaws.support#InternalServerError":      throw await de_InternalServerErrorRes(parsedOutput, context);    case "CaseIdNotFound":    case "com.amazonaws.support#CaseIdNotFound":      throw await de_CaseIdNotFoundRes(parsedOutput, context);    case "CaseCreationLimitExceeded":    case "com.amazonaws.support#CaseCreationLimitExceeded":      throw await de_CaseCreationLimitExceededRes(parsedOutput, context);    case "AttachmentIdNotFound":    case "com.amazonaws.support#AttachmentIdNotFound":      throw await de_AttachmentIdNotFoundRes(parsedOutput, context);    case "DescribeAttachmentLimitExceeded":    case "com.amazonaws.support#DescribeAttachmentLimitExceeded":      throw await de_DescribeAttachmentLimitExceededRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.support#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var de_AttachmentIdNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new AttachmentIdNotFound({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AttachmentIdNotFoundRes");var de_AttachmentLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new AttachmentLimitExceeded({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AttachmentLimitExceededRes");var de_AttachmentSetExpiredRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new AttachmentSetExpired({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AttachmentSetExpiredRes");var de_AttachmentSetIdNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new AttachmentSetIdNotFound({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AttachmentSetIdNotFoundRes");var de_AttachmentSetSizeLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new AttachmentSetSizeLimitExceeded({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AttachmentSetSizeLimitExceededRes");var de_CaseCreationLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new CaseCreationLimitExceeded({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CaseCreationLimitExceededRes");var de_CaseIdNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new CaseIdNotFound({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CaseIdNotFoundRes");var de_DescribeAttachmentLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new DescribeAttachmentLimitExceeded({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DescribeAttachmentLimitExceededRes");var de_InternalServerErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new InternalServerError({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InternalServerErrorRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ThrottlingExceptionRes");var se_AddAttachmentsToSetRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    attachmentSetId: [],    attachments: /* @__PURE__ */ __name((_) => se_Attachments(_, context), "attachments")  });}, "se_AddAttachmentsToSetRequest");var se_Attachment = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    data: context.base64Encoder,    fileName: []  });}, "se_Attachment");var se_Attachments = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_Attachment(entry, context);  });}, "se_Attachments");var se_DescribeTrustedAdvisorCheckRefreshStatusesRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    checkIds: /* @__PURE__ */ __name((_) => se_StringList(_, context), "checkIds")  });}, "se_DescribeTrustedAdvisorCheckRefreshStatusesRequest");var se_DescribeTrustedAdvisorCheckSummariesRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    checkIds: /* @__PURE__ */ __name((_) => se_StringList(_, context), "checkIds")  });}, "se_DescribeTrustedAdvisorCheckSummariesRequest");var se_StringList = /* @__PURE__ */ __name((input, context) => {  return input;}, "se_StringList");var de_Attachment = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    data: context.base64Decoder,    fileName: import_smithy_client.expectString  });}, "de_Attachment");var de_DescribeAttachmentResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "attachment")  });}, "de_DescribeAttachmentResponse");var de_DescribeTrustedAdvisorCheckResultResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    result: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCheckResult(_, context), "result")  });}, "de_DescribeTrustedAdvisorCheckResultResponse");var de_DescribeTrustedAdvisorChecksResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    checks: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCheckList(_, context), "checks")  });}, "de_DescribeTrustedAdvisorChecksResponse");var de_DescribeTrustedAdvisorCheckSummariesResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    summaries: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCheckSummaryList(_, context), "summaries")  });}, "de_DescribeTrustedAdvisorCheckSummariesResponse");var de_StringList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).map((entry) => {    if (entry === null) {      return null;    }    return (0, import_smithy_client.expectString)(entry);  });  return retVal;}, "de_StringList");var de_TrustedAdvisorCategorySpecificSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    costOptimizing: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCostOptimizingSummary(_, context), "costOptimizing")  });}, "de_TrustedAdvisorCategorySpecificSummary");var de_TrustedAdvisorCheckDescription = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    category: import_smithy_client.expectString,    description: import_smithy_client.expectString,    id: import_smithy_client.expectString,    metadata: /* @__PURE__ */ __name((_) => de_StringList(_, context), "metadata"),    name: import_smithy_client.expectString  });}, "de_TrustedAdvisorCheckDescription");var de_TrustedAdvisorCheckList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_TrustedAdvisorCheckDescription(entry, context);  });  return retVal;}, "de_TrustedAdvisorCheckList");var de_TrustedAdvisorCheckResult = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    categorySpecificSummary: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCategorySpecificSummary(_, context), "categorySpecificSummary"),    checkId: import_smithy_client.expectString,    flaggedResources: /* @__PURE__ */ __name((_) => de_TrustedAdvisorResourceDetailList(_, context), "flaggedResources"),    resourcesSummary: import_smithy_client._json,    status: import_smithy_client.expectString,    timestamp: import_smithy_client.expectString  });}, "de_TrustedAdvisorCheckResult");var de_TrustedAdvisorCheckSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    categorySpecificSummary: /* @__PURE__ */ __name((_) => de_TrustedAdvisorCategorySpecificSummary(_, context), "categorySpecificSummary"),    checkId: import_smithy_client.expectString,    hasFlaggedResources: import_smithy_client.expectBoolean,    resourcesSummary: import_smithy_client._json,    status: import_smithy_client.expectString,    timestamp: import_smithy_client.expectString  });}, "de_TrustedAdvisorCheckSummary");var de_TrustedAdvisorCheckSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_TrustedAdvisorCheckSummary(entry, context);  });  return retVal;}, "de_TrustedAdvisorCheckSummaryList");var de_TrustedAdvisorCostOptimizingSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    estimatedMonthlySavings: import_smithy_client.limitedParseDouble,    estimatedPercentMonthlySavings: import_smithy_client.limitedParseDouble  });}, "de_TrustedAdvisorCostOptimizingSummary");var de_TrustedAdvisorResourceDetail = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    isSuppressed: import_smithy_client.expectBoolean,    metadata: /* @__PURE__ */ __name((_) => de_StringList(_, context), "metadata"),    region: import_smithy_client.expectString,    resourceId: import_smithy_client.expectString,    status: import_smithy_client.expectString  });}, "de_TrustedAdvisorResourceDetail");var de_TrustedAdvisorResourceDetailList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_TrustedAdvisorResourceDetail(entry, context);  });  return retVal;}, "de_TrustedAdvisorResourceDetailList");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({  httpStatusCode: output.statusCode,  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],  extendedRequestId: output.headers["x-amz-id-2"],  cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var throwDefaultError = (0, import_smithy_client.withBaseException)(SupportServiceException);var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();  const contents = {    protocol,    hostname,    port,    method: "POST",    path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,    headers  };  if (resolvedHostname !== void 0) {    contents.hostname = resolvedHostname;  }  if (body !== void 0) {    contents.body = body;  }  return new import_protocol_http.HttpRequest(contents);}, "buildHttpRpcRequest");function sharedHeaders(operation) {  return {    "content-type": "application/x-amz-json-1.1",    "x-amz-target": `AWSSupport_20130415.${operation}`  };}__name(sharedHeaders, "sharedHeaders"); // src/commands/AddAttachmentsToSetCommand.tsvar AddAttachmentsToSetCommand = 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("AWSSupport_20130415", "AddAttachmentsToSet", {}).n("SupportClient", "AddAttachmentsToSetCommand").f(void 0, void 0).ser(se_AddAttachmentsToSetCommand).de(de_AddAttachmentsToSetCommand).build() {  static {    __name(this, "AddAttachmentsToSetCommand");  }}; // src/commands/AddCommunicationToCaseCommand.ts   var AddCommunicationToCaseCommand = 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("AWSSupport_20130415", "AddCommunicationToCase", {}).n("SupportClient", "AddCommunicationToCaseCommand").f(void 0, void 0).ser(se_AddCommunicationToCaseCommand).de(de_AddCommunicationToCaseCommand).build() {  static {    __name(this, "AddCommunicationToCaseCommand");  }}; // src/commands/CreateCaseCommand.ts   var CreateCaseCommand = 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("AWSSupport_20130415", "CreateCase", {}).n("SupportClient", "CreateCaseCommand").f(void 0, void 0).ser(se_CreateCaseCommand).de(de_CreateCaseCommand).build() {  static {    __name(this, "CreateCaseCommand");  }}; // src/commands/DescribeAttachmentCommand.ts   var DescribeAttachmentCommand = 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("AWSSupport_20130415", "DescribeAttachment", {}).n("SupportClient", "DescribeAttachmentCommand").f(void 0, void 0).ser(se_DescribeAttachmentCommand).de(de_DescribeAttachmentCommand).build() {  static {    __name(this, "DescribeAttachmentCommand");  }}; // src/commands/DescribeCasesCommand.ts   var DescribeCasesCommand = 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("AWSSupport_20130415", "DescribeCases", {}).n("SupportClient", "DescribeCasesCommand").f(void 0, void 0).ser(se_DescribeCasesCommand).de(de_DescribeCasesCommand).build() {  static {    __name(this, "DescribeCasesCommand");  }}; // src/commands/DescribeCommunicationsCommand.ts   var DescribeCommunicationsCommand = 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("AWSSupport_20130415", "DescribeCommunications", {}).n("SupportClient", "DescribeCommunicationsCommand").f(void 0, void 0).ser(se_DescribeCommunicationsCommand).de(de_DescribeCommunicationsCommand).build() {  static {    __name(this, "DescribeCommunicationsCommand");  }}; // src/commands/DescribeCreateCaseOptionsCommand.ts   var DescribeCreateCaseOptionsCommand = 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("AWSSupport_20130415", "DescribeCreateCaseOptions", {}).n("SupportClient", "DescribeCreateCaseOptionsCommand").f(void 0, void 0).ser(se_DescribeCreateCaseOptionsCommand).de(de_DescribeCreateCaseOptionsCommand).build() {  static {    __name(this, "DescribeCreateCaseOptionsCommand");  }}; // src/commands/DescribeServicesCommand.ts   var DescribeServicesCommand = 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("AWSSupport_20130415", "DescribeServices", {}).n("SupportClient", "DescribeServicesCommand").f(void 0, void 0).ser(se_DescribeServicesCommand).de(de_DescribeServicesCommand).build() {  static {    __name(this, "DescribeServicesCommand");  }}; // src/commands/DescribeSeverityLevelsCommand.ts   var DescribeSeverityLevelsCommand = 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("AWSSupport_20130415", "DescribeSeverityLevels", {}).n("SupportClient", "DescribeSeverityLevelsCommand").f(void 0, void 0).ser(se_DescribeSeverityLevelsCommand).de(de_DescribeSeverityLevelsCommand).build() {  static {    __name(this, "DescribeSeverityLevelsCommand");  }}; // src/commands/DescribeSupportedLanguagesCommand.ts   var DescribeSupportedLanguagesCommand = 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("AWSSupport_20130415", "DescribeSupportedLanguages", {}).n("SupportClient", "DescribeSupportedLanguagesCommand").f(void 0, void 0).ser(se_DescribeSupportedLanguagesCommand).de(de_DescribeSupportedLanguagesCommand).build() {  static {    __name(this, "DescribeSupportedLanguagesCommand");  }}; // src/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts   var DescribeTrustedAdvisorCheckRefreshStatusesCommand = 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("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {}).n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckRefreshStatusesCommand).de(de_DescribeTrustedAdvisorCheckRefreshStatusesCommand).build() {  static {    __name(this, "DescribeTrustedAdvisorCheckRefreshStatusesCommand");  }}; // src/commands/DescribeTrustedAdvisorCheckResultCommand.ts   var DescribeTrustedAdvisorCheckResultCommand = 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("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {}).n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckResultCommand).de(de_DescribeTrustedAdvisorCheckResultCommand).build() {  static {    __name(this, "DescribeTrustedAdvisorCheckResultCommand");  }}; // src/commands/DescribeTrustedAdvisorChecksCommand.ts   var DescribeTrustedAdvisorChecksCommand = 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("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {}).n("SupportClient", "DescribeTrustedAdvisorChecksCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorChecksCommand).de(de_DescribeTrustedAdvisorChecksCommand).build() {  static {    __name(this, "DescribeTrustedAdvisorChecksCommand");  }}; // src/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts   var DescribeTrustedAdvisorCheckSummariesCommand = 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("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {}).n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckSummariesCommand).de(de_DescribeTrustedAdvisorCheckSummariesCommand).build() {  static {    __name(this, "DescribeTrustedAdvisorCheckSummariesCommand");  }}; // src/commands/RefreshTrustedAdvisorCheckCommand.ts   var RefreshTrustedAdvisorCheckCommand = 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("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {}).n("SupportClient", "RefreshTrustedAdvisorCheckCommand").f(void 0, void 0).ser(se_RefreshTrustedAdvisorCheckCommand).de(de_RefreshTrustedAdvisorCheckCommand).build() {  static {    __name(this, "RefreshTrustedAdvisorCheckCommand");  }}; // src/commands/ResolveCaseCommand.ts   var ResolveCaseCommand = 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("AWSSupport_20130415", "ResolveCase", {}).n("SupportClient", "ResolveCaseCommand").f(void 0, void 0).ser(se_ResolveCaseCommand).de(de_ResolveCaseCommand).build() {  static {    __name(this, "ResolveCaseCommand");  }}; // src/Support.tsvar commands = {  AddAttachmentsToSetCommand,  AddCommunicationToCaseCommand,  CreateCaseCommand,  DescribeAttachmentCommand,  DescribeCasesCommand,  DescribeCommunicationsCommand,  DescribeCreateCaseOptionsCommand,  DescribeServicesCommand,  DescribeSeverityLevelsCommand,  DescribeSupportedLanguagesCommand,  DescribeTrustedAdvisorCheckRefreshStatusesCommand,  DescribeTrustedAdvisorCheckResultCommand,  DescribeTrustedAdvisorChecksCommand,  DescribeTrustedAdvisorCheckSummariesCommand,  RefreshTrustedAdvisorCheckCommand,  ResolveCaseCommand};var Support = class extends SupportClient {  static {    __name(this, "Support");  }};(0, import_smithy_client.createAggregatedClient)(commands, Support); // src/pagination/DescribeCasesPaginator.ts var paginateDescribeCases = (0, import_core.createPaginator)(SupportClient, DescribeCasesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/DescribeCommunicationsPaginator.ts var paginateDescribeCommunications = (0, import_core.createPaginator)(SupportClient, DescribeCommunicationsCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  SupportServiceException,  __Client,  SupportClient,  Support,  $Command,  AddAttachmentsToSetCommand,  AddCommunicationToCaseCommand,  CreateCaseCommand,  DescribeAttachmentCommand,  DescribeCasesCommand,  DescribeCommunicationsCommand,  DescribeCreateCaseOptionsCommand,  DescribeServicesCommand,  DescribeSeverityLevelsCommand,  DescribeSupportedLanguagesCommand,  DescribeTrustedAdvisorCheckRefreshStatusesCommand,  DescribeTrustedAdvisorCheckResultCommand,  DescribeTrustedAdvisorCheckSummariesCommand,  DescribeTrustedAdvisorChecksCommand,  RefreshTrustedAdvisorCheckCommand,  ResolveCaseCommand,  paginateDescribeCases,  paginateDescribeCommunications,  AttachmentLimitExceeded,  AttachmentSetExpired,  AttachmentSetIdNotFound,  AttachmentSetSizeLimitExceeded,  InternalServerError,  CaseIdNotFound,  AttachmentIdNotFound,  CaseCreationLimitExceeded,  DescribeAttachmentLimitExceeded,  ThrottlingException});