:doc:`ElasticsearchService <../../es>` / Client / list_vpc_endpoint_access

************************
list_vpc_endpoint_access
************************



.. py:method:: ElasticsearchService.Client.list_vpc_endpoint_access(**kwargs)

  

  Retrieves information about each principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListVpcEndpointAccess>`_  


  **Request Syntax**
  ::

    response = client.list_vpc_endpoint_access(
        DomainName='string',
        NextToken='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The name of the OpenSearch Service domain to retrieve access information for.

    

  
  :type NextToken: string
  :param NextToken: 

    Provides an identifier to allow retrieval of paginated results.

    

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

    
    ::

      {
          'AuthorizedPrincipalList': [
              {
                  'PrincipalType': 'AWS_ACCOUNT'|'AWS_SERVICE',
                  'Principal': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Container for response parameters to the ``ListVpcEndpointAccess`` operation. Returns a list of accounts id and account type authorized to manage VPC endpoints.

      
      

      - **AuthorizedPrincipalList** *(list) --* 

        List of ``AuthorizedPrincipal`` describing the details of the permissions to manage VPC endpoints against the specified domain.

        
        

        - *(dict) --* 

          Information about an account or service that has access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

          
          

          - **PrincipalType** *(string) --* 

            The type of principal.

            
          

          - **Principal** *(string) --* 

            The IAM principal that is allowed access to the domain.

            
      
    
      

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

        Provides an identifier to allow retrieval of paginated results.

        
  
  **Exceptions**
  
  *   :py:class:`ElasticsearchService.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ElasticsearchService.Client.exceptions.DisabledOperationException`

  
  *   :py:class:`ElasticsearchService.Client.exceptions.InternalException`

  
  *   :py:class:`ElasticsearchService.Client.exceptions.BaseException`

  