aws_sdk_workmail/client/delete_user.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteUser`](crate::operation::delete_user::builders::DeleteUserFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_organization_id):<br>required: **true**<br><p>The organization that contains the user to be deleted.</p><br>
/// - [`user_id(impl Into<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_user::builders::DeleteUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The identifier of the user to be deleted.</p> <p>The identifier can be the <i>UserId</i> or <i>Username</i>. The following identity formats are available:</p> <ul> <li> <p>User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234</p></li> <li> <p>User name: user</p></li> </ul><br>
/// - On success, responds with [`DeleteUserOutput`](crate::operation::delete_user::DeleteUserOutput)
/// - On failure, responds with [`SdkError<DeleteUserError>`](crate::operation::delete_user::DeleteUserError)
pub fn delete_user(&self) -> crate::operation::delete_user::builders::DeleteUserFluentBuilder {
crate::operation::delete_user::builders::DeleteUserFluentBuilder::new(self.handle.clone())
}
}