Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The 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.
Synopsis
- deleteQualificationType :: Text -> DeleteQualificationType
- data DeleteQualificationType
- dqtQualificationTypeId :: Lens' DeleteQualificationType Text
- deleteQualificationTypeResponse :: Int -> DeleteQualificationTypeResponse
- data DeleteQualificationTypeResponse
- dqtrsResponseStatus :: Lens' DeleteQualificationTypeResponse Int
Creating a Request
deleteQualificationType Source #
Creates a value of DeleteQualificationType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dqtQualificationTypeId
- The ID of the QualificationType to dispose.
data DeleteQualificationType Source #
See: deleteQualificationType
smart constructor.
Instances
Request Lenses
dqtQualificationTypeId :: Lens' DeleteQualificationType Text Source #
The ID of the QualificationType to dispose.
Destructuring the Response
deleteQualificationTypeResponse Source #
Creates a value of DeleteQualificationTypeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dqtrsResponseStatus
- -- | The response status code.
data DeleteQualificationTypeResponse Source #
See: deleteQualificationTypeResponse
smart constructor.
Instances
Response Lenses
dqtrsResponseStatus :: Lens' DeleteQualificationTypeResponse Int Source #
- - | The response status code.