Struct aws_sdk_networkfirewall::input::ListRuleGroupsInput
source · [−]#[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
sourceimpl ListRuleGroupsInput
impl ListRuleGroupsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRuleGroups, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRuleGroups, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListRuleGroups
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListRuleGroupsInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for ListRuleGroupsInput
impl Clone for ListRuleGroupsInput
sourcefn clone(&self) -> ListRuleGroupsInput
fn clone(&self) -> ListRuleGroupsInput
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 ListRuleGroupsInput
impl Debug for ListRuleGroupsInput
sourceimpl PartialEq<ListRuleGroupsInput> for ListRuleGroupsInput
impl PartialEq<ListRuleGroupsInput> for ListRuleGroupsInput
sourcefn eq(&self, other: &ListRuleGroupsInput) -> bool
fn eq(&self, other: &ListRuleGroupsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListRuleGroupsInput) -> bool
fn ne(&self, other: &ListRuleGroupsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListRuleGroupsInput
Auto Trait Implementations
impl RefUnwindSafe for ListRuleGroupsInput
impl Send for ListRuleGroupsInput
impl Sync for ListRuleGroupsInput
impl Unpin for ListRuleGroupsInput
impl UnwindSafe for ListRuleGroupsInput
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