Smaws_Client_SageMaker.CreateUserProfileCreates a user profile. A user profile represents a single user within a domain, and is the main way to reference a "person" for the purposes of sharing, reporting, and other user-oriented features. This entity is created when a user onboards to a domain. If an administrator invites a person by email or imports them from IAM Identity Center, a user profile is automatically created. A user profile is the primary holder of settings for an individual user and has a reference to the user's private Amazon Elastic File System home directory.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_user_profile_request ->
(Types.create_user_profile_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_user_profile_request ->
(Types.create_user_profile_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result