Smaws_Client_SageMaker.CreateWorkteamCreates a new work team for labeling your data. A work team is defined by one or more Amazon Cognito user pools. You must first create the user pools before you can create a work team.
You cannot create more than 25 work teams in an account and region.
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_workteam_request ->
(Types.create_workteam_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_workteam_request ->
(Types.create_workteam_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