@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterContainsServicesException extends AmazonECSException
You can't 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.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ClusterContainsServicesException(String message)
Constructs a new ClusterContainsServicesException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClusterContainsServicesException(String message)
message
- Describes the error encountered.