aws_sdk_workdocs/client/update_user.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateUser`](crate::operation::update_user::builders::UpdateUserFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`authentication_token(impl Into<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::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>
/// - [`user_id(impl Into<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The ID of the user.</p><br>
/// - [`given_name(impl Into<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::given_name) / [`set_given_name(Option<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_given_name):<br>required: **false**<br><p>The given name of the user.</p><br>
/// - [`surname(impl Into<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::surname) / [`set_surname(Option<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_surname):<br>required: **false**<br><p>The surname of the user.</p><br>
/// - [`r#type(UserType)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::type) / [`set_type(Option<UserType>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_type):<br>required: **false**<br><p>The type of the user.</p><br>
/// - [`storage_rule(StorageRuleType)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::storage_rule) / [`set_storage_rule(Option<StorageRuleType>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_storage_rule):<br>required: **false**<br><p>The amount of storage for the user.</p><br>
/// - [`time_zone_id(impl Into<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::time_zone_id) / [`set_time_zone_id(Option<String>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_time_zone_id):<br>required: **false**<br><p>The time zone ID of the user.</p><br>
/// - [`locale(LocaleType)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::locale) / [`set_locale(Option<LocaleType>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_locale):<br>required: **false**<br><p>The locale of the user.</p><br>
/// - [`grant_poweruser_privileges(BooleanEnumType)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::grant_poweruser_privileges) / [`set_grant_poweruser_privileges(Option<BooleanEnumType>)`](crate::operation::update_user::builders::UpdateUserFluentBuilder::set_grant_poweruser_privileges):<br>required: **false**<br><p>Boolean value to determine whether the user is granted Power user privileges.</p><br>
/// - On success, responds with [`UpdateUserOutput`](crate::operation::update_user::UpdateUserOutput) with field(s):
/// - [`user(Option<User>)`](crate::operation::update_user::UpdateUserOutput::user): <p>The user information.</p>
/// - On failure, responds with [`SdkError<UpdateUserError>`](crate::operation::update_user::UpdateUserError)
pub fn update_user(&self) -> crate::operation::update_user::builders::UpdateUserFluentBuilder {
crate::operation::update_user::builders::UpdateUserFluentBuilder::new(self.handle.clone())
}
}