1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeprecateDomain`](crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl ::std::convert::Into<String>)`](crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder::set_name): <p>The name of the domain to deprecate.</p>
    /// - On success, responds with [`DeprecateDomainOutput`](crate::operation::deprecate_domain::DeprecateDomainOutput)
    /// - On failure, responds with [`SdkError<DeprecateDomainError>`](crate::operation::deprecate_domain::DeprecateDomainError)
    pub fn deprecate_domain(
        &self,
    ) -> crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder {
        crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder::new(
            self.handle.clone(),
        )
    }
}