aws_sdk_route53resolver/client/list_resolver_rule_associations.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListResolverRuleAssociations`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`max_results(i32)`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of rule associations that you want to return in the response to a <code>ListResolverRuleAssociations</code> request. If you don't specify a value for <code>MaxResults</code>, Resolver returns up to 100 rule associations.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>For the first <code>ListResolverRuleAssociation</code> request, omit this value.</p> <p>If you have more than <code>MaxResults</code> rule associations, you can submit another <code>ListResolverRuleAssociation</code> request to get the next group of rule associations. In the next request, specify the value of <code>NextToken</code> from the previous response.</p><br>
9 /// - [`filters(Filter)`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::set_filters):<br>required: **false**<br><p>An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.</p><note> <p>If you submit a second or subsequent <code>ListResolverRuleAssociations</code> request and specify the <code>NextToken</code> parameter, you must use the same values for <code>Filters</code>, if any, as in the previous request.</p> </note><br>
10 /// - On success, responds with [`ListResolverRuleAssociationsOutput`](crate::operation::list_resolver_rule_associations::ListResolverRuleAssociationsOutput) with field(s):
11 /// - [`next_token(Option<String>)`](crate::operation::list_resolver_rule_associations::ListResolverRuleAssociationsOutput::next_token): <p>If more than <code>MaxResults</code> rule associations match the specified criteria, you can submit another <code>ListResolverRuleAssociation</code> request to get the next group of results. In the next request, specify the value of <code>NextToken</code> from the previous response.</p>
12 /// - [`max_results(Option<i32>)`](crate::operation::list_resolver_rule_associations::ListResolverRuleAssociationsOutput::max_results): <p>The value that you specified for <code>MaxResults</code> in the request.</p>
13 /// - [`resolver_rule_associations(Option<Vec::<ResolverRuleAssociation>>)`](crate::operation::list_resolver_rule_associations::ListResolverRuleAssociationsOutput::resolver_rule_associations): <p>The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.</p>
14 /// - On failure, responds with [`SdkError<ListResolverRuleAssociationsError>`](crate::operation::list_resolver_rule_associations::ListResolverRuleAssociationsError)
15 pub fn list_resolver_rule_associations(
16 &self,
17 ) -> crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder {
18 crate::operation::list_resolver_rule_associations::builders::ListResolverRuleAssociationsFluentBuilder::new(self.handle.clone())
19 }
20}