pub enum CancelJobExecutionError {
InvalidRequest(String),
InvalidStateTransition(String),
ResourceNotFound(String),
ServiceUnavailable(String),
Throttling(String),
VersionConflict(String),
}Expand description
Errors returned by CancelJobExecution
Variants§
InvalidRequest(String)
The request is not valid.
InvalidStateTransition(String)
An attempt was made to change to an invalid state, for example by deleting a job or a job execution which is "IN_PROGRESS" without setting the force parameter.
ResourceNotFound(String)
The specified resource does not exist.
The service is temporarily unavailable.
Throttling(String)
The rate exceeds the limit.
VersionConflict(String)
An exception thrown when the version of an entity specified with the expectedVersion parameter does not match the latest version in the system.
Implementations§
Source§impl CancelJobExecutionError
impl CancelJobExecutionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CancelJobExecutionError>
Trait Implementations§
Source§impl Debug for CancelJobExecutionError
impl Debug for CancelJobExecutionError
Source§impl Display for CancelJobExecutionError
impl Display for CancelJobExecutionError
Source§impl Error for CancelJobExecutionError
impl Error for CancelJobExecutionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CancelJobExecutionError
impl PartialEq for CancelJobExecutionError
impl StructuralPartialEq for CancelJobExecutionError
Auto Trait Implementations§
impl Freeze for CancelJobExecutionError
impl RefUnwindSafe for CancelJobExecutionError
impl Send for CancelJobExecutionError
impl Sync for CancelJobExecutionError
impl Unpin for CancelJobExecutionError
impl UnwindSafe for CancelJobExecutionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more