aws_sdk_swf/client/
deprecate_domain.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 [`DeprecateDomain`](crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`DeprecateDomainOutput`](crate::operation::deprecate_domain::DeprecateDomainOutput)
8    /// - On failure, responds with [`SdkError<DeprecateDomainError>`](crate::operation::deprecate_domain::DeprecateDomainError)
9    pub fn deprecate_domain(&self) -> crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder {
10        crate::operation::deprecate_domain::builders::DeprecateDomainFluentBuilder::new(self.handle.clone())
11    }
12}