[][src]Enum rusoto_sts::AssumeRoleWithWebIdentityError

pub enum AssumeRoleWithWebIdentityError {
    ExpiredToken(String),
    IDPCommunicationError(String),
    IDPRejectedClaim(String),
    InvalidIdentityToken(String),
    MalformedPolicyDocument(String),
    PackedPolicyTooLarge(String),
    RegionDisabled(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Errors returned by AssumeRoleWithWebIdentity

Variants

The web identity token that was passed is expired or is not valid. Get a new identity token from the identity provider and then retry the request.

The request could not be fulfilled because the non-AWS identity provider (IDP) that was asked to verify the incoming identity token could not be reached. This is often a transient error caused by network conditions. Retry the request a limited number of times so that you don't exceed the request rate. If the error persists, the non-AWS identity provider might be down or not responding.

The identity provider (IdP) reported that authentication failed. This might be because the claim is invalid.

If this error is returned for the AssumeRoleWithWebIdentity operation, it can also mean that the claim has expired or has been explicitly revoked.

The web identity token that was passed could not be validated by AWS. Get a new identity token from the identity provider and then retry the request.

The request was rejected because the policy document was malformed. The error message describes the specific error.

The request was rejected because the policy document was too large. The error message describes how big the policy document is, in packed form, as a percentage of what the API allows.

STS is not activated in the requested region for the account that is being asked to generate credentials. The account administrator must use the IAM console to activate STS in that region. For more information, see Activating and Deactivating AWS STS in an AWS Region in the IAM User Guide.

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 AssumeRoleWithWebIdentityError
[src]

Trait Implementations

impl PartialEq<AssumeRoleWithWebIdentityError> for AssumeRoleWithWebIdentityError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<XmlParseError> for AssumeRoleWithWebIdentityError
[src]

Performs the conversion.

impl From<CredentialsError> for AssumeRoleWithWebIdentityError
[src]

Performs the conversion.

impl From<HttpDispatchError> for AssumeRoleWithWebIdentityError
[src]

Performs the conversion.

impl From<Error> for AssumeRoleWithWebIdentityError
[src]

Performs the conversion.

impl Debug for AssumeRoleWithWebIdentityError
[src]

Formats the value using the given formatter. Read more

impl Display for AssumeRoleWithWebIdentityError
[src]

Formats the value using the given formatter. Read more

impl Error for AssumeRoleWithWebIdentityError
[src]

This method is soft-deprecated. Read more

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, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

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

Converts the given value to a String. Read more

impl<T> From for T
[src]

Performs the conversion.

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.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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.

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

Performs the conversion.

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

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Same for T

Should always be Self

impl<T> Erased for T