aws_sdk_route53/client/create_reusable_delegation_set.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 [`CreateReusableDelegationSet`](crate::operation::create_reusable_delegation_set::builders::CreateReusableDelegationSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`caller_reference(impl Into<String>)`](crate::operation::create_reusable_delegation_set::builders::CreateReusableDelegationSetFluentBuilder::caller_reference) / [`set_caller_reference(Option<String>)`](crate::operation::create_reusable_delegation_set::builders::CreateReusableDelegationSetFluentBuilder::set_caller_reference):<br>required: **true**<br><p>A unique string that identifies the request, and that allows you to retry failed <code>CreateReusableDelegationSet</code> requests without the risk of executing the operation twice. You must use a unique <code>CallerReference</code> string every time you submit a <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code> can be any unique string, for example a date/time stamp.</p><br>
7 /// - [`hosted_zone_id(impl Into<String>)`](crate::operation::create_reusable_delegation_set::builders::CreateReusableDelegationSetFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::create_reusable_delegation_set::builders::CreateReusableDelegationSetFluentBuilder::set_hosted_zone_id):<br>required: **false**<br><p>If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.</p><br>
8 /// - On success, responds with [`CreateReusableDelegationSetOutput`](crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetOutput) with field(s):
9 /// - [`delegation_set(Option<DelegationSet>)`](crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetOutput::delegation_set): <p>A complex type that contains name server information.</p>
10 /// - [`location(String)`](crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetOutput::location): <p>The unique URL representing the new reusable delegation set.</p>
11 /// - On failure, responds with [`SdkError<CreateReusableDelegationSetError>`](crate::operation::create_reusable_delegation_set::CreateReusableDelegationSetError)
12 pub fn create_reusable_delegation_set(
13 &self,
14 ) -> crate::operation::create_reusable_delegation_set::builders::CreateReusableDelegationSetFluentBuilder {
15 crate::operation::create_reusable_delegation_set::builders::CreateReusableDelegationSetFluentBuilder::new(self.handle.clone())
16 }
17}