[][src]Enum rusoto_organizations::ListParentsError

pub enum ListParentsError {
    AWSOrganizationsNotInUse(String),
    AccessDenied(String),
    ChildNotFound(String),
    InvalidInput(String),
    Service(String),
    TooManyRequests(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Errors returned by ListParents

Variants

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.

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.

We can't find an organizational unit (OU) or AWS account with the ChildId that you specified.

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.

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

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.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An error occurred parsing the response payload.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl ListParentsError
[src]

Trait Implementations

impl From<Error> for ListParentsError
[src]

impl From<CredentialsError> for ListParentsError
[src]

impl From<HttpDispatchError> for ListParentsError
[src]

impl From<Error> for ListParentsError
[src]

impl PartialEq<ListParentsError> for ListParentsError
[src]

impl Debug for ListParentsError
[src]

impl Display for ListParentsError
[src]

impl Error for ListParentsError
[src]

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

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

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 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, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self

impl<T> Erased for T