Package-level declarations
Types
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
The operation that you attempted requires you to have the iam:CreateServiceLinkedRole
for organizations.amazonaws.com
permission so that Organizations can create the required service-linked role. You don't have that permission.
You attempted to close an account that is already closed.
The specified account is already a delegated administrator for this Amazon Web Services service.
We can't find an Amazon Web Services account with the AccountId
that you specified, or the account whose credentials you used to make this request isn't a member of an organization.
The specified account is not a delegated administrator for this Amazon Web Services service.
You can't invite an existing account to your organization until you verify that you own the email address associated with the management account. For more information, see Email address verification in the Organizations User Guide.
This account is already a member of an organization. An account can belong to only one organization at a time.
Your account isn't a member of an organization. To make this request, you must use the credentials of an account that belongs to an organization.
We can't find an organizational unit (OU) or Amazon Web Services account with the ChildId
that you specified.
The target of the operation is currently being modified by a different request. Try again later.
The request failed because it conflicts with the current state of the specified resource.
Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit:
Contains the status about a CreateAccount or CreateGovCloudAccount request to create an Amazon Web Services account or an Amazon Web Services GovCloud (US) account in an organization.
We can't find an create account request with the CreateAccountRequestId
that you specified.
Contains information about the delegated administrator.
Contains information about the Amazon Web Services service for which the account is a delegated administrator.
We can't find the destination container (a root or OU) with the ParentId
that you specified.
That account is already present in the specified destination.
A handshake with the same action and target already exists. For example, if you invited an account to join your organization, the invited account might already have a pending invitation from this organization. If you intend to resend an invitation to an account, ensure that existing handshakes that might be considered duplicates are canceled or declined.
An OU with the same name already exists.
The selected policy is already attached to the specified target.
A policy with the same name already exists.
Contains rules to be applied to the affected accounts. The effective policy is the aggregation of any policies the account inherits, plus any policy directly attached to the account.
If you ran this action on the management account, this policy type is not enabled. If you ran the action on a member account, the account doesn't have an effective policy of this type. Contact the administrator of your organization about attaching a policy of this type to the account.
A structure that contains details of a service principal that represents an Amazon Web Services service that is enabled to integrate with Organizations.
Organizations couldn't perform the operation because your organization hasn't finished initializing. This can take up to an hour. Try again later. If after one hour you continue to receive this error, contact Amazon Web Services Support.
Contains information that must be exchanged to securely establish a relationship between two accounts (an originator and a recipient). For example, when a management account (the originator) invites another account (the recipient) to join its organization, the two accounts exchange information as a series of handshake requests and responses.
The specified handshake is already in the requested state. For example, you can't accept a handshake that was already accepted.
The requested operation would violate the constraint identified in the reason code.
Specifies the criteria that are used to select the handshakes for the operation.
We can't find a handshake with the HandshakeId
that you specified.
Identifies a participant in a handshake.
Contains additional data that is needed to process a handshake.
You can't perform the operation on the handshake in its current state. For example, you can't cancel a handshake that was already accepted or accept a handshake that was already declined.
The requested operation failed because you provided invalid values for one or more of the request parameters. This exception includes a reason that contains additional information about the violated limit:
The provided policy document doesn't meet the requirements of the specified policy type. For example, the syntax might be incorrect. For details about service control policy syntax, see SCP syntax in the Organizations User Guide.
You can't remove a management account from an organization. If you want the management account to become a member account in another organization, you must first delete the current organization of the management account.
Contains details about an organization. An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies .
Contains details about an organizational unit (OU). An OU is a container of Amazon Web Services accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.
The specified OU is not empty. Move all accounts to another root or to other OUs, remove all child OUs, and try the operation again.
We can't find an OU with the OrganizationalUnitId
that you specified.
The organization isn't empty. To delete an organization, you must first remove all accounts except the management account.
Base class for all service related exceptions thrown by the Organizations client
We can't find a root or OU with the ParentId
that you specified.
Changes to the effective policy are in progress, and its contents can't be returned. Try the operation again later.
The policy is attached to one or more entities. You must detach it from all roots, OUs, and accounts before performing this operation.
The policy isn't attached to the specified target in the specified root.
We can't find a policy with the PolicyId
that you specified.
Contains information about a policy, but does not include the content. To see the content of a policy, see DescribePolicy.
Contains information about a root, OU, or account that a policy is attached to.
The specified policy type is already enabled in the specified root.
You can't use the specified policy type with the feature set currently enabled for this organization. For example, you can enable SCPs only after you enable all features in the organization. For more information, see Managing Organizations policiesin the Organizations User Guide.
The specified policy type isn't currently enabled in this root. You can't attach policies of the specified type to entities in a root until you enable that type in the root. For more information, see Enabling all features in your organization in the Organizations User Guide.
Contains information about a policy type and its status in the associated root.
A structure that contains details about a resource policy.
We can't find a resource policy request with the parameter that you specified.
A structure that contains resource policy ID and Amazon Resource Name (ARN).
We can't find a root with the RootId
that you specified.
Organizations can't complete your request because of an internal service error. Try again later.
We can't find a source root or OU with the ParentId
that you specified.
We can't find a root, OU, account, or policy with the TargetId
that you specified.
You have sent too many requests in too short a period of time. The quota helps protect against denial-of-service attacks. Try again later.
This action isn't available in the current Amazon Web Services Region.