1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDomain`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl Into<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::set_domain_id): <p>The domain ID.</p>
    ///   - [`retention_policy(RetentionPolicy)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::retention_policy) / [`set_retention_policy(Option<RetentionPolicy>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::set_retention_policy): <p>The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted). </p>
    /// - On success, responds with [`DeleteDomainOutput`](crate::operation::delete_domain::DeleteDomainOutput)
    /// - On failure, responds with [`SdkError<DeleteDomainError>`](crate::operation::delete_domain::DeleteDomainError)
    pub fn delete_domain(
        &self,
    ) -> crate::operation::delete_domain::builders::DeleteDomainFluentBuilder {
        crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::new(
            self.handle.clone(),
        )
    }
}