Route53Resolver / Client / list_resolver_endpoint_ip_addresses
list_resolver_endpoint_ip_addresses#
- Route53Resolver.Client.list_resolver_endpoint_ip_addresses(**kwargs)#
Gets the IP addresses for a specified Resolver endpoint.
See also: AWS API Documentation
Request Syntax
response = client.list_resolver_endpoint_ip_addresses( ResolverEndpointId='string', MaxResults=123, NextToken='string' )
- Parameters:
ResolverEndpointId (string) –
[REQUIRED]
The ID of the Resolver endpoint that you want to get IP addresses for.
MaxResults (integer) – The maximum number of IP addresses that you want to return in the response to a
ListResolverEndpointIpAddresses
request. If you don’t specify a value forMaxResults
, Resolver returns up to 100 IP addresses.NextToken (string) –
For the first
ListResolverEndpointIpAddresses
request, omit this value.If the specified Resolver endpoint has more than
MaxResults
IP addresses, you can submit anotherListResolverEndpointIpAddresses
request to get the next group of IP addresses. In the next request, specify the value ofNextToken
from the previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'NextToken': 'string', 'MaxResults': 123, 'IpAddresses': [ { 'IpId': 'string', 'SubnetId': 'string', 'Ip': 'string', 'Ipv6': 'string', 'Status': 'CREATING'|'FAILED_CREATION'|'ATTACHING'|'ATTACHED'|'REMAP_DETACHING'|'REMAP_ATTACHING'|'DETACHING'|'FAILED_RESOURCE_GONE'|'DELETING'|'DELETE_FAILED_FAS_EXPIRED'|'UPDATING'|'UPDATE_FAILED', 'StatusMessage': 'string', 'CreationTime': 'string', 'ModificationTime': 'string' }, ] }
Response Structure
(dict) –
NextToken (string) –
If the specified endpoint has more than
MaxResults
IP addresses, you can submit anotherListResolverEndpointIpAddresses
request to get the next group of IP addresses. In the next request, specify the value ofNextToken
from the previous response.MaxResults (integer) –
The value that you specified for
MaxResults
in the request.IpAddresses (list) –
Information about the IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).
(dict) –
In the response to a GetResolverEndpoint request, information about the IP addresses that the Resolver endpoint uses for DNS queries.
IpId (string) –
The ID of one IP address.
SubnetId (string) –
The ID of one subnet.
Ip (string) –
One IPv4 address that the Resolver endpoint uses for DNS queries.
Ipv6 (string) –
One IPv6 address that the Resolver endpoint uses for DNS queries.
Status (string) –
A status code that gives the current status of the request.
StatusMessage (string) –
A message that provides additional information about the status of the request.
CreationTime (string) –
The date and time that the IP address was created, in Unix time format and Coordinated Universal Time (UTC).
ModificationTime (string) –
The date and time that the IP address was last modified, in Unix time format and Coordinated Universal Time (UTC).
Exceptions
Route53Resolver.Client.exceptions.ResourceNotFoundException
Route53Resolver.Client.exceptions.InvalidParameterException
Route53Resolver.Client.exceptions.InternalServiceErrorException
Route53Resolver.Client.exceptions.InvalidNextTokenException
Route53Resolver.Client.exceptions.ThrottlingException