1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListFirewallRuleGroupAssociations`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`firewall_rule_group_id(impl Into<String>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::firewall_rule_group_id) / [`set_firewall_rule_group_id(Option<String>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::set_firewall_rule_group_id):<br>required: **false**<br><p>The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group.</p><br>
    ///   - [`vpc_id(impl Into<String>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::vpc_id) / [`set_vpc_id(Option<String>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::set_vpc_id):<br>required: **false**<br><p>The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC.</p><br>
    ///   - [`priority(i32)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::priority) / [`set_priority(Option<i32>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::set_priority):<br>required: **false**<br><p>The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.</p><br>
    ///   - [`status(FirewallRuleGroupAssociationStatus)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::status) / [`set_status(Option<FirewallRuleGroupAssociationStatus>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::set_status):<br>required: **false**<br><p>The association <code>Status</code> setting that you want DNS Firewall to filter on for the list. If you don't specify this, then DNS Firewall returns all associations, regardless of status.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::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_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::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 [`ListFirewallRuleGroupAssociationsOutput`](crate::operation::list_firewall_rule_group_associations::ListFirewallRuleGroupAssociationsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_firewall_rule_group_associations::ListFirewallRuleGroupAssociationsOutput::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_group_associations(Option<Vec::<FirewallRuleGroupAssociation>>)`](crate::operation::list_firewall_rule_group_associations::ListFirewallRuleGroupAssociationsOutput::firewall_rule_group_associations): <p>A list of your firewall rule group associations.</p> <p>This might be a partial list of the associations that you have defined. For information, see <code>MaxResults</code>.</p>
    /// - On failure, responds with [`SdkError<ListFirewallRuleGroupAssociationsError>`](crate::operation::list_firewall_rule_group_associations::ListFirewallRuleGroupAssociationsError)
    pub fn list_firewall_rule_group_associations(
        &self,
    ) -> crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder {
        crate::operation::list_firewall_rule_group_associations::builders::ListFirewallRuleGroupAssociationsFluentBuilder::new(self.handle.clone())
    }
}