[ aws . route53resolver ]
Lists all the resolver endpoints that were created using the current AWS account.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
list-resolver-endpoints
[--max-results <value>]
[--next-token <value>]
[--filters <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--cli-auto-prompt <value>]
--max-results
(integer)
The maximum number of resolver endpoints that you want to return in the response to a
ListResolverEndpoints
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 resolver endpoints.
--next-token
(string)
For the first
ListResolverEndpoints
request, omit this value.If you have more than
MaxResults
resolver endpoints, you can submit anotherListResolverEndpoints
request to get the next group of resolver endpoints. In the next request, specify the value ofNextToken
from the previous response.
--filters
(list)
An optional specification to return a subset of resolver endpoints, such as all inbound resolver endpoints.
Note
If you submit a second or subsequent
ListResolverEndpoints
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.(structure)
For
List
operations, an optional specification to return a subset of objects, such as resolver endpoints or resolver rules.Name -> (string)
When you’re using a
List
operation and you want the operation to return a subset of objects, such as resolver endpoints or resolver rules, the name of the parameter that you want to use to filter objects. For example, to list only inbound resolver endpoints, specifyDirection
for the value ofName
.Values -> (list)
When you’re using a
List
operation and you want the operation to return a subset of objects, such as resolver endpoints or resolver rules, the value of the parameter that you want to use to filter objects. For example, to list only inbound resolver endpoints, specifyINBOUND
for the value ofValues
.(string)
Shorthand Syntax:
Name=string,Values=string,string ...
JSON Syntax:
[
{
"Name": "string",
"Values": ["string", ...]
}
...
]
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--cli-auto-prompt
(boolean)
Automatically prompt for CLI input parameters.
See ‘aws help’ for descriptions of global parameters.
To list Resolver endpoints in an AWS Region
The following list-resolver-endpoints
example lists the inbound and outbound Resolver endpoints that exist in the current account.
aws route53resolver list-resolver-endpoints
Output:
{
"MaxResults": 10,
"ResolverEndpoints": [
{
"Id": "rslvr-in-497098ad59example",
"CreatorRequestId": "2020-01-01-18:47",
"Arn": "arn:aws:route53resolver:us-west-2:111122223333:resolver-endpoint/rslvr-in-497098ad59example",
"Name": "my-inbound-endpoint",
"SecurityGroupIds": [
"sg-05cd7b25d6example"
],
"Direction": "INBOUND",
"IpAddressCount": 2,
"HostVPCId": "vpc-304bexam",
"Status": "OPERATIONAL",
"StatusMessage": "This Resolver Endpoint is operational.",
"CreationTime": "2020-01-01T23:25:45.538Z",
"ModificationTime": "2020-01-01T23:25:45.538Z"
},
{
"Id": "rslvr-out-d5e5920e37example",
"CreatorRequestId": "2020-01-01-18:48",
"Arn": "arn:aws:route53resolver:us-west-2:111122223333:resolver-endpoint/rslvr-out-d5e5920e37example",
"Name": "my-outbound-endpoint",
"SecurityGroupIds": [
"sg-05cd7b25d6example"
],
"Direction": "OUTBOUND",
"IpAddressCount": 2,
"HostVPCId": "vpc-304bexam",
"Status": "OPERATIONAL",
"StatusMessage": "This Resolver Endpoint is operational.",
"CreationTime": "2020-01-01T23:50:50.979Z",
"ModificationTime": "2020-01-01T23:50:50.979Z"
}
]
}
NextToken -> (string)
If more than
MaxResults
IP addresses match the specified criteria, you can submit anotherListResolverEndpoint
request to get the next group of results. In the next request, specify the value ofNextToken
from the previous response.
MaxResults -> (integer)
The value that you specified for
MaxResults
in the request.
ResolverEndpoints -> (list)
The resolver endpoints that were created by using the current AWS account, and that match the specified filters, if any.
(structure)
In the response to a CreateResolverEndpoint , DeleteResolverEndpoint , GetResolverEndpoint , ListResolverEndpoints , or UpdateResolverEndpoint request, a complex type that contains settings for an existing inbound or outbound resolver endpoint.
Id -> (string)
The ID of the resolver endpoint.
CreatorRequestId -> (string)
A unique string that identifies the request that created the resolver endpoint. The
CreatorRequestId
allows failed requests to be retried without the risk of executing the operation twice.Arn -> (string)
The ARN (Amazon Resource Name) for the resolver endpoint.
Name -> (string)
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
SecurityGroupIds -> (list)
The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound resolver rules.
(string)
Direction -> (string)
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPCIpAddressCount -> (integer)
The number of IP addresses that the resolver endpoint can use for DNS queries.
HostVPCId -> (string)
The ID of the VPC that you want to create the resolver endpoint in.
Status -> (string)
A code that specifies the current status of the resolver endpoint.
StatusMessage -> (string)
A detailed description of the status of the resolver endpoint.
CreationTime -> (string)
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
ModificationTime -> (string)
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).