delete_firewall_policy
¶
delete_firewall_policy(
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
firewall_policy_name: Optional[ResourceName] = None,
firewall_policy_arn: Optional[ResourceArn] = None,
) -> DeleteFirewallPolicyResponse
Deletes the specified FirewallPolicy.
Parameters:
-
firewall_policy_name(Optional[ResourceName], default:None) –The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
-
firewall_policy_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of the firewall policy.
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.
-
InvalidOperationException–The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use.
-
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.