Struct aws_sdk_workdocs::client::fluent_builders::UpdateUser
source · pub struct UpdateUser { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateUser
.
Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
Implementations§
source§impl UpdateUser
impl UpdateUser
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateUser, AwsResponseRetryClassifier>, SdkError<UpdateUserError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateUser, AwsResponseRetryClassifier>, SdkError<UpdateUserError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<UpdateUserOutput, SdkError<UpdateUserError>>
pub async fn send(self) -> Result<UpdateUserOutput, SdkError<UpdateUserError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn authentication_token(self, input: impl Into<String>) -> Self
pub fn authentication_token(self, input: impl Into<String>) -> Self
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
sourcepub fn set_authentication_token(self, input: Option<String>) -> Self
pub fn set_authentication_token(self, input: Option<String>) -> Self
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The ID of the user.
sourcepub fn given_name(self, input: impl Into<String>) -> Self
pub fn given_name(self, input: impl Into<String>) -> Self
The given name of the user.
sourcepub fn set_given_name(self, input: Option<String>) -> Self
pub fn set_given_name(self, input: Option<String>) -> Self
The given name of the user.
sourcepub fn set_surname(self, input: Option<String>) -> Self
pub fn set_surname(self, input: Option<String>) -> Self
The surname of the user.
sourcepub fn storage_rule(self, input: StorageRuleType) -> Self
pub fn storage_rule(self, input: StorageRuleType) -> Self
The amount of storage for the user.
sourcepub fn set_storage_rule(self, input: Option<StorageRuleType>) -> Self
pub fn set_storage_rule(self, input: Option<StorageRuleType>) -> Self
The amount of storage for the user.
sourcepub fn time_zone_id(self, input: impl Into<String>) -> Self
pub fn time_zone_id(self, input: impl Into<String>) -> Self
The time zone ID of the user.
sourcepub fn set_time_zone_id(self, input: Option<String>) -> Self
pub fn set_time_zone_id(self, input: Option<String>) -> Self
The time zone ID of the user.
sourcepub fn locale(self, input: LocaleType) -> Self
pub fn locale(self, input: LocaleType) -> Self
The locale of the user.
sourcepub fn set_locale(self, input: Option<LocaleType>) -> Self
pub fn set_locale(self, input: Option<LocaleType>) -> Self
The locale of the user.
sourcepub fn grant_poweruser_privileges(self, input: BooleanEnumType) -> Self
pub fn grant_poweruser_privileges(self, input: BooleanEnumType) -> Self
Boolean value to determine whether the user is granted Poweruser privileges.
sourcepub fn set_grant_poweruser_privileges(
self,
input: Option<BooleanEnumType>
) -> Self
pub fn set_grant_poweruser_privileges(
self,
input: Option<BooleanEnumType>
) -> Self
Boolean value to determine whether the user is granted Poweruser privileges.
Trait Implementations§
source§impl Clone for UpdateUser
impl Clone for UpdateUser
source§fn clone(&self) -> UpdateUser
fn clone(&self) -> UpdateUser
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more