Enum rusoto_lambda::InvokeAsyncError
[−]
[src]
pub enum InvokeAsyncError { InvalidRequestContent(String), InvalidRuntime(String), ResourceNotFound(String), Service(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by InvokeAsync
Variants
InvalidRequestContent(String)
The request body could not be parsed as JSON.
InvalidRuntime(String)
The runtime or runtime version specified is not supported.
ResourceNotFound(String)
The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.
Service(String)
The AWS Lambda service encountered an internal error.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl InvokeAsyncError
[src]
fn from_body(body: &str) -> InvokeAsyncError
Trait Implementations
impl Debug for InvokeAsyncError
[src]
impl PartialEq for InvokeAsyncError
[src]
fn eq(&self, __arg_0: &InvokeAsyncError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InvokeAsyncError) -> bool
This method tests for !=
.
impl From<Error> for InvokeAsyncError
[src]
fn from(err: Error) -> InvokeAsyncError
Performs the conversion.
impl From<CredentialsError> for InvokeAsyncError
[src]
fn from(err: CredentialsError) -> InvokeAsyncError
Performs the conversion.
impl From<HttpDispatchError> for InvokeAsyncError
[src]
fn from(err: HttpDispatchError) -> InvokeAsyncError
Performs the conversion.
impl From<Error> for InvokeAsyncError
[src]
fn from(err: Error) -> InvokeAsyncError
Performs the conversion.