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

***************
delete_listener
***************



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

  

  Deletes the specified listener.

  

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


  **Request Syntax**
  ::

    response = client.delete_listener(
        serviceIdentifier='string',
        listenerIdentifier='string'
    )
    
  :type serviceIdentifier: string
  :param serviceIdentifier: **[REQUIRED]** 

    The ID or ARN of the service.

    

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

    The ID or ARN of the listener.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`VPCLattice.Client.exceptions.ValidationException`

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

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

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

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

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

  