update_proxy_rule_priorities
¶
update_proxy_rule_priorities(
rule_group_request_phase: RuleGroupRequestPhase,
rules: ProxyRulePriorityList,
update_token: UpdateToken,
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
proxy_rule_group_name: Optional[ResourceName] = None,
proxy_rule_group_arn: Optional[ResourceArn] = None,
) -> UpdateProxyRulePrioritiesResponse
Updates proxy rule priorities within a proxy rule group.
Parameters:
-
proxy_rule_group_name(Optional[ResourceName], default:None) –The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.
You must specify the ARN or the name, and you can specify both.
-
proxy_rule_group_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of a proxy rule group.
You must specify the ARN or the name, and you can specify both.
-
rule_group_request_phase(RuleGroupRequestPhase) –Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.
-
rules(ProxyRulePriorityList) –proxy rule resources to update to new positions.
-
update_token(UpdateToken) –A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request.
To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy rule group 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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_network_firewall/_services/network_firewall.py
5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 | |