public class ClusterContainsServicesException extends AmazonServiceException
You cannot delete a cluster that contains services. You must 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, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClusterContainsServicesException(String message)
message - Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.