Class: Aws::EventBridge::Types::ListTargetsByRuleRequest

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 ListTargetsByRuleRequest data as a hash:

{
  rule: "RuleName", # required
  event_bus_name: "EventBusName",
  next_token: "NextToken",
  limit: 1,
}

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)


1345
1346
1347
1348
1349
1350
1351
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1345

class ListTargetsByRuleRequest < Struct.new(
  :rule,
  :event_bus_name,
  :next_token,
  :limit)
  include Aws::Structure
end

#limitInteger

The maximum number of results to return.

Returns:

  • (Integer)


1345
1346
1347
1348
1349
1350
1351
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1345

class ListTargetsByRuleRequest < Struct.new(
  :rule,
  :event_bus_name,
  :next_token,
  :limit)
  include Aws::Structure
end

#next_tokenString

The token returned by a previous call to retrieve the next set of results.

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1345

class ListTargetsByRuleRequest < Struct.new(
  :rule,
  :event_bus_name,
  :next_token,
  :limit)
  include Aws::Structure
end

#ruleString

The name of the rule.

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1345

class ListTargetsByRuleRequest < Struct.new(
  :rule,
  :event_bus_name,
  :next_token,
  :limit)
  include Aws::Structure
end