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

Class: Aws::CloudWatchEvents::Types::ListTargetsByRuleRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

The maximum number of results to return.

Returns:

  • (Integer)


371
372
373
374
375
376
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 371

class ListTargetsByRuleRequest < Struct.new(
  :rule,
  :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)


371
372
373
374
375
376
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 371

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

#ruleString

The name of the rule.

Returns:

  • (String)


371
372
373
374
375
376
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 371

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