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

Class: Aws::WAF::Types::ListRulesRequest

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

Overview

Note:

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

{
  next_marker: "NextMarker",
  limit: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.

Returns:

  • (Integer)


2111
2112
2113
2114
2115
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2111

class ListRulesRequest < Struct.new(
  :next_marker,
  :limit)
  include Aws::Structure
end

#next_markerString

If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

Returns:

  • (String)


2111
2112
2113
2114
2115
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2111

class ListRulesRequest < Struct.new(
  :next_marker,
  :limit)
  include Aws::Structure
end