Values.CreateUserResponseSourceCreates a user and associates them with an existing file transfer protocol-enabled server. You can only create and associate users with servers that have the IdentityProviderType set to SERVICE_MANAGED. Using parameters for CreateUser, you can specify the user name, set the home directory, store the user's public key, and assign the user's Identity and Access Management (IAM) role. You can also optionally add a session policy, and assign metadata with tags that can be used to group and search for users.
type nonrec t = {serverId : ServerId.t option;The identifier of the server that the user is attached to.
*)userName : UserName.t option;A unique string that identifies a Transfer Family user.
*)}type nonrec error = [ | `InternalServiceError of InternalServiceError.t| `InvalidRequestException of InvalidRequestException.t| `ResourceExistsException of ResourceExistsException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServiceError of InternalServiceError.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceExistsException of ResourceExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServiceError of InternalServiceError.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceExistsException of ResourceExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `Unknown_operation_error of string * string option ]