Class: Aws::Route53Resolver::Types::ListResolverRulesRequest

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

Overview

Note:

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

{
  max_results: 1,
  next_token: "NextToken",
  filters: [
    {
      name: "FilterName",
      values: ["FilterValue"],
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::Filter>

An optional specification to return a subset of resolver rules, such as all resolver rules that are associated with the same resolver endpoint.

<note markdown=“1”> If you submit a second or subsequent `ListResolverRules` request and specify the `NextToken` parameter, you must use the same values for `Filters`, if any, as in the previous request.

</note>

Returns:


1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-route53resolver/types.rb', line 1036

class ListResolverRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :filters)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of resolver rules that you want to return in the response to a `ListResolverRules` request. If you don't specify a value for `MaxResults`, Resolver returns up to 100 resolver rules.

Returns:

  • (Integer)

1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-route53resolver/types.rb', line 1036

class ListResolverRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :filters)
  include Aws::Structure
end

#next_tokenString

For the first `ListResolverRules` request, omit this value.

If you have more than `MaxResults` resolver rules, you can submit another `ListResolverRules` request to get the next group of resolver rules. In the next request, specify the value of `NextToken` from the previous response.

Returns:

  • (String)

1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-route53resolver/types.rb', line 1036

class ListResolverRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :filters)
  include Aws::Structure
end