pub struct ListRuleGroups<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to ListRuleGroups
.
Retrieves the metadata for the rule groups that you have defined. Depending on your setting for max results and the number of rule groups, a single call might not return the full list.
Implementations
impl<C, M, R> ListRuleGroups<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListRuleGroups<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListRuleGroupsOutput, SdkError<ListRuleGroupsError>> where
R::Policy: SmithyRetryPolicy<ListRuleGroupsInputOperationOutputAlias, ListRuleGroupsOutput, ListRuleGroupsError, ListRuleGroupsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListRuleGroupsOutput, SdkError<ListRuleGroupsError>> where
R::Policy: SmithyRetryPolicy<ListRuleGroupsInputOperationOutputAlias, ListRuleGroupsOutput, ListRuleGroupsError, ListRuleGroupsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
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.
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.
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.
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.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListRuleGroups<C, M, R>
impl<C, M, R> Send for ListRuleGroups<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListRuleGroups<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListRuleGroups<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListRuleGroups<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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