Struct aws_sdk_workmail::client::fluent_builders::CreateUser [−][src]
pub struct CreateUser<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateUser
.
Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
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 identifier of the organization for which the user is created.
The identifier of the organization for which the user is created.
The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.
The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.
The display name for the new user.
The display name for the new user.
The password for the new user.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateUser<C, M, R>
impl<C, M, R> Unpin for CreateUser<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, 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