detach_rule_groups_from_proxy_configuration
async
¶
detach_rule_groups_from_proxy_configuration(
update_token: UpdateToken,
*,
config_overrides: Optional[AsyncNetworkFirewallClientConfig] = 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/async_network_firewall.py
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 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 | |