aws_sdk_apigateway/client/delete_domain_name.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 [`DeleteDomainName`](crate::operation::delete_domain_name::builders::DeleteDomainNameFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_name(impl Into<String>)`](crate::operation::delete_domain_name::builders::DeleteDomainNameFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_domain_name::builders::DeleteDomainNameFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the DomainName resource to be deleted.</p><br>
7 /// - [`domain_name_id(impl Into<String>)`](crate::operation::delete_domain_name::builders::DeleteDomainNameFluentBuilder::domain_name_id) / [`set_domain_name_id(Option<String>)`](crate::operation::delete_domain_name::builders::DeleteDomainNameFluentBuilder::set_domain_name_id):<br>required: **false**<br><p>The identifier for the domain name resource. Supported only for private custom domain names.</p><br>
8 /// - On success, responds with [`DeleteDomainNameOutput`](crate::operation::delete_domain_name::DeleteDomainNameOutput)
9 /// - On failure, responds with [`SdkError<DeleteDomainNameError>`](crate::operation::delete_domain_name::DeleteDomainNameError)
10 pub fn delete_domain_name(&self) -> crate::operation::delete_domain_name::builders::DeleteDomainNameFluentBuilder {
11 crate::operation::delete_domain_name::builders::DeleteDomainNameFluentBuilder::new(self.handle.clone())
12 }
13}