@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedRuleException extends AmazonCloudWatchEventsException
An AWS service created this rule on behalf of your account. That service manages it. If you see this error in
response to DeleteRule
or RemoveTargets
, you can use the Force
parameter in
those calls to delete the rule or remove targets from the rule. You can't modify these managed rules by using
DisableRule
, EnableRule
, PutTargets
, PutRule
,
TagResource
, or UntagResource
.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ManagedRuleException(String message)
Constructs a new ManagedRuleException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ManagedRuleException(String message)
message
- Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.