Skip to content

List Resolver Rules

route53resolver_list_resolver_rules R Documentation

Lists the Resolver rules that were created using the current Amazon Web Services account

Description

Lists the Resolver rules that were created using the current Amazon Web Services account.

Usage

route53resolver_list_resolver_rules(MaxResults, NextToken, Filters)

Arguments

MaxResults

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

NextToken

For the first list_resolver_rules request, omit this value.

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

Filters

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

If you submit a second or subsequent list_resolver_rules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

Value

A list with the following syntax:

list(
  NextToken = "string",
  MaxResults = 123,
  ResolverRules = list(
    list(
      Id = "string",
      CreatorRequestId = "string",
      Arn = "string",
      DomainName = "string",
      Status = "COMPLETE"|"DELETING"|"UPDATING"|"FAILED",
      StatusMessage = "string",
      RuleType = "FORWARD"|"SYSTEM"|"RECURSIVE",
      Name = "string",
      TargetIps = list(
        list(
          Ip = "string",
          Port = 123,
          Ipv6 = "string",
          Protocol = "DoH"|"Do53"|"DoH-FIPS"
        )
      ),
      ResolverEndpointId = "string",
      OwnerId = "string",
      ShareStatus = "NOT_SHARED"|"SHARED_WITH_ME"|"SHARED_BY_ME",
      CreationTime = "string",
      ModificationTime = "string"
    )
  )
)

Request syntax

svc$list_resolver_rules(
  MaxResults = 123,
  NextToken = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  )
)