aws_sdk_quicksight/client/delete_user.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 [`DeleteUser`](crate::operation::delete_user::builders::DeleteUserFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`user_name(impl Into<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_user_name):<br>required: **true**<br><p>The name of the user that you want to delete.</p><br>
7 /// - [`aws_account_id(impl Into<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that the user 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_user::builders::DeleteUserFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace. Currently, you should set this to <code>default</code>.</p><br>
9 /// - On success, responds with [`DeleteUserOutput`](crate::operation::delete_user::DeleteUserOutput) with field(s):
10 /// - [`request_id(Option<String>)`](crate::operation::delete_user::DeleteUserOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
11 /// - [`status(i32)`](crate::operation::delete_user::DeleteUserOutput::status): <p>The HTTP status of the request.</p>
12 /// - On failure, responds with [`SdkError<DeleteUserError>`](crate::operation::delete_user::DeleteUserError)
13 pub fn delete_user(&self) -> crate::operation::delete_user::builders::DeleteUserFluentBuilder {
14 crate::operation::delete_user::builders::DeleteUserFluentBuilder::new(self.handle.clone())
15 }
16}