:doc:`ElasticLoadBalancing <../../elb>` / Client / delete_load_balancer_listeners

******************************
delete_load_balancer_listeners
******************************



.. py:method:: ElasticLoadBalancing.Client.delete_load_balancer_listeners(**kwargs)

  

  Deletes the specified listeners from the specified load balancer.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners>`_  


  **Request Syntax**
  ::

    response = client.delete_load_balancer_listeners(
        LoadBalancerName='string',
        LoadBalancerPorts=[
            123,
        ]
    )
    
  :type LoadBalancerName: string
  :param LoadBalancerName: **[REQUIRED]** 

    The name of the load balancer.

    

  
  :type LoadBalancerPorts: list
  :param LoadBalancerPorts: **[REQUIRED]** 

    The client port numbers of the listeners.

    

  
    - *(integer) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      Contains the output of DeleteLoadBalancerListeners.

      
  
  **Exceptions**
  
  *   :py:class:`ElasticLoadBalancing.Client.exceptions.AccessPointNotFoundException`

  

  **Examples**

  This example deletes the listener for the specified port from the specified load balancer.
  ::

    response = client.delete_load_balancer_listeners(
        LoadBalancerName='my-load-balancer',
        LoadBalancerPorts=[
            80,
        ],
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  