class Amazonite::EventBridge::RemoveTargetsRequest

Included Modules

Defined in:

eventbridge/remove_targets_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rule : String, ids : Array(String), event_bus_name : String | Nil = nil, force : Bool | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def event_bus_name : String | Nil #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.


[View source]
def event_bus_name=(event_bus_name : String | Nil) #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.


[View source]
def force : Bool | Nil #

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.


[View source]
def force=(force : Bool | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def ids : Array(String) #

The IDs of the targets to remove from the rule.


[View source]
def ids=(ids : Array(String)) #

The IDs of the targets to remove from the rule.


[View source]
def rule : String #

The name of the rule.


[View source]
def rule=(rule : String) #

The name of the rule.


[View source]
def validate! : Nil #

[View source]