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 [`DeleteWorkteam`](crate::operation::delete_workteam::builders::DeleteWorkteamFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`workteam_name(impl Into<String>)`](crate::operation::delete_workteam::builders::DeleteWorkteamFluentBuilder::workteam_name) / [`set_workteam_name(Option<String>)`](crate::operation::delete_workteam::builders::DeleteWorkteamFluentBuilder::set_workteam_name):<br>required: **true**<br><p>The name of the work team to delete.</p><br>
    /// - On success, responds with [`DeleteWorkteamOutput`](crate::operation::delete_workteam::DeleteWorkteamOutput) with field(s):
    ///   - [`success(Option<bool>)`](crate::operation::delete_workteam::DeleteWorkteamOutput::success): <p>Returns <code>true</code> if the work team was successfully deleted; otherwise, returns <code>false</code>.</p>
    /// - On failure, responds with [`SdkError<DeleteWorkteamError>`](crate::operation::delete_workteam::DeleteWorkteamError)
    pub fn delete_workteam(&self) -> crate::operation::delete_workteam::builders::DeleteWorkteamFluentBuilder {
        crate::operation::delete_workteam::builders::DeleteWorkteamFluentBuilder::new(self.handle.clone())
    }
}