Module Values.CreateUserResponseSource

Creates 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.

Sourcetype nonrec t = {
  1. serverId : ServerId.t option;
    (*

    The identifier of the server that the user is attached to.

    *)
  2. userName : UserName.t option;
    (*

    A unique string that identifies a Transfer Family user.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServiceError of InternalServiceError.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `ResourceExistsException of ResourceExistsException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceUnavailableException of ServiceUnavailableException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?serverId:??? -> ?userName:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ServerId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t