:doc:`VPCLattice <../../vpc-lattice>` / Client / list_service_network_vpc_endpoint_associations

**********************************************
list_service_network_vpc_endpoint_associations
**********************************************



.. py:method:: VPCLattice.Client.list_service_network_vpc_endpoint_associations(**kwargs)

  

  Lists the associations between a service network and a VPC endpoint.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListServiceNetworkVpcEndpointAssociations>`_  


  **Request Syntax**
  ::

    response = client.list_service_network_vpc_endpoint_associations(
        serviceNetworkIdentifier='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type serviceNetworkIdentifier: string
  :param serviceNetworkIdentifier: **[REQUIRED]** 

    The ID of the service network associated with the VPC endpoint.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum page size.

    

  
  :type nextToken: string
  :param nextToken: 

    If there are additional results, a pagination token for the next page of results.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'items': [
              {
                  'vpcEndpointId': 'string',
                  'vpcId': 'string',
                  'vpcEndpointOwnerId': 'string',
                  'id': 'string',
                  'state': 'string',
                  'serviceNetworkArn': 'string',
                  'createdAt': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **items** *(list) --* 

        Information about the association between the VPC endpoint and service network.

        
        

        - *(dict) --* 

          Describes the association between a service network and a VPC endpoint.

          
          

          - **vpcEndpointId** *(string) --* 

            The ID of the VPC endpoint associated with the service network.

            
          

          - **vpcId** *(string) --* 

            The ID of the VPC for the association.

            
          

          - **vpcEndpointOwnerId** *(string) --* 

            The owner of the VPC endpoint associated with the service network.

            
          

          - **id** *(string) --* 

            The ID of the association.

            
          

          - **state** *(string) --* 

            The state of the association.

            
          

          - **serviceNetworkArn** *(string) --* 

            The Amazon Resource Name (ARN) of the service network.

            
          

          - **createdAt** *(datetime) --* 

            The date and time that the association was created, in ISO-8601 format.

            
      
    
      

      - **nextToken** *(string) --* 

        If there are additional results, a pagination token for the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`VPCLattice.Client.exceptions.ValidationException`

  
  *   :py:class:`VPCLattice.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`VPCLattice.Client.exceptions.InternalServerException`

  