delete_proxy
async
¶
delete_proxy(
nat_gateway_id: NatGatewayId,
*,
config_overrides: Optional[AsyncNetworkFirewallClientConfig] = 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/async_network_firewall.py
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 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 | |