/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 __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, AssociateProfileCommand: () => AssociateProfileCommand, AssociateResourceToProfileCommand: () => AssociateResourceToProfileCommand, ConflictException: () => ConflictException, CreateProfileCommand: () => CreateProfileCommand, DeleteProfileCommand: () => DeleteProfileCommand, DisassociateProfileCommand: () => DisassociateProfileCommand, DisassociateResourceFromProfileCommand: () => DisassociateResourceFromProfileCommand, GetProfileAssociationCommand: () => GetProfileAssociationCommand, GetProfileCommand: () => GetProfileCommand, GetProfileResourceAssociationCommand: () => GetProfileResourceAssociationCommand, InternalServiceErrorException: () => InternalServiceErrorException, InvalidNextTokenException: () => InvalidNextTokenException, InvalidParameterException: () => InvalidParameterException, LimitExceededException: () => LimitExceededException, ListProfileAssociationsCommand: () => ListProfileAssociationsCommand, ListProfileResourceAssociationsCommand: () => ListProfileResourceAssociationsCommand, ListProfilesCommand: () => ListProfilesCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ProfileStatus: () => ProfileStatus, ResourceExistsException: () => ResourceExistsException, ResourceNotFoundException: () => ResourceNotFoundException, Route53Profiles: () => Route53Profiles, Route53ProfilesClient: () => Route53ProfilesClient, Route53ProfilesServiceException: () => Route53ProfilesServiceException, ShareStatus: () => ShareStatus, TagResourceCommand: () => TagResourceCommand, ThrottlingException: () => ThrottlingException, UntagResourceCommand: () => UntagResourceCommand, UpdateProfileResourceAssociationCommand: () => UpdateProfileResourceAssociationCommand, ValidationException: () => ValidationException, __Client: () => import_smithy_client.Client, paginateListProfileAssociations: () => paginateListProfileAssociations, paginateListProfileResourceAssociations: () => paginateListProfileResourceAssociations, paginateListProfiles: () => paginateListProfiles});module.exports = __toCommonJS(index_exports); // src/Route53ProfilesClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "route53profiles" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/Route53ProfilesClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/Route53ProfilesClient.tsvar Route53ProfilesClient = class extends import_smithy_client.Client { static { __name(this, "Route53ProfilesClient"); } /** * The resolved configuration of Route53ProfilesClient class. This is resolved and normalized from the {@link Route53ProfilesClientConfig | 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.defaultRoute53ProfilesHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/Route53Profiles.ts // src/commands/AssociateProfileCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/Route53ProfilesServiceException.ts var Route53ProfilesServiceException = class _Route53ProfilesServiceException extends import_smithy_client.ServiceException { static { __name(this, "Route53ProfilesServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _Route53ProfilesServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends Route53ProfilesServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); this.Message = opts.Message; }};var ProfileStatus = { COMPLETE: "COMPLETE", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", FAILED: "FAILED", UPDATING: "UPDATING"};var ConflictException = class _ConflictException extends Route53ProfilesServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.Message = opts.Message; }};var InvalidParameterException = class _InvalidParameterException extends Route53ProfilesServiceException { static { __name(this, "InvalidParameterException"); } name = "InvalidParameterException"; $fault = "client"; Message; /** * <p> * The parameter field name for the invalid parameter exception. * </p> * @public */ FieldName; /** * @internal */ constructor(opts) { super({ name: "InvalidParameterException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidParameterException.prototype); this.Message = opts.Message; this.FieldName = opts.FieldName; }};var LimitExceededException = class _LimitExceededException extends Route53ProfilesServiceException { static { __name(this, "LimitExceededException"); } name = "LimitExceededException"; $fault = "client"; Message; /** * <p> * The resource type that caused the limits to be exceeded. * </p> * @public */ ResourceType; /** * @internal */ constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LimitExceededException.prototype); this.Message = opts.Message; this.ResourceType = opts.ResourceType; }};var ResourceExistsException = class _ResourceExistsException extends Route53ProfilesServiceException { static { __name(this, "ResourceExistsException"); } name = "ResourceExistsException"; $fault = "client"; Message; /** * <p> * The resource type that caused the resource exists exception. * </p> * @public */ ResourceType; /** * @internal */ constructor(opts) { super({ name: "ResourceExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceExistsException.prototype); this.Message = opts.Message; this.ResourceType = opts.ResourceType; }};var ResourceNotFoundException = class _ResourceNotFoundException extends Route53ProfilesServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; Message; /** * <p> * The resource type that caused the resource not found exception. * </p> * @public */ ResourceType; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; this.ResourceType = opts.ResourceType; }};var ThrottlingException = class _ThrottlingException extends Route53ProfilesServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); this.Message = opts.Message; }};var ValidationException = class _ValidationException extends Route53ProfilesServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); this.Message = opts.Message; }};var InternalServiceErrorException = class _InternalServiceErrorException extends Route53ProfilesServiceException { static { __name(this, "InternalServiceErrorException"); } name = "InternalServiceErrorException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InternalServiceErrorException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InternalServiceErrorException.prototype); this.Message = opts.Message; }};var ShareStatus = { NOT_SHARED: "NOT_SHARED", SHARED_BY_ME: "SHARED_BY_ME", SHARED_WITH_ME: "SHARED_WITH_ME"};var InvalidNextTokenException = class _InvalidNextTokenException extends Route53ProfilesServiceException { static { __name(this, "InvalidNextTokenException"); } name = "InvalidNextTokenException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidNextTokenException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidNextTokenException.prototype); this.Message = opts.Message; }}; // src/protocols/Aws_restJson1.tsvar se_AssociateProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/profileassociation"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [], ProfileId: [], ResourceId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateProfileCommand");var se_AssociateResourceToProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/profileresourceassociation"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [], ProfileId: [], ResourceArn: [], ResourceProperties: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateResourceToProfileCommand");var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/profile"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], Name: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateProfileCommand");var se_DeleteProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profile/{ProfileId}"); b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteProfileCommand");var se_DisassociateProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}"); b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false); b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateProfileCommand");var se_DisassociateResourceFromProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}"); b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateResourceFromProfileCommand");var se_GetProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profile/{ProfileId}"); b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetProfileCommand");var se_GetProfileAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profileassociation/{ProfileAssociationId}"); b.p("ProfileAssociationId", () => input.ProfileAssociationId, "{ProfileAssociationId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetProfileAssociationCommand");var se_GetProfileResourceAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profileresourceassociation/{ProfileResourceAssociationId}"); b.p( "ProfileResourceAssociationId", () => input.ProfileResourceAssociationId, "{ProfileResourceAssociationId}", false ); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetProfileResourceAssociationCommand");var se_ListProfileAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profileassociations"); const query = (0, import_smithy_client.map)({ [_rI]: [, input[_RI]], [_pI]: [, input[_PI]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListProfileAssociationsCommand");var se_ListProfileResourceAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profileresourceassociations/profileid/{ProfileId}"); b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false); const query = (0, import_smithy_client.map)({ [_rT]: [, input[_RT]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListProfileResourceAssociationsCommand");var se_ListProfilesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profiles"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListProfilesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); const query = (0, import_smithy_client.map)({ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateProfileResourceAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/profileresourceassociation/{ProfileResourceAssociationId}"); b.p( "ProfileResourceAssociationId", () => input.ProfileResourceAssociationId, "{ProfileResourceAssociationId}", false ); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [], ResourceProperties: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateProfileResourceAssociationCommand");var de_AssociateProfileCommand = /* @__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, { ProfileAssociation: /* @__PURE__ */ __name((_) => de_ProfileAssociation(_, context), "ProfileAssociation") }); Object.assign(contents, doc); return contents;}, "de_AssociateProfileCommand");var de_AssociateResourceToProfileCommand = /* @__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, { ProfileResourceAssociation: /* @__PURE__ */ __name((_) => de_ProfileResourceAssociation(_, context), "ProfileResourceAssociation") }); Object.assign(contents, doc); return contents;}, "de_AssociateResourceToProfileCommand");var de_CreateProfileCommand = /* @__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, { Profile: /* @__PURE__ */ __name((_) => de_Profile(_, context), "Profile") }); Object.assign(contents, doc); return contents;}, "de_CreateProfileCommand");var de_DeleteProfileCommand = /* @__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, { Profile: /* @__PURE__ */ __name((_) => de_Profile(_, context), "Profile") }); Object.assign(contents, doc); return contents;}, "de_DeleteProfileCommand");var de_DisassociateProfileCommand = /* @__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, { ProfileAssociation: /* @__PURE__ */ __name((_) => de_ProfileAssociation(_, context), "ProfileAssociation") }); Object.assign(contents, doc); return contents;}, "de_DisassociateProfileCommand");var de_DisassociateResourceFromProfileCommand = /* @__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, { ProfileResourceAssociation: /* @__PURE__ */ __name((_) => de_ProfileResourceAssociation(_, context), "ProfileResourceAssociation") }); Object.assign(contents, doc); return contents;}, "de_DisassociateResourceFromProfileCommand");var de_GetProfileCommand = /* @__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, { Profile: /* @__PURE__ */ __name((_) => de_Profile(_, context), "Profile") }); Object.assign(contents, doc); return contents;}, "de_GetProfileCommand");var de_GetProfileAssociationCommand = /* @__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, { ProfileAssociation: /* @__PURE__ */ __name((_) => de_ProfileAssociation(_, context), "ProfileAssociation") }); Object.assign(contents, doc); return contents;}, "de_GetProfileAssociationCommand");var de_GetProfileResourceAssociationCommand = /* @__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, { ProfileResourceAssociation: /* @__PURE__ */ __name((_) => de_ProfileResourceAssociation(_, context), "ProfileResourceAssociation") }); Object.assign(contents, doc); return contents;}, "de_GetProfileResourceAssociationCommand");var de_ListProfileAssociationsCommand = /* @__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, { NextToken: import_smithy_client.expectString, ProfileAssociations: /* @__PURE__ */ __name((_) => de_ProfileAssociations(_, context), "ProfileAssociations") }); Object.assign(contents, doc); return contents;}, "de_ListProfileAssociationsCommand");var de_ListProfileResourceAssociationsCommand = /* @__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, { NextToken: import_smithy_client.expectString, ProfileResourceAssociations: /* @__PURE__ */ __name((_) => de_ProfileResourceAssociations(_, context), "ProfileResourceAssociations") }); Object.assign(contents, doc); return contents;}, "de_ListProfileResourceAssociationsCommand");var de_ListProfilesCommand = /* @__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, { NextToken: import_smithy_client.expectString, ProfileSummaries: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListProfilesCommand");var de_ListTagsForResourceCommand = /* @__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, { Tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 204 && 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_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 204 && 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_UntagResourceCommand");var de_UpdateProfileResourceAssociationCommand = /* @__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, { ProfileResourceAssociation: /* @__PURE__ */ __name((_) => de_ProfileResourceAssociation(_, context), "ProfileResourceAssociation") }); Object.assign(contents, doc); return contents;}, "de_UpdateProfileResourceAssociationCommand");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.route53profiles#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.route53profiles#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "InvalidParameterException": case "com.amazonaws.route53profiles#InvalidParameterException": throw await de_InvalidParameterExceptionRes(parsedOutput, context); case "LimitExceededException": case "com.amazonaws.route53profiles#LimitExceededException": throw await de_LimitExceededExceptionRes(parsedOutput, context); case "ResourceExistsException": case "com.amazonaws.route53profiles#ResourceExistsException": throw await de_ResourceExistsExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.route53profiles#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.route53profiles#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.route53profiles#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "InternalServiceErrorException": case "com.amazonaws.route53profiles#InternalServiceErrorException": throw await de_InternalServiceErrorExceptionRes(parsedOutput, context); case "InvalidNextTokenException": case "com.amazonaws.route53profiles#InvalidNextTokenException": throw await de_InvalidNextTokenExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(Route53ProfilesServiceException);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_InternalServiceErrorExceptionRes = /* @__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 InternalServiceErrorException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServiceErrorExceptionRes");var de_InvalidNextTokenExceptionRes = /* @__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 InvalidNextTokenException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidNextTokenExceptionRes");var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { FieldName: import_smithy_client.expectString, Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidParameterException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidParameterExceptionRes");var de_LimitExceededExceptionRes = /* @__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, ResourceType: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new LimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_LimitExceededExceptionRes");var de_ResourceExistsExceptionRes = /* @__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, ResourceType: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceExistsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceExistsExceptionRes");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, ResourceType: 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_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_Profile = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, ClientToken: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), Id: import_smithy_client.expectString, ModificationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModificationTime"), Name: import_smithy_client.expectString, OwnerId: import_smithy_client.expectString, ShareStatus: import_smithy_client.expectString, Status: import_smithy_client.expectString, StatusMessage: import_smithy_client.expectString });}, "de_Profile");var de_ProfileAssociation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), Id: import_smithy_client.expectString, ModificationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModificationTime"), Name: import_smithy_client.expectString, OwnerId: import_smithy_client.expectString, ProfileId: import_smithy_client.expectString, ResourceId: import_smithy_client.expectString, Status: import_smithy_client.expectString, StatusMessage: import_smithy_client.expectString });}, "de_ProfileAssociation");var de_ProfileAssociations = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ProfileAssociation(entry, context); }); return retVal;}, "de_ProfileAssociations");var de_ProfileResourceAssociation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), Id: import_smithy_client.expectString, ModificationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModificationTime"), Name: import_smithy_client.expectString, OwnerId: import_smithy_client.expectString, ProfileId: import_smithy_client.expectString, ResourceArn: import_smithy_client.expectString, ResourceProperties: import_smithy_client.expectString, ResourceType: import_smithy_client.expectString, Status: import_smithy_client.expectString, StatusMessage: import_smithy_client.expectString });}, "de_ProfileResourceAssociation");var de_ProfileResourceAssociations = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ProfileResourceAssociation(entry, context); }); return retVal;}, "de_ProfileResourceAssociations");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 _MR = "MaxResults";var _NT = "NextToken";var _PI = "ProfileId";var _RI = "ResourceId";var _RT = "ResourceType";var _TK = "TagKeys";var _mR = "maxResults";var _nT = "nextToken";var _pI = "profileId";var _rI = "resourceId";var _rT = "resourceType";var _tK = "tagKeys"; // src/commands/AssociateProfileCommand.tsvar AssociateProfileCommand = 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("Route53Profiles", "AssociateProfile", {}).n("Route53ProfilesClient", "AssociateProfileCommand").f(void 0, void 0).ser(se_AssociateProfileCommand).de(de_AssociateProfileCommand).build() { static { __name(this, "AssociateProfileCommand"); }}; // src/commands/AssociateResourceToProfileCommand.ts var AssociateResourceToProfileCommand = 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("Route53Profiles", "AssociateResourceToProfile", {}).n("Route53ProfilesClient", "AssociateResourceToProfileCommand").f(void 0, void 0).ser(se_AssociateResourceToProfileCommand).de(de_AssociateResourceToProfileCommand).build() { static { __name(this, "AssociateResourceToProfileCommand"); }}; // src/commands/CreateProfileCommand.ts var CreateProfileCommand = 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("Route53Profiles", "CreateProfile", {}).n("Route53ProfilesClient", "CreateProfileCommand").f(void 0, void 0).ser(se_CreateProfileCommand).de(de_CreateProfileCommand).build() { static { __name(this, "CreateProfileCommand"); }}; // src/commands/DeleteProfileCommand.ts var DeleteProfileCommand = 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("Route53Profiles", "DeleteProfile", {}).n("Route53ProfilesClient", "DeleteProfileCommand").f(void 0, void 0).ser(se_DeleteProfileCommand).de(de_DeleteProfileCommand).build() { static { __name(this, "DeleteProfileCommand"); }}; // src/commands/DisassociateProfileCommand.ts var DisassociateProfileCommand = 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("Route53Profiles", "DisassociateProfile", {}).n("Route53ProfilesClient", "DisassociateProfileCommand").f(void 0, void 0).ser(se_DisassociateProfileCommand).de(de_DisassociateProfileCommand).build() { static { __name(this, "DisassociateProfileCommand"); }}; // src/commands/DisassociateResourceFromProfileCommand.ts var DisassociateResourceFromProfileCommand = 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("Route53Profiles", "DisassociateResourceFromProfile", {}).n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand").f(void 0, void 0).ser(se_DisassociateResourceFromProfileCommand).de(de_DisassociateResourceFromProfileCommand).build() { static { __name(this, "DisassociateResourceFromProfileCommand"); }}; // src/commands/GetProfileAssociationCommand.ts var GetProfileAssociationCommand = 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("Route53Profiles", "GetProfileAssociation", {}).n("Route53ProfilesClient", "GetProfileAssociationCommand").f(void 0, void 0).ser(se_GetProfileAssociationCommand).de(de_GetProfileAssociationCommand).build() { static { __name(this, "GetProfileAssociationCommand"); }}; // src/commands/GetProfileCommand.ts var GetProfileCommand = 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("Route53Profiles", "GetProfile", {}).n("Route53ProfilesClient", "GetProfileCommand").f(void 0, void 0).ser(se_GetProfileCommand).de(de_GetProfileCommand).build() { static { __name(this, "GetProfileCommand"); }}; // src/commands/GetProfileResourceAssociationCommand.ts var GetProfileResourceAssociationCommand = 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("Route53Profiles", "GetProfileResourceAssociation", {}).n("Route53ProfilesClient", "GetProfileResourceAssociationCommand").f(void 0, void 0).ser(se_GetProfileResourceAssociationCommand).de(de_GetProfileResourceAssociationCommand).build() { static { __name(this, "GetProfileResourceAssociationCommand"); }}; // src/commands/ListProfileAssociationsCommand.ts var ListProfileAssociationsCommand = 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("Route53Profiles", "ListProfileAssociations", {}).n("Route53ProfilesClient", "ListProfileAssociationsCommand").f(void 0, void 0).ser(se_ListProfileAssociationsCommand).de(de_ListProfileAssociationsCommand).build() { static { __name(this, "ListProfileAssociationsCommand"); }}; // src/commands/ListProfileResourceAssociationsCommand.ts var ListProfileResourceAssociationsCommand = 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("Route53Profiles", "ListProfileResourceAssociations", {}).n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand").f(void 0, void 0).ser(se_ListProfileResourceAssociationsCommand).de(de_ListProfileResourceAssociationsCommand).build() { static { __name(this, "ListProfileResourceAssociationsCommand"); }}; // src/commands/ListProfilesCommand.ts var ListProfilesCommand = 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("Route53Profiles", "ListProfiles", {}).n("Route53ProfilesClient", "ListProfilesCommand").f(void 0, void 0).ser(se_ListProfilesCommand).de(de_ListProfilesCommand).build() { static { __name(this, "ListProfilesCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("Route53Profiles", "ListTagsForResource", {}).n("Route53ProfilesClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("Route53Profiles", "TagResource", {}).n("Route53ProfilesClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("Route53Profiles", "UntagResource", {}).n("Route53ProfilesClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateProfileResourceAssociationCommand.ts var UpdateProfileResourceAssociationCommand = 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("Route53Profiles", "UpdateProfileResourceAssociation", {}).n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand").f(void 0, void 0).ser(se_UpdateProfileResourceAssociationCommand).de(de_UpdateProfileResourceAssociationCommand).build() { static { __name(this, "UpdateProfileResourceAssociationCommand"); }}; // src/Route53Profiles.tsvar commands = { AssociateProfileCommand, AssociateResourceToProfileCommand, CreateProfileCommand, DeleteProfileCommand, DisassociateProfileCommand, DisassociateResourceFromProfileCommand, GetProfileCommand, GetProfileAssociationCommand, GetProfileResourceAssociationCommand, ListProfileAssociationsCommand, ListProfileResourceAssociationsCommand, ListProfilesCommand, ListTagsForResourceCommand, TagResourceCommand, UntagResourceCommand, UpdateProfileResourceAssociationCommand};var Route53Profiles = class extends Route53ProfilesClient { static { __name(this, "Route53Profiles"); }};(0, import_smithy_client.createAggregatedClient)(commands, Route53Profiles); // src/pagination/ListProfileAssociationsPaginator.ts var paginateListProfileAssociations = (0, import_core.createPaginator)(Route53ProfilesClient, ListProfileAssociationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListProfileResourceAssociationsPaginator.ts var paginateListProfileResourceAssociations = (0, import_core.createPaginator)(Route53ProfilesClient, ListProfileResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListProfilesPaginator.ts var paginateListProfiles = (0, import_core.createPaginator)(Route53ProfilesClient, ListProfilesCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { Route53ProfilesServiceException, __Client, Route53ProfilesClient, Route53Profiles, $Command, AssociateProfileCommand, AssociateResourceToProfileCommand, CreateProfileCommand, DeleteProfileCommand, DisassociateProfileCommand, DisassociateResourceFromProfileCommand, GetProfileAssociationCommand, GetProfileCommand, GetProfileResourceAssociationCommand, ListProfileAssociationsCommand, ListProfileResourceAssociationsCommand, ListProfilesCommand, ListTagsForResourceCommand, TagResourceCommand, UntagResourceCommand, UpdateProfileResourceAssociationCommand, paginateListProfileAssociations, paginateListProfileResourceAssociations, paginateListProfiles, AccessDeniedException, ProfileStatus, ConflictException, InvalidParameterException, LimitExceededException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, ValidationException, InternalServiceErrorException, ShareStatus, InvalidNextTokenException});