/proc/self/root/var/runtime/node_modules/@aws-sdk/client-route53profiles/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 Route53ProfilesServiceException = require('./models/Route53ProfilesServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "route53profiles", });};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 Route53ProfilesClient 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.defaultRoute53ProfilesHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class AssociateProfileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "AssociateProfile", {}) .n("Route53ProfilesClient", "AssociateProfileCommand") .sc(schemas_0.AssociateProfile$) .build() {} class AssociateResourceToProfileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "AssociateResourceToProfile", {}) .n("Route53ProfilesClient", "AssociateResourceToProfileCommand") .sc(schemas_0.AssociateResourceToProfile$) .build() {} class CreateProfileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "CreateProfile", {}) .n("Route53ProfilesClient", "CreateProfileCommand") .sc(schemas_0.CreateProfile$) .build() {} class DeleteProfileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "DeleteProfile", {}) .n("Route53ProfilesClient", "DeleteProfileCommand") .sc(schemas_0.DeleteProfile$) .build() {} class DisassociateProfileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "DisassociateProfile", {}) .n("Route53ProfilesClient", "DisassociateProfileCommand") .sc(schemas_0.DisassociateProfile$) .build() {} class DisassociateResourceFromProfileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "DisassociateResourceFromProfile", {}) .n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand") .sc(schemas_0.DisassociateResourceFromProfile$) .build() {} class GetProfileAssociationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "GetProfileAssociation", {}) .n("Route53ProfilesClient", "GetProfileAssociationCommand") .sc(schemas_0.GetProfileAssociation$) .build() {} class GetProfileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "GetProfile", {}) .n("Route53ProfilesClient", "GetProfileCommand") .sc(schemas_0.GetProfile$) .build() {} class GetProfileResourceAssociationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "GetProfileResourceAssociation", {}) .n("Route53ProfilesClient", "GetProfileResourceAssociationCommand") .sc(schemas_0.GetProfileResourceAssociation$) .build() {} class ListProfileAssociationsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "ListProfileAssociations", {}) .n("Route53ProfilesClient", "ListProfileAssociationsCommand") .sc(schemas_0.ListProfileAssociations$) .build() {} class ListProfileResourceAssociationsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "ListProfileResourceAssociations", {}) .n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand") .sc(schemas_0.ListProfileResourceAssociations$) .build() {} class ListProfilesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "ListProfiles", {}) .n("Route53ProfilesClient", "ListProfilesCommand") .sc(schemas_0.ListProfiles$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "ListTagsForResource", {}) .n("Route53ProfilesClient", "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("Route53Profiles", "TagResource", {}) .n("Route53ProfilesClient", "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("Route53Profiles", "UntagResource", {}) .n("Route53ProfilesClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateProfileResourceAssociationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Route53Profiles", "UpdateProfileResourceAssociation", {}) .n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand") .sc(schemas_0.UpdateProfileResourceAssociation$) .build() {} const paginateListProfileAssociations = core.createPaginator(Route53ProfilesClient, ListProfileAssociationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListProfileResourceAssociations = core.createPaginator(Route53ProfilesClient, ListProfileResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListProfiles = core.createPaginator(Route53ProfilesClient, ListProfilesCommand, "NextToken", "NextToken", "MaxResults"); const commands = { AssociateProfileCommand, AssociateResourceToProfileCommand, CreateProfileCommand, DeleteProfileCommand, DisassociateProfileCommand, DisassociateResourceFromProfileCommand, GetProfileCommand, GetProfileAssociationCommand, GetProfileResourceAssociationCommand, ListProfileAssociationsCommand, ListProfileResourceAssociationsCommand, ListProfilesCommand, ListTagsForResourceCommand, TagResourceCommand, UntagResourceCommand, UpdateProfileResourceAssociationCommand,};const paginators = { paginateListProfileAssociations, paginateListProfileResourceAssociations, paginateListProfiles,};class Route53Profiles extends Route53ProfilesClient {}client.createAggregatedClient(commands, Route53Profiles, { paginators }); const ProfileStatus = { COMPLETE: "COMPLETE", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", FAILED: "FAILED", UPDATING: "UPDATING",};const ShareStatus = { NOT_SHARED: "NOT_SHARED", SHARED_BY_ME: "SHARED_BY_ME", SHARED_WITH_ME: "SHARED_WITH_ME",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.Route53ProfilesServiceException = Route53ProfilesServiceException.Route53ProfilesServiceException;exports.AssociateProfileCommand = AssociateProfileCommand;exports.AssociateResourceToProfileCommand = AssociateResourceToProfileCommand;exports.CreateProfileCommand = CreateProfileCommand;exports.DeleteProfileCommand = DeleteProfileCommand;exports.DisassociateProfileCommand = DisassociateProfileCommand;exports.DisassociateResourceFromProfileCommand = DisassociateResourceFromProfileCommand;exports.GetProfileAssociationCommand = GetProfileAssociationCommand;exports.GetProfileCommand = GetProfileCommand;exports.GetProfileResourceAssociationCommand = GetProfileResourceAssociationCommand;exports.ListProfileAssociationsCommand = ListProfileAssociationsCommand;exports.ListProfileResourceAssociationsCommand = ListProfileResourceAssociationsCommand;exports.ListProfilesCommand = ListProfilesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ProfileStatus = ProfileStatus;exports.Route53Profiles = Route53Profiles;exports.Route53ProfilesClient = Route53ProfilesClient;exports.ShareStatus = ShareStatus;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateProfileResourceAssociationCommand = UpdateProfileResourceAssociationCommand;exports.paginateListProfileAssociations = paginateListProfileAssociations;exports.paginateListProfileResourceAssociations = paginateListProfileResourceAssociations;exports.paginateListProfiles = paginateListProfiles;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];});