aws_sdk_amplify/client/delete_domain_association.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 [`DeleteDomainAssociation`](crate::operation::delete_domain_association::builders::DeleteDomainAssociationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_id(impl Into<String>)`](crate::operation::delete_domain_association::builders::DeleteDomainAssociationFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_domain_association::builders::DeleteDomainAssociationFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique id for an Amplify app.</p><br>
7 /// - [`domain_name(impl Into<String>)`](crate::operation::delete_domain_association::builders::DeleteDomainAssociationFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_domain_association::builders::DeleteDomainAssociationFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain.</p><br>
8 /// - On success, responds with [`DeleteDomainAssociationOutput`](crate::operation::delete_domain_association::DeleteDomainAssociationOutput) with field(s):
9 /// - [`domain_association(Option<DomainAssociation>)`](crate::operation::delete_domain_association::DeleteDomainAssociationOutput::domain_association): <p>Describes the association between a custom domain and an Amplify app.</p>
10 /// - On failure, responds with [`SdkError<DeleteDomainAssociationError>`](crate::operation::delete_domain_association::DeleteDomainAssociationError)
11 pub fn delete_domain_association(&self) -> crate::operation::delete_domain_association::builders::DeleteDomainAssociationFluentBuilder {
12 crate::operation::delete_domain_association::builders::DeleteDomainAssociationFluentBuilder::new(self.handle.clone())
13 }
14}