Class: Aws::CloudWatchEvents::Types::ListRulesRequest

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

Overview

Note:

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

{
  name_prefix: "RuleName",
  event_bus_name: "EventBusNameOrArn",
  next_token: "NextToken",
  limit: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_bus_nameString

The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.

Returns:

  • (String)

3268
3269
3270
3271
3272
3273
3274
3275
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3268

class ListRulesRequest < Struct.new(
  :name_prefix,
  :event_bus_name,
  :next_token,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end

#limitInteger

The maximum number of results to return.

Returns:

  • (Integer)

3268
3269
3270
3271
3272
3273
3274
3275
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3268

class ListRulesRequest < Struct.new(
  :name_prefix,
  :event_bus_name,
  :next_token,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end

#name_prefixString

The prefix matching the rule name.

Returns:

  • (String)

3268
3269
3270
3271
3272
3273
3274
3275
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3268

class ListRulesRequest < Struct.new(
  :name_prefix,
  :event_bus_name,
  :next_token,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)

3268
3269
3270
3271
3272
3273
3274
3275
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3268

class ListRulesRequest < Struct.new(
  :name_prefix,
  :event_bus_name,
  :next_token,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end