/var/runtime/node_modules/@aws-sdk/client-organizations/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, { AWSOrganizationsNotInUseException: () => AWSOrganizationsNotInUseException, AcceptHandshakeCommand: () => AcceptHandshakeCommand, AcceptHandshakeResponseFilterSensitiveLog: () => AcceptHandshakeResponseFilterSensitiveLog, AccessDeniedException: () => AccessDeniedException, AccessDeniedForDependencyException: () => AccessDeniedForDependencyException, AccessDeniedForDependencyExceptionReason: () => AccessDeniedForDependencyExceptionReason, AccountAlreadyClosedException: () => AccountAlreadyClosedException, AccountAlreadyRegisteredException: () => AccountAlreadyRegisteredException, AccountFilterSensitiveLog: () => AccountFilterSensitiveLog, AccountJoinedMethod: () => AccountJoinedMethod, AccountNotFoundException: () => AccountNotFoundException, AccountNotRegisteredException: () => AccountNotRegisteredException, AccountOwnerNotVerifiedException: () => AccountOwnerNotVerifiedException, AccountState: () => AccountState, AccountStatus: () => AccountStatus, ActionType: () => ActionType, AlreadyInOrganizationException: () => AlreadyInOrganizationException, AttachPolicyCommand: () => AttachPolicyCommand, CancelHandshakeCommand: () => CancelHandshakeCommand, CancelHandshakeResponseFilterSensitiveLog: () => CancelHandshakeResponseFilterSensitiveLog, ChildNotFoundException: () => ChildNotFoundException, ChildType: () => ChildType, CloseAccountCommand: () => CloseAccountCommand, ConcurrentModificationException: () => ConcurrentModificationException, ConflictException: () => ConflictException, ConstraintViolationException: () => ConstraintViolationException, ConstraintViolationExceptionReason: () => ConstraintViolationExceptionReason, CreateAccountCommand: () => CreateAccountCommand, CreateAccountFailureReason: () => CreateAccountFailureReason, CreateAccountRequestFilterSensitiveLog: () => CreateAccountRequestFilterSensitiveLog, CreateAccountResponseFilterSensitiveLog: () => CreateAccountResponseFilterSensitiveLog, CreateAccountState: () => CreateAccountState, CreateAccountStatusFilterSensitiveLog: () => CreateAccountStatusFilterSensitiveLog, CreateAccountStatusNotFoundException: () => CreateAccountStatusNotFoundException, CreateGovCloudAccountCommand: () => CreateGovCloudAccountCommand, CreateGovCloudAccountRequestFilterSensitiveLog: () => CreateGovCloudAccountRequestFilterSensitiveLog, CreateGovCloudAccountResponseFilterSensitiveLog: () => CreateGovCloudAccountResponseFilterSensitiveLog, CreateOrganizationCommand: () => CreateOrganizationCommand, CreateOrganizationResponseFilterSensitiveLog: () => CreateOrganizationResponseFilterSensitiveLog, CreateOrganizationalUnitCommand: () => CreateOrganizationalUnitCommand, CreatePolicyCommand: () => CreatePolicyCommand, DeclineHandshakeCommand: () => DeclineHandshakeCommand, DeclineHandshakeResponseFilterSensitiveLog: () => DeclineHandshakeResponseFilterSensitiveLog, DelegatedAdministratorFilterSensitiveLog: () => DelegatedAdministratorFilterSensitiveLog, DeleteOrganizationCommand: () => DeleteOrganizationCommand, DeleteOrganizationalUnitCommand: () => DeleteOrganizationalUnitCommand, DeletePolicyCommand: () => DeletePolicyCommand, DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand, DeregisterDelegatedAdministratorCommand: () => DeregisterDelegatedAdministratorCommand, DescribeAccountCommand: () => DescribeAccountCommand, DescribeAccountResponseFilterSensitiveLog: () => DescribeAccountResponseFilterSensitiveLog, DescribeCreateAccountStatusCommand: () => DescribeCreateAccountStatusCommand, DescribeCreateAccountStatusResponseFilterSensitiveLog: () => DescribeCreateAccountStatusResponseFilterSensitiveLog, DescribeEffectivePolicyCommand: () => DescribeEffectivePolicyCommand, DescribeHandshakeCommand: () => DescribeHandshakeCommand, DescribeHandshakeResponseFilterSensitiveLog: () => DescribeHandshakeResponseFilterSensitiveLog, DescribeOrganizationCommand: () => DescribeOrganizationCommand, DescribeOrganizationResponseFilterSensitiveLog: () => DescribeOrganizationResponseFilterSensitiveLog, DescribeOrganizationalUnitCommand: () => DescribeOrganizationalUnitCommand, DescribePolicyCommand: () => DescribePolicyCommand, DescribeResourcePolicyCommand: () => DescribeResourcePolicyCommand, DestinationParentNotFoundException: () => DestinationParentNotFoundException, DetachPolicyCommand: () => DetachPolicyCommand, DisableAWSServiceAccessCommand: () => DisableAWSServiceAccessCommand, DisablePolicyTypeCommand: () => DisablePolicyTypeCommand, DuplicateAccountException: () => DuplicateAccountException, DuplicateHandshakeException: () => DuplicateHandshakeException, DuplicateOrganizationalUnitException: () => DuplicateOrganizationalUnitException, DuplicatePolicyAttachmentException: () => DuplicatePolicyAttachmentException, DuplicatePolicyException: () => DuplicatePolicyException, EffectivePolicyNotFoundException: () => EffectivePolicyNotFoundException, EffectivePolicyType: () => EffectivePolicyType, EnableAWSServiceAccessCommand: () => EnableAWSServiceAccessCommand, EnableAllFeaturesCommand: () => EnableAllFeaturesCommand, EnableAllFeaturesResponseFilterSensitiveLog: () => EnableAllFeaturesResponseFilterSensitiveLog, EnablePolicyTypeCommand: () => EnablePolicyTypeCommand, FinalizingOrganizationException: () => FinalizingOrganizationException, HandshakeAlreadyInStateException: () => HandshakeAlreadyInStateException, HandshakeConstraintViolationException: () => HandshakeConstraintViolationException, HandshakeConstraintViolationExceptionReason: () => HandshakeConstraintViolationExceptionReason, HandshakeFilterSensitiveLog: () => HandshakeFilterSensitiveLog, HandshakeNotFoundException: () => HandshakeNotFoundException, HandshakePartyFilterSensitiveLog: () => HandshakePartyFilterSensitiveLog, HandshakePartyType: () => HandshakePartyType, HandshakeResourceFilterSensitiveLog: () => HandshakeResourceFilterSensitiveLog, HandshakeResourceType: () => HandshakeResourceType, HandshakeState: () => HandshakeState, IAMUserAccessToBilling: () => IAMUserAccessToBilling, InvalidHandshakeTransitionException: () => InvalidHandshakeTransitionException, InvalidInputException: () => InvalidInputException, InvalidInputExceptionReason: () => InvalidInputExceptionReason, InviteAccountToOrganizationCommand: () => InviteAccountToOrganizationCommand, InviteAccountToOrganizationRequestFilterSensitiveLog: () => InviteAccountToOrganizationRequestFilterSensitiveLog, InviteAccountToOrganizationResponseFilterSensitiveLog: () => InviteAccountToOrganizationResponseFilterSensitiveLog, LeaveOrganizationCommand: () => LeaveOrganizationCommand, ListAWSServiceAccessForOrganizationCommand: () => ListAWSServiceAccessForOrganizationCommand, ListAccountsCommand: () => ListAccountsCommand, ListAccountsForParentCommand: () => ListAccountsForParentCommand, ListAccountsForParentResponseFilterSensitiveLog: () => ListAccountsForParentResponseFilterSensitiveLog, ListAccountsResponseFilterSensitiveLog: () => ListAccountsResponseFilterSensitiveLog, ListAccountsWithInvalidEffectivePolicyCommand: () => ListAccountsWithInvalidEffectivePolicyCommand, ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog: () => ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog, ListChildrenCommand: () => ListChildrenCommand, ListCreateAccountStatusCommand: () => ListCreateAccountStatusCommand, ListCreateAccountStatusResponseFilterSensitiveLog: () => ListCreateAccountStatusResponseFilterSensitiveLog, ListDelegatedAdministratorsCommand: () => ListDelegatedAdministratorsCommand, ListDelegatedAdministratorsResponseFilterSensitiveLog: () => ListDelegatedAdministratorsResponseFilterSensitiveLog, ListDelegatedServicesForAccountCommand: () => ListDelegatedServicesForAccountCommand, ListEffectivePolicyValidationErrorsCommand: () => ListEffectivePolicyValidationErrorsCommand, ListHandshakesForAccountCommand: () => ListHandshakesForAccountCommand, ListHandshakesForAccountResponseFilterSensitiveLog: () => ListHandshakesForAccountResponseFilterSensitiveLog, ListHandshakesForOrganizationCommand: () => ListHandshakesForOrganizationCommand, ListHandshakesForOrganizationResponseFilterSensitiveLog: () => ListHandshakesForOrganizationResponseFilterSensitiveLog, ListOrganizationalUnitsForParentCommand: () => ListOrganizationalUnitsForParentCommand, ListParentsCommand: () => ListParentsCommand, ListPoliciesCommand: () => ListPoliciesCommand, ListPoliciesForTargetCommand: () => ListPoliciesForTargetCommand, ListRootsCommand: () => ListRootsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTargetsForPolicyCommand: () => ListTargetsForPolicyCommand, MalformedPolicyDocumentException: () => MalformedPolicyDocumentException, MasterCannotLeaveOrganizationException: () => MasterCannotLeaveOrganizationException, MoveAccountCommand: () => MoveAccountCommand, OrganizationFeatureSet: () => OrganizationFeatureSet, OrganizationFilterSensitiveLog: () => OrganizationFilterSensitiveLog, OrganizationNotEmptyException: () => OrganizationNotEmptyException, OrganizationalUnitNotEmptyException: () => OrganizationalUnitNotEmptyException, OrganizationalUnitNotFoundException: () => OrganizationalUnitNotFoundException, Organizations: () => Organizations, OrganizationsClient: () => OrganizationsClient, OrganizationsServiceException: () => OrganizationsServiceException, ParentNotFoundException: () => ParentNotFoundException, ParentType: () => ParentType, PolicyChangesInProgressException: () => PolicyChangesInProgressException, PolicyInUseException: () => PolicyInUseException, PolicyNotAttachedException: () => PolicyNotAttachedException, PolicyNotFoundException: () => PolicyNotFoundException, PolicyType: () => PolicyType, PolicyTypeAlreadyEnabledException: () => PolicyTypeAlreadyEnabledException, PolicyTypeNotAvailableForOrganizationException: () => PolicyTypeNotAvailableForOrganizationException, PolicyTypeNotEnabledException: () => PolicyTypeNotEnabledException, PolicyTypeStatus: () => PolicyTypeStatus, PutResourcePolicyCommand: () => PutResourcePolicyCommand, RegisterDelegatedAdministratorCommand: () => RegisterDelegatedAdministratorCommand, RemoveAccountFromOrganizationCommand: () => RemoveAccountFromOrganizationCommand, ResourcePolicyNotFoundException: () => ResourcePolicyNotFoundException, RootNotFoundException: () => RootNotFoundException, ServiceException: () => ServiceException, SourceParentNotFoundException: () => SourceParentNotFoundException, TagResourceCommand: () => TagResourceCommand, TargetNotFoundException: () => TargetNotFoundException, TargetType: () => TargetType, TooManyRequestsException: () => TooManyRequestsException, UnsupportedAPIEndpointException: () => UnsupportedAPIEndpointException, UntagResourceCommand: () => UntagResourceCommand, UpdateOrganizationalUnitCommand: () => UpdateOrganizationalUnitCommand, UpdatePolicyCommand: () => UpdatePolicyCommand, __Client: () => import_smithy_client.Client, paginateListAWSServiceAccessForOrganization: () => paginateListAWSServiceAccessForOrganization, paginateListAccounts: () => paginateListAccounts, paginateListAccountsForParent: () => paginateListAccountsForParent, paginateListAccountsWithInvalidEffectivePolicy: () => paginateListAccountsWithInvalidEffectivePolicy, paginateListChildren: () => paginateListChildren, paginateListCreateAccountStatus: () => paginateListCreateAccountStatus, paginateListDelegatedAdministrators: () => paginateListDelegatedAdministrators, paginateListDelegatedServicesForAccount: () => paginateListDelegatedServicesForAccount, paginateListEffectivePolicyValidationErrors: () => paginateListEffectivePolicyValidationErrors, paginateListHandshakesForAccount: () => paginateListHandshakesForAccount, paginateListHandshakesForOrganization: () => paginateListHandshakesForOrganization, paginateListOrganizationalUnitsForParent: () => paginateListOrganizationalUnitsForParent, paginateListParents: () => paginateListParents, paginateListPolicies: () => paginateListPolicies, paginateListPoliciesForTarget: () => paginateListPoliciesForTarget, paginateListRoots: () => paginateListRoots, paginateListTagsForResource: () => paginateListTagsForResource, paginateListTargetsForPolicy: () => paginateListTargetsForPolicy});module.exports = __toCommonJS(index_exports); // src/OrganizationsClient.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: "organizations" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/OrganizationsClient.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/OrganizationsClient.tsvar OrganizationsClient = class extends import_smithy_client.Client { static { __name(this, "OrganizationsClient"); } /** * The resolved configuration of OrganizationsClient class. This is resolved and normalized from the {@link OrganizationsClientConfig | 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.defaultOrganizationsHttpAuthSchemeParametersProvider, 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/Organizations.ts // src/commands/AcceptHandshakeCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/models/models_0.ts // src/models/OrganizationsServiceException.ts var OrganizationsServiceException = class _OrganizationsServiceException extends import_smithy_client.ServiceException { static { __name(this, "OrganizationsServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _OrganizationsServiceException.prototype); }}; // src/models/models_0.tsvar ActionType = { ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE: "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", APPROVE_ALL_FEATURES: "APPROVE_ALL_FEATURES", ENABLE_ALL_FEATURES: "ENABLE_ALL_FEATURES", INVITE_ACCOUNT_TO_ORGANIZATION: "INVITE"};var HandshakePartyType = { ACCOUNT: "ACCOUNT", EMAIL: "EMAIL", ORGANIZATION: "ORGANIZATION"};var HandshakeResourceType = { ACCOUNT: "ACCOUNT", EMAIL: "EMAIL", MASTER_EMAIL: "MASTER_EMAIL", MASTER_NAME: "MASTER_NAME", NOTES: "NOTES", ORGANIZATION: "ORGANIZATION", ORGANIZATION_FEATURE_SET: "ORGANIZATION_FEATURE_SET", PARENT_HANDSHAKE: "PARENT_HANDSHAKE"};var HandshakeState = { ACCEPTED: "ACCEPTED", CANCELED: "CANCELED", DECLINED: "DECLINED", EXPIRED: "EXPIRED", OPEN: "OPEN", REQUESTED: "REQUESTED"};var AccessDeniedException = class _AccessDeniedException extends OrganizationsServiceException { 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 AccessDeniedForDependencyExceptionReason = { ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE: "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"};var AccessDeniedForDependencyException = class _AccessDeniedForDependencyException extends OrganizationsServiceException { static { __name(this, "AccessDeniedForDependencyException"); } name = "AccessDeniedForDependencyException"; $fault = "client"; Message; Reason; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedForDependencyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedForDependencyException.prototype); this.Message = opts.Message; this.Reason = opts.Reason; }};var AWSOrganizationsNotInUseException = class _AWSOrganizationsNotInUseException extends OrganizationsServiceException { static { __name(this, "AWSOrganizationsNotInUseException"); } name = "AWSOrganizationsNotInUseException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AWSOrganizationsNotInUseException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AWSOrganizationsNotInUseException.prototype); this.Message = opts.Message; }};var ConcurrentModificationException = class _ConcurrentModificationException extends OrganizationsServiceException { static { __name(this, "ConcurrentModificationException"); } name = "ConcurrentModificationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ConcurrentModificationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConcurrentModificationException.prototype); this.Message = opts.Message; }};var HandshakeAlreadyInStateException = class _HandshakeAlreadyInStateException extends OrganizationsServiceException { static { __name(this, "HandshakeAlreadyInStateException"); } name = "HandshakeAlreadyInStateException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "HandshakeAlreadyInStateException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _HandshakeAlreadyInStateException.prototype); this.Message = opts.Message; }};var HandshakeConstraintViolationExceptionReason = { ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED", ALREADY_IN_AN_ORGANIZATION: "ALREADY_IN_AN_ORGANIZATION", HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED", INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES", MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED: "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED", ORGANIZATION_ALREADY_HAS_ALL_FEATURES: "ORGANIZATION_ALREADY_HAS_ALL_FEATURES", ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD", ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION", ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED", PAYMENT_INSTRUMENT_REQUIRED: "PAYMENT_INSTRUMENT_REQUIRED"};var HandshakeConstraintViolationException = class _HandshakeConstraintViolationException extends OrganizationsServiceException { static { __name(this, "HandshakeConstraintViolationException"); } name = "HandshakeConstraintViolationException"; $fault = "client"; Message; Reason; /** * @internal */ constructor(opts) { super({ name: "HandshakeConstraintViolationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _HandshakeConstraintViolationException.prototype); this.Message = opts.Message; this.Reason = opts.Reason; }};var HandshakeNotFoundException = class _HandshakeNotFoundException extends OrganizationsServiceException { static { __name(this, "HandshakeNotFoundException"); } name = "HandshakeNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "HandshakeNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _HandshakeNotFoundException.prototype); this.Message = opts.Message; }};var InvalidHandshakeTransitionException = class _InvalidHandshakeTransitionException extends OrganizationsServiceException { static { __name(this, "InvalidHandshakeTransitionException"); } name = "InvalidHandshakeTransitionException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidHandshakeTransitionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidHandshakeTransitionException.prototype); this.Message = opts.Message; }};var InvalidInputExceptionReason = { DUPLICATE_TAG_KEY: "DUPLICATE_TAG_KEY", IMMUTABLE_POLICY: "IMMUTABLE_POLICY", INPUT_REQUIRED: "INPUT_REQUIRED", INVALID_EMAIL_ADDRESS_TARGET: "INVALID_EMAIL_ADDRESS_TARGET", INVALID_ENUM: "INVALID_ENUM", INVALID_ENUM_POLICY_TYPE: "INVALID_ENUM_POLICY_TYPE", INVALID_FULL_NAME_TARGET: "INVALID_FULL_NAME_TARGET", INVALID_LIST_MEMBER: "INVALID_LIST_MEMBER", INVALID_PAGINATION_TOKEN: "INVALID_NEXT_TOKEN", INVALID_PARTY_TYPE_TARGET: "INVALID_PARTY_TYPE_TARGET", INVALID_PATTERN: "INVALID_PATTERN", INVALID_PATTERN_TARGET_ID: "INVALID_PATTERN_TARGET_ID", INVALID_PRINCIPAL: "INVALID_PRINCIPAL", INVALID_RESOURCE_POLICY_JSON: "INVALID_RESOURCE_POLICY_JSON", INVALID_ROLE_NAME: "INVALID_ROLE_NAME", INVALID_SYNTAX_ORGANIZATION: "INVALID_SYNTAX_ORGANIZATION_ARN", INVALID_SYNTAX_POLICY: "INVALID_SYNTAX_POLICY_ID", INVALID_SYSTEM_TAGS_PARAMETER: "INVALID_SYSTEM_TAGS_PARAMETER", MAX_FILTER_LIMIT_EXCEEDED: "MAX_LIMIT_EXCEEDED_FILTER", MAX_LENGTH_EXCEEDED: "MAX_LENGTH_EXCEEDED", MAX_VALUE_EXCEEDED: "MAX_VALUE_EXCEEDED", MIN_LENGTH_EXCEEDED: "MIN_LENGTH_EXCEEDED", MIN_VALUE_EXCEEDED: "MIN_VALUE_EXCEEDED", MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS", NON_DETACHABLE_POLICY: "NON_DETACHABLE_POLICY", TARGET_NOT_SUPPORTED: "TARGET_NOT_SUPPORTED", UNRECOGNIZED_SERVICE_PRINCIPAL: "UNRECOGNIZED_SERVICE_PRINCIPAL", UNSUPPORTED_ACTION_IN_RESOURCE_POLICY: "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY", UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY: "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY", UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY: "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY"};var InvalidInputException = class _InvalidInputException extends OrganizationsServiceException { static { __name(this, "InvalidInputException"); } name = "InvalidInputException"; $fault = "client"; Message; Reason; /** * @internal */ constructor(opts) { super({ name: "InvalidInputException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidInputException.prototype); this.Message = opts.Message; this.Reason = opts.Reason; }};var ServiceException = class _ServiceException extends OrganizationsServiceException { static { __name(this, "ServiceException"); } name = "ServiceException"; $fault = "server"; Message; /** * @internal */ constructor(opts) { super({ name: "ServiceException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _ServiceException.prototype); this.Message = opts.Message; }};var TooManyRequestsException = class _TooManyRequestsException extends OrganizationsServiceException { static { __name(this, "TooManyRequestsException"); } name = "TooManyRequestsException"; $fault = "client"; Type; Message; /** * @internal */ constructor(opts) { super({ name: "TooManyRequestsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TooManyRequestsException.prototype); this.Type = opts.Type; this.Message = opts.Message; }};var AccountJoinedMethod = { CREATED: "CREATED", INVITED: "INVITED"};var AccountState = { ACTIVE: "ACTIVE", CLOSED: "CLOSED", PENDING_ACTIVATION: "PENDING_ACTIVATION", PENDING_CLOSURE: "PENDING_CLOSURE", SUSPENDED: "SUSPENDED"};var AccountStatus = { ACTIVE: "ACTIVE", PENDING_CLOSURE: "PENDING_CLOSURE", SUSPENDED: "SUSPENDED"};var AccountAlreadyClosedException = class _AccountAlreadyClosedException extends OrganizationsServiceException { static { __name(this, "AccountAlreadyClosedException"); } name = "AccountAlreadyClosedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccountAlreadyClosedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountAlreadyClosedException.prototype); this.Message = opts.Message; }};var AccountAlreadyRegisteredException = class _AccountAlreadyRegisteredException extends OrganizationsServiceException { static { __name(this, "AccountAlreadyRegisteredException"); } name = "AccountAlreadyRegisteredException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccountAlreadyRegisteredException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountAlreadyRegisteredException.prototype); this.Message = opts.Message; }};var AccountNotFoundException = class _AccountNotFoundException extends OrganizationsServiceException { static { __name(this, "AccountNotFoundException"); } name = "AccountNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccountNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountNotFoundException.prototype); this.Message = opts.Message; }};var AccountNotRegisteredException = class _AccountNotRegisteredException extends OrganizationsServiceException { static { __name(this, "AccountNotRegisteredException"); } name = "AccountNotRegisteredException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccountNotRegisteredException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountNotRegisteredException.prototype); this.Message = opts.Message; }};var AccountOwnerNotVerifiedException = class _AccountOwnerNotVerifiedException extends OrganizationsServiceException { static { __name(this, "AccountOwnerNotVerifiedException"); } name = "AccountOwnerNotVerifiedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccountOwnerNotVerifiedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountOwnerNotVerifiedException.prototype); this.Message = opts.Message; }};var AlreadyInOrganizationException = class _AlreadyInOrganizationException extends OrganizationsServiceException { static { __name(this, "AlreadyInOrganizationException"); } name = "AlreadyInOrganizationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AlreadyInOrganizationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AlreadyInOrganizationException.prototype); this.Message = opts.Message; }};var ConstraintViolationExceptionReason = { ACCOUNT_CANNOT_LEAVE_ORGANIZATION: "ACCOUNT_CANNOT_LEAVE_ORGANIZATION", ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA", ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION", ACCOUNT_CREATION_NOT_COMPLETE: "ACCOUNT_CREATION_NOT_COMPLETE", ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED", ACCOUNT_NUMBER_LIMIT_EXCEEDED: "ACCOUNT_NUMBER_LIMIT_EXCEEDED", ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED", CANNOT_CLOSE_MANAGEMENT_ACCOUNT: "CANNOT_CLOSE_MANAGEMENT_ACCOUNT", CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR", CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR", CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG", CLOSE_ACCOUNT_QUOTA_EXCEEDED: "CLOSE_ACCOUNT_QUOTA_EXCEEDED", CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED", CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION", DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE", EMAIL_VERIFICATION_CODE_EXPIRED: "EMAIL_VERIFICATION_CODE_EXPIRED", HANDSHAKE_RATE_LIMIT_EXCEEDED: "HANDSHAKE_RATE_LIMIT_EXCEEDED", INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT", MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE", MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE", MASTER_ACCOUNT_MISSING_CONTACT_INFO: "MASTER_ACCOUNT_MISSING_CONTACT_INFO", MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED", MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED", MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED", MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED", MAX_TAG_LIMIT_EXCEEDED: "MAX_TAG_LIMIT_EXCEEDED", MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED", MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED", ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE", OU_DEPTH_LIMIT_EXCEEDED: "OU_DEPTH_LIMIT_EXCEEDED", OU_NUMBER_LIMIT_EXCEEDED: "OU_NUMBER_LIMIT_EXCEEDED", POLICY_CONTENT_LIMIT_EXCEEDED: "POLICY_CONTENT_LIMIT_EXCEEDED", POLICY_NUMBER_LIMIT_EXCEEDED: "POLICY_NUMBER_LIMIT_EXCEEDED", POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE", SERVICE_ACCESS_NOT_ENABLED: "SERVICE_ACCESS_NOT_ENABLED", TAG_POLICY_VIOLATION: "TAG_POLICY_VIOLATION", WAIT_PERIOD_ACTIVE: "WAIT_PERIOD_ACTIVE"};var ConstraintViolationException = class _ConstraintViolationException extends OrganizationsServiceException { static { __name(this, "ConstraintViolationException"); } name = "ConstraintViolationException"; $fault = "client"; Message; Reason; /** * @internal */ constructor(opts) { super({ name: "ConstraintViolationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConstraintViolationException.prototype); this.Message = opts.Message; this.Reason = opts.Reason; }};var DuplicatePolicyAttachmentException = class _DuplicatePolicyAttachmentException extends OrganizationsServiceException { static { __name(this, "DuplicatePolicyAttachmentException"); } name = "DuplicatePolicyAttachmentException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DuplicatePolicyAttachmentException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DuplicatePolicyAttachmentException.prototype); this.Message = opts.Message; }};var PolicyChangesInProgressException = class _PolicyChangesInProgressException extends OrganizationsServiceException { static { __name(this, "PolicyChangesInProgressException"); } name = "PolicyChangesInProgressException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyChangesInProgressException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyChangesInProgressException.prototype); this.Message = opts.Message; }};var PolicyNotFoundException = class _PolicyNotFoundException extends OrganizationsServiceException { static { __name(this, "PolicyNotFoundException"); } name = "PolicyNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyNotFoundException.prototype); this.Message = opts.Message; }};var PolicyTypeNotEnabledException = class _PolicyTypeNotEnabledException extends OrganizationsServiceException { static { __name(this, "PolicyTypeNotEnabledException"); } name = "PolicyTypeNotEnabledException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyTypeNotEnabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyTypeNotEnabledException.prototype); this.Message = opts.Message; }};var TargetNotFoundException = class _TargetNotFoundException extends OrganizationsServiceException { static { __name(this, "TargetNotFoundException"); } name = "TargetNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "TargetNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TargetNotFoundException.prototype); this.Message = opts.Message; }};var UnsupportedAPIEndpointException = class _UnsupportedAPIEndpointException extends OrganizationsServiceException { static { __name(this, "UnsupportedAPIEndpointException"); } name = "UnsupportedAPIEndpointException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "UnsupportedAPIEndpointException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _UnsupportedAPIEndpointException.prototype); this.Message = opts.Message; }};var ConflictException = class _ConflictException extends OrganizationsServiceException { 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 IAMUserAccessToBilling = { ALLOW: "ALLOW", DENY: "DENY"};var CreateAccountFailureReason = { ACCOUNT_LIMIT_EXCEEDED: "ACCOUNT_LIMIT_EXCEEDED", CONCURRENT_ACCOUNT_MODIFICATION: "CONCURRENT_ACCOUNT_MODIFICATION", EMAIL_ALREADY_EXISTS: "EMAIL_ALREADY_EXISTS", FAILED_BUSINESS_VALIDATION: "FAILED_BUSINESS_VALIDATION", GOVCLOUD_ACCOUNT_ALREADY_EXISTS: "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", INTERNAL_FAILURE: "INTERNAL_FAILURE", INVALID_ADDRESS: "INVALID_ADDRESS", INVALID_EMAIL: "INVALID_EMAIL", INVALID_IDENTITY_FOR_BUSINESS_VALIDATION: "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT", MISSING_BUSINESS_VALIDATION: "MISSING_BUSINESS_VALIDATION", MISSING_PAYMENT_INSTRUMENT: "MISSING_PAYMENT_INSTRUMENT", PENDING_BUSINESS_VALIDATIONv: "PENDING_BUSINESS_VALIDATION", UNKNOWN_BUSINESS_VALIDATION: "UNKNOWN_BUSINESS_VALIDATION", UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED: "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED"};var CreateAccountState = { FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", SUCCEEDED: "SUCCEEDED"};var FinalizingOrganizationException = class _FinalizingOrganizationException extends OrganizationsServiceException { static { __name(this, "FinalizingOrganizationException"); } name = "FinalizingOrganizationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "FinalizingOrganizationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _FinalizingOrganizationException.prototype); this.Message = opts.Message; }};var OrganizationFeatureSet = { ALL: "ALL", CONSOLIDATED_BILLING: "CONSOLIDATED_BILLING"};var PolicyTypeStatus = { ENABLED: "ENABLED", PENDING_DISABLE: "PENDING_DISABLE", PENDING_ENABLE: "PENDING_ENABLE"};var PolicyType = { AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY", BACKUP_POLICY: "BACKUP_POLICY", CHATBOT_POLICY: "CHATBOT_POLICY", DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2", RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY", SECURITYHUB_POLICY: "SECURITYHUB_POLICY", SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY", TAG_POLICY: "TAG_POLICY"};var DuplicateOrganizationalUnitException = class _DuplicateOrganizationalUnitException extends OrganizationsServiceException { static { __name(this, "DuplicateOrganizationalUnitException"); } name = "DuplicateOrganizationalUnitException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DuplicateOrganizationalUnitException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DuplicateOrganizationalUnitException.prototype); this.Message = opts.Message; }};var ParentNotFoundException = class _ParentNotFoundException extends OrganizationsServiceException { static { __name(this, "ParentNotFoundException"); } name = "ParentNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ParentNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ParentNotFoundException.prototype); this.Message = opts.Message; }};var DuplicatePolicyException = class _DuplicatePolicyException extends OrganizationsServiceException { static { __name(this, "DuplicatePolicyException"); } name = "DuplicatePolicyException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DuplicatePolicyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DuplicatePolicyException.prototype); this.Message = opts.Message; }};var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends OrganizationsServiceException { static { __name(this, "MalformedPolicyDocumentException"); } name = "MalformedPolicyDocumentException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "MalformedPolicyDocumentException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype); this.Message = opts.Message; }};var PolicyTypeNotAvailableForOrganizationException = class _PolicyTypeNotAvailableForOrganizationException extends OrganizationsServiceException { static { __name(this, "PolicyTypeNotAvailableForOrganizationException"); } name = "PolicyTypeNotAvailableForOrganizationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyTypeNotAvailableForOrganizationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyTypeNotAvailableForOrganizationException.prototype); this.Message = opts.Message; }};var OrganizationNotEmptyException = class _OrganizationNotEmptyException extends OrganizationsServiceException { static { __name(this, "OrganizationNotEmptyException"); } name = "OrganizationNotEmptyException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OrganizationNotEmptyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OrganizationNotEmptyException.prototype); this.Message = opts.Message; }};var OrganizationalUnitNotEmptyException = class _OrganizationalUnitNotEmptyException extends OrganizationsServiceException { static { __name(this, "OrganizationalUnitNotEmptyException"); } name = "OrganizationalUnitNotEmptyException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OrganizationalUnitNotEmptyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OrganizationalUnitNotEmptyException.prototype); this.Message = opts.Message; }};var OrganizationalUnitNotFoundException = class _OrganizationalUnitNotFoundException extends OrganizationsServiceException { static { __name(this, "OrganizationalUnitNotFoundException"); } name = "OrganizationalUnitNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OrganizationalUnitNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OrganizationalUnitNotFoundException.prototype); this.Message = opts.Message; }};var PolicyInUseException = class _PolicyInUseException extends OrganizationsServiceException { static { __name(this, "PolicyInUseException"); } name = "PolicyInUseException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyInUseException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyInUseException.prototype); this.Message = opts.Message; }};var ResourcePolicyNotFoundException = class _ResourcePolicyNotFoundException extends OrganizationsServiceException { static { __name(this, "ResourcePolicyNotFoundException"); } name = "ResourcePolicyNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourcePolicyNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourcePolicyNotFoundException.prototype); this.Message = opts.Message; }};var CreateAccountStatusNotFoundException = class _CreateAccountStatusNotFoundException extends OrganizationsServiceException { static { __name(this, "CreateAccountStatusNotFoundException"); } name = "CreateAccountStatusNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "CreateAccountStatusNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CreateAccountStatusNotFoundException.prototype); this.Message = opts.Message; }};var EffectivePolicyType = { AISERVICES_OPT_OUT_POLICY: "AISERVICES_OPT_OUT_POLICY", BACKUP_POLICY: "BACKUP_POLICY", CHATBOT_POLICY: "CHATBOT_POLICY", DECLARATIVE_POLICY_EC2: "DECLARATIVE_POLICY_EC2", SECURITYHUB_POLICY: "SECURITYHUB_POLICY", TAG_POLICY: "TAG_POLICY"};var EffectivePolicyNotFoundException = class _EffectivePolicyNotFoundException extends OrganizationsServiceException { static { __name(this, "EffectivePolicyNotFoundException"); } name = "EffectivePolicyNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "EffectivePolicyNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EffectivePolicyNotFoundException.prototype); this.Message = opts.Message; }};var PolicyNotAttachedException = class _PolicyNotAttachedException extends OrganizationsServiceException { static { __name(this, "PolicyNotAttachedException"); } name = "PolicyNotAttachedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyNotAttachedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyNotAttachedException.prototype); this.Message = opts.Message; }};var RootNotFoundException = class _RootNotFoundException extends OrganizationsServiceException { static { __name(this, "RootNotFoundException"); } name = "RootNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "RootNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _RootNotFoundException.prototype); this.Message = opts.Message; }};var PolicyTypeAlreadyEnabledException = class _PolicyTypeAlreadyEnabledException extends OrganizationsServiceException { static { __name(this, "PolicyTypeAlreadyEnabledException"); } name = "PolicyTypeAlreadyEnabledException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyTypeAlreadyEnabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyTypeAlreadyEnabledException.prototype); this.Message = opts.Message; }};var DuplicateHandshakeException = class _DuplicateHandshakeException extends OrganizationsServiceException { static { __name(this, "DuplicateHandshakeException"); } name = "DuplicateHandshakeException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DuplicateHandshakeException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DuplicateHandshakeException.prototype); this.Message = opts.Message; }};var MasterCannotLeaveOrganizationException = class _MasterCannotLeaveOrganizationException extends OrganizationsServiceException { static { __name(this, "MasterCannotLeaveOrganizationException"); } name = "MasterCannotLeaveOrganizationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "MasterCannotLeaveOrganizationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _MasterCannotLeaveOrganizationException.prototype); this.Message = opts.Message; }};var ChildType = { ACCOUNT: "ACCOUNT", ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT"};var ChildNotFoundException = class _ChildNotFoundException extends OrganizationsServiceException { static { __name(this, "ChildNotFoundException"); } name = "ChildNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ChildNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ChildNotFoundException.prototype); this.Message = opts.Message; }};var ParentType = { ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT", ROOT: "ROOT"};var TargetType = { ACCOUNT: "ACCOUNT", ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT", ROOT: "ROOT"};var DestinationParentNotFoundException = class _DestinationParentNotFoundException extends OrganizationsServiceException { static { __name(this, "DestinationParentNotFoundException"); } name = "DestinationParentNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DestinationParentNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DestinationParentNotFoundException.prototype); this.Message = opts.Message; }};var DuplicateAccountException = class _DuplicateAccountException extends OrganizationsServiceException { static { __name(this, "DuplicateAccountException"); } name = "DuplicateAccountException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DuplicateAccountException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DuplicateAccountException.prototype); this.Message = opts.Message; }};var SourceParentNotFoundException = class _SourceParentNotFoundException extends OrganizationsServiceException { static { __name(this, "SourceParentNotFoundException"); } name = "SourceParentNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "SourceParentNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _SourceParentNotFoundException.prototype); this.Message = opts.Message; }};var HandshakePartyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Id && { Id: import_smithy_client.SENSITIVE_STRING }}), "HandshakePartyFilterSensitiveLog");var AccountFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING }, ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }}), "AccountFilterSensitiveLog");var CreateAccountRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING }, ...obj.AccountName && { AccountName: import_smithy_client.SENSITIVE_STRING }}), "CreateAccountRequestFilterSensitiveLog");var CreateAccountStatusFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.AccountName && { AccountName: import_smithy_client.SENSITIVE_STRING }}), "CreateAccountStatusFilterSensitiveLog");var CreateAccountResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.CreateAccountStatus && { CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus) }}), "CreateAccountResponseFilterSensitiveLog");var CreateGovCloudAccountRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING }, ...obj.AccountName && { AccountName: import_smithy_client.SENSITIVE_STRING }}), "CreateGovCloudAccountRequestFilterSensitiveLog");var CreateGovCloudAccountResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.CreateAccountStatus && { CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus) }}), "CreateGovCloudAccountResponseFilterSensitiveLog");var OrganizationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.MasterAccountEmail && { MasterAccountEmail: import_smithy_client.SENSITIVE_STRING }}), "OrganizationFilterSensitiveLog");var CreateOrganizationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Organization && { Organization: OrganizationFilterSensitiveLog(obj.Organization) }}), "CreateOrganizationResponseFilterSensitiveLog");var DescribeAccountResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Account && { Account: AccountFilterSensitiveLog(obj.Account) }}), "DescribeAccountResponseFilterSensitiveLog");var DescribeCreateAccountStatusResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.CreateAccountStatus && { CreateAccountStatus: CreateAccountStatusFilterSensitiveLog(obj.CreateAccountStatus) }}), "DescribeCreateAccountStatusResponseFilterSensitiveLog");var DescribeOrganizationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Organization && { Organization: OrganizationFilterSensitiveLog(obj.Organization) }}), "DescribeOrganizationResponseFilterSensitiveLog");var InviteAccountToOrganizationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Target && { Target: HandshakePartyFilterSensitiveLog(obj.Target) }, ...obj.Notes && { Notes: import_smithy_client.SENSITIVE_STRING }}), "InviteAccountToOrganizationRequestFilterSensitiveLog");var ListAccountsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }}), "ListAccountsResponseFilterSensitiveLog");var ListAccountsForParentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }}), "ListAccountsForParentResponseFilterSensitiveLog");var ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }}), "ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog");var ListCreateAccountStatusResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.CreateAccountStatuses && { CreateAccountStatuses: obj.CreateAccountStatuses.map((item) => CreateAccountStatusFilterSensitiveLog(item)) }}), "ListCreateAccountStatusResponseFilterSensitiveLog");var DelegatedAdministratorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING }, ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }}), "DelegatedAdministratorFilterSensitiveLog");var ListDelegatedAdministratorsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.DelegatedAdministrators && { DelegatedAdministrators: obj.DelegatedAdministrators.map((item) => DelegatedAdministratorFilterSensitiveLog(item)) }}), "ListDelegatedAdministratorsResponseFilterSensitiveLog");var HandshakeResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }, ...obj.Resources && { Resources: obj.Resources.map((item) => HandshakeResourceFilterSensitiveLog(item)) }}), "HandshakeResourceFilterSensitiveLog");var HandshakeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Parties && { Parties: obj.Parties.map((item) => HandshakePartyFilterSensitiveLog(item)) }, ...obj.Resources && { Resources: obj.Resources.map((item) => HandshakeResourceFilterSensitiveLog(item)) }}), "HandshakeFilterSensitiveLog");var AcceptHandshakeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }}), "AcceptHandshakeResponseFilterSensitiveLog");var CancelHandshakeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }}), "CancelHandshakeResponseFilterSensitiveLog");var DeclineHandshakeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }}), "DeclineHandshakeResponseFilterSensitiveLog");var DescribeHandshakeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }}), "DescribeHandshakeResponseFilterSensitiveLog");var EnableAllFeaturesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }}), "EnableAllFeaturesResponseFilterSensitiveLog");var InviteAccountToOrganizationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Handshake && { Handshake: HandshakeFilterSensitiveLog(obj.Handshake) }}), "InviteAccountToOrganizationResponseFilterSensitiveLog");var ListHandshakesForAccountResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj}), "ListHandshakesForAccountResponseFilterSensitiveLog");var ListHandshakesForOrganizationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj}), "ListHandshakesForOrganizationResponseFilterSensitiveLog"); // src/protocols/Aws_json1_1.tsvar import_core2 = require("@aws-sdk/core"); var se_AcceptHandshakeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("AcceptHandshake"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_AcceptHandshakeCommand");var se_AttachPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("AttachPolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_AttachPolicyCommand");var se_CancelHandshakeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CancelHandshake"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CancelHandshakeCommand");var se_CloseAccountCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CloseAccount"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CloseAccountCommand");var se_CreateAccountCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateAccount"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateAccountCommand");var se_CreateGovCloudAccountCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateGovCloudAccount"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateGovCloudAccountCommand");var se_CreateOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateOrganization"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateOrganizationCommand");var se_CreateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateOrganizationalUnit"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateOrganizationalUnitCommand");var se_CreatePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreatePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreatePolicyCommand");var se_DeclineHandshakeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeclineHandshake"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeclineHandshakeCommand");var se_DeleteOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteOrganization"); const body = "{}"; return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteOrganizationCommand");var se_DeleteOrganizationalUnitCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteOrganizationalUnit"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteOrganizationalUnitCommand");var se_DeletePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeletePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeletePolicyCommand");var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteResourcePolicy"); const body = "{}"; return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteResourcePolicyCommand");var se_DeregisterDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeregisterDelegatedAdministrator"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeregisterDelegatedAdministratorCommand");var se_DescribeAccountCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeAccount"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeAccountCommand");var se_DescribeCreateAccountStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeCreateAccountStatus"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeCreateAccountStatusCommand");var se_DescribeEffectivePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeEffectivePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeEffectivePolicyCommand");var se_DescribeHandshakeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeHandshake"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeHandshakeCommand");var se_DescribeOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeOrganization"); const body = "{}"; return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeOrganizationCommand");var se_DescribeOrganizationalUnitCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeOrganizationalUnit"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeOrganizationalUnitCommand");var se_DescribePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribePolicyCommand");var se_DescribeResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeResourcePolicy"); const body = "{}"; return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeResourcePolicyCommand");var se_DetachPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DetachPolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DetachPolicyCommand");var se_DisableAWSServiceAccessCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DisableAWSServiceAccess"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DisableAWSServiceAccessCommand");var se_DisablePolicyTypeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DisablePolicyType"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DisablePolicyTypeCommand");var se_EnableAllFeaturesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("EnableAllFeatures"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_EnableAllFeaturesCommand");var se_EnableAWSServiceAccessCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("EnableAWSServiceAccess"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_EnableAWSServiceAccessCommand");var se_EnablePolicyTypeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("EnablePolicyType"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_EnablePolicyTypeCommand");var se_InviteAccountToOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("InviteAccountToOrganization"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_InviteAccountToOrganizationCommand");var se_LeaveOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("LeaveOrganization"); const body = "{}"; return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_LeaveOrganizationCommand");var se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListAccounts"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListAccountsCommand");var se_ListAccountsForParentCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListAccountsForParent"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListAccountsForParentCommand");var se_ListAccountsWithInvalidEffectivePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListAccountsWithInvalidEffectivePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListAccountsWithInvalidEffectivePolicyCommand");var se_ListAWSServiceAccessForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListAWSServiceAccessForOrganization"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListAWSServiceAccessForOrganizationCommand");var se_ListChildrenCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListChildren"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListChildrenCommand");var se_ListCreateAccountStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListCreateAccountStatus"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListCreateAccountStatusCommand");var se_ListDelegatedAdministratorsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListDelegatedAdministrators"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListDelegatedAdministratorsCommand");var se_ListDelegatedServicesForAccountCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListDelegatedServicesForAccount"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListDelegatedServicesForAccountCommand");var se_ListEffectivePolicyValidationErrorsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListEffectivePolicyValidationErrors"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListEffectivePolicyValidationErrorsCommand");var se_ListHandshakesForAccountCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListHandshakesForAccount"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListHandshakesForAccountCommand");var se_ListHandshakesForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListHandshakesForOrganization"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListHandshakesForOrganizationCommand");var se_ListOrganizationalUnitsForParentCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListOrganizationalUnitsForParent"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListOrganizationalUnitsForParentCommand");var se_ListParentsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListParents"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListParentsCommand");var se_ListPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListPolicies"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListPoliciesCommand");var se_ListPoliciesForTargetCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListPoliciesForTarget"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListPoliciesForTargetCommand");var se_ListRootsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListRoots"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListRootsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListTagsForResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTagsForResourceCommand");var se_ListTargetsForPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListTargetsForPolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTargetsForPolicyCommand");var se_MoveAccountCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("MoveAccount"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_MoveAccountCommand");var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("PutResourcePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_PutResourcePolicyCommand");var se_RegisterDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("RegisterDelegatedAdministrator"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RegisterDelegatedAdministratorCommand");var se_RemoveAccountFromOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("RemoveAccountFromOrganization"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RemoveAccountFromOrganizationCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("TagResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UntagResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UntagResourceCommand");var se_UpdateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateOrganizationalUnit"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateOrganizationalUnitCommand");var se_UpdatePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdatePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdatePolicyCommand");var de_AcceptHandshakeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_AcceptHandshakeResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_AcceptHandshakeCommand");var de_AttachPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_AttachPolicyCommand");var de_CancelHandshakeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CancelHandshakeResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CancelHandshakeCommand");var de_CloseAccountCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_CloseAccountCommand");var de_CreateAccountCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateAccountResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateAccountCommand");var de_CreateGovCloudAccountCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateGovCloudAccountResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateGovCloudAccountCommand");var de_CreateOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateOrganizationCommand");var de_CreateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateOrganizationalUnitCommand");var de_CreatePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreatePolicyCommand");var de_DeclineHandshakeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_DeclineHandshakeResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeclineHandshakeCommand");var de_DeleteOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_DeleteOrganizationCommand");var de_DeleteOrganizationalUnitCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_DeleteOrganizationalUnitCommand");var de_DeletePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_DeletePolicyCommand");var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_DeleteResourcePolicyCommand");var de_DeregisterDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_DeregisterDelegatedAdministratorCommand");var de_DescribeAccountCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_DescribeAccountResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeAccountCommand");var de_DescribeCreateAccountStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_DescribeCreateAccountStatusResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeCreateAccountStatusCommand");var de_DescribeEffectivePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_DescribeEffectivePolicyResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeEffectivePolicyCommand");var de_DescribeHandshakeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_DescribeHandshakeResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeHandshakeCommand");var de_DescribeOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeOrganizationCommand");var de_DescribeOrganizationalUnitCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeOrganizationalUnitCommand");var de_DescribePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribePolicyCommand");var de_DescribeResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeResourcePolicyCommand");var de_DetachPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_DetachPolicyCommand");var de_DisableAWSServiceAccessCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_DisableAWSServiceAccessCommand");var de_DisablePolicyTypeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DisablePolicyTypeCommand");var de_EnableAllFeaturesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_EnableAllFeaturesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_EnableAllFeaturesCommand");var de_EnableAWSServiceAccessCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_EnableAWSServiceAccessCommand");var de_EnablePolicyTypeCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_EnablePolicyTypeCommand");var de_InviteAccountToOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_InviteAccountToOrganizationResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_InviteAccountToOrganizationCommand");var de_LeaveOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_LeaveOrganizationCommand");var de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListAccountsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListAccountsCommand");var de_ListAccountsForParentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListAccountsForParentResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListAccountsForParentCommand");var de_ListAccountsWithInvalidEffectivePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListAccountsWithInvalidEffectivePolicyResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListAccountsWithInvalidEffectivePolicyCommand");var de_ListAWSServiceAccessForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListAWSServiceAccessForOrganizationResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListAWSServiceAccessForOrganizationCommand");var de_ListChildrenCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListChildrenCommand");var de_ListCreateAccountStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListCreateAccountStatusResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListCreateAccountStatusCommand");var de_ListDelegatedAdministratorsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListDelegatedAdministratorsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListDelegatedAdministratorsCommand");var de_ListDelegatedServicesForAccountCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListDelegatedServicesForAccountResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListDelegatedServicesForAccountCommand");var de_ListEffectivePolicyValidationErrorsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListEffectivePolicyValidationErrorsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListEffectivePolicyValidationErrorsCommand");var de_ListHandshakesForAccountCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListHandshakesForAccountResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListHandshakesForAccountCommand");var de_ListHandshakesForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListHandshakesForOrganizationResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListHandshakesForOrganizationCommand");var de_ListOrganizationalUnitsForParentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListOrganizationalUnitsForParentCommand");var de_ListParentsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListParentsCommand");var de_ListPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListPoliciesCommand");var de_ListPoliciesForTargetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListPoliciesForTargetCommand");var de_ListRootsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListRootsCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListTagsForResourceCommand");var de_ListTargetsForPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListTargetsForPolicyCommand");var de_MoveAccountCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_MoveAccountCommand");var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_PutResourcePolicyCommand");var de_RegisterDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_RegisterDelegatedAdministratorCommand");var de_RemoveAccountFromOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_RemoveAccountFromOrganizationCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_UntagResourceCommand");var de_UpdateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateOrganizationalUnitCommand");var de_UpdatePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdatePolicyCommand");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 "AWSOrganizationsNotInUseException": case "com.amazonaws.organizations#AWSOrganizationsNotInUseException": throw await de_AWSOrganizationsNotInUseExceptionRes(parsedOutput, context); case "AccessDeniedException": case "com.amazonaws.organizations#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "AccessDeniedForDependencyException": case "com.amazonaws.organizations#AccessDeniedForDependencyException": throw await de_AccessDeniedForDependencyExceptionRes(parsedOutput, context); case "ConcurrentModificationException": case "com.amazonaws.organizations#ConcurrentModificationException": throw await de_ConcurrentModificationExceptionRes(parsedOutput, context); case "HandshakeAlreadyInStateException": case "com.amazonaws.organizations#HandshakeAlreadyInStateException": throw await de_HandshakeAlreadyInStateExceptionRes(parsedOutput, context); case "HandshakeConstraintViolationException": case "com.amazonaws.organizations#HandshakeConstraintViolationException": throw await de_HandshakeConstraintViolationExceptionRes(parsedOutput, context); case "HandshakeNotFoundException": case "com.amazonaws.organizations#HandshakeNotFoundException": throw await de_HandshakeNotFoundExceptionRes(parsedOutput, context); case "InvalidHandshakeTransitionException": case "com.amazonaws.organizations#InvalidHandshakeTransitionException": throw await de_InvalidHandshakeTransitionExceptionRes(parsedOutput, context); case "InvalidInputException": case "com.amazonaws.organizations#InvalidInputException": throw await de_InvalidInputExceptionRes(parsedOutput, context); case "ServiceException": case "com.amazonaws.organizations#ServiceException": throw await de_ServiceExceptionRes(parsedOutput, context); case "TooManyRequestsException": case "com.amazonaws.organizations#TooManyRequestsException": throw await de_TooManyRequestsExceptionRes(parsedOutput, context); case "ConstraintViolationException": case "com.amazonaws.organizations#ConstraintViolationException": throw await de_ConstraintViolationExceptionRes(parsedOutput, context); case "DuplicatePolicyAttachmentException": case "com.amazonaws.organizations#DuplicatePolicyAttachmentException": throw await de_DuplicatePolicyAttachmentExceptionRes(parsedOutput, context); case "PolicyChangesInProgressException": case "com.amazonaws.organizations#PolicyChangesInProgressException": throw await de_PolicyChangesInProgressExceptionRes(parsedOutput, context); case "PolicyNotFoundException": case "com.amazonaws.organizations#PolicyNotFoundException": throw await de_PolicyNotFoundExceptionRes(parsedOutput, context); case "PolicyTypeNotEnabledException": case "com.amazonaws.organizations#PolicyTypeNotEnabledException": throw await de_PolicyTypeNotEnabledExceptionRes(parsedOutput, context); case "TargetNotFoundException": case "com.amazonaws.organizations#TargetNotFoundException": throw await de_TargetNotFoundExceptionRes(parsedOutput, context); case "UnsupportedAPIEndpointException": case "com.amazonaws.organizations#UnsupportedAPIEndpointException": throw await de_UnsupportedAPIEndpointExceptionRes(parsedOutput, context); case "AccountAlreadyClosedException": case "com.amazonaws.organizations#AccountAlreadyClosedException": throw await de_AccountAlreadyClosedExceptionRes(parsedOutput, context); case "AccountNotFoundException": case "com.amazonaws.organizations#AccountNotFoundException": throw await de_AccountNotFoundExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.organizations#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "FinalizingOrganizationException": case "com.amazonaws.organizations#FinalizingOrganizationException": throw await de_FinalizingOrganizationExceptionRes(parsedOutput, context); case "AlreadyInOrganizationException": case "com.amazonaws.organizations#AlreadyInOrganizationException": throw await de_AlreadyInOrganizationExceptionRes(parsedOutput, context); case "DuplicateOrganizationalUnitException": case "com.amazonaws.organizations#DuplicateOrganizationalUnitException": throw await de_DuplicateOrganizationalUnitExceptionRes(parsedOutput, context); case "ParentNotFoundException": case "com.amazonaws.organizations#ParentNotFoundException": throw await de_ParentNotFoundExceptionRes(parsedOutput, context); case "DuplicatePolicyException": case "com.amazonaws.organizations#DuplicatePolicyException": throw await de_DuplicatePolicyExceptionRes(parsedOutput, context); case "MalformedPolicyDocumentException": case "com.amazonaws.organizations#MalformedPolicyDocumentException": throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); case "PolicyTypeNotAvailableForOrganizationException": case "com.amazonaws.organizations#PolicyTypeNotAvailableForOrganizationException": throw await de_PolicyTypeNotAvailableForOrganizationExceptionRes(parsedOutput, context); case "OrganizationNotEmptyException": case "com.amazonaws.organizations#OrganizationNotEmptyException": throw await de_OrganizationNotEmptyExceptionRes(parsedOutput, context); case "OrganizationalUnitNotEmptyException": case "com.amazonaws.organizations#OrganizationalUnitNotEmptyException": throw await de_OrganizationalUnitNotEmptyExceptionRes(parsedOutput, context); case "OrganizationalUnitNotFoundException": case "com.amazonaws.organizations#OrganizationalUnitNotFoundException": throw await de_OrganizationalUnitNotFoundExceptionRes(parsedOutput, context); case "PolicyInUseException": case "com.amazonaws.organizations#PolicyInUseException": throw await de_PolicyInUseExceptionRes(parsedOutput, context); case "ResourcePolicyNotFoundException": case "com.amazonaws.organizations#ResourcePolicyNotFoundException": throw await de_ResourcePolicyNotFoundExceptionRes(parsedOutput, context); case "AccountNotRegisteredException": case "com.amazonaws.organizations#AccountNotRegisteredException": throw await de_AccountNotRegisteredExceptionRes(parsedOutput, context); case "CreateAccountStatusNotFoundException": case "com.amazonaws.organizations#CreateAccountStatusNotFoundException": throw await de_CreateAccountStatusNotFoundExceptionRes(parsedOutput, context); case "EffectivePolicyNotFoundException": case "com.amazonaws.organizations#EffectivePolicyNotFoundException": throw await de_EffectivePolicyNotFoundExceptionRes(parsedOutput, context); case "PolicyNotAttachedException": case "com.amazonaws.organizations#PolicyNotAttachedException": throw await de_PolicyNotAttachedExceptionRes(parsedOutput, context); case "RootNotFoundException": case "com.amazonaws.organizations#RootNotFoundException": throw await de_RootNotFoundExceptionRes(parsedOutput, context); case "PolicyTypeAlreadyEnabledException": case "com.amazonaws.organizations#PolicyTypeAlreadyEnabledException": throw await de_PolicyTypeAlreadyEnabledExceptionRes(parsedOutput, context); case "AccountOwnerNotVerifiedException": case "com.amazonaws.organizations#AccountOwnerNotVerifiedException": throw await de_AccountOwnerNotVerifiedExceptionRes(parsedOutput, context); case "DuplicateHandshakeException": case "com.amazonaws.organizations#DuplicateHandshakeException": throw await de_DuplicateHandshakeExceptionRes(parsedOutput, context); case "MasterCannotLeaveOrganizationException": case "com.amazonaws.organizations#MasterCannotLeaveOrganizationException": throw await de_MasterCannotLeaveOrganizationExceptionRes(parsedOutput, context); case "ChildNotFoundException": case "com.amazonaws.organizations#ChildNotFoundException": throw await de_ChildNotFoundExceptionRes(parsedOutput, context); case "DestinationParentNotFoundException": case "com.amazonaws.organizations#DestinationParentNotFoundException": throw await de_DestinationParentNotFoundExceptionRes(parsedOutput, context); case "DuplicateAccountException": case "com.amazonaws.organizations#DuplicateAccountException": throw await de_DuplicateAccountExceptionRes(parsedOutput, context); case "SourceParentNotFoundException": case "com.amazonaws.organizations#SourceParentNotFoundException": throw await de_SourceParentNotFoundExceptionRes(parsedOutput, context); case "AccountAlreadyRegisteredException": case "com.amazonaws.organizations#AccountAlreadyRegisteredException": throw await de_AccountAlreadyRegisteredExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccessDeniedExceptionRes");var de_AccessDeniedForDependencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccessDeniedForDependencyException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccessDeniedForDependencyExceptionRes");var de_AccountAlreadyClosedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountAlreadyClosedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountAlreadyClosedExceptionRes");var de_AccountAlreadyRegisteredExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountAlreadyRegisteredException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountAlreadyRegisteredExceptionRes");var de_AccountNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountNotFoundExceptionRes");var de_AccountNotRegisteredExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountNotRegisteredException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountNotRegisteredExceptionRes");var de_AccountOwnerNotVerifiedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountOwnerNotVerifiedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountOwnerNotVerifiedExceptionRes");var de_AlreadyInOrganizationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AlreadyInOrganizationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AlreadyInOrganizationExceptionRes");var de_AWSOrganizationsNotInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AWSOrganizationsNotInUseException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AWSOrganizationsNotInUseExceptionRes");var de_ChildNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ChildNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ChildNotFoundExceptionRes");var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ConcurrentModificationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConcurrentModificationExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ConflictException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConflictExceptionRes");var de_ConstraintViolationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ConstraintViolationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConstraintViolationExceptionRes");var de_CreateAccountStatusNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new CreateAccountStatusNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CreateAccountStatusNotFoundExceptionRes");var de_DestinationParentNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new DestinationParentNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DestinationParentNotFoundExceptionRes");var de_DuplicateAccountExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new DuplicateAccountException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DuplicateAccountExceptionRes");var de_DuplicateHandshakeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new DuplicateHandshakeException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DuplicateHandshakeExceptionRes");var de_DuplicateOrganizationalUnitExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new DuplicateOrganizationalUnitException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DuplicateOrganizationalUnitExceptionRes");var de_DuplicatePolicyAttachmentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new DuplicatePolicyAttachmentException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DuplicatePolicyAttachmentExceptionRes");var de_DuplicatePolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new DuplicatePolicyException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DuplicatePolicyExceptionRes");var de_EffectivePolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EffectivePolicyNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EffectivePolicyNotFoundExceptionRes");var de_FinalizingOrganizationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new FinalizingOrganizationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_FinalizingOrganizationExceptionRes");var de_HandshakeAlreadyInStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new HandshakeAlreadyInStateException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_HandshakeAlreadyInStateExceptionRes");var de_HandshakeConstraintViolationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new HandshakeConstraintViolationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_HandshakeConstraintViolationExceptionRes");var de_HandshakeNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new HandshakeNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_HandshakeNotFoundExceptionRes");var de_InvalidHandshakeTransitionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidHandshakeTransitionException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidHandshakeTransitionExceptionRes");var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidInputException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidInputExceptionRes");var de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new MalformedPolicyDocumentException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_MalformedPolicyDocumentExceptionRes");var de_MasterCannotLeaveOrganizationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new MasterCannotLeaveOrganizationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_MasterCannotLeaveOrganizationExceptionRes");var de_OrganizationalUnitNotEmptyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new OrganizationalUnitNotEmptyException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_OrganizationalUnitNotEmptyExceptionRes");var de_OrganizationalUnitNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new OrganizationalUnitNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_OrganizationalUnitNotFoundExceptionRes");var de_OrganizationNotEmptyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new OrganizationNotEmptyException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_OrganizationNotEmptyExceptionRes");var de_ParentNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ParentNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ParentNotFoundExceptionRes");var de_PolicyChangesInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new PolicyChangesInProgressException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_PolicyChangesInProgressExceptionRes");var de_PolicyInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new PolicyInUseException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_PolicyInUseExceptionRes");var de_PolicyNotAttachedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new PolicyNotAttachedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_PolicyNotAttachedExceptionRes");var de_PolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new PolicyNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_PolicyNotFoundExceptionRes");var de_PolicyTypeAlreadyEnabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new PolicyTypeAlreadyEnabledException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_PolicyTypeAlreadyEnabledExceptionRes");var de_PolicyTypeNotAvailableForOrganizationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new PolicyTypeNotAvailableForOrganizationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_PolicyTypeNotAvailableForOrganizationExceptionRes");var de_PolicyTypeNotEnabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new PolicyTypeNotEnabledException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_PolicyTypeNotEnabledExceptionRes");var de_ResourcePolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourcePolicyNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourcePolicyNotFoundExceptionRes");var de_RootNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new RootNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_RootNotFoundExceptionRes");var de_ServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ServiceException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ServiceExceptionRes");var de_SourceParentNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new SourceParentNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_SourceParentNotFoundExceptionRes");var de_TargetNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new TargetNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_TargetNotFoundExceptionRes");var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new TooManyRequestsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_TooManyRequestsExceptionRes");var de_UnsupportedAPIEndpointExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new UnsupportedAPIEndpointException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_UnsupportedAPIEndpointExceptionRes");var de_AcceptHandshakeResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake") });}, "de_AcceptHandshakeResponse");var de_Account = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, Email: import_smithy_client.expectString, Id: import_smithy_client.expectString, JoinedMethod: import_smithy_client.expectString, JoinedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "JoinedTimestamp"), Name: import_smithy_client.expectString, State: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_Account");var de_Accounts = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Account(entry, context); }); return retVal;}, "de_Accounts");var de_CancelHandshakeResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake") });}, "de_CancelHandshakeResponse");var de_CreateAccountResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreateAccountStatus: /* @__PURE__ */ __name((_) => de_CreateAccountStatus(_, context), "CreateAccountStatus") });}, "de_CreateAccountResponse");var de_CreateAccountStatus = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccountId: import_smithy_client.expectString, AccountName: import_smithy_client.expectString, CompletedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletedTimestamp"), FailureReason: import_smithy_client.expectString, GovCloudAccountId: import_smithy_client.expectString, Id: import_smithy_client.expectString, RequestedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RequestedTimestamp"), State: import_smithy_client.expectString });}, "de_CreateAccountStatus");var de_CreateAccountStatuses = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CreateAccountStatus(entry, context); }); return retVal;}, "de_CreateAccountStatuses");var de_CreateGovCloudAccountResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreateAccountStatus: /* @__PURE__ */ __name((_) => de_CreateAccountStatus(_, context), "CreateAccountStatus") });}, "de_CreateGovCloudAccountResponse");var de_DeclineHandshakeResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake") });}, "de_DeclineHandshakeResponse");var de_DelegatedAdministrator = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Arn: import_smithy_client.expectString, DelegationEnabledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DelegationEnabledDate"), Email: import_smithy_client.expectString, Id: import_smithy_client.expectString, JoinedMethod: import_smithy_client.expectString, JoinedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "JoinedTimestamp"), Name: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_DelegatedAdministrator");var de_DelegatedAdministrators = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_DelegatedAdministrator(entry, context); }); return retVal;}, "de_DelegatedAdministrators");var de_DelegatedService = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DelegationEnabledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DelegationEnabledDate"), ServicePrincipal: import_smithy_client.expectString });}, "de_DelegatedService");var de_DelegatedServices = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_DelegatedService(entry, context); }); return retVal;}, "de_DelegatedServices");var de_DescribeAccountResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Account: /* @__PURE__ */ __name((_) => de_Account(_, context), "Account") });}, "de_DescribeAccountResponse");var de_DescribeCreateAccountStatusResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreateAccountStatus: /* @__PURE__ */ __name((_) => de_CreateAccountStatus(_, context), "CreateAccountStatus") });}, "de_DescribeCreateAccountStatusResponse");var de_DescribeEffectivePolicyResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { EffectivePolicy: /* @__PURE__ */ __name((_) => de_EffectivePolicy(_, context), "EffectivePolicy") });}, "de_DescribeEffectivePolicyResponse");var de_DescribeHandshakeResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake") });}, "de_DescribeHandshakeResponse");var de_EffectivePolicy = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { LastUpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimestamp"), PolicyContent: import_smithy_client.expectString, PolicyType: import_smithy_client.expectString, TargetId: import_smithy_client.expectString });}, "de_EffectivePolicy");var de_EnableAllFeaturesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake") });}, "de_EnableAllFeaturesResponse");var de_EnabledServicePrincipal = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DateEnabled: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DateEnabled"), ServicePrincipal: import_smithy_client.expectString });}, "de_EnabledServicePrincipal");var de_EnabledServicePrincipals = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_EnabledServicePrincipal(entry, context); }); return retVal;}, "de_EnabledServicePrincipals");var de_Handshake = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Action: import_smithy_client.expectString, Arn: import_smithy_client.expectString, ExpirationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpirationTimestamp"), Id: import_smithy_client.expectString, Parties: import_smithy_client._json, RequestedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RequestedTimestamp"), Resources: /* @__PURE__ */ __name((_) => de_HandshakeResources(_, context), "Resources"), State: import_smithy_client.expectString });}, "de_Handshake");var de_HandshakeResource = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Resources: /* @__PURE__ */ __name((_) => de_HandshakeResources(_, context), "Resources"), Type: import_smithy_client.expectString, Value: import_smithy_client.expectString });}, "de_HandshakeResource");var de_HandshakeResources = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_HandshakeResource(entry, context); }); return retVal;}, "de_HandshakeResources");var de_Handshakes = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Handshake(entry, context); }); return retVal;}, "de_Handshakes");var de_InviteAccountToOrganizationResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake") });}, "de_InviteAccountToOrganizationResponse");var de_ListAccountsForParentResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Accounts: /* @__PURE__ */ __name((_) => de_Accounts(_, context), "Accounts"), NextToken: import_smithy_client.expectString });}, "de_ListAccountsForParentResponse");var de_ListAccountsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Accounts: /* @__PURE__ */ __name((_) => de_Accounts(_, context), "Accounts"), NextToken: import_smithy_client.expectString });}, "de_ListAccountsResponse");var de_ListAccountsWithInvalidEffectivePolicyResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Accounts: /* @__PURE__ */ __name((_) => de_Accounts(_, context), "Accounts"), NextToken: import_smithy_client.expectString, PolicyType: import_smithy_client.expectString });}, "de_ListAccountsWithInvalidEffectivePolicyResponse");var de_ListAWSServiceAccessForOrganizationResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { EnabledServicePrincipals: /* @__PURE__ */ __name((_) => de_EnabledServicePrincipals(_, context), "EnabledServicePrincipals"), NextToken: import_smithy_client.expectString });}, "de_ListAWSServiceAccessForOrganizationResponse");var de_ListCreateAccountStatusResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreateAccountStatuses: /* @__PURE__ */ __name((_) => de_CreateAccountStatuses(_, context), "CreateAccountStatuses"), NextToken: import_smithy_client.expectString });}, "de_ListCreateAccountStatusResponse");var de_ListDelegatedAdministratorsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DelegatedAdministrators: /* @__PURE__ */ __name((_) => de_DelegatedAdministrators(_, context), "DelegatedAdministrators"), NextToken: import_smithy_client.expectString });}, "de_ListDelegatedAdministratorsResponse");var de_ListDelegatedServicesForAccountResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DelegatedServices: /* @__PURE__ */ __name((_) => de_DelegatedServices(_, context), "DelegatedServices"), NextToken: import_smithy_client.expectString });}, "de_ListDelegatedServicesForAccountResponse");var de_ListEffectivePolicyValidationErrorsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccountId: import_smithy_client.expectString, EffectivePolicyValidationErrors: import_smithy_client._json, EvaluationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EvaluationTimestamp"), NextToken: import_smithy_client.expectString, Path: import_smithy_client.expectString, PolicyType: import_smithy_client.expectString });}, "de_ListEffectivePolicyValidationErrorsResponse");var de_ListHandshakesForAccountResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshakes: /* @__PURE__ */ __name((_) => de_Handshakes(_, context), "Handshakes"), NextToken: import_smithy_client.expectString });}, "de_ListHandshakesForAccountResponse");var de_ListHandshakesForOrganizationResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Handshakes: /* @__PURE__ */ __name((_) => de_Handshakes(_, context), "Handshakes"), NextToken: import_smithy_client.expectString });}, "de_ListHandshakesForOrganizationResponse");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 throwDefaultError = (0, import_smithy_client.withBaseException)(OrganizationsServiceException);var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => { const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); const contents = { protocol, hostname, port, method: "POST", path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, headers }; if (resolvedHostname !== void 0) { contents.hostname = resolvedHostname; } if (body !== void 0) { contents.body = body; } return new import_protocol_http.HttpRequest(contents);}, "buildHttpRpcRequest");function sharedHeaders(operation) { return { "content-type": "application/x-amz-json-1.1", "x-amz-target": `AWSOrganizationsV20161128.${operation}` };}__name(sharedHeaders, "sharedHeaders"); // src/commands/AcceptHandshakeCommand.tsvar AcceptHandshakeCommand = 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("AWSOrganizationsV20161128", "AcceptHandshake", {}).n("OrganizationsClient", "AcceptHandshakeCommand").f(void 0, AcceptHandshakeResponseFilterSensitiveLog).ser(se_AcceptHandshakeCommand).de(de_AcceptHandshakeCommand).build() { static { __name(this, "AcceptHandshakeCommand"); }}; // src/commands/AttachPolicyCommand.ts var AttachPolicyCommand = 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("AWSOrganizationsV20161128", "AttachPolicy", {}).n("OrganizationsClient", "AttachPolicyCommand").f(void 0, void 0).ser(se_AttachPolicyCommand).de(de_AttachPolicyCommand).build() { static { __name(this, "AttachPolicyCommand"); }}; // src/commands/CancelHandshakeCommand.ts var CancelHandshakeCommand = 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("AWSOrganizationsV20161128", "CancelHandshake", {}).n("OrganizationsClient", "CancelHandshakeCommand").f(void 0, CancelHandshakeResponseFilterSensitiveLog).ser(se_CancelHandshakeCommand).de(de_CancelHandshakeCommand).build() { static { __name(this, "CancelHandshakeCommand"); }}; // src/commands/CloseAccountCommand.ts var CloseAccountCommand = 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("AWSOrganizationsV20161128", "CloseAccount", {}).n("OrganizationsClient", "CloseAccountCommand").f(void 0, void 0).ser(se_CloseAccountCommand).de(de_CloseAccountCommand).build() { static { __name(this, "CloseAccountCommand"); }}; // src/commands/CreateAccountCommand.ts var CreateAccountCommand = 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("AWSOrganizationsV20161128", "CreateAccount", {}).n("OrganizationsClient", "CreateAccountCommand").f(CreateAccountRequestFilterSensitiveLog, CreateAccountResponseFilterSensitiveLog).ser(se_CreateAccountCommand).de(de_CreateAccountCommand).build() { static { __name(this, "CreateAccountCommand"); }}; // src/commands/CreateGovCloudAccountCommand.ts var CreateGovCloudAccountCommand = 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("AWSOrganizationsV20161128", "CreateGovCloudAccount", {}).n("OrganizationsClient", "CreateGovCloudAccountCommand").f(CreateGovCloudAccountRequestFilterSensitiveLog, CreateGovCloudAccountResponseFilterSensitiveLog).ser(se_CreateGovCloudAccountCommand).de(de_CreateGovCloudAccountCommand).build() { static { __name(this, "CreateGovCloudAccountCommand"); }}; // src/commands/CreateOrganizationalUnitCommand.ts var CreateOrganizationalUnitCommand = 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("AWSOrganizationsV20161128", "CreateOrganizationalUnit", {}).n("OrganizationsClient", "CreateOrganizationalUnitCommand").f(void 0, void 0).ser(se_CreateOrganizationalUnitCommand).de(de_CreateOrganizationalUnitCommand).build() { static { __name(this, "CreateOrganizationalUnitCommand"); }}; // src/commands/CreateOrganizationCommand.ts var CreateOrganizationCommand = 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("AWSOrganizationsV20161128", "CreateOrganization", {}).n("OrganizationsClient", "CreateOrganizationCommand").f(void 0, CreateOrganizationResponseFilterSensitiveLog).ser(se_CreateOrganizationCommand).de(de_CreateOrganizationCommand).build() { static { __name(this, "CreateOrganizationCommand"); }}; // src/commands/CreatePolicyCommand.ts var CreatePolicyCommand = 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("AWSOrganizationsV20161128", "CreatePolicy", {}).n("OrganizationsClient", "CreatePolicyCommand").f(void 0, void 0).ser(se_CreatePolicyCommand).de(de_CreatePolicyCommand).build() { static { __name(this, "CreatePolicyCommand"); }}; // src/commands/DeclineHandshakeCommand.ts var DeclineHandshakeCommand = 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("AWSOrganizationsV20161128", "DeclineHandshake", {}).n("OrganizationsClient", "DeclineHandshakeCommand").f(void 0, DeclineHandshakeResponseFilterSensitiveLog).ser(se_DeclineHandshakeCommand).de(de_DeclineHandshakeCommand).build() { static { __name(this, "DeclineHandshakeCommand"); }}; // src/commands/DeleteOrganizationalUnitCommand.ts var DeleteOrganizationalUnitCommand = 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("AWSOrganizationsV20161128", "DeleteOrganizationalUnit", {}).n("OrganizationsClient", "DeleteOrganizationalUnitCommand").f(void 0, void 0).ser(se_DeleteOrganizationalUnitCommand).de(de_DeleteOrganizationalUnitCommand).build() { static { __name(this, "DeleteOrganizationalUnitCommand"); }}; // src/commands/DeleteOrganizationCommand.ts var DeleteOrganizationCommand = 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("AWSOrganizationsV20161128", "DeleteOrganization", {}).n("OrganizationsClient", "DeleteOrganizationCommand").f(void 0, void 0).ser(se_DeleteOrganizationCommand).de(de_DeleteOrganizationCommand).build() { static { __name(this, "DeleteOrganizationCommand"); }}; // src/commands/DeletePolicyCommand.ts var DeletePolicyCommand = 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("AWSOrganizationsV20161128", "DeletePolicy", {}).n("OrganizationsClient", "DeletePolicyCommand").f(void 0, void 0).ser(se_DeletePolicyCommand).de(de_DeletePolicyCommand).build() { static { __name(this, "DeletePolicyCommand"); }}; // src/commands/DeleteResourcePolicyCommand.ts var DeleteResourcePolicyCommand = 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("AWSOrganizationsV20161128", "DeleteResourcePolicy", {}).n("OrganizationsClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() { static { __name(this, "DeleteResourcePolicyCommand"); }}; // src/commands/DeregisterDelegatedAdministratorCommand.ts var DeregisterDelegatedAdministratorCommand = 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("AWSOrganizationsV20161128", "DeregisterDelegatedAdministrator", {}).n("OrganizationsClient", "DeregisterDelegatedAdministratorCommand").f(void 0, void 0).ser(se_DeregisterDelegatedAdministratorCommand).de(de_DeregisterDelegatedAdministratorCommand).build() { static { __name(this, "DeregisterDelegatedAdministratorCommand"); }}; // src/commands/DescribeAccountCommand.ts var DescribeAccountCommand = 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("AWSOrganizationsV20161128", "DescribeAccount", {}).n("OrganizationsClient", "DescribeAccountCommand").f(void 0, DescribeAccountResponseFilterSensitiveLog).ser(se_DescribeAccountCommand).de(de_DescribeAccountCommand).build() { static { __name(this, "DescribeAccountCommand"); }}; // src/commands/DescribeCreateAccountStatusCommand.ts var DescribeCreateAccountStatusCommand = 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("AWSOrganizationsV20161128", "DescribeCreateAccountStatus", {}).n("OrganizationsClient", "DescribeCreateAccountStatusCommand").f(void 0, DescribeCreateAccountStatusResponseFilterSensitiveLog).ser(se_DescribeCreateAccountStatusCommand).de(de_DescribeCreateAccountStatusCommand).build() { static { __name(this, "DescribeCreateAccountStatusCommand"); }}; // src/commands/DescribeEffectivePolicyCommand.ts var DescribeEffectivePolicyCommand = 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("AWSOrganizationsV20161128", "DescribeEffectivePolicy", {}).n("OrganizationsClient", "DescribeEffectivePolicyCommand").f(void 0, void 0).ser(se_DescribeEffectivePolicyCommand).de(de_DescribeEffectivePolicyCommand).build() { static { __name(this, "DescribeEffectivePolicyCommand"); }}; // src/commands/DescribeHandshakeCommand.ts var DescribeHandshakeCommand = 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("AWSOrganizationsV20161128", "DescribeHandshake", {}).n("OrganizationsClient", "DescribeHandshakeCommand").f(void 0, DescribeHandshakeResponseFilterSensitiveLog).ser(se_DescribeHandshakeCommand).de(de_DescribeHandshakeCommand).build() { static { __name(this, "DescribeHandshakeCommand"); }}; // src/commands/DescribeOrganizationalUnitCommand.ts var DescribeOrganizationalUnitCommand = 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("AWSOrganizationsV20161128", "DescribeOrganizationalUnit", {}).n("OrganizationsClient", "DescribeOrganizationalUnitCommand").f(void 0, void 0).ser(se_DescribeOrganizationalUnitCommand).de(de_DescribeOrganizationalUnitCommand).build() { static { __name(this, "DescribeOrganizationalUnitCommand"); }}; // src/commands/DescribeOrganizationCommand.ts var DescribeOrganizationCommand = 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("AWSOrganizationsV20161128", "DescribeOrganization", {}).n("OrganizationsClient", "DescribeOrganizationCommand").f(void 0, DescribeOrganizationResponseFilterSensitiveLog).ser(se_DescribeOrganizationCommand).de(de_DescribeOrganizationCommand).build() { static { __name(this, "DescribeOrganizationCommand"); }}; // src/commands/DescribePolicyCommand.ts var DescribePolicyCommand = 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("AWSOrganizationsV20161128", "DescribePolicy", {}).n("OrganizationsClient", "DescribePolicyCommand").f(void 0, void 0).ser(se_DescribePolicyCommand).de(de_DescribePolicyCommand).build() { static { __name(this, "DescribePolicyCommand"); }}; // src/commands/DescribeResourcePolicyCommand.ts var DescribeResourcePolicyCommand = 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("AWSOrganizationsV20161128", "DescribeResourcePolicy", {}).n("OrganizationsClient", "DescribeResourcePolicyCommand").f(void 0, void 0).ser(se_DescribeResourcePolicyCommand).de(de_DescribeResourcePolicyCommand).build() { static { __name(this, "DescribeResourcePolicyCommand"); }}; // src/commands/DetachPolicyCommand.ts var DetachPolicyCommand = 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("AWSOrganizationsV20161128", "DetachPolicy", {}).n("OrganizationsClient", "DetachPolicyCommand").f(void 0, void 0).ser(se_DetachPolicyCommand).de(de_DetachPolicyCommand).build() { static { __name(this, "DetachPolicyCommand"); }}; // src/commands/DisableAWSServiceAccessCommand.ts var DisableAWSServiceAccessCommand = 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("AWSOrganizationsV20161128", "DisableAWSServiceAccess", {}).n("OrganizationsClient", "DisableAWSServiceAccessCommand").f(void 0, void 0).ser(se_DisableAWSServiceAccessCommand).de(de_DisableAWSServiceAccessCommand).build() { static { __name(this, "DisableAWSServiceAccessCommand"); }}; // src/commands/DisablePolicyTypeCommand.ts var DisablePolicyTypeCommand = 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("AWSOrganizationsV20161128", "DisablePolicyType", {}).n("OrganizationsClient", "DisablePolicyTypeCommand").f(void 0, void 0).ser(se_DisablePolicyTypeCommand).de(de_DisablePolicyTypeCommand).build() { static { __name(this, "DisablePolicyTypeCommand"); }}; // src/commands/EnableAllFeaturesCommand.ts var EnableAllFeaturesCommand = 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("AWSOrganizationsV20161128", "EnableAllFeatures", {}).n("OrganizationsClient", "EnableAllFeaturesCommand").f(void 0, EnableAllFeaturesResponseFilterSensitiveLog).ser(se_EnableAllFeaturesCommand).de(de_EnableAllFeaturesCommand).build() { static { __name(this, "EnableAllFeaturesCommand"); }}; // src/commands/EnableAWSServiceAccessCommand.ts var EnableAWSServiceAccessCommand = 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("AWSOrganizationsV20161128", "EnableAWSServiceAccess", {}).n("OrganizationsClient", "EnableAWSServiceAccessCommand").f(void 0, void 0).ser(se_EnableAWSServiceAccessCommand).de(de_EnableAWSServiceAccessCommand).build() { static { __name(this, "EnableAWSServiceAccessCommand"); }}; // src/commands/EnablePolicyTypeCommand.ts var EnablePolicyTypeCommand = 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("AWSOrganizationsV20161128", "EnablePolicyType", {}).n("OrganizationsClient", "EnablePolicyTypeCommand").f(void 0, void 0).ser(se_EnablePolicyTypeCommand).de(de_EnablePolicyTypeCommand).build() { static { __name(this, "EnablePolicyTypeCommand"); }}; // src/commands/InviteAccountToOrganizationCommand.ts var InviteAccountToOrganizationCommand = 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("AWSOrganizationsV20161128", "InviteAccountToOrganization", {}).n("OrganizationsClient", "InviteAccountToOrganizationCommand").f(InviteAccountToOrganizationRequestFilterSensitiveLog, InviteAccountToOrganizationResponseFilterSensitiveLog).ser(se_InviteAccountToOrganizationCommand).de(de_InviteAccountToOrganizationCommand).build() { static { __name(this, "InviteAccountToOrganizationCommand"); }}; // src/commands/LeaveOrganizationCommand.ts var LeaveOrganizationCommand = 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("AWSOrganizationsV20161128", "LeaveOrganization", {}).n("OrganizationsClient", "LeaveOrganizationCommand").f(void 0, void 0).ser(se_LeaveOrganizationCommand).de(de_LeaveOrganizationCommand).build() { static { __name(this, "LeaveOrganizationCommand"); }}; // src/commands/ListAccountsCommand.ts var ListAccountsCommand = 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("AWSOrganizationsV20161128", "ListAccounts", {}).n("OrganizationsClient", "ListAccountsCommand").f(void 0, ListAccountsResponseFilterSensitiveLog).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() { static { __name(this, "ListAccountsCommand"); }}; // src/commands/ListAccountsForParentCommand.ts var ListAccountsForParentCommand = 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("AWSOrganizationsV20161128", "ListAccountsForParent", {}).n("OrganizationsClient", "ListAccountsForParentCommand").f(void 0, ListAccountsForParentResponseFilterSensitiveLog).ser(se_ListAccountsForParentCommand).de(de_ListAccountsForParentCommand).build() { static { __name(this, "ListAccountsForParentCommand"); }}; // src/commands/ListAccountsWithInvalidEffectivePolicyCommand.ts var ListAccountsWithInvalidEffectivePolicyCommand = 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("AWSOrganizationsV20161128", "ListAccountsWithInvalidEffectivePolicy", {}).n("OrganizationsClient", "ListAccountsWithInvalidEffectivePolicyCommand").f(void 0, ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog).ser(se_ListAccountsWithInvalidEffectivePolicyCommand).de(de_ListAccountsWithInvalidEffectivePolicyCommand).build() { static { __name(this, "ListAccountsWithInvalidEffectivePolicyCommand"); }}; // src/commands/ListAWSServiceAccessForOrganizationCommand.ts var ListAWSServiceAccessForOrganizationCommand = 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("AWSOrganizationsV20161128", "ListAWSServiceAccessForOrganization", {}).n("OrganizationsClient", "ListAWSServiceAccessForOrganizationCommand").f(void 0, void 0).ser(se_ListAWSServiceAccessForOrganizationCommand).de(de_ListAWSServiceAccessForOrganizationCommand).build() { static { __name(this, "ListAWSServiceAccessForOrganizationCommand"); }}; // src/commands/ListChildrenCommand.ts var ListChildrenCommand = 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("AWSOrganizationsV20161128", "ListChildren", {}).n("OrganizationsClient", "ListChildrenCommand").f(void 0, void 0).ser(se_ListChildrenCommand).de(de_ListChildrenCommand).build() { static { __name(this, "ListChildrenCommand"); }}; // src/commands/ListCreateAccountStatusCommand.ts var ListCreateAccountStatusCommand = 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("AWSOrganizationsV20161128", "ListCreateAccountStatus", {}).n("OrganizationsClient", "ListCreateAccountStatusCommand").f(void 0, ListCreateAccountStatusResponseFilterSensitiveLog).ser(se_ListCreateAccountStatusCommand).de(de_ListCreateAccountStatusCommand).build() { static { __name(this, "ListCreateAccountStatusCommand"); }}; // src/commands/ListDelegatedAdministratorsCommand.ts var ListDelegatedAdministratorsCommand = 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("AWSOrganizationsV20161128", "ListDelegatedAdministrators", {}).n("OrganizationsClient", "ListDelegatedAdministratorsCommand").f(void 0, ListDelegatedAdministratorsResponseFilterSensitiveLog).ser(se_ListDelegatedAdministratorsCommand).de(de_ListDelegatedAdministratorsCommand).build() { static { __name(this, "ListDelegatedAdministratorsCommand"); }}; // src/commands/ListDelegatedServicesForAccountCommand.ts var ListDelegatedServicesForAccountCommand = 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("AWSOrganizationsV20161128", "ListDelegatedServicesForAccount", {}).n("OrganizationsClient", "ListDelegatedServicesForAccountCommand").f(void 0, void 0).ser(se_ListDelegatedServicesForAccountCommand).de(de_ListDelegatedServicesForAccountCommand).build() { static { __name(this, "ListDelegatedServicesForAccountCommand"); }}; // src/commands/ListEffectivePolicyValidationErrorsCommand.ts var ListEffectivePolicyValidationErrorsCommand = 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("AWSOrganizationsV20161128", "ListEffectivePolicyValidationErrors", {}).n("OrganizationsClient", "ListEffectivePolicyValidationErrorsCommand").f(void 0, void 0).ser(se_ListEffectivePolicyValidationErrorsCommand).de(de_ListEffectivePolicyValidationErrorsCommand).build() { static { __name(this, "ListEffectivePolicyValidationErrorsCommand"); }}; // src/commands/ListHandshakesForAccountCommand.ts var ListHandshakesForAccountCommand = 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("AWSOrganizationsV20161128", "ListHandshakesForAccount", {}).n("OrganizationsClient", "ListHandshakesForAccountCommand").f(void 0, ListHandshakesForAccountResponseFilterSensitiveLog).ser(se_ListHandshakesForAccountCommand).de(de_ListHandshakesForAccountCommand).build() { static { __name(this, "ListHandshakesForAccountCommand"); }}; // src/commands/ListHandshakesForOrganizationCommand.ts var ListHandshakesForOrganizationCommand = 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("AWSOrganizationsV20161128", "ListHandshakesForOrganization", {}).n("OrganizationsClient", "ListHandshakesForOrganizationCommand").f(void 0, ListHandshakesForOrganizationResponseFilterSensitiveLog).ser(se_ListHandshakesForOrganizationCommand).de(de_ListHandshakesForOrganizationCommand).build() { static { __name(this, "ListHandshakesForOrganizationCommand"); }}; // src/commands/ListOrganizationalUnitsForParentCommand.ts var ListOrganizationalUnitsForParentCommand = 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("AWSOrganizationsV20161128", "ListOrganizationalUnitsForParent", {}).n("OrganizationsClient", "ListOrganizationalUnitsForParentCommand").f(void 0, void 0).ser(se_ListOrganizationalUnitsForParentCommand).de(de_ListOrganizationalUnitsForParentCommand).build() { static { __name(this, "ListOrganizationalUnitsForParentCommand"); }}; // src/commands/ListParentsCommand.ts var ListParentsCommand = 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("AWSOrganizationsV20161128", "ListParents", {}).n("OrganizationsClient", "ListParentsCommand").f(void 0, void 0).ser(se_ListParentsCommand).de(de_ListParentsCommand).build() { static { __name(this, "ListParentsCommand"); }}; // src/commands/ListPoliciesCommand.ts var ListPoliciesCommand = 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("AWSOrganizationsV20161128", "ListPolicies", {}).n("OrganizationsClient", "ListPoliciesCommand").f(void 0, void 0).ser(se_ListPoliciesCommand).de(de_ListPoliciesCommand).build() { static { __name(this, "ListPoliciesCommand"); }}; // src/commands/ListPoliciesForTargetCommand.ts var ListPoliciesForTargetCommand = 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("AWSOrganizationsV20161128", "ListPoliciesForTarget", {}).n("OrganizationsClient", "ListPoliciesForTargetCommand").f(void 0, void 0).ser(se_ListPoliciesForTargetCommand).de(de_ListPoliciesForTargetCommand).build() { static { __name(this, "ListPoliciesForTargetCommand"); }}; // src/commands/ListRootsCommand.ts var ListRootsCommand = 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("AWSOrganizationsV20161128", "ListRoots", {}).n("OrganizationsClient", "ListRootsCommand").f(void 0, void 0).ser(se_ListRootsCommand).de(de_ListRootsCommand).build() { static { __name(this, "ListRootsCommand"); }}; // 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("AWSOrganizationsV20161128", "ListTagsForResource", {}).n("OrganizationsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/ListTargetsForPolicyCommand.ts var ListTargetsForPolicyCommand = 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("AWSOrganizationsV20161128", "ListTargetsForPolicy", {}).n("OrganizationsClient", "ListTargetsForPolicyCommand").f(void 0, void 0).ser(se_ListTargetsForPolicyCommand).de(de_ListTargetsForPolicyCommand).build() { static { __name(this, "ListTargetsForPolicyCommand"); }}; // src/commands/MoveAccountCommand.ts var MoveAccountCommand = 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("AWSOrganizationsV20161128", "MoveAccount", {}).n("OrganizationsClient", "MoveAccountCommand").f(void 0, void 0).ser(se_MoveAccountCommand).de(de_MoveAccountCommand).build() { static { __name(this, "MoveAccountCommand"); }}; // src/commands/PutResourcePolicyCommand.ts var PutResourcePolicyCommand = 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("AWSOrganizationsV20161128", "PutResourcePolicy", {}).n("OrganizationsClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() { static { __name(this, "PutResourcePolicyCommand"); }}; // src/commands/RegisterDelegatedAdministratorCommand.ts var RegisterDelegatedAdministratorCommand = 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("AWSOrganizationsV20161128", "RegisterDelegatedAdministrator", {}).n("OrganizationsClient", "RegisterDelegatedAdministratorCommand").f(void 0, void 0).ser(se_RegisterDelegatedAdministratorCommand).de(de_RegisterDelegatedAdministratorCommand).build() { static { __name(this, "RegisterDelegatedAdministratorCommand"); }}; // src/commands/RemoveAccountFromOrganizationCommand.ts var RemoveAccountFromOrganizationCommand = 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("AWSOrganizationsV20161128", "RemoveAccountFromOrganization", {}).n("OrganizationsClient", "RemoveAccountFromOrganizationCommand").f(void 0, void 0).ser(se_RemoveAccountFromOrganizationCommand).de(de_RemoveAccountFromOrganizationCommand).build() { static { __name(this, "RemoveAccountFromOrganizationCommand"); }}; // 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("AWSOrganizationsV20161128", "TagResource", {}).n("OrganizationsClient", "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("AWSOrganizationsV20161128", "UntagResource", {}).n("OrganizationsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateOrganizationalUnitCommand.ts var UpdateOrganizationalUnitCommand = 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("AWSOrganizationsV20161128", "UpdateOrganizationalUnit", {}).n("OrganizationsClient", "UpdateOrganizationalUnitCommand").f(void 0, void 0).ser(se_UpdateOrganizationalUnitCommand).de(de_UpdateOrganizationalUnitCommand).build() { static { __name(this, "UpdateOrganizationalUnitCommand"); }}; // src/commands/UpdatePolicyCommand.ts var UpdatePolicyCommand = 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("AWSOrganizationsV20161128", "UpdatePolicy", {}).n("OrganizationsClient", "UpdatePolicyCommand").f(void 0, void 0).ser(se_UpdatePolicyCommand).de(de_UpdatePolicyCommand).build() { static { __name(this, "UpdatePolicyCommand"); }}; // src/Organizations.tsvar commands = { AcceptHandshakeCommand, AttachPolicyCommand, CancelHandshakeCommand, CloseAccountCommand, CreateAccountCommand, CreateGovCloudAccountCommand, CreateOrganizationCommand, CreateOrganizationalUnitCommand, CreatePolicyCommand, DeclineHandshakeCommand, DeleteOrganizationCommand, DeleteOrganizationalUnitCommand, DeletePolicyCommand, DeleteResourcePolicyCommand, DeregisterDelegatedAdministratorCommand, DescribeAccountCommand, DescribeCreateAccountStatusCommand, DescribeEffectivePolicyCommand, DescribeHandshakeCommand, DescribeOrganizationCommand, DescribeOrganizationalUnitCommand, DescribePolicyCommand, DescribeResourcePolicyCommand, DetachPolicyCommand, DisableAWSServiceAccessCommand, DisablePolicyTypeCommand, EnableAllFeaturesCommand, EnableAWSServiceAccessCommand, EnablePolicyTypeCommand, InviteAccountToOrganizationCommand, LeaveOrganizationCommand, ListAccountsCommand, ListAccountsForParentCommand, ListAccountsWithInvalidEffectivePolicyCommand, ListAWSServiceAccessForOrganizationCommand, ListChildrenCommand, ListCreateAccountStatusCommand, ListDelegatedAdministratorsCommand, ListDelegatedServicesForAccountCommand, ListEffectivePolicyValidationErrorsCommand, ListHandshakesForAccountCommand, ListHandshakesForOrganizationCommand, ListOrganizationalUnitsForParentCommand, ListParentsCommand, ListPoliciesCommand, ListPoliciesForTargetCommand, ListRootsCommand, ListTagsForResourceCommand, ListTargetsForPolicyCommand, MoveAccountCommand, PutResourcePolicyCommand, RegisterDelegatedAdministratorCommand, RemoveAccountFromOrganizationCommand, TagResourceCommand, UntagResourceCommand, UpdateOrganizationalUnitCommand, UpdatePolicyCommand};var Organizations = class extends OrganizationsClient { static { __name(this, "Organizations"); }};(0, import_smithy_client.createAggregatedClient)(commands, Organizations); // src/pagination/ListAWSServiceAccessForOrganizationPaginator.ts var paginateListAWSServiceAccessForOrganization = (0, import_core.createPaginator)(OrganizationsClient, ListAWSServiceAccessForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAccountsForParentPaginator.ts var paginateListAccountsForParent = (0, import_core.createPaginator)(OrganizationsClient, ListAccountsForParentCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAccountsPaginator.ts var paginateListAccounts = (0, import_core.createPaginator)(OrganizationsClient, ListAccountsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.ts var paginateListAccountsWithInvalidEffectivePolicy = (0, import_core.createPaginator)(OrganizationsClient, ListAccountsWithInvalidEffectivePolicyCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListChildrenPaginator.ts var paginateListChildren = (0, import_core.createPaginator)(OrganizationsClient, ListChildrenCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCreateAccountStatusPaginator.ts var paginateListCreateAccountStatus = (0, import_core.createPaginator)(OrganizationsClient, ListCreateAccountStatusCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListDelegatedAdministratorsPaginator.ts var paginateListDelegatedAdministrators = (0, import_core.createPaginator)(OrganizationsClient, ListDelegatedAdministratorsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListDelegatedServicesForAccountPaginator.ts var paginateListDelegatedServicesForAccount = (0, import_core.createPaginator)(OrganizationsClient, ListDelegatedServicesForAccountCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListEffectivePolicyValidationErrorsPaginator.ts var paginateListEffectivePolicyValidationErrors = (0, import_core.createPaginator)(OrganizationsClient, ListEffectivePolicyValidationErrorsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListHandshakesForAccountPaginator.ts var paginateListHandshakesForAccount = (0, import_core.createPaginator)(OrganizationsClient, ListHandshakesForAccountCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListHandshakesForOrganizationPaginator.ts var paginateListHandshakesForOrganization = (0, import_core.createPaginator)(OrganizationsClient, ListHandshakesForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListOrganizationalUnitsForParentPaginator.ts var paginateListOrganizationalUnitsForParent = (0, import_core.createPaginator)(OrganizationsClient, ListOrganizationalUnitsForParentCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListParentsPaginator.ts var paginateListParents = (0, import_core.createPaginator)(OrganizationsClient, ListParentsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPoliciesForTargetPaginator.ts var paginateListPoliciesForTarget = (0, import_core.createPaginator)(OrganizationsClient, ListPoliciesForTargetCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPoliciesPaginator.ts var paginateListPolicies = (0, import_core.createPaginator)(OrganizationsClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListRootsPaginator.ts var paginateListRoots = (0, import_core.createPaginator)(OrganizationsClient, ListRootsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTagsForResourcePaginator.ts var paginateListTagsForResource = (0, import_core.createPaginator)(OrganizationsClient, ListTagsForResourceCommand, "NextToken", "NextToken", ""); // src/pagination/ListTargetsForPolicyPaginator.ts var paginateListTargetsForPolicy = (0, import_core.createPaginator)(OrganizationsClient, ListTargetsForPolicyCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { OrganizationsServiceException, __Client, OrganizationsClient, Organizations, $Command, AcceptHandshakeCommand, AttachPolicyCommand, CancelHandshakeCommand, CloseAccountCommand, CreateAccountCommand, CreateGovCloudAccountCommand, CreateOrganizationCommand, CreateOrganizationalUnitCommand, CreatePolicyCommand, DeclineHandshakeCommand, DeleteOrganizationCommand, DeleteOrganizationalUnitCommand, DeletePolicyCommand, DeleteResourcePolicyCommand, DeregisterDelegatedAdministratorCommand, DescribeAccountCommand, DescribeCreateAccountStatusCommand, DescribeEffectivePolicyCommand, DescribeHandshakeCommand, DescribeOrganizationCommand, DescribeOrganizationalUnitCommand, DescribePolicyCommand, DescribeResourcePolicyCommand, DetachPolicyCommand, DisableAWSServiceAccessCommand, DisablePolicyTypeCommand, EnableAWSServiceAccessCommand, EnableAllFeaturesCommand, EnablePolicyTypeCommand, InviteAccountToOrganizationCommand, LeaveOrganizationCommand, ListAWSServiceAccessForOrganizationCommand, ListAccountsCommand, ListAccountsForParentCommand, ListAccountsWithInvalidEffectivePolicyCommand, ListChildrenCommand, ListCreateAccountStatusCommand, ListDelegatedAdministratorsCommand, ListDelegatedServicesForAccountCommand, ListEffectivePolicyValidationErrorsCommand, ListHandshakesForAccountCommand, ListHandshakesForOrganizationCommand, ListOrganizationalUnitsForParentCommand, ListParentsCommand, ListPoliciesCommand, ListPoliciesForTargetCommand, ListRootsCommand, ListTagsForResourceCommand, ListTargetsForPolicyCommand, MoveAccountCommand, PutResourcePolicyCommand, RegisterDelegatedAdministratorCommand, RemoveAccountFromOrganizationCommand, TagResourceCommand, UntagResourceCommand, UpdateOrganizationalUnitCommand, UpdatePolicyCommand, paginateListAWSServiceAccessForOrganization, paginateListAccountsForParent, paginateListAccounts, paginateListAccountsWithInvalidEffectivePolicy, paginateListChildren, paginateListCreateAccountStatus, paginateListDelegatedAdministrators, paginateListDelegatedServicesForAccount, paginateListEffectivePolicyValidationErrors, paginateListHandshakesForAccount, paginateListHandshakesForOrganization, paginateListOrganizationalUnitsForParent, paginateListParents, paginateListPoliciesForTarget, paginateListPolicies, paginateListRoots, paginateListTagsForResource, paginateListTargetsForPolicy, ActionType, HandshakePartyType, HandshakeResourceType, HandshakeState, AccessDeniedException, AccessDeniedForDependencyExceptionReason, AccessDeniedForDependencyException, AWSOrganizationsNotInUseException, ConcurrentModificationException, HandshakeAlreadyInStateException, HandshakeConstraintViolationExceptionReason, HandshakeConstraintViolationException, HandshakeNotFoundException, InvalidHandshakeTransitionException, InvalidInputExceptionReason, InvalidInputException, ServiceException, TooManyRequestsException, AccountJoinedMethod, AccountState, AccountStatus, AccountAlreadyClosedException, AccountAlreadyRegisteredException, AccountNotFoundException, AccountNotRegisteredException, AccountOwnerNotVerifiedException, AlreadyInOrganizationException, ConstraintViolationExceptionReason, ConstraintViolationException, DuplicatePolicyAttachmentException, PolicyChangesInProgressException, PolicyNotFoundException, PolicyTypeNotEnabledException, TargetNotFoundException, UnsupportedAPIEndpointException, ConflictException, IAMUserAccessToBilling, CreateAccountFailureReason, CreateAccountState, FinalizingOrganizationException, OrganizationFeatureSet, PolicyTypeStatus, PolicyType, DuplicateOrganizationalUnitException, ParentNotFoundException, DuplicatePolicyException, MalformedPolicyDocumentException, PolicyTypeNotAvailableForOrganizationException, OrganizationNotEmptyException, OrganizationalUnitNotEmptyException, OrganizationalUnitNotFoundException, PolicyInUseException, ResourcePolicyNotFoundException, CreateAccountStatusNotFoundException, EffectivePolicyType, EffectivePolicyNotFoundException, PolicyNotAttachedException, RootNotFoundException, PolicyTypeAlreadyEnabledException, DuplicateHandshakeException, MasterCannotLeaveOrganizationException, ChildType, ChildNotFoundException, ParentType, TargetType, DestinationParentNotFoundException, DuplicateAccountException, SourceParentNotFoundException, HandshakePartyFilterSensitiveLog, AccountFilterSensitiveLog, CreateAccountRequestFilterSensitiveLog, CreateAccountStatusFilterSensitiveLog, CreateAccountResponseFilterSensitiveLog, CreateGovCloudAccountRequestFilterSensitiveLog, CreateGovCloudAccountResponseFilterSensitiveLog, OrganizationFilterSensitiveLog, CreateOrganizationResponseFilterSensitiveLog, DescribeAccountResponseFilterSensitiveLog, DescribeCreateAccountStatusResponseFilterSensitiveLog, DescribeOrganizationResponseFilterSensitiveLog, InviteAccountToOrganizationRequestFilterSensitiveLog, ListAccountsResponseFilterSensitiveLog, ListAccountsForParentResponseFilterSensitiveLog, ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog, ListCreateAccountStatusResponseFilterSensitiveLog, DelegatedAdministratorFilterSensitiveLog, ListDelegatedAdministratorsResponseFilterSensitiveLog, HandshakeResourceFilterSensitiveLog, HandshakeFilterSensitiveLog, AcceptHandshakeResponseFilterSensitiveLog, CancelHandshakeResponseFilterSensitiveLog, DeclineHandshakeResponseFilterSensitiveLog, DescribeHandshakeResponseFilterSensitiveLog, EnableAllFeaturesResponseFilterSensitiveLog, InviteAccountToOrganizationResponseFilterSensitiveLog, ListHandshakesForAccountResponseFilterSensitiveLog, ListHandshakesForOrganizationResponseFilterSensitiveLog});