Copyright | (c) 2013-2021 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 |
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.
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.
Synopsis
- data DeleteQualificationType = DeleteQualificationType' {}
- newDeleteQualificationType :: Text -> DeleteQualificationType
- deleteQualificationType_qualificationTypeId :: Lens' DeleteQualificationType Text
- data DeleteQualificationTypeResponse = DeleteQualificationTypeResponse' {
- httpStatus :: Int
- newDeleteQualificationTypeResponse :: Int -> DeleteQualificationTypeResponse
- deleteQualificationTypeResponse_httpStatus :: Lens' DeleteQualificationTypeResponse Int
Creating a Request
data DeleteQualificationType Source #
See: newDeleteQualificationType
smart constructor.
DeleteQualificationType' | |
|
Instances
newDeleteQualificationType Source #
Create a value of DeleteQualificationType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualificationTypeId:DeleteQualificationType'
, deleteQualificationType_qualificationTypeId
- The ID of the QualificationType to dispose.
Request Lenses
deleteQualificationType_qualificationTypeId :: Lens' DeleteQualificationType Text Source #
The ID of the QualificationType to dispose.
Destructuring the Response
data DeleteQualificationTypeResponse Source #
See: newDeleteQualificationTypeResponse
smart constructor.
DeleteQualificationTypeResponse' | |
|
Instances
Eq DeleteQualificationTypeResponse Source # | |
Read DeleteQualificationTypeResponse Source # | |
Show DeleteQualificationTypeResponse Source # | |
Generic DeleteQualificationTypeResponse Source # | |
NFData DeleteQualificationTypeResponse Source # | |
Defined in Amazonka.MechanicalTurk.DeleteQualificationType rnf :: DeleteQualificationTypeResponse -> () # | |
type Rep DeleteQualificationTypeResponse Source # | |
Defined in Amazonka.MechanicalTurk.DeleteQualificationType type Rep DeleteQualificationTypeResponse = D1 ('MetaData "DeleteQualificationTypeResponse" "Amazonka.MechanicalTurk.DeleteQualificationType" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "DeleteQualificationTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteQualificationTypeResponse Source #
Create a value of DeleteQualificationTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteQualificationTypeResponse'
, deleteQualificationTypeResponse_httpStatus
- The response's http status code.
Response Lenses
deleteQualificationTypeResponse_httpStatus :: Lens' DeleteQualificationTypeResponse Int Source #
The response's http status code.