amazonka-organizations-1.5.0: Amazon Organizations SDK.

Copyright(c) 2013-2017 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 # 
Data LeaveOrganization Source # 

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 # 
Show LeaveOrganization Source # 
Generic LeaveOrganization Source # 
Hashable LeaveOrganization Source # 
ToJSON LeaveOrganization Source # 
NFData LeaveOrganization Source # 

Methods

rnf :: LeaveOrganization -> () #

AWSRequest LeaveOrganization Source # 
ToQuery LeaveOrganization Source # 
ToPath LeaveOrganization Source # 
ToHeaders LeaveOrganization Source # 
type Rep LeaveOrganization Source # 
type Rep LeaveOrganization = D1 (MetaData "LeaveOrganization" "Network.AWS.Organizations.LeaveOrganization" "amazonka-organizations-1.5.0-9d9i18lsT75IlwObP60hiK" False) (C1 (MetaCons "LeaveOrganization'" PrefixI False) U1)
type Rs LeaveOrganization Source # 

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 # 
Data LeaveOrganizationResponse Source # 

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 # 
Show LeaveOrganizationResponse Source # 
Generic LeaveOrganizationResponse Source # 
NFData LeaveOrganizationResponse Source # 
type Rep LeaveOrganizationResponse Source # 
type Rep LeaveOrganizationResponse = D1 (MetaData "LeaveOrganizationResponse" "Network.AWS.Organizations.LeaveOrganization" "amazonka-organizations-1.5.0-9d9i18lsT75IlwObP60hiK" False) (C1 (MetaCons "LeaveOrganizationResponse'" PrefixI False) U1)