Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
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.
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.