amazonka-organizations-1.6.1: Amazon Organizations SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Organizations.LeaveOrganization

Contents

Description

Removes a member account from its parent organization. This version of the operation is performed by the account that wants to leave. To remove a member account as a user in the master account, use RemoveAccountFromOrganization instead.

This operation can be called only from a member account in the organization.

Important: * The master account in an organization with all features enabled can set service control policies (SCPs) that can restrict what administrators of member accounts can do, including preventing them from successfully calling LeaveOrganization and leaving the organization.

  • You can leave an organization as a member account only if the account is configured with the information required to operate as a standalone account. When you create an account in an organization using the AWS Organizations console, API, or CLI commands, the information required of standalone accounts is not automatically collected. For each account that you want to make standalone, you must accept the End User License Agreement (EULA), choose a support plan, provide and verify the required contact information, and provide a current payment method. AWS uses the payment method to charge for any billable (not free tier) AWS activity that occurs while the account is not attached to an organization. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide .
  • You can leave an organization only after you enable IAM user access to billing in your account. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide .
Synopsis

Creating a Request

leaveOrganization :: LeaveOrganization Source #

Creates a value of LeaveOrganization with the minimum fields required to make a request.

data LeaveOrganization Source #

See: leaveOrganization smart constructor.

Instances
Eq LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Data LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LeaveOrganization -> c LeaveOrganization #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LeaveOrganization #

toConstr :: LeaveOrganization -> Constr #

dataTypeOf :: LeaveOrganization -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LeaveOrganization) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LeaveOrganization) #

gmapT :: (forall b. Data b => b -> b) -> LeaveOrganization -> LeaveOrganization #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LeaveOrganization -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LeaveOrganization -> r #

gmapQ :: (forall d. Data d => d -> u) -> LeaveOrganization -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LeaveOrganization -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LeaveOrganization -> m LeaveOrganization #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LeaveOrganization -> m LeaveOrganization #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LeaveOrganization -> m LeaveOrganization #

Read LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Show LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Generic LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Associated Types

type Rep LeaveOrganization :: Type -> Type #

Hashable LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

ToJSON LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

AWSRequest LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Associated Types

type Rs LeaveOrganization :: Type #

ToHeaders LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

ToPath LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

ToQuery LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

NFData LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Methods

rnf :: LeaveOrganization -> () #

type Rep LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

type Rep LeaveOrganization = D1 (MetaData "LeaveOrganization" "Network.AWS.Organizations.LeaveOrganization" "amazonka-organizations-1.6.1-AXMOvAV6jebLVZPNUpIjqF" False) (C1 (MetaCons "LeaveOrganization'" PrefixI False) (U1 :: Type -> Type))
type Rs LeaveOrganization Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Destructuring the Response

leaveOrganizationResponse :: LeaveOrganizationResponse Source #

Creates a value of LeaveOrganizationResponse with the minimum fields required to make a request.

data LeaveOrganizationResponse Source #

See: leaveOrganizationResponse smart constructor.

Instances
Eq LeaveOrganizationResponse Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Data LeaveOrganizationResponse Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LeaveOrganizationResponse -> c LeaveOrganizationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LeaveOrganizationResponse #

toConstr :: LeaveOrganizationResponse -> Constr #

dataTypeOf :: LeaveOrganizationResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LeaveOrganizationResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LeaveOrganizationResponse) #

gmapT :: (forall b. Data b => b -> b) -> LeaveOrganizationResponse -> LeaveOrganizationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LeaveOrganizationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LeaveOrganizationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> LeaveOrganizationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LeaveOrganizationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LeaveOrganizationResponse -> m LeaveOrganizationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LeaveOrganizationResponse -> m LeaveOrganizationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LeaveOrganizationResponse -> m LeaveOrganizationResponse #

Read LeaveOrganizationResponse Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Show LeaveOrganizationResponse Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Generic LeaveOrganizationResponse Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

Associated Types

type Rep LeaveOrganizationResponse :: Type -> Type #

NFData LeaveOrganizationResponse Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

type Rep LeaveOrganizationResponse Source # 
Instance details

Defined in Network.AWS.Organizations.LeaveOrganization

type Rep LeaveOrganizationResponse = D1 (MetaData "LeaveOrganizationResponse" "Network.AWS.Organizations.LeaveOrganization" "amazonka-organizations-1.6.1-AXMOvAV6jebLVZPNUpIjqF" False) (C1 (MetaCons "LeaveOrganizationResponse'" PrefixI False) (U1 :: Type -> Type))