:doc:`OpenSearchServiceServerless <../../opensearchserverless>` / Client / delete_vpc_endpoint

*******************
delete_vpc_endpoint
*******************



.. py:method:: OpenSearchServiceServerless.Client.delete_vpc_endpoint(**kwargs)

  

  Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see `Access Amazon OpenSearch Serverless using an interface endpoint <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteVpcEndpoint>`_  


  **Request Syntax**
  ::

    response = client.delete_vpc_endpoint(
        id='string',
        clientToken='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The VPC endpoint identifier.

    

  
  :type clientToken: string
  :param clientToken: 

    Unique, case-sensitive identifier to ensure idempotency of the request.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'deleteVpcEndpointDetail': {
              'id': 'string',
              'name': 'string',
              'status': 'PENDING'|'DELETING'|'ACTIVE'|'FAILED'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **deleteVpcEndpointDetail** *(dict) --* 

        Details about the deleted endpoint.

        
        

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

          The unique identifier of the endpoint.

          
        

        - **name** *(string) --* 

          The name of the endpoint.

          
        

        - **status** *(string) --* 

          The current status of the endpoint deletion process.

          
    
  
  **Exceptions**
  
  *   :py:class:`OpenSearchServiceServerless.Client.exceptions.InternalServerException`

  
  *   :py:class:`OpenSearchServiceServerless.Client.exceptions.ConflictException`

  
  *   :py:class:`OpenSearchServiceServerless.Client.exceptions.ResourceNotFoundException`

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

  