pub enum UpdateJobError {
ClusterLimitExceeded(String),
Ec2RequestFailed(String),
InvalidInputCombination(String),
InvalidJobState(String),
InvalidResource(String),
KMSRequestFailed(String),
}Expand description
Errors returned by UpdateJob
Variants§
ClusterLimitExceeded(String)
Job creation failed. Currently, clusters support five nodes. If you have less than five nodes for your cluster and you have more nodes to create for this cluster, try again and create jobs until your cluster has exactly five notes.
Ec2RequestFailed(String)
Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted action.
InvalidInputCombination(String)
Job or cluster creation failed. One or more inputs were invalid. Confirm that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, and try again.
InvalidJobState(String)
The action can't be performed because the job's current state doesn't allow that action to be performed.
InvalidResource(String)
The specified resource can't be found. Check the information you provided in your last request, and try again.
KMSRequestFailed(String)
Implementations§
Source§impl UpdateJobError
impl UpdateJobError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateJobError>
Trait Implementations§
Source§impl Debug for UpdateJobError
impl Debug for UpdateJobError
Source§impl Display for UpdateJobError
impl Display for UpdateJobError
Source§impl Error for UpdateJobError
impl Error for UpdateJobError
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 UpdateJobError
impl PartialEq for UpdateJobError
impl StructuralPartialEq for UpdateJobError
Auto Trait Implementations§
impl Freeze for UpdateJobError
impl RefUnwindSafe for UpdateJobError
impl Send for UpdateJobError
impl Sync for UpdateJobError
impl Unpin for UpdateJobError
impl UnwindSafe for UpdateJobError
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