:doc:`Route53Resolver <../../route53resolver>` / Client / list_resolver_endpoint_ip_addresses

***********************************
list_resolver_endpoint_ip_addresses
***********************************



.. py:method:: Route53Resolver.Client.list_resolver_endpoint_ip_addresses(**kwargs)

  

  Gets the IP addresses for a specified Resolver endpoint.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddresses>`_  


  **Request Syntax**
  ::

    response = client.list_resolver_endpoint_ip_addresses(
        ResolverEndpointId='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type ResolverEndpointId: string
  :param ResolverEndpointId: **[REQUIRED]** 

    The ID of the Resolver endpoint that you want to get IP addresses for.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    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 for ``MaxResults``, Resolver returns up to 100 IP addresses.

    

  
  :type NextToken: string
  :param NextToken: 

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

     

    If the specified Resolver endpoint has more than ``MaxResults`` IP addresses, you can submit another ``ListResolverEndpointIpAddresses`` request to get the next group of IP addresses. In the next request, specify the value of ``NextToken`` from the previous response.

    

  
  
  :rtype: 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'|'ISOLATED',
                  'StatusMessage': 'string',
                  'CreationTime': 'string',
                  'ModificationTime': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextToken** *(string) --* 

        If the specified endpoint has more than ``MaxResults`` IP addresses, you can submit another ``ListResolverEndpointIpAddresses`` request to get the next group of IP addresses. In the next request, specify the value of ``NextToken`` 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 <https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html>`__ 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**
  
  *   :py:class:`Route53Resolver.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.InternalServiceErrorException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.InvalidNextTokenException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.ThrottlingException`

  