aws_sdk_workdocs/client/deactivate_user.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeactivateUser`](crate::operation::deactivate_user::builders::DeactivateUserFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_id(impl Into<String>)`](crate::operation::deactivate_user::builders::DeactivateUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::deactivate_user::builders::DeactivateUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The ID of the user.</p><br>
/// - [`authentication_token(impl Into<String>)`](crate::operation::deactivate_user::builders::DeactivateUserFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::deactivate_user::builders::DeactivateUserFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
/// - On success, responds with [`DeactivateUserOutput`](crate::operation::deactivate_user::DeactivateUserOutput)
/// - On failure, responds with [`SdkError<DeactivateUserError>`](crate::operation::deactivate_user::DeactivateUserError)
pub fn deactivate_user(&self) -> crate::operation::deactivate_user::builders::DeactivateUserFluentBuilder {
crate::operation::deactivate_user::builders::DeactivateUserFluentBuilder::new(self.handle.clone())
}
}