Enum aws_sdk_resourcegroups::error::SearchResourcesErrorKind [−][src]
#[non_exhaustive]
pub enum SearchResourcesErrorKind {
BadRequestException(BadRequestException),
ForbiddenException(ForbiddenException),
InternalServerErrorException(InternalServerErrorException),
MethodNotAllowedException(MethodNotAllowedException),
TooManyRequestsException(TooManyRequestsException),
UnauthorizedException(UnauthorizedException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the SearchResources
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
BadRequestException(BadRequestException)
Tuple Fields
The request includes one or more parameters that violate validation rules.
ForbiddenException(ForbiddenException)
Tuple Fields
The caller isn't authorized to make the request. Check permissions.
InternalServerErrorException(InternalServerErrorException)
Tuple Fields
An internal error occurred while processing the request. Try again later.
MethodNotAllowedException(MethodNotAllowedException)
Tuple Fields
The request uses an HTTP method that isn't allowed for the specified resource.
TooManyRequestsException(TooManyRequestsException)
Tuple Fields
You've exceeded throttling limits by making too many requests in a period of time.
UnauthorizedException(UnauthorizedException)
Tuple Fields
The request was rejected because it doesn't have valid credentials for the target resource.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SearchResourcesErrorKind
impl Send for SearchResourcesErrorKind
impl Sync for SearchResourcesErrorKind
impl Unpin for SearchResourcesErrorKind
impl !UnwindSafe for SearchResourcesErrorKind
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