// 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 Into<String>)`](crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder::set_name):<br>required: **true**<br><p>The name of the domain to deprecate.</p><br>
/// - 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())
}
}