detach_rule_groups_from_proxy_configuration
¶
detach_rule_groups_from_proxy_configuration(
update_token: UpdateToken,
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
proxy_configuration_name: Optional[ResourceName] = None,
proxy_configuration_arn: Optional[ResourceArn] = None,
rule_group_names: Optional[ResourceNameList] = None,
rule_group_arns: Optional[ResourceArnList] = None,
) -> DetachRuleGroupsFromProxyConfigurationResponse
Detaches ProxyRuleGroup resources from a ProxyConfiguration
A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration.
Parameters:
-
proxy_configuration_name(Optional[ResourceName], default:None) –The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.
You must specify the ARN or the name, and you can specify both.
-
proxy_configuration_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of a proxy configuration.
You must specify the ARN or the name, and you can specify both.
-
rule_group_names(Optional[ResourceNameList], default:None) –The proxy rule group names to detach from the proxy configuration
-
rule_group_arns(Optional[ResourceArnList], default:None) –The proxy rule group arns to detach from the proxy configuration
-
update_token(UpdateToken) –A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.
To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy configuration 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
3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 | |