// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetHostedZoneLimit`](crate::operation::get_hosted_zone_limit::builders::GetHostedZoneLimitFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`r#type(HostedZoneLimitType)`](crate::operation::get_hosted_zone_limit::builders::GetHostedZoneLimitFluentBuilder::type) / [`set_type(Option<HostedZoneLimitType>)`](crate::operation::get_hosted_zone_limit::builders::GetHostedZoneLimitFluentBuilder::set_type):<br>required: **true**<br><p>The limit that you want to get. Valid values include the following:</p> <ul> <li> <p> <b>MAX_RRSETS_BY_ZONE</b>: The maximum number of records that you can create in the specified hosted zone.</p> </li> <li> <p> <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b>: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.</p> </li> </ul><br>
/// - [`hosted_zone_id(impl Into<String>)`](crate::operation::get_hosted_zone_limit::builders::GetHostedZoneLimitFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::get_hosted_zone_limit::builders::GetHostedZoneLimitFluentBuilder::set_hosted_zone_id):<br>required: **true**<br><p>The ID of the hosted zone that you want to get a limit for.</p><br>
/// - On success, responds with [`GetHostedZoneLimitOutput`](crate::operation::get_hosted_zone_limit::GetHostedZoneLimitOutput) with field(s):
/// - [`limit(Option<HostedZoneLimit>)`](crate::operation::get_hosted_zone_limit::GetHostedZoneLimitOutput::limit): <p>The current setting for the specified limit. For example, if you specified <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the request, the value of <code>Limit</code> is the maximum number of records that you can create in the specified hosted zone.</p>
/// - [`count(i64)`](crate::operation::get_hosted_zone_limit::GetHostedZoneLimitOutput::count): <p>The current number of entities that you have created of the specified type. For example, if you specified <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the request, the value of <code>Count</code> is the current number of records that you have created in the specified hosted zone.</p>
/// - On failure, responds with [`SdkError<GetHostedZoneLimitError>`](crate::operation::get_hosted_zone_limit::GetHostedZoneLimitError)
pub fn get_hosted_zone_limit(&self) -> crate::operation::get_hosted_zone_limit::builders::GetHostedZoneLimitFluentBuilder {
crate::operation::get_hosted_zone_limit::builders::GetHostedZoneLimitFluentBuilder::new(self.handle.clone())
}
}