/proc/self/root/var/runtime/node_modules/@aws-sdk/client-codeconnections/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var CodeConnectionsServiceException = require('./models/CodeConnectionsServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "codeconnections", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class CodeConnectionsClient extends client.Client { config; constructor(...[configuration]) { const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = client$1.resolveUserAgentConfig(_config_1); const _config_3 = retry.resolveRetryConfig(_config_2); const _config_4 = config.resolveRegionConfig(_config_3); const _config_5 = client$1.resolveHostHeaderConfig(_config_4); const _config_6 = endpoints.resolveEndpointConfig(_config_5); const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); this.middlewareStack.use(retry.getRetryPlugin(this.config)); this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCodeConnectionsHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreateConnectionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "CreateConnection", {}) .n("CodeConnectionsClient", "CreateConnectionCommand") .sc(schemas_0.CreateConnection$) .build() {} class CreateHostCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "CreateHost", {}) .n("CodeConnectionsClient", "CreateHostCommand") .sc(schemas_0.CreateHost$) .build() {} class CreateRepositoryLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "CreateRepositoryLink", {}) .n("CodeConnectionsClient", "CreateRepositoryLinkCommand") .sc(schemas_0.CreateRepositoryLink$) .build() {} class CreateSyncConfigurationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "CreateSyncConfiguration", {}) .n("CodeConnectionsClient", "CreateSyncConfigurationCommand") .sc(schemas_0.CreateSyncConfiguration$) .build() {} class DeleteConnectionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "DeleteConnection", {}) .n("CodeConnectionsClient", "DeleteConnectionCommand") .sc(schemas_0.DeleteConnection$) .build() {} class DeleteHostCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "DeleteHost", {}) .n("CodeConnectionsClient", "DeleteHostCommand") .sc(schemas_0.DeleteHost$) .build() {} class DeleteRepositoryLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "DeleteRepositoryLink", {}) .n("CodeConnectionsClient", "DeleteRepositoryLinkCommand") .sc(schemas_0.DeleteRepositoryLink$) .build() {} class DeleteSyncConfigurationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "DeleteSyncConfiguration", {}) .n("CodeConnectionsClient", "DeleteSyncConfigurationCommand") .sc(schemas_0.DeleteSyncConfiguration$) .build() {} class GetConnectionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "GetConnection", {}) .n("CodeConnectionsClient", "GetConnectionCommand") .sc(schemas_0.GetConnection$) .build() {} class GetHostCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "GetHost", {}) .n("CodeConnectionsClient", "GetHostCommand") .sc(schemas_0.GetHost$) .build() {} class GetRepositoryLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "GetRepositoryLink", {}) .n("CodeConnectionsClient", "GetRepositoryLinkCommand") .sc(schemas_0.GetRepositoryLink$) .build() {} class GetRepositorySyncStatusCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "GetRepositorySyncStatus", {}) .n("CodeConnectionsClient", "GetRepositorySyncStatusCommand") .sc(schemas_0.GetRepositorySyncStatus$) .build() {} class GetResourceSyncStatusCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "GetResourceSyncStatus", {}) .n("CodeConnectionsClient", "GetResourceSyncStatusCommand") .sc(schemas_0.GetResourceSyncStatus$) .build() {} class GetSyncBlockerSummaryCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "GetSyncBlockerSummary", {}) .n("CodeConnectionsClient", "GetSyncBlockerSummaryCommand") .sc(schemas_0.GetSyncBlockerSummary$) .build() {} class GetSyncConfigurationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "GetSyncConfiguration", {}) .n("CodeConnectionsClient", "GetSyncConfigurationCommand") .sc(schemas_0.GetSyncConfiguration$) .build() {} class ListConnectionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "ListConnections", {}) .n("CodeConnectionsClient", "ListConnectionsCommand") .sc(schemas_0.ListConnections$) .build() {} class ListHostsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "ListHosts", {}) .n("CodeConnectionsClient", "ListHostsCommand") .sc(schemas_0.ListHosts$) .build() {} class ListRepositoryLinksCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "ListRepositoryLinks", {}) .n("CodeConnectionsClient", "ListRepositoryLinksCommand") .sc(schemas_0.ListRepositoryLinks$) .build() {} class ListRepositorySyncDefinitionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "ListRepositorySyncDefinitions", {}) .n("CodeConnectionsClient", "ListRepositorySyncDefinitionsCommand") .sc(schemas_0.ListRepositorySyncDefinitions$) .build() {} class ListSyncConfigurationsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "ListSyncConfigurations", {}) .n("CodeConnectionsClient", "ListSyncConfigurationsCommand") .sc(schemas_0.ListSyncConfigurations$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "ListTagsForResource", {}) .n("CodeConnectionsClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "TagResource", {}) .n("CodeConnectionsClient", "TagResourceCommand") .sc(schemas_0.TagResource$) .build() {} class UntagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "UntagResource", {}) .n("CodeConnectionsClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateHostCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "UpdateHost", {}) .n("CodeConnectionsClient", "UpdateHostCommand") .sc(schemas_0.UpdateHost$) .build() {} class UpdateRepositoryLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "UpdateRepositoryLink", {}) .n("CodeConnectionsClient", "UpdateRepositoryLinkCommand") .sc(schemas_0.UpdateRepositoryLink$) .build() {} class UpdateSyncBlockerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "UpdateSyncBlocker", {}) .n("CodeConnectionsClient", "UpdateSyncBlockerCommand") .sc(schemas_0.UpdateSyncBlocker$) .build() {} class UpdateSyncConfigurationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CodeConnections_20231201", "UpdateSyncConfiguration", {}) .n("CodeConnectionsClient", "UpdateSyncConfigurationCommand") .sc(schemas_0.UpdateSyncConfiguration$) .build() {} const paginateListConnections = core.createPaginator(CodeConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListHosts = core.createPaginator(CodeConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListRepositoryLinks = core.createPaginator(CodeConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSyncConfigurations = core.createPaginator(CodeConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); const commands = { CreateConnectionCommand, CreateHostCommand, CreateRepositoryLinkCommand, CreateSyncConfigurationCommand, DeleteConnectionCommand, DeleteHostCommand, DeleteRepositoryLinkCommand, DeleteSyncConfigurationCommand, GetConnectionCommand, GetHostCommand, GetRepositoryLinkCommand, GetRepositorySyncStatusCommand, GetResourceSyncStatusCommand, GetSyncBlockerSummaryCommand, GetSyncConfigurationCommand, ListConnectionsCommand, ListHostsCommand, ListRepositoryLinksCommand, ListRepositorySyncDefinitionsCommand, ListSyncConfigurationsCommand, ListTagsForResourceCommand, TagResourceCommand, UntagResourceCommand, UpdateHostCommand, UpdateRepositoryLinkCommand, UpdateSyncBlockerCommand, UpdateSyncConfigurationCommand,};const paginators = { paginateListConnections, paginateListHosts, paginateListRepositoryLinks, paginateListSyncConfigurations,};class CodeConnections extends CodeConnectionsClient {}client.createAggregatedClient(commands, CodeConnections, { paginators }); const BlockerStatus = { ACTIVE: "ACTIVE", RESOLVED: "RESOLVED",};const BlockerType = { AUTOMATED: "AUTOMATED",};const ProviderType = { AZURE_DEV_OPS: "AzureDevOps", BITBUCKET: "Bitbucket", GITHUB: "GitHub", GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer", GITLAB: "GitLab", GITLAB_SELF_MANAGED: "GitLabSelfManaged",};const PublishDeploymentStatus = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const PullRequestComment = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const SyncConfigurationType = { CFN_STACK_SYNC: "CFN_STACK_SYNC",};const TriggerResourceUpdateOn = { ANY_CHANGE: "ANY_CHANGE", FILE_CHANGE: "FILE_CHANGE",};const ConnectionStatus = { AVAILABLE: "AVAILABLE", ERROR: "ERROR", PENDING: "PENDING",};const RepositorySyncStatus = { FAILED: "FAILED", INITIATED: "INITIATED", IN_PROGRESS: "IN_PROGRESS", QUEUED: "QUEUED", SUCCEEDED: "SUCCEEDED",};const ResourceSyncStatus = { FAILED: "FAILED", INITIATED: "INITIATED", IN_PROGRESS: "IN_PROGRESS", SUCCEEDED: "SUCCEEDED",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.CodeConnectionsServiceException = CodeConnectionsServiceException.CodeConnectionsServiceException;exports.BlockerStatus = BlockerStatus;exports.BlockerType = BlockerType;exports.CodeConnections = CodeConnections;exports.CodeConnectionsClient = CodeConnectionsClient;exports.ConnectionStatus = ConnectionStatus;exports.CreateConnectionCommand = CreateConnectionCommand;exports.CreateHostCommand = CreateHostCommand;exports.CreateRepositoryLinkCommand = CreateRepositoryLinkCommand;exports.CreateSyncConfigurationCommand = CreateSyncConfigurationCommand;exports.DeleteConnectionCommand = DeleteConnectionCommand;exports.DeleteHostCommand = DeleteHostCommand;exports.DeleteRepositoryLinkCommand = DeleteRepositoryLinkCommand;exports.DeleteSyncConfigurationCommand = DeleteSyncConfigurationCommand;exports.GetConnectionCommand = GetConnectionCommand;exports.GetHostCommand = GetHostCommand;exports.GetRepositoryLinkCommand = GetRepositoryLinkCommand;exports.GetRepositorySyncStatusCommand = GetRepositorySyncStatusCommand;exports.GetResourceSyncStatusCommand = GetResourceSyncStatusCommand;exports.GetSyncBlockerSummaryCommand = GetSyncBlockerSummaryCommand;exports.GetSyncConfigurationCommand = GetSyncConfigurationCommand;exports.ListConnectionsCommand = ListConnectionsCommand;exports.ListHostsCommand = ListHostsCommand;exports.ListRepositoryLinksCommand = ListRepositoryLinksCommand;exports.ListRepositorySyncDefinitionsCommand = ListRepositorySyncDefinitionsCommand;exports.ListSyncConfigurationsCommand = ListSyncConfigurationsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ProviderType = ProviderType;exports.PublishDeploymentStatus = PublishDeploymentStatus;exports.PullRequestComment = PullRequestComment;exports.RepositorySyncStatus = RepositorySyncStatus;exports.ResourceSyncStatus = ResourceSyncStatus;exports.SyncConfigurationType = SyncConfigurationType;exports.TagResourceCommand = TagResourceCommand;exports.TriggerResourceUpdateOn = TriggerResourceUpdateOn;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateHostCommand = UpdateHostCommand;exports.UpdateRepositoryLinkCommand = UpdateRepositoryLinkCommand;exports.UpdateSyncBlockerCommand = UpdateSyncBlockerCommand;exports.UpdateSyncConfigurationCommand = UpdateSyncConfigurationCommand;exports.paginateListConnections = paginateListConnections;exports.paginateListHosts = paginateListHosts;exports.paginateListRepositoryLinks = paginateListRepositoryLinks;exports.paginateListSyncConfigurations = paginateListSyncConfigurations;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: schemas_0['__proto__'] }); Object.keys(schemas_0).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: errors['__proto__'] }); Object.keys(errors).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});