pub enum DeleteClusterError {
Client(String),
ResourceInUse(String),
ResourceNotFound(String),
Server(String),
ServiceUnavailable(String),
}Expand description
Errors returned by DeleteCluster
Variants§
Client(String)
These errors are usually caused by a client action. Actions can include using an action or resource on behalf of a user that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.
ResourceInUse(String)
The specified resource is in use.
ResourceNotFound(String)
The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Region-specific.
Server(String)
These errors are usually caused by a server-side issue.
The service is unavailable. Back off and retry the operation.
Implementations§
Source§impl DeleteClusterError
impl DeleteClusterError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteClusterError>
Trait Implementations§
Source§impl Debug for DeleteClusterError
impl Debug for DeleteClusterError
Source§impl Display for DeleteClusterError
impl Display for DeleteClusterError
Source§impl Error for DeleteClusterError
impl Error for DeleteClusterError
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 DeleteClusterError
impl PartialEq for DeleteClusterError
impl StructuralPartialEq for DeleteClusterError
Auto Trait Implementations§
impl Freeze for DeleteClusterError
impl RefUnwindSafe for DeleteClusterError
impl Send for DeleteClusterError
impl Sync for DeleteClusterError
impl Unpin for DeleteClusterError
impl UnwindSafe for DeleteClusterError
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