Struct aws_sdk_networkfirewall::model::RuleGroupResponse
source · [−]#[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
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.
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
sourceimpl RuleGroupResponse
impl RuleGroupResponse
sourcepub fn rule_group_arn(&self) -> Option<&str>
pub fn rule_group_arn(&self) -> Option<&str>
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.
sourcepub fn rule_group_name(&self) -> Option<&str>
pub fn rule_group_name(&self) -> Option<&str>
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
sourcepub fn rule_group_id(&self) -> Option<&str>
pub fn rule_group_id(&self) -> Option<&str>
The unique identifier for the rule group.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the rule group.
sourcepub fn type(&self) -> Option<&RuleGroupType>
pub fn type(&self) -> 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.
sourcepub fn capacity(&self) -> Option<i32>
pub fn capacity(&self) -> 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
.
sourcepub fn rule_group_status(&self) -> Option<&ResourceStatus>
pub fn rule_group_status(&self) -> Option<&ResourceStatus>
Detailed information about the current status of a rule group.
The key:value pairs to associate with the resource.
sourcepub fn consumed_capacity(&self) -> Option<i32>
pub fn consumed_capacity(&self) -> Option<i32>
The number of capacity units currently consumed by the rule group rules.
sourcepub fn number_of_associations(&self) -> Option<i32>
pub fn number_of_associations(&self) -> Option<i32>
The number of firewall policies that use this rule group.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.
sourcepub fn source_metadata(&self) -> Option<&SourceMetadata>
pub fn source_metadata(&self) -> 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.
sourcepub fn sns_topic(&self) -> Option<&str>
pub fn sns_topic(&self) -> Option<&str>
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..
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The last time that the rule group was changed.
sourceimpl RuleGroupResponse
impl RuleGroupResponse
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RuleGroupResponse
Trait Implementations
sourceimpl Clone for RuleGroupResponse
impl Clone for RuleGroupResponse
sourcefn clone(&self) -> RuleGroupResponse
fn clone(&self) -> RuleGroupResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RuleGroupResponse
impl Debug for RuleGroupResponse
sourceimpl PartialEq<RuleGroupResponse> for RuleGroupResponse
impl PartialEq<RuleGroupResponse> for RuleGroupResponse
sourcefn eq(&self, other: &RuleGroupResponse) -> bool
fn eq(&self, other: &RuleGroupResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RuleGroupResponse) -> bool
fn ne(&self, other: &RuleGroupResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for RuleGroupResponse
Auto Trait Implementations
impl RefUnwindSafe for RuleGroupResponse
impl Send for RuleGroupResponse
impl Sync for RuleGroupResponse
impl Unpin for RuleGroupResponse
impl UnwindSafe for RuleGroupResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more