#[non_exhaustive]
pub struct RuleGroupResponse { pub rule_group_arn: Option<String>, pub rule_group_name: Option<String>, pub rule_group_id: Option<String>, pub description: Option<String>, pub type: Option<RuleGroupType>, pub capacity: Option<i32>, pub rule_group_status: Option<ResourceStatus>, pub tags: Option<Vec<Tag>>, pub consumed_capacity: Option<i32>, pub number_of_associations: Option<i32>, }
Expand description

The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
rule_group_arn: Option<String>

The Amazon Resource Name (ARN) of the rule group.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

rule_group_name: Option<String>

The descriptive name of the rule group. You can't change the name of a rule group after you create it.

rule_group_id: Option<String>

The unique identifier for the rule group.

description: Option<String>

A description of the rule group.

type: Option<RuleGroupType>

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.

capacity: Option<i32>

The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

rule_group_status: Option<ResourceStatus>

Detailed information about the current status of a rule group.

tags: Option<Vec<Tag>>

The key:value pairs to associate with the resource.

consumed_capacity: Option<i32>

The number of capacity units currently consumed by the rule group rules.

number_of_associations: Option<i32>

The number of firewall policies that use this rule group.

Implementations

The Amazon Resource Name (ARN) of the rule group.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

The descriptive name of the rule group. You can't change the name of a rule group after you create it.

The unique identifier for the rule group.

A description of the rule group.

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.

The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

Detailed information about the current status of a rule group.

The key:value pairs to associate with the resource.

The number of capacity units currently consumed by the rule group rules.

The number of firewall policies that use this rule group.

Creates a new builder-style object to manufacture RuleGroupResponse

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more