aws_sdk_route53/client/get_reusable_delegation_set_limit.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 [`GetReusableDelegationSetLimit`](crate::operation::get_reusable_delegation_set_limit::builders::GetReusableDelegationSetLimitFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`r#type(ReusableDelegationSetLimitType)`](crate::operation::get_reusable_delegation_set_limit::builders::GetReusableDelegationSetLimitFluentBuilder::type) / [`set_type(Option<ReusableDelegationSetLimitType>)`](crate::operation::get_reusable_delegation_set_limit::builders::GetReusableDelegationSetLimitFluentBuilder::set_type):<br>required: **true**<br><p>Specify <code>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</code> to get the maximum number of hosted zones that you can associate with the specified reusable delegation set.</p><br>
7 /// - [`delegation_set_id(impl Into<String>)`](crate::operation::get_reusable_delegation_set_limit::builders::GetReusableDelegationSetLimitFluentBuilder::delegation_set_id) / [`set_delegation_set_id(Option<String>)`](crate::operation::get_reusable_delegation_set_limit::builders::GetReusableDelegationSetLimitFluentBuilder::set_delegation_set_id):<br>required: **true**<br><p>The ID of the delegation set that you want to get the limit for.</p><br>
8 /// - On success, responds with [`GetReusableDelegationSetLimitOutput`](crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitOutput) with field(s):
9 /// - [`limit(Option<ReusableDelegationSetLimit>)`](crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitOutput::limit): <p>The current setting for the limit on hosted zones that you can associate with the specified reusable delegation set.</p>
10 /// - [`count(i64)`](crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitOutput::count): <p>The current number of hosted zones that you can associate with the specified reusable delegation set.</p>
11 /// - On failure, responds with [`SdkError<GetReusableDelegationSetLimitError>`](crate::operation::get_reusable_delegation_set_limit::GetReusableDelegationSetLimitError)
12 pub fn get_reusable_delegation_set_limit(
13 &self,
14 ) -> crate::operation::get_reusable_delegation_set_limit::builders::GetReusableDelegationSetLimitFluentBuilder {
15 crate::operation::get_reusable_delegation_set_limit::builders::GetReusableDelegationSetLimitFluentBuilder::new(self.handle.clone())
16 }
17}