File Explorer

/var/runtime/node_modules/@aws-sdk/client-codecatalyst/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.js113 KB · 2661 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,  CodeCatalyst: () => CodeCatalyst,  CodeCatalystClient: () => CodeCatalystClient,  CodeCatalystServiceException: () => CodeCatalystServiceException,  ComparisonOperator: () => ComparisonOperator,  ConflictException: () => ConflictException,  CreateAccessTokenCommand: () => CreateAccessTokenCommand,  CreateAccessTokenResponseFilterSensitiveLog: () => CreateAccessTokenResponseFilterSensitiveLog,  CreateDevEnvironmentCommand: () => CreateDevEnvironmentCommand,  CreateProjectCommand: () => CreateProjectCommand,  CreateSourceRepositoryBranchCommand: () => CreateSourceRepositoryBranchCommand,  CreateSourceRepositoryCommand: () => CreateSourceRepositoryCommand,  DeleteAccessTokenCommand: () => DeleteAccessTokenCommand,  DeleteDevEnvironmentCommand: () => DeleteDevEnvironmentCommand,  DeleteProjectCommand: () => DeleteProjectCommand,  DeleteSourceRepositoryCommand: () => DeleteSourceRepositoryCommand,  DeleteSpaceCommand: () => DeleteSpaceCommand,  DevEnvironmentAccessDetailsFilterSensitiveLog: () => DevEnvironmentAccessDetailsFilterSensitiveLog,  DevEnvironmentSessionType: () => DevEnvironmentSessionType,  DevEnvironmentStatus: () => DevEnvironmentStatus,  FilterKey: () => FilterKey,  GetDevEnvironmentCommand: () => GetDevEnvironmentCommand,  GetProjectCommand: () => GetProjectCommand,  GetSourceRepositoryCloneUrlsCommand: () => GetSourceRepositoryCloneUrlsCommand,  GetSourceRepositoryCommand: () => GetSourceRepositoryCommand,  GetSpaceCommand: () => GetSpaceCommand,  GetSubscriptionCommand: () => GetSubscriptionCommand,  GetUserDetailsCommand: () => GetUserDetailsCommand,  GetWorkflowCommand: () => GetWorkflowCommand,  GetWorkflowRunCommand: () => GetWorkflowRunCommand,  ListAccessTokensCommand: () => ListAccessTokensCommand,  ListDevEnvironmentSessionsCommand: () => ListDevEnvironmentSessionsCommand,  ListDevEnvironmentsCommand: () => ListDevEnvironmentsCommand,  ListEventLogsCommand: () => ListEventLogsCommand,  ListProjectsCommand: () => ListProjectsCommand,  ListSourceRepositoriesCommand: () => ListSourceRepositoriesCommand,  ListSourceRepositoryBranchesCommand: () => ListSourceRepositoryBranchesCommand,  ListSpacesCommand: () => ListSpacesCommand,  ListWorkflowRunsCommand: () => ListWorkflowRunsCommand,  ListWorkflowsCommand: () => ListWorkflowsCommand,  OperationType: () => OperationType,  ResourceNotFoundException: () => ResourceNotFoundException,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  StartDevEnvironmentCommand: () => StartDevEnvironmentCommand,  StartDevEnvironmentSessionCommand: () => StartDevEnvironmentSessionCommand,  StartDevEnvironmentSessionResponseFilterSensitiveLog: () => StartDevEnvironmentSessionResponseFilterSensitiveLog,  StartWorkflowRunCommand: () => StartWorkflowRunCommand,  StopDevEnvironmentCommand: () => StopDevEnvironmentCommand,  StopDevEnvironmentSessionCommand: () => StopDevEnvironmentSessionCommand,  ThrottlingException: () => ThrottlingException,  UpdateDevEnvironmentCommand: () => UpdateDevEnvironmentCommand,  UpdateProjectCommand: () => UpdateProjectCommand,  UpdateSpaceCommand: () => UpdateSpaceCommand,  UserType: () => UserType,  ValidationException: () => ValidationException,  VerifySessionCommand: () => VerifySessionCommand,  WorkflowRunMode: () => WorkflowRunMode,  WorkflowRunStatus: () => WorkflowRunStatus,  WorkflowStatus: () => WorkflowStatus,  _InstanceType: () => _InstanceType,  __Client: () => import_smithy_client.Client,  paginateListAccessTokens: () => paginateListAccessTokens,  paginateListDevEnvironmentSessions: () => paginateListDevEnvironmentSessions,  paginateListDevEnvironments: () => paginateListDevEnvironments,  paginateListEventLogs: () => paginateListEventLogs,  paginateListProjects: () => paginateListProjects,  paginateListSourceRepositories: () => paginateListSourceRepositories,  paginateListSourceRepositoryBranches: () => paginateListSourceRepositoryBranches,  paginateListSpaces: () => paginateListSpaces,  paginateListWorkflowRuns: () => paginateListWorkflowRuns,  paginateListWorkflows: () => paginateListWorkflows});module.exports = __toCommonJS(index_exports); // src/CodeCatalystClient.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, {    useFipsEndpoint: options.useFipsEndpoint ?? false,    defaultSigningName: "codecatalyst"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" }}; // src/CodeCatalystClient.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 _token = runtimeConfig.token;  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;    },    setToken(token) {      _token = token;    },    token() {      return _token;    }  };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {  return {    httpAuthSchemes: config.httpAuthSchemes(),    httpAuthSchemeProvider: config.httpAuthSchemeProvider(),    token: config.token()  };}, "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/CodeCatalystClient.tsvar CodeCatalystClient = class extends import_smithy_client.Client {  static {    __name(this, "CodeCatalystClient");  }  /**   * The resolved configuration of CodeCatalystClient class. This is resolved and normalized from the {@link CodeCatalystClientConfig | 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.defaultCodeCatalystHttpAuthSchemeParametersProvider,        identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({          "smithy.api#httpBearerAuth": config.token        }), "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/CodeCatalyst.ts  // src/commands/CreateAccessTokenCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/models/models_0.ts  // src/models/CodeCatalystServiceException.ts var CodeCatalystServiceException = class _CodeCatalystServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "CodeCatalystServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _CodeCatalystServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends CodeCatalystServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);  }};var ConflictException = class _ConflictException extends CodeCatalystServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);  }};var ResourceNotFoundException = class _ResourceNotFoundException extends CodeCatalystServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends CodeCatalystServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);  }};var ThrottlingException = class _ThrottlingException extends CodeCatalystServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  $retryable = {};  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);  }};var ValidationException = class _ValidationException extends CodeCatalystServiceException {  static {    __name(this, "ValidationException");  }  name = "ValidationException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ValidationException.prototype);  }};var OperationType = {  MUTATION: "MUTATION",  READONLY: "READONLY"};var UserType = {  AWS_ACCOUNT: "AWS_ACCOUNT",  UNKNOWN: "UNKNOWN",  USER: "USER"};var _InstanceType = {  DEV_STANDARD1_LARGE: "dev.standard1.large",  DEV_STANDARD1_MEDIUM: "dev.standard1.medium",  DEV_STANDARD1_SMALL: "dev.standard1.small",  DEV_STANDARD1_XLARGE: "dev.standard1.xlarge"};var DevEnvironmentStatus = {  DELETED: "DELETED",  DELETING: "DELETING",  FAILED: "FAILED",  PENDING: "PENDING",  RUNNING: "RUNNING",  STARTING: "STARTING",  STOPPED: "STOPPED",  STOPPING: "STOPPING"};var DevEnvironmentSessionType = {  SSH: "SSH",  SSM: "SSM"};var ComparisonOperator = {  BEGINS_WITH: "BEGINS_WITH",  EQUALS: "EQ",  GREATER_THAN: "GT",  GREATER_THAN_OR_EQUALS: "GE",  LESS_THAN: "LT",  LESS_THAN_OR_EQUALS: "LE"};var FilterKey = {  HAS_ACCESS_TO: "hasAccessTo",  NAME: "name"};var WorkflowRunMode = {  PARALLEL: "PARALLEL",  QUEUED: "QUEUED",  SUPERSEDED: "SUPERSEDED"};var WorkflowStatus = {  ACTIVE: "ACTIVE",  INVALID: "INVALID"};var WorkflowRunStatus = {  ABANDONED: "ABANDONED",  CANCELLED: "CANCELLED",  FAILED: "FAILED",  IN_PROGRESS: "IN_PROGRESS",  NOT_RUN: "NOT_RUN",  PROVISIONING: "PROVISIONING",  STOPPED: "STOPPED",  STOPPING: "STOPPING",  SUCCEEDED: "SUCCEEDED",  SUPERSEDED: "SUPERSEDED",  VALIDATING: "VALIDATING"};var CreateAccessTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.secret && { secret: import_smithy_client.SENSITIVE_STRING }}), "CreateAccessTokenResponseFilterSensitiveLog");var DevEnvironmentAccessDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.streamUrl && { streamUrl: import_smithy_client.SENSITIVE_STRING },  ...obj.tokenValue && { tokenValue: import_smithy_client.SENSITIVE_STRING }}), "DevEnvironmentAccessDetailsFilterSensitiveLog");var StartDevEnvironmentSessionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.accessDetails && { accessDetails: import_smithy_client.SENSITIVE_STRING }}), "StartDevEnvironmentSessionResponseFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");  var import_uuid = require("uuid");var se_CreateAccessTokenCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/accessTokens");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      expiresTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "expiresTime"),      name: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateAccessTokenCommand");var se_CreateDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      alias: [],      clientToken: [],      ides: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ides"),      inactivityTimeoutMinutes: [],      instanceType: [],      persistentStorage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "persistentStorage"),      repositories: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "repositories"),      vpcConnectionName: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateDevEnvironmentCommand");var se_CreateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      description: [],      displayName: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateProjectCommand");var se_CreateSourceRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("name", () => input.name, "{name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      description: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateSourceRepositoryCommand");var se_CreateSourceRepositoryBranchCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches/{name}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("sourceRepositoryName", () => input.sourceRepositoryName, "{sourceRepositoryName}", false);  b.p("name", () => input.name, "{name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      headCommitId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateSourceRepositoryBranchCommand");var se_DeleteAccessTokenCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/accessTokens/{id}");  b.p("id", () => input.id, "{id}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteAccessTokenCommand");var se_DeleteDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteDevEnvironmentCommand");var se_DeleteProjectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{name}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("name", () => input.name, "{name}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteProjectCommand");var se_DeleteSourceRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("name", () => input.name, "{name}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteSourceRepositoryCommand");var se_DeleteSpaceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{name}");  b.p("name", () => input.name, "{name}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteSpaceCommand");var se_GetDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetDevEnvironmentCommand");var se_GetProjectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{name}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("name", () => input.name, "{name}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetProjectCommand");var se_GetSourceRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("name", () => input.name, "{name}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSourceRepositoryCommand");var se_GetSourceRepositoryCloneUrlsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/cloneUrls");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("sourceRepositoryName", () => input.sourceRepositoryName, "{sourceRepositoryName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSourceRepositoryCloneUrlsCommand");var se_GetSpaceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{name}");  b.p("name", () => input.name, "{name}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSpaceCommand");var se_GetSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/subscription");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSubscriptionCommand");var se_GetUserDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/userDetails");  const query = (0, import_smithy_client.map)({    [_i]: [, input[_i]],    [_uN]: [, input[_uN]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetUserDetailsCommand");var se_GetWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflows/{id}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("id", () => input.id, "{id}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetWorkflowCommand");var se_GetWorkflowRunCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns/{id}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("id", () => input.id, "{id}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetWorkflowRunCommand");var se_ListAccessTokensCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/accessTokens");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      maxResults: [],      nextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListAccessTokensCommand");var se_ListDevEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/devEnvironments");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),      maxResults: [],      nextToken: [],      projectName: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListDevEnvironmentsCommand");var se_ListDevEnvironmentSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{devEnvironmentId}/sessions");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("devEnvironmentId", () => input.devEnvironmentId, "{devEnvironmentId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      maxResults: [],      nextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListDevEnvironmentSessionsCommand");var se_ListEventLogsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/eventLogs");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "endTime"),      eventName: [],      maxResults: [],      nextToken: [],      startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "startTime")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListEventLogsCommand");var se_ListProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),      maxResults: [],      nextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListProjectsCommand");var se_ListSourceRepositoriesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      maxResults: [],      nextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListSourceRepositoriesCommand");var se_ListSourceRepositoryBranchesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("sourceRepositoryName", () => input.sourceRepositoryName, "{sourceRepositoryName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      maxResults: [],      nextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListSourceRepositoryBranchesCommand");var se_ListSpacesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      nextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListSpacesCommand");var se_ListWorkflowRunsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  const query = (0, import_smithy_client.map)({    [_wI]: [, input[_wI]],    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sortBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sortBy")    })  );  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_ListWorkflowRunsCommand");var se_ListWorkflowsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflows");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sortBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sortBy")    })  );  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_ListWorkflowsCommand");var se_StartDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/start");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ides: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ides"),      inactivityTimeoutMinutes: [],      instanceType: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartDevEnvironmentCommand");var se_StartDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sessionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sessionConfiguration")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartDevEnvironmentSessionCommand");var se_StartWorkflowRunCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  const query = (0, import_smithy_client.map)({    [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)]  });  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]    })  );  b.m("PUT").h(headers).q(query).b(body);  return b.build();}, "se_StartWorkflowRunCommand");var se_StopDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/stop");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StopDevEnvironmentCommand");var se_StopDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("id", () => input.id, "{id}", false);  b.p("sessionId", () => input.sessionId, "{sessionId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_StopDevEnvironmentSessionCommand");var se_UpdateDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("projectName", () => input.projectName, "{projectName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      alias: [],      clientToken: [],      ides: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ides"),      inactivityTimeoutMinutes: [],      instanceType: []    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_UpdateDevEnvironmentCommand");var se_UpdateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{spaceName}/projects/{name}");  b.p("spaceName", () => input.spaceName, "{spaceName}", false);  b.p("name", () => input.name, "{name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      description: []    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_UpdateProjectCommand");var se_UpdateSpaceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/spaces/{name}");  b.p("name", () => input.name, "{name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      description: []    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_UpdateSpaceCommand");var se_VerifySessionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/session");  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_VerifySessionCommand");var de_CreateAccessTokenCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    accessTokenId: import_smithy_client.expectString,    expiresTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "expiresTime"),    name: import_smithy_client.expectString,    secret: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateAccessTokenCommand");var de_CreateDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString,    vpcConnectionName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateDevEnvironmentCommand");var de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    description: import_smithy_client.expectString,    displayName: import_smithy_client.expectString,    name: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateProjectCommand");var de_CreateSourceRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    description: import_smithy_client.expectString,    name: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateSourceRepositoryCommand");var de_CreateSourceRepositoryBranchCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    headCommitId: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    name: import_smithy_client.expectString,    ref: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateSourceRepositoryBranchCommand");var de_DeleteAccessTokenCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteAccessTokenCommand");var de_DeleteDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DeleteDevEnvironmentCommand");var de_DeleteProjectCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    displayName: import_smithy_client.expectString,    name: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DeleteProjectCommand");var de_DeleteSourceRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    name: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DeleteSourceRepositoryCommand");var de_DeleteSpaceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    displayName: import_smithy_client.expectString,    name: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DeleteSpaceCommand");var de_GetDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    alias: import_smithy_client.expectString,    creatorId: import_smithy_client.expectString,    id: import_smithy_client.expectString,    ides: import_smithy_client._json,    inactivityTimeoutMinutes: import_smithy_client.expectInt32,    instanceType: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    persistentStorage: import_smithy_client._json,    projectName: import_smithy_client.expectString,    repositories: import_smithy_client._json,    spaceName: import_smithy_client.expectString,    status: import_smithy_client.expectString,    statusReason: import_smithy_client.expectString,    vpcConnectionName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetDevEnvironmentCommand");var de_GetProjectCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    description: import_smithy_client.expectString,    displayName: import_smithy_client.expectString,    name: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetProjectCommand");var de_GetSourceRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),    description: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    name: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetSourceRepositoryCommand");var de_GetSourceRepositoryCloneUrlsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    https: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetSourceRepositoryCloneUrlsCommand");var de_GetSpaceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    description: import_smithy_client.expectString,    displayName: import_smithy_client.expectString,    name: import_smithy_client.expectString,    regionName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetSpaceCommand");var de_GetSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    awsAccountName: import_smithy_client.expectString,    pendingSubscriptionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "pendingSubscriptionStartTime"),    pendingSubscriptionType: import_smithy_client.expectString,    subscriptionType: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetSubscriptionCommand");var de_GetUserDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    displayName: import_smithy_client.expectString,    primaryEmail: import_smithy_client._json,    userId: import_smithy_client.expectString,    userName: import_smithy_client.expectString,    version: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetUserDetailsCommand");var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),    definition: import_smithy_client._json,    id: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    name: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    runMode: import_smithy_client.expectString,    sourceBranchName: import_smithy_client.expectString,    sourceRepositoryName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString,    status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetWorkflowCommand");var de_GetWorkflowRunCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),    id: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString,    startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),    status: import_smithy_client.expectString,    statusReasons: import_smithy_client._json,    workflowId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetWorkflowRunCommand");var de_ListAccessTokensCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_AccessTokenSummaries(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListAccessTokensCommand");var de_ListDevEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_DevEnvironmentSummaryList(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListDevEnvironmentsCommand");var de_ListDevEnvironmentSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_DevEnvironmentSessionsSummaryList(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListDevEnvironmentSessionsCommand");var de_ListEventLogsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_EventLogEntries(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListEventLogsCommand");var de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: import_smithy_client._json,    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListProjectsCommand");var de_ListSourceRepositoriesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_ListSourceRepositoriesItems(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListSourceRepositoriesCommand");var de_ListSourceRepositoryBranchesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_ListSourceRepositoryBranchesItems(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListSourceRepositoryBranchesCommand");var de_ListSpacesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: import_smithy_client._json,    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListSpacesCommand");var de_ListWorkflowRunsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_WorkflowRunSummaries(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListWorkflowRunsCommand");var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    items: /* @__PURE__ */ __name((_) => de_WorkflowSummaries(_, context), "items"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListWorkflowsCommand");var de_StartDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString,    status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartDevEnvironmentCommand");var de_StartDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    accessDetails: import_smithy_client._json,    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    sessionId: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartDevEnvironmentSessionCommand");var de_StartWorkflowRunCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString,    workflowId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartWorkflowRunCommand");var de_StopDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString,    status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StopDevEnvironmentCommand");var de_StopDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    sessionId: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StopDevEnvironmentSessionCommand");var de_UpdateDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    alias: import_smithy_client.expectString,    clientToken: import_smithy_client.expectString,    id: import_smithy_client.expectString,    ides: import_smithy_client._json,    inactivityTimeoutMinutes: import_smithy_client.expectInt32,    instanceType: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateDevEnvironmentCommand");var de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    description: import_smithy_client.expectString,    displayName: import_smithy_client.expectString,    name: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateProjectCommand");var de_UpdateSpaceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    description: import_smithy_client.expectString,    displayName: import_smithy_client.expectString,    name: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateSpaceCommand");var de_VerifySessionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    identity: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_VerifySessionCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {  const parsedOutput = {    ...output,    body: await (0, import_core2.parseJsonErrorBody)(output.body, context)  };  const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);  switch (errorCode) {    case "AccessDeniedException":    case "com.amazonaws.codecatalyst#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.codecatalyst#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.codecatalyst#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.codecatalyst#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "ValidationException":    case "com.amazonaws.codecatalyst#ValidationException":      throw await de_ValidationExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(CodeCatalystServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ServiceQuotaExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ValidationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var de_AccessTokenSummaries = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_AccessTokenSummary(entry, context);  });  return retVal;}, "de_AccessTokenSummaries");var de_AccessTokenSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    expiresTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "expiresTime"),    id: import_smithy_client.expectString,    name: import_smithy_client.expectString  });}, "de_AccessTokenSummary");var de_DevEnvironmentSessionsSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_DevEnvironmentSessionSummary(entry, context);  });  return retVal;}, "de_DevEnvironmentSessionsSummaryList");var de_DevEnvironmentSessionSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    devEnvironmentId: import_smithy_client.expectString,    id: import_smithy_client.expectString,    projectName: import_smithy_client.expectString,    spaceName: import_smithy_client.expectString,    startedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedTime")  });}, "de_DevEnvironmentSessionSummary");var de_DevEnvironmentSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    alias: import_smithy_client.expectString,    creatorId: import_smithy_client.expectString,    id: import_smithy_client.expectString,    ides: import_smithy_client._json,    inactivityTimeoutMinutes: import_smithy_client.expectInt32,    instanceType: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    persistentStorage: import_smithy_client._json,    projectName: import_smithy_client.expectString,    repositories: import_smithy_client._json,    spaceName: import_smithy_client.expectString,    status: import_smithy_client.expectString,    statusReason: import_smithy_client.expectString,    vpcConnectionName: import_smithy_client.expectString  });}, "de_DevEnvironmentSummary");var de_DevEnvironmentSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_DevEnvironmentSummary(entry, context);  });  return retVal;}, "de_DevEnvironmentSummaryList");var de_EventLogEntries = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_EventLogEntry(entry, context);  });  return retVal;}, "de_EventLogEntries");var de_EventLogEntry = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    errorCode: import_smithy_client.expectString,    eventCategory: import_smithy_client.expectString,    eventName: import_smithy_client.expectString,    eventSource: import_smithy_client.expectString,    eventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "eventTime"),    eventType: import_smithy_client.expectString,    id: import_smithy_client.expectString,    operationType: import_smithy_client.expectString,    projectInformation: import_smithy_client._json,    requestId: import_smithy_client.expectString,    requestPayload: import_smithy_client._json,    responsePayload: import_smithy_client._json,    sourceIpAddress: import_smithy_client.expectString,    userAgent: import_smithy_client.expectString,    userIdentity: import_smithy_client._json  });}, "de_EventLogEntry");var de_ListSourceRepositoriesItem = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),    description: import_smithy_client.expectString,    id: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    name: import_smithy_client.expectString  });}, "de_ListSourceRepositoriesItem");var de_ListSourceRepositoriesItems = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ListSourceRepositoriesItem(entry, context);  });  return retVal;}, "de_ListSourceRepositoriesItems");var de_ListSourceRepositoryBranchesItem = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    headCommitId: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    name: import_smithy_client.expectString,    ref: import_smithy_client.expectString  });}, "de_ListSourceRepositoryBranchesItem");var de_ListSourceRepositoryBranchesItems = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ListSourceRepositoryBranchesItem(entry, context);  });  return retVal;}, "de_ListSourceRepositoryBranchesItems");var de_WorkflowRunSummaries = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_WorkflowRunSummary(entry, context);  });  return retVal;}, "de_WorkflowRunSummaries");var de_WorkflowRunSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),    id: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),    status: import_smithy_client.expectString,    statusReasons: import_smithy_client._json,    workflowId: import_smithy_client.expectString,    workflowName: import_smithy_client.expectString  });}, "de_WorkflowRunSummary");var de_WorkflowSummaries = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_WorkflowSummary(entry, context);  });  return retVal;}, "de_WorkflowSummaries");var de_WorkflowSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),    definition: import_smithy_client._json,    id: import_smithy_client.expectString,    lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedTime"),    name: import_smithy_client.expectString,    runMode: import_smithy_client.expectString,    sourceBranchName: import_smithy_client.expectString,    sourceRepositoryName: import_smithy_client.expectString,    status: import_smithy_client.expectString  });}, "de_WorkflowSummary");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 _i = "id";var _mR = "maxResults";var _nT = "nextToken";var _uN = "userName";var _wI = "workflowId"; // src/commands/CreateAccessTokenCommand.tsvar CreateAccessTokenCommand = 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("CodeCatalyst", "CreateAccessToken", {}).n("CodeCatalystClient", "CreateAccessTokenCommand").f(void 0, CreateAccessTokenResponseFilterSensitiveLog).ser(se_CreateAccessTokenCommand).de(de_CreateAccessTokenCommand).build() {  static {    __name(this, "CreateAccessTokenCommand");  }}; // src/commands/CreateDevEnvironmentCommand.ts   var CreateDevEnvironmentCommand = 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("CodeCatalyst", "CreateDevEnvironment", {}).n("CodeCatalystClient", "CreateDevEnvironmentCommand").f(void 0, void 0).ser(se_CreateDevEnvironmentCommand).de(de_CreateDevEnvironmentCommand).build() {  static {    __name(this, "CreateDevEnvironmentCommand");  }}; // src/commands/CreateProjectCommand.ts   var CreateProjectCommand = 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("CodeCatalyst", "CreateProject", {}).n("CodeCatalystClient", "CreateProjectCommand").f(void 0, void 0).ser(se_CreateProjectCommand).de(de_CreateProjectCommand).build() {  static {    __name(this, "CreateProjectCommand");  }}; // src/commands/CreateSourceRepositoryBranchCommand.ts   var CreateSourceRepositoryBranchCommand = 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("CodeCatalyst", "CreateSourceRepositoryBranch", {}).n("CodeCatalystClient", "CreateSourceRepositoryBranchCommand").f(void 0, void 0).ser(se_CreateSourceRepositoryBranchCommand).de(de_CreateSourceRepositoryBranchCommand).build() {  static {    __name(this, "CreateSourceRepositoryBranchCommand");  }}; // src/commands/CreateSourceRepositoryCommand.ts   var CreateSourceRepositoryCommand = 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("CodeCatalyst", "CreateSourceRepository", {}).n("CodeCatalystClient", "CreateSourceRepositoryCommand").f(void 0, void 0).ser(se_CreateSourceRepositoryCommand).de(de_CreateSourceRepositoryCommand).build() {  static {    __name(this, "CreateSourceRepositoryCommand");  }}; // src/commands/DeleteAccessTokenCommand.ts   var DeleteAccessTokenCommand = 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("CodeCatalyst", "DeleteAccessToken", {}).n("CodeCatalystClient", "DeleteAccessTokenCommand").f(void 0, void 0).ser(se_DeleteAccessTokenCommand).de(de_DeleteAccessTokenCommand).build() {  static {    __name(this, "DeleteAccessTokenCommand");  }}; // src/commands/DeleteDevEnvironmentCommand.ts   var DeleteDevEnvironmentCommand = 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("CodeCatalyst", "DeleteDevEnvironment", {}).n("CodeCatalystClient", "DeleteDevEnvironmentCommand").f(void 0, void 0).ser(se_DeleteDevEnvironmentCommand).de(de_DeleteDevEnvironmentCommand).build() {  static {    __name(this, "DeleteDevEnvironmentCommand");  }}; // src/commands/DeleteProjectCommand.ts   var DeleteProjectCommand = 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("CodeCatalyst", "DeleteProject", {}).n("CodeCatalystClient", "DeleteProjectCommand").f(void 0, void 0).ser(se_DeleteProjectCommand).de(de_DeleteProjectCommand).build() {  static {    __name(this, "DeleteProjectCommand");  }}; // src/commands/DeleteSourceRepositoryCommand.ts   var DeleteSourceRepositoryCommand = 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("CodeCatalyst", "DeleteSourceRepository", {}).n("CodeCatalystClient", "DeleteSourceRepositoryCommand").f(void 0, void 0).ser(se_DeleteSourceRepositoryCommand).de(de_DeleteSourceRepositoryCommand).build() {  static {    __name(this, "DeleteSourceRepositoryCommand");  }}; // src/commands/DeleteSpaceCommand.ts   var DeleteSpaceCommand = 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("CodeCatalyst", "DeleteSpace", {}).n("CodeCatalystClient", "DeleteSpaceCommand").f(void 0, void 0).ser(se_DeleteSpaceCommand).de(de_DeleteSpaceCommand).build() {  static {    __name(this, "DeleteSpaceCommand");  }}; // src/commands/GetDevEnvironmentCommand.ts   var GetDevEnvironmentCommand = 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("CodeCatalyst", "GetDevEnvironment", {}).n("CodeCatalystClient", "GetDevEnvironmentCommand").f(void 0, void 0).ser(se_GetDevEnvironmentCommand).de(de_GetDevEnvironmentCommand).build() {  static {    __name(this, "GetDevEnvironmentCommand");  }}; // src/commands/GetProjectCommand.ts   var GetProjectCommand = 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("CodeCatalyst", "GetProject", {}).n("CodeCatalystClient", "GetProjectCommand").f(void 0, void 0).ser(se_GetProjectCommand).de(de_GetProjectCommand).build() {  static {    __name(this, "GetProjectCommand");  }}; // src/commands/GetSourceRepositoryCloneUrlsCommand.ts   var GetSourceRepositoryCloneUrlsCommand = 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("CodeCatalyst", "GetSourceRepositoryCloneUrls", {}).n("CodeCatalystClient", "GetSourceRepositoryCloneUrlsCommand").f(void 0, void 0).ser(se_GetSourceRepositoryCloneUrlsCommand).de(de_GetSourceRepositoryCloneUrlsCommand).build() {  static {    __name(this, "GetSourceRepositoryCloneUrlsCommand");  }}; // src/commands/GetSourceRepositoryCommand.ts   var GetSourceRepositoryCommand = 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("CodeCatalyst", "GetSourceRepository", {}).n("CodeCatalystClient", "GetSourceRepositoryCommand").f(void 0, void 0).ser(se_GetSourceRepositoryCommand).de(de_GetSourceRepositoryCommand).build() {  static {    __name(this, "GetSourceRepositoryCommand");  }}; // src/commands/GetSpaceCommand.ts   var GetSpaceCommand = 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("CodeCatalyst", "GetSpace", {}).n("CodeCatalystClient", "GetSpaceCommand").f(void 0, void 0).ser(se_GetSpaceCommand).de(de_GetSpaceCommand).build() {  static {    __name(this, "GetSpaceCommand");  }}; // src/commands/GetSubscriptionCommand.ts   var GetSubscriptionCommand = 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("CodeCatalyst", "GetSubscription", {}).n("CodeCatalystClient", "GetSubscriptionCommand").f(void 0, void 0).ser(se_GetSubscriptionCommand).de(de_GetSubscriptionCommand).build() {  static {    __name(this, "GetSubscriptionCommand");  }}; // src/commands/GetUserDetailsCommand.ts   var GetUserDetailsCommand = 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("CodeCatalyst", "GetUserDetails", {}).n("CodeCatalystClient", "GetUserDetailsCommand").f(void 0, void 0).ser(se_GetUserDetailsCommand).de(de_GetUserDetailsCommand).build() {  static {    __name(this, "GetUserDetailsCommand");  }}; // src/commands/GetWorkflowCommand.ts   var GetWorkflowCommand = 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("CodeCatalyst", "GetWorkflow", {}).n("CodeCatalystClient", "GetWorkflowCommand").f(void 0, void 0).ser(se_GetWorkflowCommand).de(de_GetWorkflowCommand).build() {  static {    __name(this, "GetWorkflowCommand");  }}; // src/commands/GetWorkflowRunCommand.ts   var GetWorkflowRunCommand = 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("CodeCatalyst", "GetWorkflowRun", {}).n("CodeCatalystClient", "GetWorkflowRunCommand").f(void 0, void 0).ser(se_GetWorkflowRunCommand).de(de_GetWorkflowRunCommand).build() {  static {    __name(this, "GetWorkflowRunCommand");  }}; // src/commands/ListAccessTokensCommand.ts   var ListAccessTokensCommand = 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("CodeCatalyst", "ListAccessTokens", {}).n("CodeCatalystClient", "ListAccessTokensCommand").f(void 0, void 0).ser(se_ListAccessTokensCommand).de(de_ListAccessTokensCommand).build() {  static {    __name(this, "ListAccessTokensCommand");  }}; // src/commands/ListDevEnvironmentsCommand.ts   var ListDevEnvironmentsCommand = 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("CodeCatalyst", "ListDevEnvironments", {}).n("CodeCatalystClient", "ListDevEnvironmentsCommand").f(void 0, void 0).ser(se_ListDevEnvironmentsCommand).de(de_ListDevEnvironmentsCommand).build() {  static {    __name(this, "ListDevEnvironmentsCommand");  }}; // src/commands/ListDevEnvironmentSessionsCommand.ts   var ListDevEnvironmentSessionsCommand = 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("CodeCatalyst", "ListDevEnvironmentSessions", {}).n("CodeCatalystClient", "ListDevEnvironmentSessionsCommand").f(void 0, void 0).ser(se_ListDevEnvironmentSessionsCommand).de(de_ListDevEnvironmentSessionsCommand).build() {  static {    __name(this, "ListDevEnvironmentSessionsCommand");  }}; // src/commands/ListEventLogsCommand.ts   var ListEventLogsCommand = 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("CodeCatalyst", "ListEventLogs", {}).n("CodeCatalystClient", "ListEventLogsCommand").f(void 0, void 0).ser(se_ListEventLogsCommand).de(de_ListEventLogsCommand).build() {  static {    __name(this, "ListEventLogsCommand");  }}; // src/commands/ListProjectsCommand.ts   var ListProjectsCommand = 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("CodeCatalyst", "ListProjects", {}).n("CodeCatalystClient", "ListProjectsCommand").f(void 0, void 0).ser(se_ListProjectsCommand).de(de_ListProjectsCommand).build() {  static {    __name(this, "ListProjectsCommand");  }}; // src/commands/ListSourceRepositoriesCommand.ts   var ListSourceRepositoriesCommand = 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("CodeCatalyst", "ListSourceRepositories", {}).n("CodeCatalystClient", "ListSourceRepositoriesCommand").f(void 0, void 0).ser(se_ListSourceRepositoriesCommand).de(de_ListSourceRepositoriesCommand).build() {  static {    __name(this, "ListSourceRepositoriesCommand");  }}; // src/commands/ListSourceRepositoryBranchesCommand.ts   var ListSourceRepositoryBranchesCommand = 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("CodeCatalyst", "ListSourceRepositoryBranches", {}).n("CodeCatalystClient", "ListSourceRepositoryBranchesCommand").f(void 0, void 0).ser(se_ListSourceRepositoryBranchesCommand).de(de_ListSourceRepositoryBranchesCommand).build() {  static {    __name(this, "ListSourceRepositoryBranchesCommand");  }}; // src/commands/ListSpacesCommand.ts   var ListSpacesCommand = 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("CodeCatalyst", "ListSpaces", {}).n("CodeCatalystClient", "ListSpacesCommand").f(void 0, void 0).ser(se_ListSpacesCommand).de(de_ListSpacesCommand).build() {  static {    __name(this, "ListSpacesCommand");  }}; // src/commands/ListWorkflowRunsCommand.ts   var ListWorkflowRunsCommand = 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("CodeCatalyst", "ListWorkflowRuns", {}).n("CodeCatalystClient", "ListWorkflowRunsCommand").f(void 0, void 0).ser(se_ListWorkflowRunsCommand).de(de_ListWorkflowRunsCommand).build() {  static {    __name(this, "ListWorkflowRunsCommand");  }}; // src/commands/ListWorkflowsCommand.ts   var ListWorkflowsCommand = 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("CodeCatalyst", "ListWorkflows", {}).n("CodeCatalystClient", "ListWorkflowsCommand").f(void 0, void 0).ser(se_ListWorkflowsCommand).de(de_ListWorkflowsCommand).build() {  static {    __name(this, "ListWorkflowsCommand");  }}; // src/commands/StartDevEnvironmentCommand.ts   var StartDevEnvironmentCommand = 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("CodeCatalyst", "StartDevEnvironment", {}).n("CodeCatalystClient", "StartDevEnvironmentCommand").f(void 0, void 0).ser(se_StartDevEnvironmentCommand).de(de_StartDevEnvironmentCommand).build() {  static {    __name(this, "StartDevEnvironmentCommand");  }}; // src/commands/StartDevEnvironmentSessionCommand.ts   var StartDevEnvironmentSessionCommand = 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("CodeCatalyst", "StartDevEnvironmentSession", {}).n("CodeCatalystClient", "StartDevEnvironmentSessionCommand").f(void 0, StartDevEnvironmentSessionResponseFilterSensitiveLog).ser(se_StartDevEnvironmentSessionCommand).de(de_StartDevEnvironmentSessionCommand).build() {  static {    __name(this, "StartDevEnvironmentSessionCommand");  }}; // src/commands/StartWorkflowRunCommand.ts   var StartWorkflowRunCommand = 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("CodeCatalyst", "StartWorkflowRun", {}).n("CodeCatalystClient", "StartWorkflowRunCommand").f(void 0, void 0).ser(se_StartWorkflowRunCommand).de(de_StartWorkflowRunCommand).build() {  static {    __name(this, "StartWorkflowRunCommand");  }}; // src/commands/StopDevEnvironmentCommand.ts   var StopDevEnvironmentCommand = 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("CodeCatalyst", "StopDevEnvironment", {}).n("CodeCatalystClient", "StopDevEnvironmentCommand").f(void 0, void 0).ser(se_StopDevEnvironmentCommand).de(de_StopDevEnvironmentCommand).build() {  static {    __name(this, "StopDevEnvironmentCommand");  }}; // src/commands/StopDevEnvironmentSessionCommand.ts   var StopDevEnvironmentSessionCommand = 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("CodeCatalyst", "StopDevEnvironmentSession", {}).n("CodeCatalystClient", "StopDevEnvironmentSessionCommand").f(void 0, void 0).ser(se_StopDevEnvironmentSessionCommand).de(de_StopDevEnvironmentSessionCommand).build() {  static {    __name(this, "StopDevEnvironmentSessionCommand");  }}; // src/commands/UpdateDevEnvironmentCommand.ts   var UpdateDevEnvironmentCommand = 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("CodeCatalyst", "UpdateDevEnvironment", {}).n("CodeCatalystClient", "UpdateDevEnvironmentCommand").f(void 0, void 0).ser(se_UpdateDevEnvironmentCommand).de(de_UpdateDevEnvironmentCommand).build() {  static {    __name(this, "UpdateDevEnvironmentCommand");  }}; // src/commands/UpdateProjectCommand.ts   var UpdateProjectCommand = 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("CodeCatalyst", "UpdateProject", {}).n("CodeCatalystClient", "UpdateProjectCommand").f(void 0, void 0).ser(se_UpdateProjectCommand).de(de_UpdateProjectCommand).build() {  static {    __name(this, "UpdateProjectCommand");  }}; // src/commands/UpdateSpaceCommand.ts   var UpdateSpaceCommand = 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("CodeCatalyst", "UpdateSpace", {}).n("CodeCatalystClient", "UpdateSpaceCommand").f(void 0, void 0).ser(se_UpdateSpaceCommand).de(de_UpdateSpaceCommand).build() {  static {    __name(this, "UpdateSpaceCommand");  }}; // src/commands/VerifySessionCommand.ts   var VerifySessionCommand = 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("CodeCatalyst", "VerifySession", {}).n("CodeCatalystClient", "VerifySessionCommand").f(void 0, void 0).ser(se_VerifySessionCommand).de(de_VerifySessionCommand).build() {  static {    __name(this, "VerifySessionCommand");  }}; // src/CodeCatalyst.tsvar commands = {  CreateAccessTokenCommand,  CreateDevEnvironmentCommand,  CreateProjectCommand,  CreateSourceRepositoryCommand,  CreateSourceRepositoryBranchCommand,  DeleteAccessTokenCommand,  DeleteDevEnvironmentCommand,  DeleteProjectCommand,  DeleteSourceRepositoryCommand,  DeleteSpaceCommand,  GetDevEnvironmentCommand,  GetProjectCommand,  GetSourceRepositoryCommand,  GetSourceRepositoryCloneUrlsCommand,  GetSpaceCommand,  GetSubscriptionCommand,  GetUserDetailsCommand,  GetWorkflowCommand,  GetWorkflowRunCommand,  ListAccessTokensCommand,  ListDevEnvironmentsCommand,  ListDevEnvironmentSessionsCommand,  ListEventLogsCommand,  ListProjectsCommand,  ListSourceRepositoriesCommand,  ListSourceRepositoryBranchesCommand,  ListSpacesCommand,  ListWorkflowRunsCommand,  ListWorkflowsCommand,  StartDevEnvironmentCommand,  StartDevEnvironmentSessionCommand,  StartWorkflowRunCommand,  StopDevEnvironmentCommand,  StopDevEnvironmentSessionCommand,  UpdateDevEnvironmentCommand,  UpdateProjectCommand,  UpdateSpaceCommand,  VerifySessionCommand};var CodeCatalyst = class extends CodeCatalystClient {  static {    __name(this, "CodeCatalyst");  }};(0, import_smithy_client.createAggregatedClient)(commands, CodeCatalyst); // src/pagination/ListAccessTokensPaginator.ts var paginateListAccessTokens = (0, import_core.createPaginator)(CodeCatalystClient, ListAccessTokensCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListDevEnvironmentSessionsPaginator.ts var paginateListDevEnvironmentSessions = (0, import_core.createPaginator)(CodeCatalystClient, ListDevEnvironmentSessionsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListDevEnvironmentsPaginator.ts var paginateListDevEnvironments = (0, import_core.createPaginator)(CodeCatalystClient, ListDevEnvironmentsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListEventLogsPaginator.ts var paginateListEventLogs = (0, import_core.createPaginator)(CodeCatalystClient, ListEventLogsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListProjectsPaginator.ts var paginateListProjects = (0, import_core.createPaginator)(CodeCatalystClient, ListProjectsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListSourceRepositoriesPaginator.ts var paginateListSourceRepositories = (0, import_core.createPaginator)(CodeCatalystClient, ListSourceRepositoriesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListSourceRepositoryBranchesPaginator.ts var paginateListSourceRepositoryBranches = (0, import_core.createPaginator)(CodeCatalystClient, ListSourceRepositoryBranchesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListSpacesPaginator.ts var paginateListSpaces = (0, import_core.createPaginator)(CodeCatalystClient, ListSpacesCommand, "nextToken", "nextToken", ""); // src/pagination/ListWorkflowRunsPaginator.ts var paginateListWorkflowRuns = (0, import_core.createPaginator)(CodeCatalystClient, ListWorkflowRunsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListWorkflowsPaginator.ts var paginateListWorkflows = (0, import_core.createPaginator)(CodeCatalystClient, ListWorkflowsCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  CodeCatalystServiceException,  __Client,  CodeCatalystClient,  CodeCatalyst,  $Command,  CreateAccessTokenCommand,  CreateDevEnvironmentCommand,  CreateProjectCommand,  CreateSourceRepositoryBranchCommand,  CreateSourceRepositoryCommand,  DeleteAccessTokenCommand,  DeleteDevEnvironmentCommand,  DeleteProjectCommand,  DeleteSourceRepositoryCommand,  DeleteSpaceCommand,  GetDevEnvironmentCommand,  GetProjectCommand,  GetSourceRepositoryCloneUrlsCommand,  GetSourceRepositoryCommand,  GetSpaceCommand,  GetSubscriptionCommand,  GetUserDetailsCommand,  GetWorkflowCommand,  GetWorkflowRunCommand,  ListAccessTokensCommand,  ListDevEnvironmentSessionsCommand,  ListDevEnvironmentsCommand,  ListEventLogsCommand,  ListProjectsCommand,  ListSourceRepositoriesCommand,  ListSourceRepositoryBranchesCommand,  ListSpacesCommand,  ListWorkflowRunsCommand,  ListWorkflowsCommand,  StartDevEnvironmentCommand,  StartDevEnvironmentSessionCommand,  StartWorkflowRunCommand,  StopDevEnvironmentCommand,  StopDevEnvironmentSessionCommand,  UpdateDevEnvironmentCommand,  UpdateProjectCommand,  UpdateSpaceCommand,  VerifySessionCommand,  paginateListAccessTokens,  paginateListDevEnvironmentSessions,  paginateListDevEnvironments,  paginateListEventLogs,  paginateListProjects,  paginateListSourceRepositories,  paginateListSourceRepositoryBranches,  paginateListSpaces,  paginateListWorkflowRuns,  paginateListWorkflows,  AccessDeniedException,  ConflictException,  ResourceNotFoundException,  ServiceQuotaExceededException,  ThrottlingException,  ValidationException,  OperationType,  UserType,  _InstanceType,  DevEnvironmentStatus,  DevEnvironmentSessionType,  ComparisonOperator,  FilterKey,  WorkflowRunMode,  WorkflowStatus,  WorkflowRunStatus,  CreateAccessTokenResponseFilterSensitiveLog,  DevEnvironmentAccessDetailsFilterSensitiveLog,  StartDevEnvironmentSessionResponseFilterSensitiveLog});