aws_sdk_workdocs/client/activate_user.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ActivateUser`](crate::operation::activate_user::builders::ActivateUserFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_id(impl Into<String>)`](crate::operation::activate_user::builders::ActivateUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::activate_user::builders::ActivateUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The ID of the user.</p><br>
/// - [`authentication_token(impl Into<String>)`](crate::operation::activate_user::builders::ActivateUserFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::activate_user::builders::ActivateUserFluentBuilder::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 [`ActivateUserOutput`](crate::operation::activate_user::ActivateUserOutput) with field(s):
/// - [`user(Option<User>)`](crate::operation::activate_user::ActivateUserOutput::user): <p>The user information.</p>
/// - On failure, responds with [`SdkError<ActivateUserError>`](crate::operation::activate_user::ActivateUserError)
pub fn activate_user(&self) -> crate::operation::activate_user::builders::ActivateUserFluentBuilder {
crate::operation::activate_user::builders::ActivateUserFluentBuilder::new(self.handle.clone())
}
}