[−][src]Enum rusoto_ecs::DeleteClusterError
Errors returned by DeleteCluster
Variants
Client(String)
These errors are usually caused by a client action, such as 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.
ClusterContainsContainerInstances(String)
You cannot delete a cluster that has registered container instances. First, deregister the container instances before you can delete the cluster. For more information, see DeregisterContainerInstance.
ClusterContainsServices(String)
You cannot delete a cluster that contains services. First, update the service to reduce its desired task count to 0 and then delete the service. For more information, see UpdateService and DeleteService.
ClusterContainsTasks(String)
You cannot delete a cluster that has active tasks.
ClusterNotFound(String)
The specified cluster could not be found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region-specific.
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
Server(String)
These errors are usually caused by a server issue.
UpdateInProgress(String)
There is already a current Amazon ECS container agent update in progress on the specified container instance. If the container agent becomes disconnected while it is in a transitional stage, such as PENDING
or STAGING
, the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.
Implementations
impl DeleteClusterError
[src]
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<DeleteClusterError>
[src]
res: BufferedHttpResponse
) -> RusotoError<DeleteClusterError>
Trait Implementations
impl Debug for DeleteClusterError
[src]
impl Display for DeleteClusterError
[src]
impl Error for DeleteClusterError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<DeleteClusterError> for DeleteClusterError
[src]
pub fn eq(&self, other: &DeleteClusterError) -> bool
[src]
pub fn ne(&self, other: &DeleteClusterError) -> bool
[src]
impl StructuralPartialEq for DeleteClusterError
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeleteClusterError
[src]
impl Send for DeleteClusterError
[src]
impl Sync for DeleteClusterError
[src]
impl Unpin for DeleteClusterError
[src]
impl UnwindSafe for DeleteClusterError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,