delete_proxy
¶
delete_proxy(
nat_gateway_id: NatGatewayId,
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
proxy_name: Optional[ResourceName] = None,
proxy_arn: Optional[ResourceArn] = None,
) -> DeleteProxyResponse
Deletes the specified proxy.
Detaches a Proxy configuration from a NAT Gateway.
Parameters:
-
nat_gateway_id(NatGatewayId) –The NAT Gateway the proxy is attached to.
-
proxy_name(Optional[ResourceName], default:None) –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.
-
proxy_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of a proxy.
You must specify the ARN or the name, and you can specify both.
Raises:
-
InternalServerError–Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.
-
InvalidRequestException–The operation failed because of a problem with your request. Examples include:
-
You specified an unsupported parameter name or value.
-
You tried to update a property with a value that isn't among the available types.
-
Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
-
-
ResourceNotFoundException–Unable to locate a resource using the parameters that you provided.
-
ThrottlingException–Unable to process the request due to throttling limitations.
-
UnsupportedOperationException–The operation you requested isn't supported by Network Firewall.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_network_firewall/_services/network_firewall.py
1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 | |