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

**************************
revoke_vpc_endpoint_access
**************************



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

  

  Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.

  

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


  **Request Syntax**
  ::

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

    The name of the OpenSearch Service domain.

    

  
  :type Account: string
  :param Account: **[REQUIRED]** 

    The account ID to revoke access from.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      Container for response parameters to the ``RevokeVpcEndpointAccess`` operation. The response body for this operation is empty.

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

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

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

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

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

  