1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListHostedZones`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`marker(impl Into<String>)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::set_marker):<br>required: **false**<br><p>If the value of <code>IsTruncated</code> in the previous response was <code>true</code>, you have more hosted zones. To get more hosted zones, submit another <code>ListHostedZones</code> request.</p> <p>For the value of <code>marker</code>, specify the value of <code>NextMarker</code> from the previous response, which is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request.</p> <p>If the value of <code>IsTruncated</code> in the previous response was <code>false</code>, there are no more hosted zones to get.</p><br>
    ///   - [`max_items(i32)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::set_max_items):<br>required: **false**<br><p>(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than <code>maxitems</code> hosted zones, the value of <code>IsTruncated</code> in the response is <code>true</code>, and the value of <code>NextMarker</code> is the hosted zone ID of the first hosted zone that Route 53 will return if you submit another request.</p><br>
    ///   - [`delegation_set_id(impl Into<String>)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::delegation_set_id) / [`set_delegation_set_id(Option<String>)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::set_delegation_set_id):<br>required: **false**<br><p>If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.</p><br>
    ///   - [`hosted_zone_type(HostedZoneType)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::hosted_zone_type) / [`set_hosted_zone_type(Option<HostedZoneType>)`](crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::set_hosted_zone_type):<br>required: **false**<br><p>(Optional) Specifies if the hosted zone is private.</p><br>
    /// - On success, responds with [`ListHostedZonesOutput`](crate::operation::list_hosted_zones::ListHostedZonesOutput) with field(s):
    ///   - [`hosted_zones(Vec::<HostedZone>)`](crate::operation::list_hosted_zones::ListHostedZonesOutput::hosted_zones): <p>A complex type that contains general information about the hosted zone.</p>
    ///   - [`marker(String)`](crate::operation::list_hosted_zones::ListHostedZonesOutput::marker): <p>For the second and subsequent calls to <code>ListHostedZones</code>, <code>Marker</code> is the value that you specified for the <code>marker</code> parameter in the request that produced the current response.</p>
    ///   - [`is_truncated(bool)`](crate::operation::list_hosted_zones::ListHostedZonesOutput::is_truncated): <p>A flag indicating whether there are more hosted zones to be listed. If the response was truncated, you can get more hosted zones by submitting another <code>ListHostedZones</code> request and specifying the value of <code>NextMarker</code> in the <code>marker</code> parameter.</p>
    ///   - [`next_marker(Option<String>)`](crate::operation::list_hosted_zones::ListHostedZonesOutput::next_marker): <p>If <code>IsTruncated</code> is <code>true</code>, the value of <code>NextMarker</code> identifies the first hosted zone in the next group of hosted zones. Submit another <code>ListHostedZones</code> request, and specify the value of <code>NextMarker</code> from the response in the <code>marker</code> parameter.</p> <p>This element is present only if <code>IsTruncated</code> is <code>true</code>.</p>
    ///   - [`max_items(i32)`](crate::operation::list_hosted_zones::ListHostedZonesOutput::max_items): <p>The value that you specified for the <code>maxitems</code> parameter in the call to <code>ListHostedZones</code> that produced the current response.</p>
    /// - On failure, responds with [`SdkError<ListHostedZonesError>`](crate::operation::list_hosted_zones::ListHostedZonesError)
    pub fn list_hosted_zones(&self) -> crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder {
        crate::operation::list_hosted_zones::builders::ListHostedZonesFluentBuilder::new(self.handle.clone())
    }
}