Smaws_Client_MTurk.CreateHITTypeThe CreateHITType operation creates a new HIT type. This operation allows you to define a standard set of HIT properties to use when creating HITs. If you register a HIT type with values that match an existing HIT type, the HIT type ID of the existing type will be returned.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_hit_type_request ->
(Types.create_hit_type_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_hit_type_request ->
(Types.create_hit_type_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result