aws_sdk_route53/client/
get_hosted_zone_count.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 [`GetHostedZoneCount`](crate::operation::get_hosted_zone_count::builders::GetHostedZoneCountFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_hosted_zone_count::builders::GetHostedZoneCountFluentBuilder::send) it.
6    /// - On success, responds with [`GetHostedZoneCountOutput`](crate::operation::get_hosted_zone_count::GetHostedZoneCountOutput) with field(s):
7    ///   - [`hosted_zone_count(i64)`](crate::operation::get_hosted_zone_count::GetHostedZoneCountOutput::hosted_zone_count): <p>The total number of public and private hosted zones that are associated with the current Amazon Web Services account.</p>
8    /// - On failure, responds with [`SdkError<GetHostedZoneCountError>`](crate::operation::get_hosted_zone_count::GetHostedZoneCountError)
9    pub fn get_hosted_zone_count(&self) -> crate::operation::get_hosted_zone_count::builders::GetHostedZoneCountFluentBuilder {
10        crate::operation::get_hosted_zone_count::builders::GetHostedZoneCountFluentBuilder::new(self.handle.clone())
11    }
12}