Smaws_Client_MTurk.DeleteQualificationTypeThe DeleteQualificationType deletes a Qualification type and deletes any HIT types that are associated with the Qualification type.
This operation does not revoke Qualifications already assigned to Workers because the Qualifications might be needed for active HITs. If there are any pending requests for the Qualification type, Amazon Mechanical Turk rejects those requests. After you delete a Qualification type, you can no longer use it to create HITs or HIT types.
DeleteQualificationType must wait for all the HITs that use the deleted Qualification type to be deleted before completing. It may take up to 48 hours before DeleteQualificationType completes and the unique name of the Qualification type is available for reuse with CreateQualificationType.
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.delete_qualification_type_request ->
(Types.delete_qualification_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.delete_qualification_type_request ->
(Types.delete_qualification_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