:doc:`OpenSearchService <../../opensearch>` / Client / revoke_vpc_endpoint_access

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



.. py:method:: OpenSearchService.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/opensearch-2021-01-01/RevokeVpcEndpointAccess>`_  


  **Request Syntax**
  ::

    response = client.revoke_vpc_endpoint_access(
        DomainName='string',
        Account='string',
        Service='application.opensearchservice.amazonaws.com'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The name of the OpenSearch Service domain.

    

  
  :type Account: string
  :param Account: 

    The account ID to revoke access from.

    

  
  :type Service: string
  :param Service: 

    The service SP to revoke access from.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`OpenSearchService.Client.exceptions.ResourceNotFoundException`

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

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

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

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

  