Enum aws_sdk_lambda::error::InvokeAsyncErrorKind [−][src]
#[non_exhaustive]
pub enum InvokeAsyncErrorKind {
InvalidRequestContentException(InvalidRequestContentException),
InvalidRuntimeException(InvalidRuntimeException),
ResourceConflictException(ResourceConflictException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceException(ServiceException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the InvokeAsync
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.
InvalidRequestContentException(InvalidRequestContentException)
The request body could not be parsed as JSON.
Tuple Fields of InvalidRequestContentException
InvalidRuntimeException(InvalidRuntimeException)
The runtime or runtime version specified is not supported.
Tuple Fields of InvalidRuntimeException
ResourceConflictException(ResourceConflictException)
The resource already exists, or another operation is in progress.
Tuple Fields of ResourceConflictException
ResourceNotFoundException(ResourceNotFoundException)
The resource specified in the request does not exist.
Tuple Fields of ResourceNotFoundException
ServiceException(ServiceException)
The Lambda service encountered an internal error.
Tuple Fields of ServiceException
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InvokeAsyncErrorKind
impl Send for InvokeAsyncErrorKind
impl Sync for InvokeAsyncErrorKind
impl Unpin for InvokeAsyncErrorKind
impl !UnwindSafe for InvokeAsyncErrorKind
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