#[non_exhaustive]
pub struct RuleGroupResponse {
Show 14 fields 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>, pub encryption_configuration: Option<EncryptionConfiguration>, pub source_metadata: Option<SourceMetadata>, pub sns_topic: Option<String>, pub last_modified_time: Option<DateTime>,
}
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.

encryption_configuration: Option<EncryptionConfiguration>

A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.

source_metadata: Option<SourceMetadata>

A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.

sns_topic: Option<String>

The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..

last_modified_time: Option<DateTime>

The last time that the rule group was changed.

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.

A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.

A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.

The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..

The last time that the rule group was changed.

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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