:doc:`NetworkFirewall <../../network-firewall>` / Client / delete_proxy

************
delete_proxy
************



.. py:method:: NetworkFirewall.Client.delete_proxy(**kwargs)

  

  Deletes the specified  Proxy.

   

  Detaches a Proxy configuration from a NAT Gateway.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteProxy>`_  


  **Request Syntax**
  ::

    response = client.delete_proxy(
        NatGatewayId='string',
        ProxyName='string',
        ProxyArn='string'
    )
    
  :type NatGatewayId: string
  :param NatGatewayId: **[REQUIRED]** 

    The NAT Gateway the proxy is attached to.

    

  
  :type ProxyName: string
  :param ProxyName: 

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

     

    You must specify the ARN or the name, and you can specify both.

    

  
  :type ProxyArn: string
  :param ProxyArn: 

    The Amazon Resource Name (ARN) of a proxy.

     

    You must specify the ARN or the name, and you can specify both.

    

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

    
    ::

      {
          'NatGatewayId': 'string',
          'ProxyName': 'string',
          'ProxyArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NatGatewayId** *(string) --* 

        The NAT Gateway the Proxy was attached to.

        
      

      - **ProxyName** *(string) --* 

        The descriptive name of the proxy. You can't change the name of a proxy after you create it.

        
      

      - **ProxyArn** *(string) --* 

        The Amazon Resource Name (ARN) of a proxy.

        
  
  **Exceptions**
  
  *   :py:class:`NetworkFirewall.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`NetworkFirewall.Client.exceptions.InternalServerError`

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

  
  *   :py:class:`NetworkFirewall.Client.exceptions.UnsupportedOperationException`

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

  