Smaws_Client_WorkMail.CreateUser
val request :
Smaws_Lib.Context.t ->
create_user_request ->
(create_user_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DirectoryServiceAuthenticationFailedException of
directory_service_authentication_failed_exception
| `DirectoryUnavailableException of directory_unavailable_exception
| `InvalidParameterException of invalid_parameter_exception
| `InvalidPasswordException of invalid_password_exception
| `NameAvailabilityException of name_availability_exception
| `OrganizationNotFoundException of organization_not_found_exception
| `OrganizationStateException of organization_state_exception
| `ReservedNameException of reserved_name_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
Creates a user who can be used in WorkMail by calling the RegisterToWorkMail
operation.