aws_sdk_route53globalresolver/client/
list_hosted_zone_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 [`ListHostedZoneAssociations`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to retrieve in a single call.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token used for large sets of results that can't be returned in a single response.</p><br>
9    ///   - [`resource_arn(impl Into<String>)`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::set_resource_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the DNS view.</p><br>
10    /// - On success, responds with [`ListHostedZoneAssociationsOutput`](crate::operation::list_hosted_zone_associations::ListHostedZoneAssociationsOutput) with field(s):
11    ///   - [`next_token(Option<String>)`](crate::operation::list_hosted_zone_associations::ListHostedZoneAssociationsOutput::next_token): <p>A pagination token used for large sets of results that can't be returned in a single response. Provide this token in the next call to get the results not returned in this call.</p>
12    ///   - [`hosted_zone_associations(Vec::<HostedZoneAssociationSummary>)`](crate::operation::list_hosted_zone_associations::ListHostedZoneAssociationsOutput::hosted_zone_associations): <p>List of the private hosted zone associations.</p>
13    /// - On failure, responds with [`SdkError<ListHostedZoneAssociationsError>`](crate::operation::list_hosted_zone_associations::ListHostedZoneAssociationsError)
14    pub fn list_hosted_zone_associations(
15        &self,
16    ) -> crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder {
17        crate::operation::list_hosted_zone_associations::builders::ListHostedZoneAssociationsFluentBuilder::new(self.handle.clone())
18    }
19}