[][src]Enum rusoto_organizations::InviteAccountToOrganizationError

pub enum InviteAccountToOrganizationError {
    AWSOrganizationsNotInUse(String),
    AccessDenied(String),
    AccountOwnerNotVerified(String),
    ConcurrentModification(String),
    DuplicateHandshake(String),
    FinalizingOrganization(String),
    HandshakeConstraintViolation(String),
    InvalidInput(String),
    Service(String),
    TooManyRequests(String),
}

Errors returned by InviteAccountToOrganization

Variants

AWSOrganizationsNotInUse(String)

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.

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.

AccountOwnerNotVerified(String)

You can't invite an existing account to your organization until you verify that you own the email address associated with the master account. For more information, see Email Address Verification in the AWS Organizations 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 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 AWS 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:

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:

Service(String)

AWS Organizations can't complete your request because of an internal service error. Try again later.

TooManyRequests(String)

You have sent too many requests in too short a period of time. The limit helps protect against denial-of-service attacks. Try again later.

For information on limits that affect AWS Organizations, see Limits of AWS Organizations in the AWS Organizations User Guide.

Methods

impl InviteAccountToOrganizationError[src]

pub fn from_response(
    res: BufferedHttpResponse
) -> RusotoError<InviteAccountToOrganizationError>
[src]

Trait Implementations

impl PartialEq<InviteAccountToOrganizationError> for InviteAccountToOrganizationError[src]

impl Debug for InviteAccountToOrganizationError[src]

impl Display for InviteAccountToOrganizationError[src]

impl Error for InviteAccountToOrganizationError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

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]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for InviteAccountToOrganizationError

impl Sync for InviteAccountToOrganizationError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self