You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EventBridge::Types::DisableRuleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb

Overview

Note:

When making an API call, you may pass DisableRuleRequest data as a hash:

{
  name: "RuleName", # required
  event_bus_name: "EventBusName",
}

Instance Attribute Summary collapse

Instance Attribute Details

#event_bus_nameString

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

Returns:

  • (String)


630
631
632
633
634
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 630

class DisableRuleRequest < Struct.new(
  :name,
  :event_bus_name)
  include Aws::Structure
end

#nameString

The name of the rule.

Returns:

  • (String)


630
631
632
633
634
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 630

class DisableRuleRequest < Struct.new(
  :name,
  :event_bus_name)
  include Aws::Structure
end