/proc/2/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 /.
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultRoute53ProfilesHttpAuthSchemeParametersProvider = async (config, context, input) => { return { operation: getSmithyContext(context).operation, region: await normalizeProvider(config.region)() || (() => { throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); })(), };};function createAwsAuthSigv4HttpAuthOption(authParameters) { return { schemeId: "aws.auth#sigv4", signingProperties: { name: "route53profiles", region: authParameters.region, }, propertiesExtractor: (config, context) => ({ signingProperties: { config, context, }, }), };}const defaultRoute53ProfilesHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { default: { options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); } } return options;};const resolveHttpAuthSchemeConfig = (config) => { const config_0 = resolveAwsSdkSigV4Config(config); return Object.assign(config_0, { authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), });}; 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" },}; var version = "3.1104.0";var packageInfo = { version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = { conditions: [ [c, [g]], [c, j], ["aws.partition", j, d], [e, [{ [k]: "UseFIPS" }, b]], [e, [{ [k]: "UseDualStack" }, b]], [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]], [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]] ], results: [ [a], [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], [g, i], ["https://route53profiles-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], ["https://route53profiles-fips.{Region}.{PartitionResult#dnsSuffix}", i], [a, "FIPS is enabled but this partition does not support FIPS"], ["https://route53profiles.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "DualStack is enabled but this partition does not support DualStack"], ["https://route53profiles.{Region}.{PartitionResult#dnsSuffix}", i], [a, "Invalid Configuration: Missing Region"] ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([ -1, 1, -1, 0, 12, 3, 1, 4, r + 11, 2, 5, r + 11, 3, 8, 6, 4, 7, r + 10, 5, r + 8, r + 9, 4, 10, 9, 6, r + 6, r + 7, 5, 11, r + 5, 6, r + 4, r + 5, 3, r + 1, 13, 4, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({ size: 50, params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => { return cache.get(endpointParams, () => decideEndpoint(bdd, { endpointParams: endpointParams, logger: context.logger, }));};customEndpointFunctions.aws = awsEndpointFunctions; class Route53ProfilesServiceException extends ServiceException { constructor(options) { super(options); Object.setPrototypeOf(this, Route53ProfilesServiceException.prototype); }} class AccessDeniedException extends Route53ProfilesServiceException { name = "AccessDeniedException"; $fault = "client"; Message; constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, AccessDeniedException.prototype); this.Message = opts.Message; }}class ConflictException extends Route53ProfilesServiceException { name = "ConflictException"; $fault = "client"; Message; constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ConflictException.prototype); this.Message = opts.Message; }}class InvalidParameterException extends Route53ProfilesServiceException { name = "InvalidParameterException"; $fault = "client"; Message; FieldName; constructor(opts) { super({ name: "InvalidParameterException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidParameterException.prototype); this.Message = opts.Message; this.FieldName = opts.FieldName; }}class LimitExceededException extends Route53ProfilesServiceException { name = "LimitExceededException"; $fault = "client"; Message; ResourceType; constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, LimitExceededException.prototype); this.Message = opts.Message; this.ResourceType = opts.ResourceType; }}class ResourceExistsException extends Route53ProfilesServiceException { name = "ResourceExistsException"; $fault = "client"; Message; ResourceType; constructor(opts) { super({ name: "ResourceExistsException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceExistsException.prototype); this.Message = opts.Message; this.ResourceType = opts.ResourceType; }}class ResourceNotFoundException extends Route53ProfilesServiceException { name = "ResourceNotFoundException"; $fault = "client"; Message; ResourceType; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceNotFoundException.prototype); this.Message = opts.Message; this.ResourceType = opts.ResourceType; }}class ThrottlingException extends Route53ProfilesServiceException { name = "ThrottlingException"; $fault = "client"; Message; constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ThrottlingException.prototype); this.Message = opts.Message; }}class ValidationException extends Route53ProfilesServiceException { name = "ValidationException"; $fault = "client"; Message; constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ValidationException.prototype); this.Message = opts.Message; }}class InternalServiceErrorException extends Route53ProfilesServiceException { name = "InternalServiceErrorException"; $fault = "client"; Message; constructor(opts) { super({ name: "InternalServiceErrorException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InternalServiceErrorException.prototype); this.Message = opts.Message; }}class InvalidNextTokenException extends Route53ProfilesServiceException { name = "InvalidNextTokenException"; $fault = "client"; Message; constructor(opts) { super({ name: "InvalidNextTokenException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidNextTokenException.prototype); this.Message = opts.Message; }} const _A = "Arn";const _ADE = "AccessDeniedException";const _AP = "AssociateProfile";const _APR = "AssociateProfileRequest";const _APRs = "AssociateProfileResponse";const _ARTP = "AssociateResourceToProfile";const _ARTPR = "AssociateResourceToProfileRequest";const _ARTPRs = "AssociateResourceToProfileResponse";const _CE = "ConflictException";const _CP = "CreateProfile";const _CPR = "CreateProfileRequest";const _CPRr = "CreateProfileResponse";const _CT = "ClientToken";const _CTr = "CreationTime";const _DP = "DeleteProfile";const _DPR = "DeleteProfileRequest";const _DPRe = "DeleteProfileResponse";const _DPRi = "DisassociateProfileRequest";const _DPRis = "DisassociateProfileResponse";const _DPi = "DisassociateProfile";const _DRFP = "DisassociateResourceFromProfile";const _DRFPR = "DisassociateResourceFromProfileRequest";const _DRFPRi = "DisassociateResourceFromProfileResponse";const _FN = "FieldName";const _GP = "GetProfile";const _GPA = "GetProfileAssociation";const _GPAR = "GetProfileAssociationRequest";const _GPARe = "GetProfileAssociationResponse";const _GPR = "GetProfileRequest";const _GPRA = "GetProfileResourceAssociation";const _GPRAR = "GetProfileResourceAssociationRequest";const _GPRARe = "GetProfileResourceAssociationResponse";const _GPRe = "GetProfileResponse";const _I = "Id";const _INTE = "InvalidNextTokenException";const _IPE = "InvalidParameterException";const _ISEE = "InternalServiceErrorException";const _K = "Key";const _LEE = "LimitExceededException";const _LP = "ListProfiles";const _LPA = "ListProfileAssociations";const _LPAR = "ListProfileAssociationsRequest";const _LPARi = "ListProfileAssociationsResponse";const _LPR = "ListProfilesRequest";const _LPRA = "ListProfileResourceAssociations";const _LPRAR = "ListProfileResourceAssociationsRequest";const _LPRARi = "ListProfileResourceAssociationsResponse";const _LPRi = "ListProfilesResponse";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _M = "Message";const _MR = "MaxResults";const _MT = "ModificationTime";const _N = "Name";const _NT = "NextToken";const _OI = "OwnerId";const _P = "Profile";const _PA = "ProfileAssociation";const _PAI = "ProfileAssociationId";const _PAr = "ProfileAssociations";const _PI = "ProfileId";const _PRA = "ProfileResourceAssociation";const _PRAI = "ProfileResourceAssociationId";const _PRAr = "ProfileResourceAssociations";const _PS = "ProfileSummaries";const _PSL = "ProfileSummaryList";const _PSr = "ProfileSummary";const _RA = "ResourceArn";const _REE = "ResourceExistsException";const _RI = "ResourceId";const _RNFE = "ResourceNotFoundException";const _RP = "ResourceProperties";const _RT = "ResourceType";const _S = "Status";const _SM = "StatusMessage";const _SS = "ShareStatus";const _T = "Tags";const _TE = "ThrottlingException";const _TK = "TagKeys";const _TL = "TagList";const _TR = "TagResource";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _Ta = "Tag";const _UPRA = "UpdateProfileResourceAssociation";const _UPRAR = "UpdateProfileResourceAssociationRequest";const _UPRARp = "UpdateProfileResourceAssociationResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _V = "Value";const _VE = "ValidationException";const _c = "client";const _e = "error";const _h = "http";const _hQ = "httpQuery";const _mR = "maxResults";const _nT = "nextToken";const _pI = "profileId";const _rI = "resourceId";const _rT = "resourceType";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53profiles";const _tK = "tagKeys";const n0 = "com.amazonaws.route53profiles";const _s_registry = TypeRegistry.for(_s);var Route53ProfilesServiceException$ = [-3, _s, "Route53ProfilesServiceException", 0, [], []];_s_registry.registerError(Route53ProfilesServiceException$, Route53ProfilesServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_M], [0]];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var ConflictException$ = [-3, n0, _CE, { [_e]: _c }, [_M], [0]];n0_registry.registerError(ConflictException$, ConflictException);var InternalServiceErrorException$ = [-3, n0, _ISEE, { [_e]: _c }, [_M], [0]];n0_registry.registerError(InternalServiceErrorException$, InternalServiceErrorException);var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];n0_registry.registerError(InvalidNextTokenException$, InvalidNextTokenException);var InvalidParameterException$ = [-3, n0, _IPE, { [_e]: _c }, [_M, _FN], [0, 0], 1];n0_registry.registerError(InvalidParameterException$, InvalidParameterException);var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c }, [_M, _RT], [0, 0]];n0_registry.registerError(LimitExceededException$, LimitExceededException);var ResourceExistsException$ = [-3, n0, _REE, { [_e]: _c }, [_M, _RT], [0, 0]];n0_registry.registerError(ResourceExistsException$, ResourceExistsException);var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c }, [_M, _RT], [0, 0]];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c }, [_M], [0]];n0_registry.registerError(ThrottlingException$, ThrottlingException);var ValidationException$ = [-3, n0, _VE, { [_e]: _c }, [_M], [0]];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [ _s_registry, n0_registry,];var AssociateProfileRequest$ = [3, n0, _APR, 0, [_PI, _RI, _N, _T], [0, 0, 0, () => TagList], 3];var AssociateProfileResponse$ = [3, n0, _APRs, 0, [_PA], [() => ProfileAssociation$]];var AssociateResourceToProfileRequest$ = [3, n0, _ARTPR, 0, [_PI, _RA, _N, _RP], [0, 0, 0, 0], 3];var AssociateResourceToProfileResponse$ = [3, n0, _ARTPRs, 0, [_PRA], [() => ProfileResourceAssociation$]];var CreateProfileRequest$ = [3, n0, _CPR, 0, [_N, _CT, _T], [0, [0, 4], () => TagList], 1];var CreateProfileResponse$ = [3, n0, _CPRr, 0, [_P], [() => Profile$]];var DeleteProfileRequest$ = [3, n0, _DPR, 0, [_PI], [[0, 1]], 1];var DeleteProfileResponse$ = [3, n0, _DPRe, 0, [_P], [() => Profile$]];var DisassociateProfileRequest$ = [3, n0, _DPRi, 0, [_PI, _RI], [[0, 1], [0, 1]], 2];var DisassociateProfileResponse$ = [3, n0, _DPRis, 0, [_PA], [() => ProfileAssociation$]];var DisassociateResourceFromProfileRequest$ = [3, n0, _DRFPR, 0, [_PI, _RA], [[0, 1], [0, 1]], 2];var DisassociateResourceFromProfileResponse$ = [3, n0, _DRFPRi, 0, [_PRA], [() => ProfileResourceAssociation$]];var GetProfileAssociationRequest$ = [3, n0, _GPAR, 0, [_PAI], [[0, 1]], 1];var GetProfileAssociationResponse$ = [3, n0, _GPARe, 0, [_PA], [() => ProfileAssociation$]];var GetProfileRequest$ = [3, n0, _GPR, 0, [_PI], [[0, 1]], 1];var GetProfileResourceAssociationRequest$ = [3, n0, _GPRAR, 0, [_PRAI], [[0, 1]], 1];var GetProfileResourceAssociationResponse$ = [3, n0, _GPRARe, 0, [_PRA], [() => ProfileResourceAssociation$]];var GetProfileResponse$ = [3, n0, _GPRe, 0, [_P], [() => Profile$]];var ListProfileAssociationsRequest$ = [3, n0, _LPAR, 0, [_RI, _PI, _MR, _NT], [[0, { [_hQ]: _rI }], [0, { [_hQ]: _pI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]];var ListProfileAssociationsResponse$ = [3, n0, _LPARi, 0, [_PAr, _NT], [() => ProfileAssociations, 0]];var ListProfileResourceAssociationsRequest$ = [3, n0, _LPRAR, 0, [_PI, _RT, _MR, _NT], [[0, 1], [0, { [_hQ]: _rT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1];var ListProfileResourceAssociationsResponse$ = [3, n0, _LPRARi, 0, [_PRAr, _NT], [() => ProfileResourceAssociations, 0]];var ListProfilesRequest$ = [3, n0, _LPR, 0, [_MR, _NT], [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]];var ListProfilesResponse$ = [3, n0, _LPRi, 0, [_PS, _NT], [() => ProfileSummaryList, 0]];var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_RA], [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_T], [128 | 0], 1];var Profile$ = [3, n0, _P, 0, [_I, _A, _N, _OI, _S, _SM, _SS, _CTr, _MT, _CT], [0, 0, 0, 0, 0, 0, 0, 4, 4, 0]];var ProfileAssociation$ = [3, n0, _PA, 0, [_I, _N, _OI, _PI, _RI, _S, _SM, _CTr, _MT], [0, 0, 0, 0, 0, 0, 0, 4, 4]];var ProfileResourceAssociation$ = [3, n0, _PRA, 0, [_I, _N, _OI, _PI, _RA, _RT, _RP, _S, _SM, _CTr, _MT], [0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4]];var ProfileSummary$ = [3, n0, _PSr, 0, [_I, _A, _N, _SS], [0, 0, 0, 0]];var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2];var TagResourceRequest$ = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0], 2];var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];var UntagResourceRequest$ = [3, n0, _URR, 0, [_RA, _TK], [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2];var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];var UpdateProfileResourceAssociationRequest$ = [3, n0, _UPRAR, 0, [_PRAI, _N, _RP], [[0, 1], 0, 0], 1];var UpdateProfileResourceAssociationResponse$ = [3, n0, _UPRARp, 0, [_PRA], [() => ProfileResourceAssociation$]];var ProfileAssociations = [1, n0, _PAr, 0, () => ProfileAssociation$];var ProfileResourceAssociations = [1, n0, _PRAr, 0, () => ProfileResourceAssociation$];var ProfileSummaryList = [1, n0, _PSL, 0, () => ProfileSummary$];var TagList = [1, n0, _TL, 0, () => Tag$];var AssociateProfile$ = [9, n0, _AP, { [_h]: ["POST", "/profileassociation", 200] }, () => AssociateProfileRequest$, () => AssociateProfileResponse$];var AssociateResourceToProfile$ = [9, n0, _ARTP, { [_h]: ["POST", "/profileresourceassociation", 200] }, () => AssociateResourceToProfileRequest$, () => AssociateResourceToProfileResponse$];var CreateProfile$ = [9, n0, _CP, { [_h]: ["POST", "/profile", 200] }, () => CreateProfileRequest$, () => CreateProfileResponse$];var DeleteProfile$ = [9, n0, _DP, { [_h]: ["DELETE", "/profile/{ProfileId}", 200] }, () => DeleteProfileRequest$, () => DeleteProfileResponse$];var DisassociateProfile$ = [9, n0, _DPi, { [_h]: ["DELETE", "/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}", 200] }, () => DisassociateProfileRequest$, () => DisassociateProfileResponse$];var DisassociateResourceFromProfile$ = [9, n0, _DRFP, { [_h]: ["DELETE", "/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}", 200] }, () => DisassociateResourceFromProfileRequest$, () => DisassociateResourceFromProfileResponse$];var GetProfile$ = [9, n0, _GP, { [_h]: ["GET", "/profile/{ProfileId}", 200] }, () => GetProfileRequest$, () => GetProfileResponse$];var GetProfileAssociation$ = [9, n0, _GPA, { [_h]: ["GET", "/profileassociation/{ProfileAssociationId}", 200] }, () => GetProfileAssociationRequest$, () => GetProfileAssociationResponse$];var GetProfileResourceAssociation$ = [9, n0, _GPRA, { [_h]: ["GET", "/profileresourceassociation/{ProfileResourceAssociationId}", 200] }, () => GetProfileResourceAssociationRequest$, () => GetProfileResourceAssociationResponse$];var ListProfileAssociations$ = [9, n0, _LPA, { [_h]: ["GET", "/profileassociations", 200] }, () => ListProfileAssociationsRequest$, () => ListProfileAssociationsResponse$];var ListProfileResourceAssociations$ = [9, n0, _LPRA, { [_h]: ["GET", "/profileresourceassociations/profileid/{ProfileId}", 200] }, () => ListProfileResourceAssociationsRequest$, () => ListProfileResourceAssociationsResponse$];var ListProfiles$ = [9, n0, _LP, { [_h]: ["GET", "/profiles", 200] }, () => ListProfilesRequest$, () => ListProfilesResponse$];var ListTagsForResource$ = [9, n0, _LTFR, { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var TagResource$ = [9, n0, _TR, { [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR, { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateProfileResourceAssociation$ = [9, n0, _UPRA, { [_h]: ["PATCH", "/profileresourceassociation/{ProfileResourceAssociationId}", 200] }, () => UpdateProfileResourceAssociationRequest$, () => UpdateProfileResourceAssociationResponse$]; const getRuntimeConfig$1 = (config) => { return { apiVersion: "2018-05-10", base64Decoder: config?.base64Decoder ?? fromBase64, base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, extensions: config?.extensions ?? [], httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultRoute53ProfilesHttpAuthSchemeProvider, httpAuthSchemes: config?.httpAuthSchemes ?? [ { schemeId: "aws.auth#sigv4", identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), signer: new AwsSdkSigV4Signer(), }, ], logger: config?.logger ?? new NoOpLogger(), protocol: config?.protocol ?? AwsRestJsonProtocol, protocolSettings: config?.protocolSettings ?? { defaultNamespace: "com.amazonaws.route53profiles", errorTypeRegistries, version: "2018-05-10", serviceTarget: "Route53Profiles", }, serviceId: config?.serviceId ?? "Route53Profiles", sha256: config?.sha256 ?? Sha256, urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8, };}; const getRuntimeConfig = (config) => { emitWarningIfUnsupportedVersion(process.version); const defaultsMode = resolveDefaultsModeConfig(config); const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); const clientSharedValues = getRuntimeConfig$1(config); emitWarningIfUnsupportedVersion$1(process.version); const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger, }; return { ...clientSharedValues, ...config, runtime: "node", defaultsMode, authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? loadConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config), streamCollector: config?.streamCollector ?? streamCollector, useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), };}; 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(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class Route53ProfilesClient extends Client { config; constructor(...[configuration]) { const _config_0 = getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = resolveUserAgentConfig(_config_1); const _config_3 = resolveRetryConfig(_config_2); const _config_4 = resolveRegionConfig(_config_3); const _config_5 = resolveHostHeaderConfig(_config_4); const _config_6 = resolveEndpointConfig(_config_5); const _config_7 = resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); this.middlewareStack.use(getHostHeaderPlugin(this.config)); this.middlewareStack.use(getLoggerPlugin(this.config)); this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: defaultRoute53ProfilesHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} const command = makeBuilder(commonParams, "Route53Profiles", "Route53ProfilesClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class AssociateProfileCommand extends command(_ep0, _mw0, "AssociateProfile", AssociateProfile$) {} class AssociateResourceToProfileCommand extends command(_ep0, _mw0, "AssociateResourceToProfile", AssociateResourceToProfile$) {} class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {} class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {} class DisassociateProfileCommand extends command(_ep0, _mw0, "DisassociateProfile", DisassociateProfile$) {} class DisassociateResourceFromProfileCommand extends command(_ep0, _mw0, "DisassociateResourceFromProfile", DisassociateResourceFromProfile$) {} class GetProfileAssociationCommand extends command(_ep0, _mw0, "GetProfileAssociation", GetProfileAssociation$) {} class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {} class GetProfileResourceAssociationCommand extends command(_ep0, _mw0, "GetProfileResourceAssociation", GetProfileResourceAssociation$) {} class ListProfileAssociationsCommand extends command(_ep0, _mw0, "ListProfileAssociations", ListProfileAssociations$) {} class ListProfileResourceAssociationsCommand extends command(_ep0, _mw0, "ListProfileResourceAssociations", ListProfileResourceAssociations$) {} class ListProfilesCommand extends command(_ep0, _mw0, "ListProfiles", ListProfiles$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateProfileResourceAssociationCommand extends command(_ep0, _mw0, "UpdateProfileResourceAssociation", UpdateProfileResourceAssociation$) {} const paginateListProfileAssociations = createPaginator(Route53ProfilesClient, ListProfileAssociationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListProfileResourceAssociations = createPaginator(Route53ProfilesClient, ListProfileResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListProfiles = 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 {}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.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.AssociateProfile$ = AssociateProfile$;exports.AssociateProfileCommand = AssociateProfileCommand;exports.AssociateProfileRequest$ = AssociateProfileRequest$;exports.AssociateProfileResponse$ = AssociateProfileResponse$;exports.AssociateResourceToProfile$ = AssociateResourceToProfile$;exports.AssociateResourceToProfileCommand = AssociateResourceToProfileCommand;exports.AssociateResourceToProfileRequest$ = AssociateResourceToProfileRequest$;exports.AssociateResourceToProfileResponse$ = AssociateResourceToProfileResponse$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.CreateProfile$ = CreateProfile$;exports.CreateProfileCommand = CreateProfileCommand;exports.CreateProfileRequest$ = CreateProfileRequest$;exports.CreateProfileResponse$ = CreateProfileResponse$;exports.DeleteProfile$ = DeleteProfile$;exports.DeleteProfileCommand = DeleteProfileCommand;exports.DeleteProfileRequest$ = DeleteProfileRequest$;exports.DeleteProfileResponse$ = DeleteProfileResponse$;exports.DisassociateProfile$ = DisassociateProfile$;exports.DisassociateProfileCommand = DisassociateProfileCommand;exports.DisassociateProfileRequest$ = DisassociateProfileRequest$;exports.DisassociateProfileResponse$ = DisassociateProfileResponse$;exports.DisassociateResourceFromProfile$ = DisassociateResourceFromProfile$;exports.DisassociateResourceFromProfileCommand = DisassociateResourceFromProfileCommand;exports.DisassociateResourceFromProfileRequest$ = DisassociateResourceFromProfileRequest$;exports.DisassociateResourceFromProfileResponse$ = DisassociateResourceFromProfileResponse$;exports.GetProfile$ = GetProfile$;exports.GetProfileAssociation$ = GetProfileAssociation$;exports.GetProfileAssociationCommand = GetProfileAssociationCommand;exports.GetProfileAssociationRequest$ = GetProfileAssociationRequest$;exports.GetProfileAssociationResponse$ = GetProfileAssociationResponse$;exports.GetProfileCommand = GetProfileCommand;exports.GetProfileRequest$ = GetProfileRequest$;exports.GetProfileResourceAssociation$ = GetProfileResourceAssociation$;exports.GetProfileResourceAssociationCommand = GetProfileResourceAssociationCommand;exports.GetProfileResourceAssociationRequest$ = GetProfileResourceAssociationRequest$;exports.GetProfileResourceAssociationResponse$ = GetProfileResourceAssociationResponse$;exports.GetProfileResponse$ = GetProfileResponse$;exports.InternalServiceErrorException = InternalServiceErrorException;exports.InternalServiceErrorException$ = InternalServiceErrorException$;exports.InvalidNextTokenException = InvalidNextTokenException;exports.InvalidNextTokenException$ = InvalidNextTokenException$;exports.InvalidParameterException = InvalidParameterException;exports.InvalidParameterException$ = InvalidParameterException$;exports.LimitExceededException = LimitExceededException;exports.LimitExceededException$ = LimitExceededException$;exports.ListProfileAssociations$ = ListProfileAssociations$;exports.ListProfileAssociationsCommand = ListProfileAssociationsCommand;exports.ListProfileAssociationsRequest$ = ListProfileAssociationsRequest$;exports.ListProfileAssociationsResponse$ = ListProfileAssociationsResponse$;exports.ListProfileResourceAssociations$ = ListProfileResourceAssociations$;exports.ListProfileResourceAssociationsCommand = ListProfileResourceAssociationsCommand;exports.ListProfileResourceAssociationsRequest$ = ListProfileResourceAssociationsRequest$;exports.ListProfileResourceAssociationsResponse$ = ListProfileResourceAssociationsResponse$;exports.ListProfiles$ = ListProfiles$;exports.ListProfilesCommand = ListProfilesCommand;exports.ListProfilesRequest$ = ListProfilesRequest$;exports.ListProfilesResponse$ = ListProfilesResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.Profile$ = Profile$;exports.ProfileAssociation$ = ProfileAssociation$;exports.ProfileResourceAssociation$ = ProfileResourceAssociation$;exports.ProfileStatus = ProfileStatus;exports.ProfileSummary$ = ProfileSummary$;exports.ResourceExistsException = ResourceExistsException;exports.ResourceExistsException$ = ResourceExistsException$;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.Route53Profiles = Route53Profiles;exports.Route53ProfilesClient = Route53ProfilesClient;exports.Route53ProfilesServiceException = Route53ProfilesServiceException;exports.Route53ProfilesServiceException$ = Route53ProfilesServiceException$;exports.ShareStatus = ShareStatus;exports.Tag$ = Tag$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateProfileResourceAssociation$ = UpdateProfileResourceAssociation$;exports.UpdateProfileResourceAssociationCommand = UpdateProfileResourceAssociationCommand;exports.UpdateProfileResourceAssociationRequest$ = UpdateProfileResourceAssociationRequest$;exports.UpdateProfileResourceAssociationResponse$ = UpdateProfileResourceAssociationResponse$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateListProfileAssociations = paginateListProfileAssociations;exports.paginateListProfileResourceAssociations = paginateListProfileResourceAssociations;exports.paginateListProfiles = paginateListProfiles;