Enum rusoto_lambda::UpdateEventSourceMappingError [−][src]
pub enum UpdateEventSourceMappingError {
InvalidParameterValue(String),
ResourceConflict(String),
ResourceNotFound(String),
Service(String),
TooManyRequests(String),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
Unknown(String),
}Errors returned by UpdateEventSourceMapping
Variants
InvalidParameterValue(String)One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.
ResourceConflict(String)The resource already exists.
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.
TooManyRequests(String)
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 UpdateEventSourceMappingError[src]
impl UpdateEventSourceMappingErrorpub fn from_body(body: &str) -> UpdateEventSourceMappingError[src]
pub fn from_body(body: &str) -> UpdateEventSourceMappingErrorTrait Implementations
impl Debug for UpdateEventSourceMappingError[src]
impl Debug for UpdateEventSourceMappingErrorfn 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 UpdateEventSourceMappingError[src]
impl PartialEq for UpdateEventSourceMappingErrorfn eq(&self, other: &UpdateEventSourceMappingError) -> bool[src]
fn eq(&self, other: &UpdateEventSourceMappingError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &UpdateEventSourceMappingError) -> bool[src]
fn ne(&self, other: &UpdateEventSourceMappingError) -> boolThis method tests for !=.
impl From<Error> for UpdateEventSourceMappingError[src]
impl From<Error> for UpdateEventSourceMappingErrorfn from(err: Error) -> UpdateEventSourceMappingError[src]
fn from(err: Error) -> UpdateEventSourceMappingErrorPerforms the conversion.
impl From<CredentialsError> for UpdateEventSourceMappingError[src]
impl From<CredentialsError> for UpdateEventSourceMappingErrorfn from(err: CredentialsError) -> UpdateEventSourceMappingError[src]
fn from(err: CredentialsError) -> UpdateEventSourceMappingErrorPerforms the conversion.
impl From<HttpDispatchError> for UpdateEventSourceMappingError[src]
impl From<HttpDispatchError> for UpdateEventSourceMappingErrorfn from(err: HttpDispatchError) -> UpdateEventSourceMappingError[src]
fn from(err: HttpDispatchError) -> UpdateEventSourceMappingErrorPerforms the conversion.
impl From<Error> for UpdateEventSourceMappingError[src]
impl From<Error> for UpdateEventSourceMappingErrorfn from(err: Error) -> UpdateEventSourceMappingError[src]
fn from(err: Error) -> UpdateEventSourceMappingErrorPerforms the conversion.
impl Display for UpdateEventSourceMappingError[src]
impl Display for UpdateEventSourceMappingErrorfn 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 UpdateEventSourceMappingError[src]
impl Error for UpdateEventSourceMappingErrorAuto Trait Implementations
impl Send for UpdateEventSourceMappingError
impl Send for UpdateEventSourceMappingErrorimpl Sync for UpdateEventSourceMappingError
impl Sync for UpdateEventSourceMappingError