Class ManagedRuleException
- Namespace
- Amazon.EventBridge.Model
- Assembly
- AWSSDK.EventBridge.dll
This rule was created by an Amazon Web Services service on behalf of your account.
It is managed by that service. 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 cannot modify these managed rules
by using DisableRule
, EnableRule
, PutTargets
, PutRule
,
TagResource
, or UntagResource
.
public class ManagedRuleException : AmazonEventBridgeException
- Inheritance
-
ManagedRuleException
Constructors
ManagedRuleException(Exception)
Construct instance of ManagedRuleException
public ManagedRuleException(Exception innerException)
Parameters
innerException
Exception
ManagedRuleException(string)
Constructs a new ManagedRuleException with the specified error message.
public ManagedRuleException(string message)
Parameters
message
stringDescribes the error encountered.
ManagedRuleException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of ManagedRuleException
public ManagedRuleException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
ManagedRuleException(string, Exception)
Construct instance of ManagedRuleException
public ManagedRuleException(string message, Exception innerException)
Parameters
ManagedRuleException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of ManagedRuleException
public ManagedRuleException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode