aws_sdk_quicksight/client/
delete_group.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 [`DeleteGroup`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`group_name(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_group_name):<br>required: **true**<br><p>The name of the group that you want to delete.</p><br>
7    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.</p><br>
8    ///   - [`namespace(impl Into<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::delete_group::builders::DeleteGroupFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace of the group that you want to delete.</p><br>
9    /// - On success, responds with [`DeleteGroupOutput`](crate::operation::delete_group::DeleteGroupOutput) with field(s):
10    ///   - [`request_id(Option<String>)`](crate::operation::delete_group::DeleteGroupOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
11    ///   - [`status(i32)`](crate::operation::delete_group::DeleteGroupOutput::status): <p>The HTTP status of the request.</p>
12    /// - On failure, responds with [`SdkError<DeleteGroupError>`](crate::operation::delete_group::DeleteGroupError)
13    pub fn delete_group(&self) -> crate::operation::delete_group::builders::DeleteGroupFluentBuilder {
14        crate::operation::delete_group::builders::DeleteGroupFluentBuilder::new(self.handle.clone())
15    }
16}