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 [`DeleteWorkGroup`](crate::operation::delete_work_group::builders::DeleteWorkGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`work_group(impl Into<String>)`](crate::operation::delete_work_group::builders::DeleteWorkGroupFluentBuilder::work_group) / [`set_work_group(Option<String>)`](crate::operation::delete_work_group::builders::DeleteWorkGroupFluentBuilder::set_work_group):<br>required: **true**<br><p>The unique name of the workgroup to delete.</p><br>
    ///   - [`recursive_delete_option(bool)`](crate::operation::delete_work_group::builders::DeleteWorkGroupFluentBuilder::recursive_delete_option) / [`set_recursive_delete_option(Option<bool>)`](crate::operation::delete_work_group::builders::DeleteWorkGroupFluentBuilder::set_recursive_delete_option):<br>required: **false**<br><p>The option to delete the workgroup and its contents even if the workgroup contains any named queries, query executions, or notebooks.</p><br>
    /// - On success, responds with [`DeleteWorkGroupOutput`](crate::operation::delete_work_group::DeleteWorkGroupOutput)
    /// - On failure, responds with [`SdkError<DeleteWorkGroupError>`](crate::operation::delete_work_group::DeleteWorkGroupError)
    pub fn delete_work_group(&self) -> crate::operation::delete_work_group::builders::DeleteWorkGroupFluentBuilder {
        crate::operation::delete_work_group::builders::DeleteWorkGroupFluentBuilder::new(self.handle.clone())
    }
}