import { HostHeaderInputConfig, HostHeaderResolvedConfig, UserAgentInputConfig, UserAgentResolvedConfig, } from "@aws-sdk/core/client"; import { DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client, } from "@smithy/core/client"; import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent, } from "@smithy/types"; import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig, } from "./auth/httpAuthSchemeProvider"; import { AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput, } from "./commands/AcceptHandshakeCommand"; import { AttachPolicyCommandInput, AttachPolicyCommandOutput, } from "./commands/AttachPolicyCommand"; import { CancelHandshakeCommandInput, CancelHandshakeCommandOutput, } from "./commands/CancelHandshakeCommand"; import { CloseAccountCommandInput, CloseAccountCommandOutput, } from "./commands/CloseAccountCommand"; import { CreateAccountCommandInput, CreateAccountCommandOutput, } from "./commands/CreateAccountCommand"; import { CreateGovCloudAccountCommandInput, CreateGovCloudAccountCommandOutput, } from "./commands/CreateGovCloudAccountCommand"; import { CreateOrganizationalUnitCommandInput, CreateOrganizationalUnitCommandOutput, } from "./commands/CreateOrganizationalUnitCommand"; import { CreateOrganizationCommandInput, CreateOrganizationCommandOutput, } from "./commands/CreateOrganizationCommand"; import { CreatePolicyCommandInput, CreatePolicyCommandOutput, } from "./commands/CreatePolicyCommand"; import { DeclineHandshakeCommandInput, DeclineHandshakeCommandOutput, } from "./commands/DeclineHandshakeCommand"; import { DeleteOrganizationalUnitCommandInput, DeleteOrganizationalUnitCommandOutput, } from "./commands/DeleteOrganizationalUnitCommand"; import { DeleteOrganizationCommandInput, DeleteOrganizationCommandOutput, } from "./commands/DeleteOrganizationCommand"; import { DeletePolicyCommandInput, DeletePolicyCommandOutput, } from "./commands/DeletePolicyCommand"; import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, } from "./commands/DeleteResourcePolicyCommand"; import { DeregisterDelegatedAdministratorCommandInput, DeregisterDelegatedAdministratorCommandOutput, } from "./commands/DeregisterDelegatedAdministratorCommand"; import { DescribeAccountCommandInput, DescribeAccountCommandOutput, } from "./commands/DescribeAccountCommand"; import { DescribeCreateAccountStatusCommandInput, DescribeCreateAccountStatusCommandOutput, } from "./commands/DescribeCreateAccountStatusCommand"; import { DescribeEffectivePolicyCommandInput, DescribeEffectivePolicyCommandOutput, } from "./commands/DescribeEffectivePolicyCommand"; import { DescribeHandshakeCommandInput, DescribeHandshakeCommandOutput, } from "./commands/DescribeHandshakeCommand"; import { DescribeOrganizationalUnitCommandInput, DescribeOrganizationalUnitCommandOutput, } from "./commands/DescribeOrganizationalUnitCommand"; import { DescribeOrganizationCommandInput, DescribeOrganizationCommandOutput, } from "./commands/DescribeOrganizationCommand"; import { DescribePolicyCommandInput, DescribePolicyCommandOutput, } from "./commands/DescribePolicyCommand"; import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput, } from "./commands/DescribeResourcePolicyCommand"; import { DescribeResponsibilityTransferCommandInput, DescribeResponsibilityTransferCommandOutput, } from "./commands/DescribeResponsibilityTransferCommand"; import { DetachPolicyCommandInput, DetachPolicyCommandOutput, } from "./commands/DetachPolicyCommand"; import { DisableAWSServiceAccessCommandInput, DisableAWSServiceAccessCommandOutput, } from "./commands/DisableAWSServiceAccessCommand"; import { DisablePolicyTypeCommandInput, DisablePolicyTypeCommandOutput, } from "./commands/DisablePolicyTypeCommand"; import { EnableAllFeaturesCommandInput, EnableAllFeaturesCommandOutput, } from "./commands/EnableAllFeaturesCommand"; import { EnableAWSServiceAccessCommandInput, EnableAWSServiceAccessCommandOutput, } from "./commands/EnableAWSServiceAccessCommand"; import { EnablePolicyTypeCommandInput, EnablePolicyTypeCommandOutput, } from "./commands/EnablePolicyTypeCommand"; import { InviteAccountToOrganizationCommandInput, InviteAccountToOrganizationCommandOutput, } from "./commands/InviteAccountToOrganizationCommand"; import { InviteOrganizationToTransferResponsibilityCommandInput, InviteOrganizationToTransferResponsibilityCommandOutput, } from "./commands/InviteOrganizationToTransferResponsibilityCommand"; import { LeaveOrganizationCommandInput, LeaveOrganizationCommandOutput, } from "./commands/LeaveOrganizationCommand"; import { ListAccountsCommandInput, ListAccountsCommandOutput, } from "./commands/ListAccountsCommand"; import { ListAccountsForParentCommandInput, ListAccountsForParentCommandOutput, } from "./commands/ListAccountsForParentCommand"; import { ListAccountsWithInvalidEffectivePolicyCommandInput, ListAccountsWithInvalidEffectivePolicyCommandOutput, } from "./commands/ListAccountsWithInvalidEffectivePolicyCommand"; import { ListAWSServiceAccessForOrganizationCommandInput, ListAWSServiceAccessForOrganizationCommandOutput, } from "./commands/ListAWSServiceAccessForOrganizationCommand"; import { ListChildrenCommandInput, ListChildrenCommandOutput, } from "./commands/ListChildrenCommand"; import { ListCreateAccountStatusCommandInput, ListCreateAccountStatusCommandOutput, } from "./commands/ListCreateAccountStatusCommand"; import { ListDelegatedAdministratorsCommandInput, ListDelegatedAdministratorsCommandOutput, } from "./commands/ListDelegatedAdministratorsCommand"; import { ListDelegatedServicesForAccountCommandInput, ListDelegatedServicesForAccountCommandOutput, } from "./commands/ListDelegatedServicesForAccountCommand"; import { ListEffectivePolicyValidationErrorsCommandInput, ListEffectivePolicyValidationErrorsCommandOutput, } from "./commands/ListEffectivePolicyValidationErrorsCommand"; import { ListHandshakesForAccountCommandInput, ListHandshakesForAccountCommandOutput, } from "./commands/ListHandshakesForAccountCommand"; import { ListHandshakesForOrganizationCommandInput, ListHandshakesForOrganizationCommandOutput, } from "./commands/ListHandshakesForOrganizationCommand"; import { ListInboundResponsibilityTransfersCommandInput, ListInboundResponsibilityTransfersCommandOutput, } from "./commands/ListInboundResponsibilityTransfersCommand"; import { ListOrganizationalUnitsForParentCommandInput, ListOrganizationalUnitsForParentCommandOutput, } from "./commands/ListOrganizationalUnitsForParentCommand"; import { ListOutboundResponsibilityTransfersCommandInput, ListOutboundResponsibilityTransfersCommandOutput, } from "./commands/ListOutboundResponsibilityTransfersCommand"; import { ListParentsCommandInput, ListParentsCommandOutput } from "./commands/ListParentsCommand"; import { ListPoliciesCommandInput, ListPoliciesCommandOutput, } from "./commands/ListPoliciesCommand"; import { ListPoliciesForTargetCommandInput, ListPoliciesForTargetCommandOutput, } from "./commands/ListPoliciesForTargetCommand"; import { ListRootsCommandInput, ListRootsCommandOutput } from "./commands/ListRootsCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; import { ListTargetsForPolicyCommandInput, ListTargetsForPolicyCommandOutput, } from "./commands/ListTargetsForPolicyCommand"; import { MoveAccountCommandInput, MoveAccountCommandOutput } from "./commands/MoveAccountCommand"; import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, } from "./commands/PutResourcePolicyCommand"; import { RegisterDelegatedAdministratorCommandInput, RegisterDelegatedAdministratorCommandOutput, } from "./commands/RegisterDelegatedAdministratorCommand"; import { RemoveAccountFromOrganizationCommandInput, RemoveAccountFromOrganizationCommandOutput, } from "./commands/RemoveAccountFromOrganizationCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { TerminateResponsibilityTransferCommandInput, TerminateResponsibilityTransferCommandOutput, } from "./commands/TerminateResponsibilityTransferCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; import { UpdateOrganizationalUnitCommandInput, UpdateOrganizationalUnitCommandOutput, } from "./commands/UpdateOrganizationalUnitCommand"; import { UpdatePolicyCommandInput, UpdatePolicyCommandOutput, } from "./commands/UpdatePolicyCommand"; import { UpdateResponsibilityTransferCommandInput, UpdateResponsibilityTransferCommandOutput, } from "./commands/UpdateResponsibilityTransferCommand"; import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters, } from "./endpoint/EndpointParameters"; import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; export type ServiceInputTypes = | AcceptHandshakeCommandInput | AttachPolicyCommandInput | CancelHandshakeCommandInput | CloseAccountCommandInput | CreateAccountCommandInput | CreateGovCloudAccountCommandInput | CreateOrganizationCommandInput | CreateOrganizationalUnitCommandInput | CreatePolicyCommandInput | DeclineHandshakeCommandInput | DeleteOrganizationCommandInput | DeleteOrganizationalUnitCommandInput | DeletePolicyCommandInput | DeleteResourcePolicyCommandInput | DeregisterDelegatedAdministratorCommandInput | DescribeAccountCommandInput | DescribeCreateAccountStatusCommandInput | DescribeEffectivePolicyCommandInput | DescribeHandshakeCommandInput | DescribeOrganizationCommandInput | DescribeOrganizationalUnitCommandInput | DescribePolicyCommandInput | DescribeResourcePolicyCommandInput | DescribeResponsibilityTransferCommandInput | DetachPolicyCommandInput | DisableAWSServiceAccessCommandInput | DisablePolicyTypeCommandInput | EnableAWSServiceAccessCommandInput | EnableAllFeaturesCommandInput | EnablePolicyTypeCommandInput | InviteAccountToOrganizationCommandInput | InviteOrganizationToTransferResponsibilityCommandInput | LeaveOrganizationCommandInput | ListAWSServiceAccessForOrganizationCommandInput | ListAccountsCommandInput | ListAccountsForParentCommandInput | ListAccountsWithInvalidEffectivePolicyCommandInput | ListChildrenCommandInput | ListCreateAccountStatusCommandInput | ListDelegatedAdministratorsCommandInput | ListDelegatedServicesForAccountCommandInput | ListEffectivePolicyValidationErrorsCommandInput | ListHandshakesForAccountCommandInput | ListHandshakesForOrganizationCommandInput | ListInboundResponsibilityTransfersCommandInput | ListOrganizationalUnitsForParentCommandInput | ListOutboundResponsibilityTransfersCommandInput | ListParentsCommandInput | ListPoliciesCommandInput | ListPoliciesForTargetCommandInput | ListRootsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | MoveAccountCommandInput | PutResourcePolicyCommandInput | RegisterDelegatedAdministratorCommandInput | RemoveAccountFromOrganizationCommandInput | TagResourceCommandInput | TerminateResponsibilityTransferCommandInput | UntagResourceCommandInput | UpdateOrganizationalUnitCommandInput | UpdatePolicyCommandInput | UpdateResponsibilityTransferCommandInput; export type ServiceOutputTypes = | AcceptHandshakeCommandOutput | AttachPolicyCommandOutput | CancelHandshakeCommandOutput | CloseAccountCommandOutput | CreateAccountCommandOutput | CreateGovCloudAccountCommandOutput | CreateOrganizationCommandOutput | CreateOrganizationalUnitCommandOutput | CreatePolicyCommandOutput | DeclineHandshakeCommandOutput | DeleteOrganizationCommandOutput | DeleteOrganizationalUnitCommandOutput | DeletePolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterDelegatedAdministratorCommandOutput | DescribeAccountCommandOutput | DescribeCreateAccountStatusCommandOutput | DescribeEffectivePolicyCommandOutput | DescribeHandshakeCommandOutput | DescribeOrganizationCommandOutput | DescribeOrganizationalUnitCommandOutput | DescribePolicyCommandOutput | DescribeResourcePolicyCommandOutput | DescribeResponsibilityTransferCommandOutput | DetachPolicyCommandOutput | DisableAWSServiceAccessCommandOutput | DisablePolicyTypeCommandOutput | EnableAWSServiceAccessCommandOutput | EnableAllFeaturesCommandOutput | EnablePolicyTypeCommandOutput | InviteAccountToOrganizationCommandOutput | InviteOrganizationToTransferResponsibilityCommandOutput | LeaveOrganizationCommandOutput | ListAWSServiceAccessForOrganizationCommandOutput | ListAccountsCommandOutput | ListAccountsForParentCommandOutput | ListAccountsWithInvalidEffectivePolicyCommandOutput | ListChildrenCommandOutput | ListCreateAccountStatusCommandOutput | ListDelegatedAdministratorsCommandOutput | ListDelegatedServicesForAccountCommandOutput | ListEffectivePolicyValidationErrorsCommandOutput | ListHandshakesForAccountCommandOutput | ListHandshakesForOrganizationCommandOutput | ListInboundResponsibilityTransfersCommandOutput | ListOrganizationalUnitsForParentCommandOutput | ListOutboundResponsibilityTransfersCommandOutput | ListParentsCommandOutput | ListPoliciesCommandOutput | ListPoliciesForTargetCommandOutput | ListRootsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | MoveAccountCommandOutput | PutResourcePolicyCommandOutput | RegisterDelegatedAdministratorCommandOutput | RemoveAccountFromOrganizationCommandOutput | TagResourceCommandOutput | TerminateResponsibilityTransferCommandOutput | UntagResourceCommandOutput | UpdateOrganizationalUnitCommandOutput | UpdatePolicyCommandOutput | UpdateResponsibilityTransferCommandOutput; export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { requestHandler?: __HttpHandlerUserInput; sha256?: __ChecksumConstructor | __HashConstructor; urlParser?: __UrlParser; bodyLengthChecker?: __BodyLengthCalculator; streamCollector?: __StreamCollector; base64Decoder?: __Decoder; base64Encoder?: __Encoder; utf8Decoder?: __Decoder; utf8Encoder?: __Encoder; runtime?: string; disableHostPrefix?: boolean; serviceId?: string; useDualstackEndpoint?: boolean | __Provider; useFipsEndpoint?: boolean | __Provider; region?: string | __Provider; profile?: string; defaultUserAgentProvider?: __Provider<__UserAgent>; credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; maxAttempts?: number | __Provider; retryMode?: string | __Provider; logger?: __Logger; extensions?: RuntimeExtension[]; defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } export type OrganizationsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; export interface OrganizationsClientConfig extends OrganizationsClientConfigType {} export type OrganizationsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; export interface OrganizationsClientResolvedConfig extends OrganizationsClientResolvedConfigType {} export declare class OrganizationsClient extends __Client< __HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OrganizationsClientResolvedConfig > { readonly config: OrganizationsClientResolvedConfig; constructor(...[configuration]: __CheckOptionalClientConfig); destroy(): void; }