#[non_exhaustive]pub struct ListRuleGroupsInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub scope: Option<ResourceManagedStatus>,
pub managed_type: Option<ResourceManagedType>,
pub type: Option<RuleGroupType>,
}
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.next_token: Option<String>
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
max_results: Option<i32>
The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken
value that you can use in a subsequent call to get the next batch of objects.
scope: Option<ResourceManagedStatus>
The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns all of the rule groups in your account. A setting of MANAGED
returns all available managed rule groups.
managed_type: Option<ResourceManagedType>
Indicates the general category of the Amazon Web Services managed 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.
Implementations§
source§impl ListRuleGroupsInput
impl ListRuleGroupsInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken
value that you can use in a subsequent call to get the next batch of objects.
sourcepub fn scope(&self) -> Option<&ResourceManagedStatus>
pub fn scope(&self) -> Option<&ResourceManagedStatus>
The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns all of the rule groups in your account. A setting of MANAGED
returns all available managed rule groups.
sourcepub fn managed_type(&self) -> Option<&ResourceManagedType>
pub fn managed_type(&self) -> Option<&ResourceManagedType>
Indicates the general category of the Amazon Web Services managed 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.
source§impl ListRuleGroupsInput
impl ListRuleGroupsInput
sourcepub fn builder() -> ListRuleGroupsInputBuilder
pub fn builder() -> ListRuleGroupsInputBuilder
Creates a new builder-style object to manufacture ListRuleGroupsInput
.
Trait Implementations§
source§impl Clone for ListRuleGroupsInput
impl Clone for ListRuleGroupsInput
source§fn clone(&self) -> ListRuleGroupsInput
fn clone(&self) -> ListRuleGroupsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListRuleGroupsInput
impl Debug for ListRuleGroupsInput
source§impl PartialEq for ListRuleGroupsInput
impl PartialEq for ListRuleGroupsInput
source§fn eq(&self, other: &ListRuleGroupsInput) -> bool
fn eq(&self, other: &ListRuleGroupsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListRuleGroupsInput
Auto Trait Implementations§
impl Freeze for ListRuleGroupsInput
impl RefUnwindSafe for ListRuleGroupsInput
impl Send for ListRuleGroupsInput
impl Sync for ListRuleGroupsInput
impl Unpin for ListRuleGroupsInput
impl UnwindSafe for ListRuleGroupsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more