/var/runtime/node_modules/@aws-sdk/client-rolesanywhere/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, CertificateField: () => CertificateField, CreateProfileCommand: () => CreateProfileCommand, CreateProfileRequestFilterSensitiveLog: () => CreateProfileRequestFilterSensitiveLog, CreateTrustAnchorCommand: () => CreateTrustAnchorCommand, CreateTrustAnchorRequestFilterSensitiveLog: () => CreateTrustAnchorRequestFilterSensitiveLog, DeleteAttributeMappingCommand: () => DeleteAttributeMappingCommand, DeleteCrlCommand: () => DeleteCrlCommand, DeleteProfileCommand: () => DeleteProfileCommand, DeleteTrustAnchorCommand: () => DeleteTrustAnchorCommand, DisableCrlCommand: () => DisableCrlCommand, DisableProfileCommand: () => DisableProfileCommand, DisableTrustAnchorCommand: () => DisableTrustAnchorCommand, EnableCrlCommand: () => EnableCrlCommand, EnableProfileCommand: () => EnableProfileCommand, EnableTrustAnchorCommand: () => EnableTrustAnchorCommand, GetCrlCommand: () => GetCrlCommand, GetProfileCommand: () => GetProfileCommand, GetSubjectCommand: () => GetSubjectCommand, GetTrustAnchorCommand: () => GetTrustAnchorCommand, ImportCrlCommand: () => ImportCrlCommand, ImportCrlRequestFilterSensitiveLog: () => ImportCrlRequestFilterSensitiveLog, ListCrlsCommand: () => ListCrlsCommand, ListProfilesCommand: () => ListProfilesCommand, ListSubjectsCommand: () => ListSubjectsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog, ListTrustAnchorsCommand: () => ListTrustAnchorsCommand, NotificationChannel: () => NotificationChannel, NotificationEvent: () => NotificationEvent, PutAttributeMappingCommand: () => PutAttributeMappingCommand, PutNotificationSettingsCommand: () => PutNotificationSettingsCommand, ResetNotificationSettingsCommand: () => ResetNotificationSettingsCommand, ResourceNotFoundException: () => ResourceNotFoundException, RolesAnywhere: () => RolesAnywhere, RolesAnywhereClient: () => RolesAnywhereClient, RolesAnywhereServiceException: () => RolesAnywhereServiceException, SourceData: () => SourceData, TagFilterSensitiveLog: () => TagFilterSensitiveLog, TagResourceCommand: () => TagResourceCommand, TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog, TooManyTagsException: () => TooManyTagsException, TrustAnchorType: () => TrustAnchorType, UntagResourceCommand: () => UntagResourceCommand, UntagResourceRequestFilterSensitiveLog: () => UntagResourceRequestFilterSensitiveLog, UpdateCrlCommand: () => UpdateCrlCommand, UpdateProfileCommand: () => UpdateProfileCommand, UpdateTrustAnchorCommand: () => UpdateTrustAnchorCommand, ValidationException: () => ValidationException, __Client: () => import_smithy_client.Client, paginateListCrls: () => paginateListCrls, paginateListProfiles: () => paginateListProfiles, paginateListSubjects: () => paginateListSubjects, paginateListTrustAnchors: () => paginateListTrustAnchors});module.exports = __toCommonJS(index_exports); // src/RolesAnywhereClient.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: "rolesanywhere" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/RolesAnywhereClient.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/RolesAnywhereClient.tsvar RolesAnywhereClient = class extends import_smithy_client.Client { static { __name(this, "RolesAnywhereClient"); } /** * The resolved configuration of RolesAnywhereClient class. This is resolved and normalized from the {@link RolesAnywhereClientConfig | 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.defaultRolesAnywhereHttpAuthSchemeParametersProvider, 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/RolesAnywhere.ts // src/commands/CreateProfileCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/models/models_0.ts // src/models/RolesAnywhereServiceException.ts var RolesAnywhereServiceException = class _RolesAnywhereServiceException extends import_smithy_client.ServiceException { static { __name(this, "RolesAnywhereServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _RolesAnywhereServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends RolesAnywhereServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); }};var CertificateField = { x509Issuer: "x509Issuer", x509SAN: "x509SAN", x509Subject: "x509Subject"};var ValidationException = class _ValidationException extends RolesAnywhereServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); }};var NotificationChannel = { ALL: "ALL"};var NotificationEvent = { CA_CERTIFICATE_EXPIRY: "CA_CERTIFICATE_EXPIRY", END_ENTITY_CERTIFICATE_EXPIRY: "END_ENTITY_CERTIFICATE_EXPIRY"};var SourceData;((SourceData3) => { SourceData3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.x509CertificateData !== void 0) return visitor.x509CertificateData(value.x509CertificateData); if (value.acmPcaArn !== void 0) return visitor.acmPcaArn(value.acmPcaArn); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(SourceData || (SourceData = {}));var TrustAnchorType = { AWS_ACM_PCA: "AWS_ACM_PCA", CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE", SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY"};var ResourceNotFoundException = class _ResourceNotFoundException extends RolesAnywhereServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); }};var TooManyTagsException = class _TooManyTagsException extends RolesAnywhereServiceException { static { __name(this, "TooManyTagsException"); } name = "TooManyTagsException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "TooManyTagsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TooManyTagsException.prototype); }};var TagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.key && { key: import_smithy_client.SENSITIVE_STRING }, ...obj.value && { value: import_smithy_client.SENSITIVE_STRING }}), "TagFilterSensitiveLog");var CreateProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }}), "CreateProfileRequestFilterSensitiveLog");var CreateTrustAnchorRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.source && { source: obj.source }, ...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }}), "CreateTrustAnchorRequestFilterSensitiveLog");var ImportCrlRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }}), "ImportCrlRequestFilterSensitiveLog");var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }}), "ListTagsForResourceResponseFilterSensitiveLog");var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }}), "TagResourceRequestFilterSensitiveLog");var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.tagKeys && { tagKeys: import_smithy_client.SENSITIVE_STRING }}), "UntagResourceRequestFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/profiles"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { acceptRoleSessionName: [], durationSeconds: [], enabled: [], managedPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "managedPolicyArns"), name: [], requireInstanceProperties: [], roleArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleArns"), sessionPolicy: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateProfileCommand");var se_CreateTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/trustanchors"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { enabled: [], name: [], notificationSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettings"), source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateTrustAnchorCommand");var se_DeleteAttributeMappingCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profiles/{profileId}/mappings"); b.p("profileId", () => input.profileId, "{profileId}", false); const query = (0, import_smithy_client.map)({ [_cF]: [, (0, import_smithy_client.expectNonNull)(input[_cF], `certificateField`)], [_s]: [() => input.specifiers !== void 0, () => input[_s] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_DeleteAttributeMappingCommand");var se_DeleteCrlCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/crl/{crlId}"); b.p("crlId", () => input.crlId, "{crlId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteCrlCommand");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_DeleteTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/trustanchor/{trustAnchorId}"); b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteTrustAnchorCommand");var se_DisableCrlCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/crl/{crlId}/disable"); b.p("crlId", () => input.crlId, "{crlId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_DisableCrlCommand");var se_DisableProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profile/{profileId}/disable"); b.p("profileId", () => input.profileId, "{profileId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_DisableProfileCommand");var se_DisableTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/trustanchor/{trustAnchorId}/disable"); b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_DisableTrustAnchorCommand");var se_EnableCrlCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/crl/{crlId}/enable"); b.p("crlId", () => input.crlId, "{crlId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_EnableCrlCommand");var se_EnableProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/profile/{profileId}/enable"); b.p("profileId", () => input.profileId, "{profileId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_EnableProfileCommand");var se_EnableTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/trustanchor/{trustAnchorId}/enable"); b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_EnableTrustAnchorCommand");var se_GetCrlCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/crl/{crlId}"); b.p("crlId", () => input.crlId, "{crlId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetCrlCommand");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_GetSubjectCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/subject/{subjectId}"); b.p("subjectId", () => input.subjectId, "{subjectId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetSubjectCommand");var se_GetTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/trustanchor/{trustAnchorId}"); b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetTrustAnchorCommand");var se_ImportCrlCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/crls"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { crlData: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "crlData"), enabled: [], name: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), trustAnchorArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ImportCrlCommand");var se_ListCrlsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/crls"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListCrlsCommand");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)({ [_nT]: [, input[_nT]], [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListProfilesCommand");var se_ListSubjectsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/subjects"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListSubjectsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/ListTagsForResource"); const query = (0, import_smithy_client.map)({ [_rA]: [, (0, import_smithy_client.expectNonNull)(input[_rA], `resourceArn`)] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_ListTrustAnchorsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/trustanchors"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListTrustAnchorsCommand");var se_PutAttributeMappingCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/profiles/{profileId}/mappings"); b.p("profileId", () => input.profileId, "{profileId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { certificateField: [], mappingRules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "mappingRules") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PutAttributeMappingCommand");var se_PutNotificationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/put-notifications-settings"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { notificationSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettings"), trustAnchorId: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_PutNotificationSettingsCommand");var se_ResetNotificationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/reset-notifications-settings"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { notificationSettingKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettingKeys"), trustAnchorId: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_ResetNotificationSettingsCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/TagResource"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { resourceArn: [], 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 = { "content-type": "application/json" }; b.bp("/UntagResource"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { resourceArn: [], tagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tagKeys") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateCrlCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/crl/{crlId}"); b.p("crlId", () => input.crlId, "{crlId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { crlData: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "crlData"), name: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateCrlCommand");var se_UpdateProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/profile/{profileId}"); b.p("profileId", () => input.profileId, "{profileId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { acceptRoleSessionName: [], durationSeconds: [], managedPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "managedPolicyArns"), name: [], roleArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleArns"), sessionPolicy: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateProfileCommand");var se_UpdateTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/trustanchor/{trustAnchorId}"); b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { name: [], source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source") }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateTrustAnchorCommand");var de_CreateProfileCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_CreateProfileCommand");var de_CreateTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_CreateTrustAnchorCommand");var de_DeleteAttributeMappingCommand = /* @__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_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_DeleteAttributeMappingCommand");var de_DeleteCrlCommand = /* @__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, { crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl") }); Object.assign(contents, doc); return contents;}, "de_DeleteCrlCommand");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_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_DeleteProfileCommand");var de_DeleteTrustAnchorCommand = /* @__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, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_DeleteTrustAnchorCommand");var de_DisableCrlCommand = /* @__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, { crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl") }); Object.assign(contents, doc); return contents;}, "de_DisableCrlCommand");var de_DisableProfileCommand = /* @__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_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_DisableProfileCommand");var de_DisableTrustAnchorCommand = /* @__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, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_DisableTrustAnchorCommand");var de_EnableCrlCommand = /* @__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, { crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl") }); Object.assign(contents, doc); return contents;}, "de_EnableCrlCommand");var de_EnableProfileCommand = /* @__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_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_EnableProfileCommand");var de_EnableTrustAnchorCommand = /* @__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, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_EnableTrustAnchorCommand");var de_GetCrlCommand = /* @__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, { crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl") }); Object.assign(contents, doc); return contents;}, "de_GetCrlCommand");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_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_GetProfileCommand");var de_GetSubjectCommand = /* @__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, { subject: /* @__PURE__ */ __name((_) => de_SubjectDetail(_, context), "subject") }); Object.assign(contents, doc); return contents;}, "de_GetSubjectCommand");var de_GetTrustAnchorCommand = /* @__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, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_GetTrustAnchorCommand");var de_ImportCrlCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl") }); Object.assign(contents, doc); return contents;}, "de_ImportCrlCommand");var de_ListCrlsCommand = /* @__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, { crls: /* @__PURE__ */ __name((_) => de_CrlDetails(_, context), "crls"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCrlsCommand");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, profiles: /* @__PURE__ */ __name((_) => de_ProfileDetails(_, context), "profiles") }); Object.assign(contents, doc); return contents;}, "de_ListProfilesCommand");var de_ListSubjectsCommand = /* @__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, subjects: /* @__PURE__ */ __name((_) => de_SubjectSummaries(_, context), "subjects") }); Object.assign(contents, doc); return contents;}, "de_ListSubjectsCommand");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_ListTrustAnchorsCommand = /* @__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, trustAnchors: /* @__PURE__ */ __name((_) => de_TrustAnchorDetails(_, context), "trustAnchors") }); Object.assign(contents, doc); return contents;}, "de_ListTrustAnchorsCommand");var de_PutAttributeMappingCommand = /* @__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_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_PutAttributeMappingCommand");var de_PutNotificationSettingsCommand = /* @__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, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_PutNotificationSettingsCommand");var de_ResetNotificationSettingsCommand = /* @__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, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_ResetNotificationSettingsCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateCrlCommand = /* @__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, { crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl") }); Object.assign(contents, doc); return contents;}, "de_UpdateCrlCommand");var de_UpdateProfileCommand = /* @__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_ProfileDetail(_, context), "profile") }); Object.assign(contents, doc); return contents;}, "de_UpdateProfileCommand");var de_UpdateTrustAnchorCommand = /* @__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, { trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor") }); Object.assign(contents, doc); return contents;}, "de_UpdateTrustAnchorCommand");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.rolesanywhere#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.rolesanywhere#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.rolesanywhere#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "TooManyTagsException": case "com.amazonaws.rolesanywhere#TooManyTagsException": throw await de_TooManyTagsExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(RolesAnywhereServiceException);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_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_TooManyTagsExceptionRes = /* @__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 TooManyTagsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyTagsExceptionRes");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_CredentialSummaries = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CredentialSummary(entry, context); }); return retVal;}, "de_CredentialSummaries");var de_CredentialSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { enabled: import_smithy_client.expectBoolean, failed: import_smithy_client.expectBoolean, issuer: import_smithy_client.expectString, seenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "seenAt"), serialNumber: import_smithy_client.expectString, x509CertificateData: import_smithy_client.expectString });}, "de_CredentialSummary");var de_CrlDetail = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), crlArn: import_smithy_client.expectString, crlData: context.base64Decoder, crlId: import_smithy_client.expectString, enabled: import_smithy_client.expectBoolean, name: import_smithy_client.expectString, trustAnchorArn: import_smithy_client.expectString, updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt") });}, "de_CrlDetail");var de_CrlDetails = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CrlDetail(entry, context); }); return retVal;}, "de_CrlDetails");var de_InstanceProperties = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_InstanceProperty(entry, context); }); return retVal;}, "de_InstanceProperties");var de_InstanceProperty = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { failed: import_smithy_client.expectBoolean, properties: import_smithy_client._json, seenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "seenAt") });}, "de_InstanceProperty");var de_ProfileDetail = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { acceptRoleSessionName: import_smithy_client.expectBoolean, attributeMappings: import_smithy_client._json, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), createdBy: import_smithy_client.expectString, durationSeconds: import_smithy_client.expectInt32, enabled: import_smithy_client.expectBoolean, managedPolicyArns: import_smithy_client._json, name: import_smithy_client.expectString, profileArn: import_smithy_client.expectString, profileId: import_smithy_client.expectString, requireInstanceProperties: import_smithy_client.expectBoolean, roleArns: import_smithy_client._json, sessionPolicy: import_smithy_client.expectString, updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt") });}, "de_ProfileDetail");var de_ProfileDetails = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ProfileDetail(entry, context); }); return retVal;}, "de_ProfileDetails");var de_SubjectDetail = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), credentials: /* @__PURE__ */ __name((_) => de_CredentialSummaries(_, context), "credentials"), enabled: import_smithy_client.expectBoolean, instanceProperties: /* @__PURE__ */ __name((_) => de_InstanceProperties(_, context), "instanceProperties"), lastSeenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastSeenAt"), subjectArn: import_smithy_client.expectString, subjectId: import_smithy_client.expectString, updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"), x509Subject: import_smithy_client.expectString });}, "de_SubjectDetail");var de_SubjectSummaries = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SubjectSummary(entry, context); }); return retVal;}, "de_SubjectSummaries");var de_SubjectSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), enabled: import_smithy_client.expectBoolean, lastSeenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastSeenAt"), subjectArn: import_smithy_client.expectString, subjectId: import_smithy_client.expectString, updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"), x509Subject: import_smithy_client.expectString });}, "de_SubjectSummary");var de_TrustAnchorDetail = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), enabled: import_smithy_client.expectBoolean, name: import_smithy_client.expectString, notificationSettings: import_smithy_client._json, source: import_smithy_client._json, trustAnchorArn: import_smithy_client.expectString, trustAnchorId: import_smithy_client.expectString, updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt") });}, "de_TrustAnchorDetail");var de_TrustAnchorDetails = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TrustAnchorDetail(entry, context); }); return retVal;}, "de_TrustAnchorDetails");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 _cF = "certificateField";var _nT = "nextToken";var _pS = "pageSize";var _rA = "resourceArn";var _s = "specifiers"; // src/commands/CreateProfileCommand.tsvar 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("RolesAnywhere", "CreateProfile", {}).n("RolesAnywhereClient", "CreateProfileCommand").f(CreateProfileRequestFilterSensitiveLog, void 0).ser(se_CreateProfileCommand).de(de_CreateProfileCommand).build() { static { __name(this, "CreateProfileCommand"); }}; // src/commands/CreateTrustAnchorCommand.ts var CreateTrustAnchorCommand = 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("RolesAnywhere", "CreateTrustAnchor", {}).n("RolesAnywhereClient", "CreateTrustAnchorCommand").f(CreateTrustAnchorRequestFilterSensitiveLog, void 0).ser(se_CreateTrustAnchorCommand).de(de_CreateTrustAnchorCommand).build() { static { __name(this, "CreateTrustAnchorCommand"); }}; // src/commands/DeleteAttributeMappingCommand.ts var DeleteAttributeMappingCommand = 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("RolesAnywhere", "DeleteAttributeMapping", {}).n("RolesAnywhereClient", "DeleteAttributeMappingCommand").f(void 0, void 0).ser(se_DeleteAttributeMappingCommand).de(de_DeleteAttributeMappingCommand).build() { static { __name(this, "DeleteAttributeMappingCommand"); }}; // src/commands/DeleteCrlCommand.ts var DeleteCrlCommand = 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("RolesAnywhere", "DeleteCrl", {}).n("RolesAnywhereClient", "DeleteCrlCommand").f(void 0, void 0).ser(se_DeleteCrlCommand).de(de_DeleteCrlCommand).build() { static { __name(this, "DeleteCrlCommand"); }}; // 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("RolesAnywhere", "DeleteProfile", {}).n("RolesAnywhereClient", "DeleteProfileCommand").f(void 0, void 0).ser(se_DeleteProfileCommand).de(de_DeleteProfileCommand).build() { static { __name(this, "DeleteProfileCommand"); }}; // src/commands/DeleteTrustAnchorCommand.ts var DeleteTrustAnchorCommand = 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("RolesAnywhere", "DeleteTrustAnchor", {}).n("RolesAnywhereClient", "DeleteTrustAnchorCommand").f(void 0, void 0).ser(se_DeleteTrustAnchorCommand).de(de_DeleteTrustAnchorCommand).build() { static { __name(this, "DeleteTrustAnchorCommand"); }}; // src/commands/DisableCrlCommand.ts var DisableCrlCommand = 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("RolesAnywhere", "DisableCrl", {}).n("RolesAnywhereClient", "DisableCrlCommand").f(void 0, void 0).ser(se_DisableCrlCommand).de(de_DisableCrlCommand).build() { static { __name(this, "DisableCrlCommand"); }}; // src/commands/DisableProfileCommand.ts var DisableProfileCommand = 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("RolesAnywhere", "DisableProfile", {}).n("RolesAnywhereClient", "DisableProfileCommand").f(void 0, void 0).ser(se_DisableProfileCommand).de(de_DisableProfileCommand).build() { static { __name(this, "DisableProfileCommand"); }}; // src/commands/DisableTrustAnchorCommand.ts var DisableTrustAnchorCommand = 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("RolesAnywhere", "DisableTrustAnchor", {}).n("RolesAnywhereClient", "DisableTrustAnchorCommand").f(void 0, void 0).ser(se_DisableTrustAnchorCommand).de(de_DisableTrustAnchorCommand).build() { static { __name(this, "DisableTrustAnchorCommand"); }}; // src/commands/EnableCrlCommand.ts var EnableCrlCommand = 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("RolesAnywhere", "EnableCrl", {}).n("RolesAnywhereClient", "EnableCrlCommand").f(void 0, void 0).ser(se_EnableCrlCommand).de(de_EnableCrlCommand).build() { static { __name(this, "EnableCrlCommand"); }}; // src/commands/EnableProfileCommand.ts var EnableProfileCommand = 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("RolesAnywhere", "EnableProfile", {}).n("RolesAnywhereClient", "EnableProfileCommand").f(void 0, void 0).ser(se_EnableProfileCommand).de(de_EnableProfileCommand).build() { static { __name(this, "EnableProfileCommand"); }}; // src/commands/EnableTrustAnchorCommand.ts var EnableTrustAnchorCommand = 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("RolesAnywhere", "EnableTrustAnchor", {}).n("RolesAnywhereClient", "EnableTrustAnchorCommand").f(void 0, void 0).ser(se_EnableTrustAnchorCommand).de(de_EnableTrustAnchorCommand).build() { static { __name(this, "EnableTrustAnchorCommand"); }}; // src/commands/GetCrlCommand.ts var GetCrlCommand = 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("RolesAnywhere", "GetCrl", {}).n("RolesAnywhereClient", "GetCrlCommand").f(void 0, void 0).ser(se_GetCrlCommand).de(de_GetCrlCommand).build() { static { __name(this, "GetCrlCommand"); }}; // 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("RolesAnywhere", "GetProfile", {}).n("RolesAnywhereClient", "GetProfileCommand").f(void 0, void 0).ser(se_GetProfileCommand).de(de_GetProfileCommand).build() { static { __name(this, "GetProfileCommand"); }}; // src/commands/GetSubjectCommand.ts var GetSubjectCommand = 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("RolesAnywhere", "GetSubject", {}).n("RolesAnywhereClient", "GetSubjectCommand").f(void 0, void 0).ser(se_GetSubjectCommand).de(de_GetSubjectCommand).build() { static { __name(this, "GetSubjectCommand"); }}; // src/commands/GetTrustAnchorCommand.ts var GetTrustAnchorCommand = 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("RolesAnywhere", "GetTrustAnchor", {}).n("RolesAnywhereClient", "GetTrustAnchorCommand").f(void 0, void 0).ser(se_GetTrustAnchorCommand).de(de_GetTrustAnchorCommand).build() { static { __name(this, "GetTrustAnchorCommand"); }}; // src/commands/ImportCrlCommand.ts var ImportCrlCommand = 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("RolesAnywhere", "ImportCrl", {}).n("RolesAnywhereClient", "ImportCrlCommand").f(ImportCrlRequestFilterSensitiveLog, void 0).ser(se_ImportCrlCommand).de(de_ImportCrlCommand).build() { static { __name(this, "ImportCrlCommand"); }}; // src/commands/ListCrlsCommand.ts var ListCrlsCommand = 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("RolesAnywhere", "ListCrls", {}).n("RolesAnywhereClient", "ListCrlsCommand").f(void 0, void 0).ser(se_ListCrlsCommand).de(de_ListCrlsCommand).build() { static { __name(this, "ListCrlsCommand"); }}; // 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("RolesAnywhere", "ListProfiles", {}).n("RolesAnywhereClient", "ListProfilesCommand").f(void 0, void 0).ser(se_ListProfilesCommand).de(de_ListProfilesCommand).build() { static { __name(this, "ListProfilesCommand"); }}; // src/commands/ListSubjectsCommand.ts var ListSubjectsCommand = 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("RolesAnywhere", "ListSubjects", {}).n("RolesAnywhereClient", "ListSubjectsCommand").f(void 0, void 0).ser(se_ListSubjectsCommand).de(de_ListSubjectsCommand).build() { static { __name(this, "ListSubjectsCommand"); }}; // 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("RolesAnywhere", "ListTagsForResource", {}).n("RolesAnywhereClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/ListTrustAnchorsCommand.ts var ListTrustAnchorsCommand = 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("RolesAnywhere", "ListTrustAnchors", {}).n("RolesAnywhereClient", "ListTrustAnchorsCommand").f(void 0, void 0).ser(se_ListTrustAnchorsCommand).de(de_ListTrustAnchorsCommand).build() { static { __name(this, "ListTrustAnchorsCommand"); }}; // src/commands/PutAttributeMappingCommand.ts var PutAttributeMappingCommand = 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("RolesAnywhere", "PutAttributeMapping", {}).n("RolesAnywhereClient", "PutAttributeMappingCommand").f(void 0, void 0).ser(se_PutAttributeMappingCommand).de(de_PutAttributeMappingCommand).build() { static { __name(this, "PutAttributeMappingCommand"); }}; // src/commands/PutNotificationSettingsCommand.ts var PutNotificationSettingsCommand = 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("RolesAnywhere", "PutNotificationSettings", {}).n("RolesAnywhereClient", "PutNotificationSettingsCommand").f(void 0, void 0).ser(se_PutNotificationSettingsCommand).de(de_PutNotificationSettingsCommand).build() { static { __name(this, "PutNotificationSettingsCommand"); }}; // src/commands/ResetNotificationSettingsCommand.ts var ResetNotificationSettingsCommand = 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("RolesAnywhere", "ResetNotificationSettings", {}).n("RolesAnywhereClient", "ResetNotificationSettingsCommand").f(void 0, void 0).ser(se_ResetNotificationSettingsCommand).de(de_ResetNotificationSettingsCommand).build() { static { __name(this, "ResetNotificationSettingsCommand"); }}; // 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("RolesAnywhere", "TagResource", {}).n("RolesAnywhereClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, 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("RolesAnywhere", "UntagResource", {}).n("RolesAnywhereClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateCrlCommand.ts var UpdateCrlCommand = 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("RolesAnywhere", "UpdateCrl", {}).n("RolesAnywhereClient", "UpdateCrlCommand").f(void 0, void 0).ser(se_UpdateCrlCommand).de(de_UpdateCrlCommand).build() { static { __name(this, "UpdateCrlCommand"); }}; // src/commands/UpdateProfileCommand.ts var UpdateProfileCommand = 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("RolesAnywhere", "UpdateProfile", {}).n("RolesAnywhereClient", "UpdateProfileCommand").f(void 0, void 0).ser(se_UpdateProfileCommand).de(de_UpdateProfileCommand).build() { static { __name(this, "UpdateProfileCommand"); }}; // src/commands/UpdateTrustAnchorCommand.ts var UpdateTrustAnchorCommand = 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("RolesAnywhere", "UpdateTrustAnchor", {}).n("RolesAnywhereClient", "UpdateTrustAnchorCommand").f(void 0, void 0).ser(se_UpdateTrustAnchorCommand).de(de_UpdateTrustAnchorCommand).build() { static { __name(this, "UpdateTrustAnchorCommand"); }}; // src/RolesAnywhere.tsvar commands = { CreateProfileCommand, CreateTrustAnchorCommand, DeleteAttributeMappingCommand, DeleteCrlCommand, DeleteProfileCommand, DeleteTrustAnchorCommand, DisableCrlCommand, DisableProfileCommand, DisableTrustAnchorCommand, EnableCrlCommand, EnableProfileCommand, EnableTrustAnchorCommand, GetCrlCommand, GetProfileCommand, GetSubjectCommand, GetTrustAnchorCommand, ImportCrlCommand, ListCrlsCommand, ListProfilesCommand, ListSubjectsCommand, ListTagsForResourceCommand, ListTrustAnchorsCommand, PutAttributeMappingCommand, PutNotificationSettingsCommand, ResetNotificationSettingsCommand, TagResourceCommand, UntagResourceCommand, UpdateCrlCommand, UpdateProfileCommand, UpdateTrustAnchorCommand};var RolesAnywhere = class extends RolesAnywhereClient { static { __name(this, "RolesAnywhere"); }};(0, import_smithy_client.createAggregatedClient)(commands, RolesAnywhere); // src/pagination/ListCrlsPaginator.ts var paginateListCrls = (0, import_core.createPaginator)(RolesAnywhereClient, ListCrlsCommand, "nextToken", "nextToken", ""); // src/pagination/ListProfilesPaginator.ts var paginateListProfiles = (0, import_core.createPaginator)(RolesAnywhereClient, ListProfilesCommand, "nextToken", "nextToken", ""); // src/pagination/ListSubjectsPaginator.ts var paginateListSubjects = (0, import_core.createPaginator)(RolesAnywhereClient, ListSubjectsCommand, "nextToken", "nextToken", ""); // src/pagination/ListTrustAnchorsPaginator.ts var paginateListTrustAnchors = (0, import_core.createPaginator)(RolesAnywhereClient, ListTrustAnchorsCommand, "nextToken", "nextToken", "");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { RolesAnywhereServiceException, __Client, RolesAnywhereClient, RolesAnywhere, $Command, CreateProfileCommand, CreateTrustAnchorCommand, DeleteAttributeMappingCommand, DeleteCrlCommand, DeleteProfileCommand, DeleteTrustAnchorCommand, DisableCrlCommand, DisableProfileCommand, DisableTrustAnchorCommand, EnableCrlCommand, EnableProfileCommand, EnableTrustAnchorCommand, GetCrlCommand, GetProfileCommand, GetSubjectCommand, GetTrustAnchorCommand, ImportCrlCommand, ListCrlsCommand, ListProfilesCommand, ListSubjectsCommand, ListTagsForResourceCommand, ListTrustAnchorsCommand, PutAttributeMappingCommand, PutNotificationSettingsCommand, ResetNotificationSettingsCommand, TagResourceCommand, UntagResourceCommand, UpdateCrlCommand, UpdateProfileCommand, UpdateTrustAnchorCommand, paginateListCrls, paginateListProfiles, paginateListSubjects, paginateListTrustAnchors, AccessDeniedException, CertificateField, ValidationException, NotificationChannel, NotificationEvent, SourceData, TrustAnchorType, ResourceNotFoundException, TooManyTagsException, TagFilterSensitiveLog, CreateProfileRequestFilterSensitiveLog, CreateTrustAnchorRequestFilterSensitiveLog, ImportCrlRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, TagResourceRequestFilterSensitiveLog, UntagResourceRequestFilterSensitiveLog});