Enum aws_sdk_ram::error::ListPrincipalsErrorKind [−][src]
#[non_exhaustive]
pub enum ListPrincipalsErrorKind {
InvalidNextTokenException(InvalidNextTokenException),
InvalidParameterException(InvalidParameterException),
MalformedArnException(MalformedArnException),
ServerInternalException(ServerInternalException),
ServiceUnavailableException(ServiceUnavailableException),
UnknownResourceException(UnknownResourceException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the ListPrincipals
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidNextTokenException(InvalidNextTokenException)
The specified value for NextToken is not valid.
Tuple Fields of InvalidNextTokenException
InvalidParameterException(InvalidParameterException)
A parameter is not valid.
Tuple Fields of InvalidParameterException
MalformedArnException(MalformedArnException)
The format of an Amazon Resource Name (ARN) is not valid.
Tuple Fields of MalformedArnException
ServerInternalException(ServerInternalException)
The service could not respond to the request due to an internal problem.
Tuple Fields of ServerInternalException
The service is not available.
UnknownResourceException(UnknownResourceException)
A specified resource was not found.
Tuple Fields of UnknownResourceException
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListPrincipalsErrorKind
impl Send for ListPrincipalsErrorKind
impl Sync for ListPrincipalsErrorKind
impl Unpin for ListPrincipalsErrorKind
impl !UnwindSafe for ListPrincipalsErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more