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 [`DeleteWorkforce`](crate::operation::delete_workforce::builders::DeleteWorkforceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`workforce_name(impl Into<String>)`](crate::operation::delete_workforce::builders::DeleteWorkforceFluentBuilder::workforce_name) / [`set_workforce_name(Option<String>)`](crate::operation::delete_workforce::builders::DeleteWorkforceFluentBuilder::set_workforce_name): <p>The name of the workforce.</p>
    /// - On success, responds with [`DeleteWorkforceOutput`](crate::operation::delete_workforce::DeleteWorkforceOutput)
    /// - On failure, responds with [`SdkError<DeleteWorkforceError>`](crate::operation::delete_workforce::DeleteWorkforceError)
    pub fn delete_workforce(
        &self,
    ) -> crate::operation::delete_workforce::builders::DeleteWorkforceFluentBuilder {
        crate::operation::delete_workforce::builders::DeleteWorkforceFluentBuilder::new(
            self.handle.clone(),
        )
    }
}