update_proxy
¶
update_proxy(
nat_gateway_id: NatGatewayId,
update_token: UpdateToken,
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
proxy_name: Optional[ResourceName] = None,
proxy_arn: Optional[ResourceArn] = None,
listener_properties_to_add: Optional[ListenerPropertiesRequest] = None,
listener_properties_to_remove: Optional[ListenerPropertiesRequest] = None,
tls_intercept_properties: Optional[TlsInterceptPropertiesRequest] = None,
) -> UpdateProxyResponse
Updates the properties of the specified proxy.
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.
-
listener_properties_to_add(Optional[ListenerPropertiesRequest], default:None) –Listener properties for HTTP and HTTPS traffic to add.
-
listener_properties_to_remove(Optional[ListenerPropertiesRequest], default:None) –Listener properties for HTTP and HTTPS traffic to remove.
-
tls_intercept_properties(Optional[TlsInterceptPropertiesRequest], default:None) –TLS decryption on traffic to filter on attributes in the HTTP header.
-
update_token(UpdateToken) –A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request.
To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.
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
5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 | |