[−][src]Enum rusoto_organizations::InviteAccountToOrganizationError
Errors returned by InviteAccountToOrganization
Variants
AWSOrganizationsNotInUse(String)
Your account is not a member of an organization. To make this request, you must use the credentials of an account that belongs to an organization.
AccessDenied(String)
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.
ConcurrentModification(String)
The target of the operation is currently being modified by a different request. Try again later.
DuplicateHandshake(String)
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.
FinalizingOrganization(String)
AWS Organizations could not perform the operation because your organization has not finished initializing. This can take up to an hour. Try again later. If after one hour you continue to receive this error, contact AWS Customer Support.
HandshakeConstraintViolation(String)
The requested operation would violate the constraint identified in the reason code.
Some of the reasons in the following list might not be applicable to this specific API or operation:
-
ACCOUNTNUMBERLIMITEXCEEDED: You attempted to exceed the limit on the number of accounts in an organization. Note: deleted and closed accounts still count toward your limit.
If you get this exception immediately after creating the organization, wait one hour and try again. If after an hour it continues to fail with this error, contact AWS Customer Support.
-
HANDSHAKERATELIMITEXCEEDED: You attempted to exceed the number of handshakes you can send in one day.
-
ALREADYINANORGANIZATION: The handshake request is invalid because the invited account is already a member of an organization.
-
ORGANIZATIONALREADYHASALLFEATURES: The handshake request is invalid because the organization has already enabled all features.
-
INVITEDISABLEDDURINGENABLEALLFEATURES: You cannot issue new invitations to join an organization while it is in the process of enabling all features. You can resume inviting accounts after you finalize the process when all accounts have agreed to the change.
-
PAYMENTINSTRUMENTREQUIRED: You cannot complete the operation with an account that does not have a payment instrument, such as a credit card, associated with it.
-
ORGANIZATIONFROMDIFFERENTSELLEROFRECORD: The request failed because the account is from a different marketplace than the accounts in the organization. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be from the same marketplace.
-
ORGANIZATIONMEMBERSHIPCHANGERATELIMITEXCEEDED: You attempted to change the membership of an account too quickly after its previous change.
InvalidInput(String)
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:
Some of the reasons in the following list might not be applicable to this specific API or operation:
-
IMMUTABLEPOLICY: You specified a policy that is managed by AWS and cannot be modified.
-
INPUTREQUIRED: You must include a value for all required parameters.
-
INVALIDENUM: You specified a value that is not valid for that parameter.
-
INVALIDFULLNAMETARGET: You specified a full name that contains invalid characters.
-
INVALIDLISTMEMBER: You provided a list to a parameter that contains at least one invalid value.
-
INVALIDPARTYTYPETARGET: You specified the wrong type of entity (account, organization, or email) as a party.
-
INVALIDPAGINATIONTOKEN: Get the value for the NextToken parameter from the response to a previous call of the operation.
-
INVALIDPATTERN: You provided a value that doesn't match the required pattern.
-
INVALIDPATTERNTARGETID: You specified a policy target ID that doesn't match the required pattern.
-
INVALIDROLENAME: You provided a role name that is not valid. A role name can’t begin with the reserved prefix 'AWSServiceRoleFor'.
-
INVALIDSYNTAXORGANIZATIONARN: You specified an invalid ARN for the organization.
-
INVALIDSYNTAXPOLICYID: You specified an invalid policy ID.
-
MAXFILTERLIMITEXCEEDED: You can specify only one filter parameter for the operation.
-
MAXLENGTHEXCEEDED: You provided a string parameter that is longer than allowed.
-
MAXVALUEEXCEEDED: You provided a numeric parameter that has a larger value than allowed.
-
MINLENGTHEXCEEDED: You provided a string parameter that is shorter than allowed.
-
MINVALUEEXCEEDED: You provided a numeric parameter that has a smaller value than allowed.
-
MOVINGACCOUNTBETWEENDIFFERENTROOTS: You can move an account only between entities in the same root.
Service(String)
AWS Organizations can't complete your request because of an internal service error. Try again later.
TooManyRequests(String)
You've sent too many requests in too short a period of time. The limit helps protect against denial-of-service attacks. Try again later.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
ParseError(String)
An error occurred parsing the response payload.
Unknown(BufferedHttpResponse)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl InviteAccountToOrganizationError
[src]
impl InviteAccountToOrganizationError
pub fn from_response(
res: BufferedHttpResponse
) -> InviteAccountToOrganizationError
[src]
pub fn from_response(
res: BufferedHttpResponse
) -> InviteAccountToOrganizationError
Trait Implementations
impl From<Error> for InviteAccountToOrganizationError
[src]
impl From<Error> for InviteAccountToOrganizationError
fn from(err: Error) -> InviteAccountToOrganizationError
[src]
fn from(err: Error) -> InviteAccountToOrganizationError
impl From<CredentialsError> for InviteAccountToOrganizationError
[src]
impl From<CredentialsError> for InviteAccountToOrganizationError
fn from(err: CredentialsError) -> InviteAccountToOrganizationError
[src]
fn from(err: CredentialsError) -> InviteAccountToOrganizationError
impl From<HttpDispatchError> for InviteAccountToOrganizationError
[src]
impl From<HttpDispatchError> for InviteAccountToOrganizationError
impl From<Error> for InviteAccountToOrganizationError
[src]
impl From<Error> for InviteAccountToOrganizationError
fn from(err: Error) -> InviteAccountToOrganizationError
[src]
fn from(err: Error) -> InviteAccountToOrganizationError
impl PartialEq<InviteAccountToOrganizationError> for InviteAccountToOrganizationError
[src]
impl PartialEq<InviteAccountToOrganizationError> for InviteAccountToOrganizationError
fn eq(&self, other: &InviteAccountToOrganizationError) -> bool
[src]
fn eq(&self, other: &InviteAccountToOrganizationError) -> bool
fn ne(&self, other: &InviteAccountToOrganizationError) -> bool
[src]
fn ne(&self, other: &InviteAccountToOrganizationError) -> bool
impl Debug for InviteAccountToOrganizationError
[src]
impl Debug for InviteAccountToOrganizationError
impl Display for InviteAccountToOrganizationError
[src]
impl Display for InviteAccountToOrganizationError
impl Error for InviteAccountToOrganizationError
[src]
impl Error for InviteAccountToOrganizationError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
: replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl Send for InviteAccountToOrganizationError
impl Send for InviteAccountToOrganizationError
impl Sync for InviteAccountToOrganizationError
impl Sync for InviteAccountToOrganizationError
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T