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]
impl InvokeAsyncError
pub fn from_body(body: &str) -> InvokeAsyncError
[src]
pub fn from_body(body: &str) -> InvokeAsyncError
Trait Implementations
impl Debug for InvokeAsyncError
[src]
impl Debug for InvokeAsyncError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for InvokeAsyncError
[src]
impl PartialEq for InvokeAsyncError
fn eq(&self, other: &InvokeAsyncError) -> bool
[src]
fn eq(&self, other: &InvokeAsyncError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InvokeAsyncError) -> bool
[src]
fn ne(&self, other: &InvokeAsyncError) -> bool
This method tests for !=
.
impl From<Error> for InvokeAsyncError
[src]
impl From<Error> for InvokeAsyncError
fn from(err: Error) -> InvokeAsyncError
[src]
fn from(err: Error) -> InvokeAsyncError
Performs the conversion.
impl From<CredentialsError> for InvokeAsyncError
[src]
impl From<CredentialsError> for InvokeAsyncError
fn from(err: CredentialsError) -> InvokeAsyncError
[src]
fn from(err: CredentialsError) -> InvokeAsyncError
Performs the conversion.
impl From<HttpDispatchError> for InvokeAsyncError
[src]
impl From<HttpDispatchError> for InvokeAsyncError
fn from(err: HttpDispatchError) -> InvokeAsyncError
[src]
fn from(err: HttpDispatchError) -> InvokeAsyncError
Performs the conversion.
impl From<Error> for InvokeAsyncError
[src]
impl From<Error> for InvokeAsyncError
fn from(err: Error) -> InvokeAsyncError
[src]
fn from(err: Error) -> InvokeAsyncError
Performs the conversion.
impl Display for InvokeAsyncError
[src]
impl Display for InvokeAsyncError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for InvokeAsyncError
[src]
impl Error for InvokeAsyncError
Auto Trait Implementations
impl Send for InvokeAsyncError
impl Send for InvokeAsyncError
impl Sync for InvokeAsyncError
impl Sync for InvokeAsyncError