class
Amazonite::EventBridge::RemoveTargetsRequest
- Amazonite::EventBridge::RemoveTargetsRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
eventbridge/remove_targets_request.crConstructors
- .new(rule : String, ids : Array(String), event_bus_name : String | Nil = nil, force : Bool | Nil = nil)
- .new(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 remove targets. -
#force=(force : Bool | Nil)
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
ForceasTrueto remove targets. -
#hash(hasher)
See
Object#hash(hasher) -
#ids : Array(String)
The IDs of the targets to remove from the rule.
-
#ids=(ids : Array(String))
The IDs of the targets to remove from the rule.
-
#rule : String
The name of the rule.
-
#rule=(rule : 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 remove targets. 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 remove targets. 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.