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¶
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 forMaxResults
, 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 anotherlist_resolver_rules
request to get the next group of Resolver rules. In the next request, specify the value ofNextToken
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 theNextToken
parameter, you must use the same values forFilters
, 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"
)
)
)