@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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ManagedRuleException(String message)
message - Describes the error encountered.Copyright © 2019. All rights reserved.