pub enum CancelJobError {
CanceledJobId(String),
ExpiredJobId(String),
InvalidAccessKeyId(String),
InvalidJobId(String),
InvalidVersion(String),
UnableToCancelJobId(String),
}Expand description
Errors returned by CancelJob
Variants§
CanceledJobId(String)
The specified job ID has been canceled and is no longer valid.
ExpiredJobId(String)
Indicates that the specified job has expired out of the system.
InvalidAccessKeyId(String)
The AWS Access Key ID specified in the request did not match the manifest's accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.
InvalidJobId(String)
The JOBID was missing, not found, or not associated with the AWS account.
InvalidVersion(String)
The client tool version is invalid.
UnableToCancelJobId(String)
AWS Import/Export cannot cancel the job
Implementations§
Source§impl CancelJobError
impl CancelJobError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CancelJobError>
Trait Implementations§
Source§impl Debug for CancelJobError
impl Debug for CancelJobError
Source§impl Display for CancelJobError
impl Display for CancelJobError
Source§impl Error for CancelJobError
impl Error for CancelJobError
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 CancelJobError
impl PartialEq for CancelJobError
impl StructuralPartialEq for CancelJobError
Auto Trait Implementations§
impl Freeze for CancelJobError
impl RefUnwindSafe for CancelJobError
impl Send for CancelJobError
impl Sync for CancelJobError
impl Unpin for CancelJobError
impl UnwindSafe for CancelJobError
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