aws_sdk_appstream/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 email address of the user.</p><note>  <p>Users' email addresses are case-sensitive.</p> </note><br>
7    ///   - [`authentication_type(AuthenticationType)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::authentication_type) / [`set_authentication_type(Option<AuthenticationType>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_authentication_type):<br>required: **true**<br><p>The authentication type for the user. You must specify USERPOOL.</p><br>
8    /// - On success, responds with [`DeleteUserOutput`](crate::operation::delete_user::DeleteUserOutput)
9    /// - On failure, responds with [`SdkError<DeleteUserError>`](crate::operation::delete_user::DeleteUserError)
10    pub fn delete_user(&self) -> crate::operation::delete_user::builders::DeleteUserFluentBuilder {
11        crate::operation::delete_user::builders::DeleteUserFluentBuilder::new(self.handle.clone())
12    }
13}