Struct aws_sdk_workdocs::client::fluent_builders::CreateUser
source · [−]pub struct CreateUser<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateUser
.
Creates a user in a Simple AD or Microsoft AD directory. The status of a newly created user is "ACTIVE". New users can access Amazon WorkDocs.
Implementations
impl<C, M, R> CreateUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<CreateUserOutput, SdkError<CreateUserError>> where
R::Policy: SmithyRetryPolicy<CreateUserInputOperationOutputAlias, CreateUserOutput, CreateUserError, CreateUserInputOperationRetryAlias>,
pub async fn send(self) -> Result<CreateUserOutput, SdkError<CreateUserError>> where
R::Policy: SmithyRetryPolicy<CreateUserInputOperationOutputAlias, CreateUserOutput, CreateUserError, CreateUserInputOperationRetryAlias>,
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.
The ID of the organization.
The ID of the organization.
The login name of the user.
The email address of the user.
The email address of the user.
The given name of the user.
The given name of the user.
The surname of the user.
The password of the user.
The time zone ID of the user.
The time zone ID of the user.
The amount of storage for the user.
The amount of storage for the user.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateUser<C, M, R>
impl<C, M, R> Unpin for CreateUser<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateUser<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