1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListFirewallRuleGroups`](crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p> <p>If you don't specify a value for <code>MaxResults</code>, Resolver returns up to 100 objects.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>For the first call to this list request, omit this value.</p> <p>When you request a list of objects, Resolver returns at most the number of objects specified in <code>MaxResults</code>. If more objects are available for retrieval, Resolver returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.</p><br>
    /// - On success, responds with [`ListFirewallRuleGroupsOutput`](crate::operation::list_firewall_rule_groups::ListFirewallRuleGroupsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_firewall_rule_groups::ListFirewallRuleGroupsOutput::next_token): <p>If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.</p>
    ///   - [`firewall_rule_groups(Option<Vec::<FirewallRuleGroupMetadata>>)`](crate::operation::list_firewall_rule_groups::ListFirewallRuleGroupsOutput::firewall_rule_groups): <p>A list of your firewall rule groups.</p> <p>This might be a partial list of the rule groups that you have defined. For information, see <code>MaxResults</code>.</p>
    /// - On failure, responds with [`SdkError<ListFirewallRuleGroupsError>`](crate::operation::list_firewall_rule_groups::ListFirewallRuleGroupsError)
    pub fn list_firewall_rule_groups(&self) -> crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder {
        crate::operation::list_firewall_rule_groups::builders::ListFirewallRuleGroupsFluentBuilder::new(self.handle.clone())
    }
}