Class: Aws::CloudWatchEvents::Types::DisableRuleRequest

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

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)


670
671
672
673
674
675
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 670

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

#nameString

The name of the rule.

Returns:

  • (String)


670
671
672
673
674
675
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 670

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