class Amazonite::EventBridge::DeleteRuleRequest

Included Modules

Defined in:

eventbridge/delete_rule_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(name : String, event_bus_name : String | Nil = nil, force : Bool | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable 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 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.


[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 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.


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

See Object#hash(hasher)


def name : String #

The name of the rule.


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

The name of the rule.


[View source]
def validate! : Nil #

[View source]