Table of Contents

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 string

Describes 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 string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

ManagedRuleException(string, Exception)

Construct instance of ManagedRuleException

public ManagedRuleException(string message, Exception innerException)

Parameters

message string
innerException Exception

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 string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode