class
Amazonite::EventBridge::DeleteRuleRequest
- Amazonite::EventBridge::DeleteRuleRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
eventbridge/delete_rule_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String, event_bus_name : String | Nil = nil, force : Bool | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#event_bus_name : String | Nil
The name or ARN of the event bus associated with the rule.
-
#event_bus_name=(event_bus_name : String | Nil)
The name or ARN of the event bus associated with the rule.
-
#force : Bool | Nil
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
ForceasTrueto delete the rule. -
#force=(force : Bool | Nil)
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
ForceasTrueto delete the rule. -
#hash(hasher)
See
Object#hash(hasher) -
#name : String
The name of the rule.
-
#name=(name : String)
The name of the rule.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must
specify Force as True to delete the rule. This parameter is ignored for rules that are not
managed rules. You can check whether a rule is a managed rule by using DescribeRule or
ListRules and checking the ManagedBy field of the response.
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must
specify Force as True to delete the rule. This parameter is ignored for rules that are not
managed rules. You can check whether a rule is a managed rule by using DescribeRule or
ListRules and checking the ManagedBy field of the response.