Smaws_Client_Rekognition.CreateProjectCreates a new Amazon Rekognition project. A project is a group of resources (datasets, model versions) that you use to create and manage a Amazon Rekognition Custom Labels Model or custom adapter. You can specify a feature to create the project with, if no feature is specified then Custom Labels is used by default. For adapters, you can also choose whether or not to have the project auto update by using the AutoUpdate argument. This operation requires permissions to perform the rekognition:CreateProject action.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_project_request ->
(Types.create_project_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_project_request ->
(Types.create_project_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result