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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListTargetsByRuleRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#event_bus_nameString

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

Returns:

  • (String)

    The name or ARN of the event bus associated with the rule.

#limitInteger

The maximum number of results to return.

Returns:

  • (Integer)

    The maximum number of results to return.

#next_tokenString

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

Returns:

  • (String)

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

#ruleString

The name of the rule.

Returns:

  • (String)

    The name of the rule.