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 InvokeAsyncErrorpub fn from_body(body: &str) -> InvokeAsyncError[src]
pub fn from_body(body: &str) -> InvokeAsyncErrorTrait Implementations
impl Debug for InvokeAsyncError[src]
impl Debug for InvokeAsyncErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for InvokeAsyncError[src]
impl PartialEq for InvokeAsyncErrorfn eq(&self, other: &InvokeAsyncError) -> bool[src]
fn eq(&self, other: &InvokeAsyncError) -> boolThis 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) -> boolThis method tests for !=.
impl From<Error> for InvokeAsyncError[src]
impl From<Error> for InvokeAsyncErrorfn from(err: Error) -> InvokeAsyncError[src]
fn from(err: Error) -> InvokeAsyncErrorPerforms the conversion.
impl From<CredentialsError> for InvokeAsyncError[src]
impl From<CredentialsError> for InvokeAsyncErrorfn from(err: CredentialsError) -> InvokeAsyncError[src]
fn from(err: CredentialsError) -> InvokeAsyncErrorPerforms the conversion.
impl From<HttpDispatchError> for InvokeAsyncError[src]
impl From<HttpDispatchError> for InvokeAsyncErrorfn from(err: HttpDispatchError) -> InvokeAsyncError[src]
fn from(err: HttpDispatchError) -> InvokeAsyncErrorPerforms the conversion.
impl From<Error> for InvokeAsyncError[src]
impl From<Error> for InvokeAsyncErrorfn from(err: Error) -> InvokeAsyncError[src]
fn from(err: Error) -> InvokeAsyncErrorPerforms the conversion.
impl Display for InvokeAsyncError[src]
impl Display for InvokeAsyncErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for InvokeAsyncError[src]
impl Error for InvokeAsyncErrorAuto Trait Implementations
impl Send for InvokeAsyncError
impl Send for InvokeAsyncErrorimpl Sync for InvokeAsyncError
impl Sync for InvokeAsyncError