File Explorer

/var/runtime/node_modules/@aws-sdk/client-codeconnections/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.js80.6 KB · 2031 lines
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => {  for (var name in all)    __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => {  if (from && typeof from === "object" || typeof from === "function") {    for (let key of __getOwnPropNames(from))      if (!__hasOwnProp.call(to, key) && key !== except)        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });  }  return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, {  AccessDeniedException: () => AccessDeniedException,  BlockerStatus: () => BlockerStatus,  BlockerType: () => BlockerType,  CodeConnections: () => CodeConnections,  CodeConnectionsClient: () => CodeConnectionsClient,  CodeConnectionsServiceException: () => CodeConnectionsServiceException,  ConcurrentModificationException: () => ConcurrentModificationException,  ConditionalCheckFailedException: () => ConditionalCheckFailedException,  ConflictException: () => ConflictException,  ConnectionStatus: () => ConnectionStatus,  CreateConnectionCommand: () => CreateConnectionCommand,  CreateHostCommand: () => CreateHostCommand,  CreateRepositoryLinkCommand: () => CreateRepositoryLinkCommand,  CreateSyncConfigurationCommand: () => CreateSyncConfigurationCommand,  DeleteConnectionCommand: () => DeleteConnectionCommand,  DeleteHostCommand: () => DeleteHostCommand,  DeleteRepositoryLinkCommand: () => DeleteRepositoryLinkCommand,  DeleteSyncConfigurationCommand: () => DeleteSyncConfigurationCommand,  GetConnectionCommand: () => GetConnectionCommand,  GetHostCommand: () => GetHostCommand,  GetRepositoryLinkCommand: () => GetRepositoryLinkCommand,  GetRepositorySyncStatusCommand: () => GetRepositorySyncStatusCommand,  GetResourceSyncStatusCommand: () => GetResourceSyncStatusCommand,  GetSyncBlockerSummaryCommand: () => GetSyncBlockerSummaryCommand,  GetSyncConfigurationCommand: () => GetSyncConfigurationCommand,  InternalServerException: () => InternalServerException,  InvalidInputException: () => InvalidInputException,  LimitExceededException: () => LimitExceededException,  ListConnectionsCommand: () => ListConnectionsCommand,  ListHostsCommand: () => ListHostsCommand,  ListRepositoryLinksCommand: () => ListRepositoryLinksCommand,  ListRepositorySyncDefinitionsCommand: () => ListRepositorySyncDefinitionsCommand,  ListSyncConfigurationsCommand: () => ListSyncConfigurationsCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  ProviderType: () => ProviderType,  PublishDeploymentStatus: () => PublishDeploymentStatus,  PullRequestComment: () => PullRequestComment,  RepositorySyncStatus: () => RepositorySyncStatus,  ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,  ResourceNotFoundException: () => ResourceNotFoundException,  ResourceSyncStatus: () => ResourceSyncStatus,  ResourceUnavailableException: () => ResourceUnavailableException,  RetryLatestCommitFailedException: () => RetryLatestCommitFailedException,  SyncBlockerDoesNotExistException: () => SyncBlockerDoesNotExistException,  SyncConfigurationStillExistsException: () => SyncConfigurationStillExistsException,  SyncConfigurationType: () => SyncConfigurationType,  TagResourceCommand: () => TagResourceCommand,  ThrottlingException: () => ThrottlingException,  TriggerResourceUpdateOn: () => TriggerResourceUpdateOn,  UnsupportedOperationException: () => UnsupportedOperationException,  UnsupportedProviderTypeException: () => UnsupportedProviderTypeException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateHostCommand: () => UpdateHostCommand,  UpdateOutOfSyncException: () => UpdateOutOfSyncException,  UpdateRepositoryLinkCommand: () => UpdateRepositoryLinkCommand,  UpdateSyncBlockerCommand: () => UpdateSyncBlockerCommand,  UpdateSyncConfigurationCommand: () => UpdateSyncConfigurationCommand,  __Client: () => import_smithy_client.Client,  paginateListConnections: () => paginateListConnections,  paginateListHosts: () => paginateListHosts,  paginateListRepositoryLinks: () => paginateListRepositoryLinks,  paginateListSyncConfigurations: () => paginateListSyncConfigurations});module.exports = __toCommonJS(index_exports); // src/CodeConnectionsClient.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: "codeconnections"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/CodeConnectionsClient.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/CodeConnectionsClient.tsvar CodeConnectionsClient = class extends import_smithy_client.Client {  static {    __name(this, "CodeConnectionsClient");  }  /**   * The resolved configuration of CodeConnectionsClient class. This is resolved and normalized from the {@link CodeConnectionsClientConfig | 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.defaultCodeConnectionsHttpAuthSchemeParametersProvider,        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/CodeConnections.ts  // src/commands/CreateConnectionCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_json1_0.tsvar import_core2 = require("@aws-sdk/core");   // src/models/CodeConnectionsServiceException.ts var CodeConnectionsServiceException = class _CodeConnectionsServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "CodeConnectionsServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _CodeConnectionsServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends CodeConnectionsServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);    this.Message = opts.Message;  }};var BlockerStatus = {  ACTIVE: "ACTIVE",  RESOLVED: "RESOLVED"};var BlockerType = {  AUTOMATED: "AUTOMATED"};var ProviderType = {  AZURE_DEV_OPS: "AzureDevOps",  BITBUCKET: "Bitbucket",  GITHUB: "GitHub",  GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",  GITLAB: "GitLab",  GITLAB_SELF_MANAGED: "GitLabSelfManaged"};var LimitExceededException = class _LimitExceededException extends CodeConnectionsServiceException {  static {    __name(this, "LimitExceededException");  }  name = "LimitExceededException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "LimitExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _LimitExceededException.prototype);    this.Message = opts.Message;  }};var ResourceNotFoundException = class _ResourceNotFoundException extends CodeConnectionsServiceException {  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 ResourceUnavailableException = class _ResourceUnavailableException extends CodeConnectionsServiceException {  static {    __name(this, "ResourceUnavailableException");  }  name = "ResourceUnavailableException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceUnavailableException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceUnavailableException.prototype);    this.Message = opts.Message;  }};var ConcurrentModificationException = class _ConcurrentModificationException extends CodeConnectionsServiceException {  static {    __name(this, "ConcurrentModificationException");  }  name = "ConcurrentModificationException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ConcurrentModificationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);    this.Message = opts.Message;  }};var InternalServerException = class _InternalServerException extends CodeConnectionsServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);    this.Message = opts.Message;  }};var InvalidInputException = class _InvalidInputException extends CodeConnectionsServiceException {  static {    __name(this, "InvalidInputException");  }  name = "InvalidInputException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidInputException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidInputException.prototype);    this.Message = opts.Message;  }};var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends CodeConnectionsServiceException {  static {    __name(this, "ResourceAlreadyExistsException");  }  name = "ResourceAlreadyExistsException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceAlreadyExistsException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);    this.Message = opts.Message;  }};var ThrottlingException = class _ThrottlingException extends CodeConnectionsServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);    this.Message = opts.Message;  }};var PublishDeploymentStatus = {  DISABLED: "DISABLED",  ENABLED: "ENABLED"};var PullRequestComment = {  DISABLED: "DISABLED",  ENABLED: "ENABLED"};var SyncConfigurationType = {  CFN_STACK_SYNC: "CFN_STACK_SYNC"};var TriggerResourceUpdateOn = {  ANY_CHANGE: "ANY_CHANGE",  FILE_CHANGE: "FILE_CHANGE"};var SyncConfigurationStillExistsException = class _SyncConfigurationStillExistsException extends CodeConnectionsServiceException {  static {    __name(this, "SyncConfigurationStillExistsException");  }  name = "SyncConfigurationStillExistsException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "SyncConfigurationStillExistsException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _SyncConfigurationStillExistsException.prototype);    this.Message = opts.Message;  }};var UnsupportedProviderTypeException = class _UnsupportedProviderTypeException extends CodeConnectionsServiceException {  static {    __name(this, "UnsupportedProviderTypeException");  }  name = "UnsupportedProviderTypeException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UnsupportedProviderTypeException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _UnsupportedProviderTypeException.prototype);    this.Message = opts.Message;  }};var ConnectionStatus = {  AVAILABLE: "AVAILABLE",  ERROR: "ERROR",  PENDING: "PENDING"};var RepositorySyncStatus = {  FAILED: "FAILED",  INITIATED: "INITIATED",  IN_PROGRESS: "IN_PROGRESS",  QUEUED: "QUEUED",  SUCCEEDED: "SUCCEEDED"};var ResourceSyncStatus = {  FAILED: "FAILED",  INITIATED: "INITIATED",  IN_PROGRESS: "IN_PROGRESS",  SUCCEEDED: "SUCCEEDED"};var ConflictException = class _ConflictException extends CodeConnectionsServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.Message = opts.Message;  }};var UnsupportedOperationException = class _UnsupportedOperationException extends CodeConnectionsServiceException {  static {    __name(this, "UnsupportedOperationException");  }  name = "UnsupportedOperationException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UnsupportedOperationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);    this.Message = opts.Message;  }};var ConditionalCheckFailedException = class _ConditionalCheckFailedException extends CodeConnectionsServiceException {  static {    __name(this, "ConditionalCheckFailedException");  }  name = "ConditionalCheckFailedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ConditionalCheckFailedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConditionalCheckFailedException.prototype);    this.Message = opts.Message;  }};var UpdateOutOfSyncException = class _UpdateOutOfSyncException extends CodeConnectionsServiceException {  static {    __name(this, "UpdateOutOfSyncException");  }  name = "UpdateOutOfSyncException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UpdateOutOfSyncException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _UpdateOutOfSyncException.prototype);    this.Message = opts.Message;  }};var RetryLatestCommitFailedException = class _RetryLatestCommitFailedException extends CodeConnectionsServiceException {  static {    __name(this, "RetryLatestCommitFailedException");  }  name = "RetryLatestCommitFailedException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "RetryLatestCommitFailedException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _RetryLatestCommitFailedException.prototype);    this.Message = opts.Message;  }};var SyncBlockerDoesNotExistException = class _SyncBlockerDoesNotExistException extends CodeConnectionsServiceException {  static {    __name(this, "SyncBlockerDoesNotExistException");  }  name = "SyncBlockerDoesNotExistException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "SyncBlockerDoesNotExistException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _SyncBlockerDoesNotExistException.prototype);    this.Message = opts.Message;  }}; // src/protocols/Aws_json1_0.tsvar se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateConnection");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateConnectionCommand");var se_CreateHostCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateHost");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateHostCommand");var se_CreateRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateRepositoryLink");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateRepositoryLinkCommand");var se_CreateSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("CreateSyncConfiguration");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateSyncConfigurationCommand");var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DeleteConnection");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteConnectionCommand");var se_DeleteHostCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DeleteHost");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteHostCommand");var se_DeleteRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DeleteRepositoryLink");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteRepositoryLinkCommand");var se_DeleteSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("DeleteSyncConfiguration");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteSyncConfigurationCommand");var se_GetConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetConnection");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetConnectionCommand");var se_GetHostCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetHost");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetHostCommand");var se_GetRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetRepositoryLink");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetRepositoryLinkCommand");var se_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetRepositorySyncStatus");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetRepositorySyncStatusCommand");var se_GetResourceSyncStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetResourceSyncStatus");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetResourceSyncStatusCommand");var se_GetSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetSyncBlockerSummary");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetSyncBlockerSummaryCommand");var se_GetSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("GetSyncConfiguration");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetSyncConfigurationCommand");var se_ListConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListConnections");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListConnectionsCommand");var se_ListHostsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListHosts");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListHostsCommand");var se_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListRepositoryLinks");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListRepositoryLinksCommand");var se_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListRepositorySyncDefinitions");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListRepositorySyncDefinitionsCommand");var se_ListSyncConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListSyncConfigurations");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListSyncConfigurationsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("ListTagsForResource");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTagsForResourceCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("TagResource");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UntagResource");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UntagResourceCommand");var se_UpdateHostCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UpdateHost");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateHostCommand");var se_UpdateRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UpdateRepositoryLink");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateRepositoryLinkCommand");var se_UpdateSyncBlockerCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UpdateSyncBlocker");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateSyncBlockerCommand");var se_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const headers = sharedHeaders("UpdateSyncConfiguration");  let body;  body = JSON.stringify((0, import_smithy_client._json)(input));  return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateSyncConfigurationCommand");var de_CreateConnectionCommand = /* @__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_CreateConnectionCommand");var de_CreateHostCommand = /* @__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_CreateHostCommand");var de_CreateRepositoryLinkCommand = /* @__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_CreateRepositoryLinkCommand");var de_CreateSyncConfigurationCommand = /* @__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_CreateSyncConfigurationCommand");var de_DeleteConnectionCommand = /* @__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_DeleteConnectionCommand");var de_DeleteHostCommand = /* @__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_DeleteHostCommand");var de_DeleteRepositoryLinkCommand = /* @__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_DeleteRepositoryLinkCommand");var de_DeleteSyncConfigurationCommand = /* @__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_DeleteSyncConfigurationCommand");var de_GetConnectionCommand = /* @__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_GetConnectionCommand");var de_GetHostCommand = /* @__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_GetHostCommand");var de_GetRepositoryLinkCommand = /* @__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_GetRepositoryLinkCommand");var de_GetRepositorySyncStatusCommand = /* @__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_GetRepositorySyncStatusOutput(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetRepositorySyncStatusCommand");var de_GetResourceSyncStatusCommand = /* @__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_GetResourceSyncStatusOutput(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetResourceSyncStatusCommand");var de_GetSyncBlockerSummaryCommand = /* @__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_GetSyncBlockerSummaryOutput(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_GetSyncBlockerSummaryCommand");var de_GetSyncConfigurationCommand = /* @__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_GetSyncConfigurationCommand");var de_ListConnectionsCommand = /* @__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_ListConnectionsCommand");var de_ListHostsCommand = /* @__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_ListHostsCommand");var de_ListRepositoryLinksCommand = /* @__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_ListRepositoryLinksCommand");var de_ListRepositorySyncDefinitionsCommand = /* @__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_ListRepositorySyncDefinitionsCommand");var de_ListSyncConfigurationsCommand = /* @__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_ListSyncConfigurationsCommand");var de_ListTagsForResourceCommand = /* @__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_ListTagsForResourceCommand");var de_TagResourceCommand = /* @__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_TagResourceCommand");var de_UntagResourceCommand = /* @__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_UntagResourceCommand");var de_UpdateHostCommand = /* @__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_UpdateHostCommand");var de_UpdateRepositoryLinkCommand = /* @__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_UpdateRepositoryLinkCommand");var de_UpdateSyncBlockerCommand = /* @__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_UpdateSyncBlockerOutput(data, context);  const response = {    $metadata: deserializeMetadata(output),    ...contents  };  return response;}, "de_UpdateSyncBlockerCommand");var de_UpdateSyncConfigurationCommand = /* @__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_UpdateSyncConfigurationCommand");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 "LimitExceededException":    case "com.amazonaws.codeconnections#LimitExceededException":      throw await de_LimitExceededExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.codeconnections#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ResourceUnavailableException":    case "com.amazonaws.codeconnections#ResourceUnavailableException":      throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);    case "AccessDeniedException":    case "com.amazonaws.codeconnections#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ConcurrentModificationException":    case "com.amazonaws.codeconnections#ConcurrentModificationException":      throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.codeconnections#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "InvalidInputException":    case "com.amazonaws.codeconnections#InvalidInputException":      throw await de_InvalidInputExceptionRes(parsedOutput, context);    case "ResourceAlreadyExistsException":    case "com.amazonaws.codeconnections#ResourceAlreadyExistsException":      throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.codeconnections#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "SyncConfigurationStillExistsException":    case "com.amazonaws.codeconnections#SyncConfigurationStillExistsException":      throw await de_SyncConfigurationStillExistsExceptionRes(parsedOutput, context);    case "UnsupportedProviderTypeException":    case "com.amazonaws.codeconnections#UnsupportedProviderTypeException":      throw await de_UnsupportedProviderTypeExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.codeconnections#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "UnsupportedOperationException":    case "com.amazonaws.codeconnections#UnsupportedOperationException":      throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);    case "ConditionalCheckFailedException":    case "com.amazonaws.codeconnections#ConditionalCheckFailedException":      throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);    case "UpdateOutOfSyncException":    case "com.amazonaws.codeconnections#UpdateOutOfSyncException":      throw await de_UpdateOutOfSyncExceptionRes(parsedOutput, context);    case "RetryLatestCommitFailedException":    case "com.amazonaws.codeconnections#RetryLatestCommitFailedException":      throw await de_RetryLatestCommitFailedExceptionRes(parsedOutput, context);    case "SyncBlockerDoesNotExistException":    case "com.amazonaws.codeconnections#SyncBlockerDoesNotExistException":      throw await de_SyncBlockerDoesNotExistExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccessDeniedExceptionRes");var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ConcurrentModificationException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConcurrentModificationExceptionRes");var de_ConditionalCheckFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ConditionalCheckFailedException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConditionalCheckFailedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConflictExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new InternalServerException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InternalServerExceptionRes");var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new InvalidInputException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidInputExceptionRes");var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new LimitExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_LimitExceededExceptionRes");var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ResourceAlreadyExistsException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceAlreadyExistsExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceNotFoundExceptionRes");var de_ResourceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new ResourceUnavailableException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceUnavailableExceptionRes");var de_RetryLatestCommitFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new RetryLatestCommitFailedException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_RetryLatestCommitFailedExceptionRes");var de_SyncBlockerDoesNotExistExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new SyncBlockerDoesNotExistException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_SyncBlockerDoesNotExistExceptionRes");var de_SyncConfigurationStillExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new SyncConfigurationStillExistsException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_SyncConfigurationStillExistsExceptionRes");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 de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new UnsupportedOperationException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_UnsupportedOperationExceptionRes");var de_UnsupportedProviderTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new UnsupportedProviderTypeException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_UnsupportedProviderTypeExceptionRes");var de_UpdateOutOfSyncExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const body = parsedOutput.body;  const deserialized = (0, import_smithy_client._json)(body);  const exception = new UpdateOutOfSyncException({    $metadata: deserializeMetadata(parsedOutput),    ...deserialized  });  return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_UpdateOutOfSyncExceptionRes");var de_GetRepositorySyncStatusOutput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    LatestSync: /* @__PURE__ */ __name((_) => de_RepositorySyncAttempt(_, context), "LatestSync")  });}, "de_GetRepositorySyncStatusOutput");var de_GetResourceSyncStatusOutput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    DesiredState: import_smithy_client._json,    LatestSuccessfulSync: /* @__PURE__ */ __name((_) => de_ResourceSyncAttempt(_, context), "LatestSuccessfulSync"),    LatestSync: /* @__PURE__ */ __name((_) => de_ResourceSyncAttempt(_, context), "LatestSync")  });}, "de_GetResourceSyncStatusOutput");var de_GetSyncBlockerSummaryOutput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    SyncBlockerSummary: /* @__PURE__ */ __name((_) => de_SyncBlockerSummary(_, context), "SyncBlockerSummary")  });}, "de_GetSyncBlockerSummaryOutput");var de_LatestSyncBlockerList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SyncBlocker(entry, context);  });  return retVal;}, "de_LatestSyncBlockerList");var de_RepositorySyncAttempt = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Events: /* @__PURE__ */ __name((_) => de_RepositorySyncEventList(_, context), "Events"),    StartedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartedAt"),    Status: import_smithy_client.expectString  });}, "de_RepositorySyncAttempt");var de_RepositorySyncEvent = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Event: import_smithy_client.expectString,    ExternalId: import_smithy_client.expectString,    Time: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Time"),    Type: import_smithy_client.expectString  });}, "de_RepositorySyncEvent");var de_RepositorySyncEventList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RepositorySyncEvent(entry, context);  });  return retVal;}, "de_RepositorySyncEventList");var de_ResourceSyncAttempt = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Events: /* @__PURE__ */ __name((_) => de_ResourceSyncEventList(_, context), "Events"),    InitialRevision: import_smithy_client._json,    StartedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartedAt"),    Status: import_smithy_client.expectString,    Target: import_smithy_client.expectString,    TargetRevision: import_smithy_client._json  });}, "de_ResourceSyncAttempt");var de_ResourceSyncEvent = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Event: import_smithy_client.expectString,    ExternalId: import_smithy_client.expectString,    Time: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Time"),    Type: import_smithy_client.expectString  });}, "de_ResourceSyncEvent");var de_ResourceSyncEventList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ResourceSyncEvent(entry, context);  });  return retVal;}, "de_ResourceSyncEventList");var de_SyncBlocker = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Contexts: import_smithy_client._json,    CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),    CreatedReason: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    ResolvedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResolvedAt"),    ResolvedReason: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    Type: import_smithy_client.expectString  });}, "de_SyncBlocker");var de_SyncBlockerSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    LatestBlockers: /* @__PURE__ */ __name((_) => de_LatestSyncBlockerList(_, context), "LatestBlockers"),    ParentResourceName: import_smithy_client.expectString,    ResourceName: import_smithy_client.expectString  });}, "de_SyncBlockerSummary");var de_UpdateSyncBlockerOutput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ParentResourceName: import_smithy_client.expectString,    ResourceName: import_smithy_client.expectString,    SyncBlocker: /* @__PURE__ */ __name((_) => de_SyncBlocker(_, context), "SyncBlocker")  });}, "de_UpdateSyncBlockerOutput");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)(CodeConnectionsServiceException);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.0",    "x-amz-target": `CodeConnections_20231201.${operation}`  };}__name(sharedHeaders, "sharedHeaders"); // src/commands/CreateConnectionCommand.tsvar CreateConnectionCommand = 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("CodeConnections_20231201", "CreateConnection", {}).n("CodeConnectionsClient", "CreateConnectionCommand").f(void 0, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() {  static {    __name(this, "CreateConnectionCommand");  }}; // src/commands/CreateHostCommand.ts   var CreateHostCommand = 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("CodeConnections_20231201", "CreateHost", {}).n("CodeConnectionsClient", "CreateHostCommand").f(void 0, void 0).ser(se_CreateHostCommand).de(de_CreateHostCommand).build() {  static {    __name(this, "CreateHostCommand");  }}; // src/commands/CreateRepositoryLinkCommand.ts   var CreateRepositoryLinkCommand = 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("CodeConnections_20231201", "CreateRepositoryLink", {}).n("CodeConnectionsClient", "CreateRepositoryLinkCommand").f(void 0, void 0).ser(se_CreateRepositoryLinkCommand).de(de_CreateRepositoryLinkCommand).build() {  static {    __name(this, "CreateRepositoryLinkCommand");  }}; // src/commands/CreateSyncConfigurationCommand.ts   var CreateSyncConfigurationCommand = 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("CodeConnections_20231201", "CreateSyncConfiguration", {}).n("CodeConnectionsClient", "CreateSyncConfigurationCommand").f(void 0, void 0).ser(se_CreateSyncConfigurationCommand).de(de_CreateSyncConfigurationCommand).build() {  static {    __name(this, "CreateSyncConfigurationCommand");  }}; // src/commands/DeleteConnectionCommand.ts   var DeleteConnectionCommand = 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("CodeConnections_20231201", "DeleteConnection", {}).n("CodeConnectionsClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() {  static {    __name(this, "DeleteConnectionCommand");  }}; // src/commands/DeleteHostCommand.ts   var DeleteHostCommand = 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("CodeConnections_20231201", "DeleteHost", {}).n("CodeConnectionsClient", "DeleteHostCommand").f(void 0, void 0).ser(se_DeleteHostCommand).de(de_DeleteHostCommand).build() {  static {    __name(this, "DeleteHostCommand");  }}; // src/commands/DeleteRepositoryLinkCommand.ts   var DeleteRepositoryLinkCommand = 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("CodeConnections_20231201", "DeleteRepositoryLink", {}).n("CodeConnectionsClient", "DeleteRepositoryLinkCommand").f(void 0, void 0).ser(se_DeleteRepositoryLinkCommand).de(de_DeleteRepositoryLinkCommand).build() {  static {    __name(this, "DeleteRepositoryLinkCommand");  }}; // src/commands/DeleteSyncConfigurationCommand.ts   var DeleteSyncConfigurationCommand = 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("CodeConnections_20231201", "DeleteSyncConfiguration", {}).n("CodeConnectionsClient", "DeleteSyncConfigurationCommand").f(void 0, void 0).ser(se_DeleteSyncConfigurationCommand).de(de_DeleteSyncConfigurationCommand).build() {  static {    __name(this, "DeleteSyncConfigurationCommand");  }}; // src/commands/GetConnectionCommand.ts   var GetConnectionCommand = 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("CodeConnections_20231201", "GetConnection", {}).n("CodeConnectionsClient", "GetConnectionCommand").f(void 0, void 0).ser(se_GetConnectionCommand).de(de_GetConnectionCommand).build() {  static {    __name(this, "GetConnectionCommand");  }}; // src/commands/GetHostCommand.ts   var GetHostCommand = 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("CodeConnections_20231201", "GetHost", {}).n("CodeConnectionsClient", "GetHostCommand").f(void 0, void 0).ser(se_GetHostCommand).de(de_GetHostCommand).build() {  static {    __name(this, "GetHostCommand");  }}; // src/commands/GetRepositoryLinkCommand.ts   var GetRepositoryLinkCommand = 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("CodeConnections_20231201", "GetRepositoryLink", {}).n("CodeConnectionsClient", "GetRepositoryLinkCommand").f(void 0, void 0).ser(se_GetRepositoryLinkCommand).de(de_GetRepositoryLinkCommand).build() {  static {    __name(this, "GetRepositoryLinkCommand");  }}; // src/commands/GetRepositorySyncStatusCommand.ts   var GetRepositorySyncStatusCommand = 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("CodeConnections_20231201", "GetRepositorySyncStatus", {}).n("CodeConnectionsClient", "GetRepositorySyncStatusCommand").f(void 0, void 0).ser(se_GetRepositorySyncStatusCommand).de(de_GetRepositorySyncStatusCommand).build() {  static {    __name(this, "GetRepositorySyncStatusCommand");  }}; // src/commands/GetResourceSyncStatusCommand.ts   var GetResourceSyncStatusCommand = 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("CodeConnections_20231201", "GetResourceSyncStatus", {}).n("CodeConnectionsClient", "GetResourceSyncStatusCommand").f(void 0, void 0).ser(se_GetResourceSyncStatusCommand).de(de_GetResourceSyncStatusCommand).build() {  static {    __name(this, "GetResourceSyncStatusCommand");  }}; // src/commands/GetSyncBlockerSummaryCommand.ts   var GetSyncBlockerSummaryCommand = 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("CodeConnections_20231201", "GetSyncBlockerSummary", {}).n("CodeConnectionsClient", "GetSyncBlockerSummaryCommand").f(void 0, void 0).ser(se_GetSyncBlockerSummaryCommand).de(de_GetSyncBlockerSummaryCommand).build() {  static {    __name(this, "GetSyncBlockerSummaryCommand");  }}; // src/commands/GetSyncConfigurationCommand.ts   var GetSyncConfigurationCommand = 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("CodeConnections_20231201", "GetSyncConfiguration", {}).n("CodeConnectionsClient", "GetSyncConfigurationCommand").f(void 0, void 0).ser(se_GetSyncConfigurationCommand).de(de_GetSyncConfigurationCommand).build() {  static {    __name(this, "GetSyncConfigurationCommand");  }}; // src/commands/ListConnectionsCommand.ts   var ListConnectionsCommand = 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("CodeConnections_20231201", "ListConnections", {}).n("CodeConnectionsClient", "ListConnectionsCommand").f(void 0, void 0).ser(se_ListConnectionsCommand).de(de_ListConnectionsCommand).build() {  static {    __name(this, "ListConnectionsCommand");  }}; // src/commands/ListHostsCommand.ts   var ListHostsCommand = 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("CodeConnections_20231201", "ListHosts", {}).n("CodeConnectionsClient", "ListHostsCommand").f(void 0, void 0).ser(se_ListHostsCommand).de(de_ListHostsCommand).build() {  static {    __name(this, "ListHostsCommand");  }}; // src/commands/ListRepositoryLinksCommand.ts   var ListRepositoryLinksCommand = 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("CodeConnections_20231201", "ListRepositoryLinks", {}).n("CodeConnectionsClient", "ListRepositoryLinksCommand").f(void 0, void 0).ser(se_ListRepositoryLinksCommand).de(de_ListRepositoryLinksCommand).build() {  static {    __name(this, "ListRepositoryLinksCommand");  }}; // src/commands/ListRepositorySyncDefinitionsCommand.ts   var ListRepositorySyncDefinitionsCommand = 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("CodeConnections_20231201", "ListRepositorySyncDefinitions", {}).n("CodeConnectionsClient", "ListRepositorySyncDefinitionsCommand").f(void 0, void 0).ser(se_ListRepositorySyncDefinitionsCommand).de(de_ListRepositorySyncDefinitionsCommand).build() {  static {    __name(this, "ListRepositorySyncDefinitionsCommand");  }}; // src/commands/ListSyncConfigurationsCommand.ts   var ListSyncConfigurationsCommand = 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("CodeConnections_20231201", "ListSyncConfigurations", {}).n("CodeConnectionsClient", "ListSyncConfigurationsCommand").f(void 0, void 0).ser(se_ListSyncConfigurationsCommand).de(de_ListSyncConfigurationsCommand).build() {  static {    __name(this, "ListSyncConfigurationsCommand");  }}; // 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("CodeConnections_20231201", "ListTagsForResource", {}).n("CodeConnectionsClient", "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("CodeConnections_20231201", "TagResource", {}).n("CodeConnectionsClient", "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("CodeConnections_20231201", "UntagResource", {}).n("CodeConnectionsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateHostCommand.ts   var UpdateHostCommand = 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("CodeConnections_20231201", "UpdateHost", {}).n("CodeConnectionsClient", "UpdateHostCommand").f(void 0, void 0).ser(se_UpdateHostCommand).de(de_UpdateHostCommand).build() {  static {    __name(this, "UpdateHostCommand");  }}; // src/commands/UpdateRepositoryLinkCommand.ts   var UpdateRepositoryLinkCommand = 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("CodeConnections_20231201", "UpdateRepositoryLink", {}).n("CodeConnectionsClient", "UpdateRepositoryLinkCommand").f(void 0, void 0).ser(se_UpdateRepositoryLinkCommand).de(de_UpdateRepositoryLinkCommand).build() {  static {    __name(this, "UpdateRepositoryLinkCommand");  }}; // src/commands/UpdateSyncBlockerCommand.ts   var UpdateSyncBlockerCommand = 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("CodeConnections_20231201", "UpdateSyncBlocker", {}).n("CodeConnectionsClient", "UpdateSyncBlockerCommand").f(void 0, void 0).ser(se_UpdateSyncBlockerCommand).de(de_UpdateSyncBlockerCommand).build() {  static {    __name(this, "UpdateSyncBlockerCommand");  }}; // src/commands/UpdateSyncConfigurationCommand.ts   var UpdateSyncConfigurationCommand = 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("CodeConnections_20231201", "UpdateSyncConfiguration", {}).n("CodeConnectionsClient", "UpdateSyncConfigurationCommand").f(void 0, void 0).ser(se_UpdateSyncConfigurationCommand).de(de_UpdateSyncConfigurationCommand).build() {  static {    __name(this, "UpdateSyncConfigurationCommand");  }}; // src/CodeConnections.tsvar commands = {  CreateConnectionCommand,  CreateHostCommand,  CreateRepositoryLinkCommand,  CreateSyncConfigurationCommand,  DeleteConnectionCommand,  DeleteHostCommand,  DeleteRepositoryLinkCommand,  DeleteSyncConfigurationCommand,  GetConnectionCommand,  GetHostCommand,  GetRepositoryLinkCommand,  GetRepositorySyncStatusCommand,  GetResourceSyncStatusCommand,  GetSyncBlockerSummaryCommand,  GetSyncConfigurationCommand,  ListConnectionsCommand,  ListHostsCommand,  ListRepositoryLinksCommand,  ListRepositorySyncDefinitionsCommand,  ListSyncConfigurationsCommand,  ListTagsForResourceCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateHostCommand,  UpdateRepositoryLinkCommand,  UpdateSyncBlockerCommand,  UpdateSyncConfigurationCommand};var CodeConnections = class extends CodeConnectionsClient {  static {    __name(this, "CodeConnections");  }};(0, import_smithy_client.createAggregatedClient)(commands, CodeConnections); // src/pagination/ListConnectionsPaginator.ts var paginateListConnections = (0, import_core.createPaginator)(CodeConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListHostsPaginator.ts var paginateListHosts = (0, import_core.createPaginator)(CodeConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListRepositoryLinksPaginator.ts var paginateListRepositoryLinks = (0, import_core.createPaginator)(CodeConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListSyncConfigurationsPaginator.ts var paginateListSyncConfigurations = (0, import_core.createPaginator)(CodeConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  CodeConnectionsServiceException,  __Client,  CodeConnectionsClient,  CodeConnections,  $Command,  CreateConnectionCommand,  CreateHostCommand,  CreateRepositoryLinkCommand,  CreateSyncConfigurationCommand,  DeleteConnectionCommand,  DeleteHostCommand,  DeleteRepositoryLinkCommand,  DeleteSyncConfigurationCommand,  GetConnectionCommand,  GetHostCommand,  GetRepositoryLinkCommand,  GetRepositorySyncStatusCommand,  GetResourceSyncStatusCommand,  GetSyncBlockerSummaryCommand,  GetSyncConfigurationCommand,  ListConnectionsCommand,  ListHostsCommand,  ListRepositoryLinksCommand,  ListRepositorySyncDefinitionsCommand,  ListSyncConfigurationsCommand,  ListTagsForResourceCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateHostCommand,  UpdateRepositoryLinkCommand,  UpdateSyncBlockerCommand,  UpdateSyncConfigurationCommand,  paginateListConnections,  paginateListHosts,  paginateListRepositoryLinks,  paginateListSyncConfigurations,  AccessDeniedException,  BlockerStatus,  BlockerType,  ProviderType,  LimitExceededException,  ResourceNotFoundException,  ResourceUnavailableException,  ConcurrentModificationException,  InternalServerException,  InvalidInputException,  ResourceAlreadyExistsException,  ThrottlingException,  PublishDeploymentStatus,  PullRequestComment,  SyncConfigurationType,  TriggerResourceUpdateOn,  SyncConfigurationStillExistsException,  UnsupportedProviderTypeException,  ConnectionStatus,  RepositorySyncStatus,  ResourceSyncStatus,  ConflictException,  UnsupportedOperationException,  ConditionalCheckFailedException,  UpdateOutOfSyncException,  RetryLatestCommitFailedException,  SyncBlockerDoesNotExistException});