1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteUserPoolDomain`](crate::operation::delete_user_pool_domain::builders::DeleteUserPoolDomainFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain(impl Into<String>)`](crate::operation::delete_user_pool_domain::builders::DeleteUserPoolDomainFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::delete_user_pool_domain::builders::DeleteUserPoolDomainFluentBuilder::set_domain):<br>required: **true**<br><p>The domain string. For custom domains, this is the fully-qualified domain name, such as <code>auth.example.com</code>. For Amazon Cognito prefix domains, this is the prefix alone, such as <code>auth</code>.</p><br>
    ///   - [`user_pool_id(impl Into<String>)`](crate::operation::delete_user_pool_domain::builders::DeleteUserPoolDomainFluentBuilder::user_pool_id) / [`set_user_pool_id(Option<String>)`](crate::operation::delete_user_pool_domain::builders::DeleteUserPoolDomainFluentBuilder::set_user_pool_id):<br>required: **true**<br><p>The user pool ID.</p><br>
    /// - On success, responds with [`DeleteUserPoolDomainOutput`](crate::operation::delete_user_pool_domain::DeleteUserPoolDomainOutput)
    /// - On failure, responds with [`SdkError<DeleteUserPoolDomainError>`](crate::operation::delete_user_pool_domain::DeleteUserPoolDomainError)
    pub fn delete_user_pool_domain(&self) -> crate::operation::delete_user_pool_domain::builders::DeleteUserPoolDomainFluentBuilder {
        crate::operation::delete_user_pool_domain::builders::DeleteUserPoolDomainFluentBuilder::new(self.handle.clone())
    }
}