describe_rule_group
¶
describe_rule_group(
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
rule_group_name: Optional[ResourceName] = None,
rule_group_arn: Optional[ResourceArn] = None,
type: Optional[RuleGroupType] = None,
analyze_rule_group: Optional[Boolean] = None,
) -> DescribeRuleGroupResponse
Returns the data objects for the specified rule group.
Parameters:
-
rule_group_name(Optional[ResourceName], default:None) –The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
-
rule_group_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of the rule group.
You must specify the ARN or the name, and you can specify both.
-
type(Optional[RuleGroupType], default:None) –Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
This setting is required for requests that do not include the
RuleGroupARN. -
analyze_rule_group(Optional[Boolean], default:None) –Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to
TRUE, Network Firewall runs the analysis.
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
2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 | |