Struct aws_sdk_workdocs::client::fluent_builders::UpdateUser
source · [−]pub struct UpdateUser<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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
impl<C, M, R> UpdateUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<UpdateUserOutput, SdkError<UpdateUserError>> where
R::Policy: SmithyRetryPolicy<UpdateUserInputOperationOutputAlias, UpdateUserOutput, UpdateUserError, UpdateUserInputOperationRetryAlias>,
pub async fn send(self) -> Result<UpdateUserOutput, SdkError<UpdateUserError>> where
R::Policy: SmithyRetryPolicy<UpdateUserInputOperationOutputAlias, UpdateUserOutput, UpdateUserError, UpdateUserInputOperationRetryAlias>,
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.
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
The ID of the user.
The given name of the user.
The given name of the user.
The surname of the user.
The amount of storage for the user.
The amount of storage for the user.
The time zone ID of the user.
The time zone ID of the user.
The locale of the user.
The locale of the user.
Boolean value to determine whether the user is granted Poweruser privileges.
Boolean value to determine whether the user is granted Poweruser privileges.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateUser<C, M, R>
impl<C, M, R> Unpin for UpdateUser<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateUser<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more