amazonka-mechanicalturk-2.0: Amazon Mechanical Turk SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MechanicalTurk.DeleteQualificationType

Description

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

Creating a Request

data DeleteQualificationType Source #

See: newDeleteQualificationType smart constructor.

Constructors

DeleteQualificationType' 

Fields

Instances

Instances details
ToJSON DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

ToHeaders DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

ToPath DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

ToQuery DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

AWSRequest DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Generic DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Associated Types

type Rep DeleteQualificationType :: Type -> Type #

Read DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Show DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

NFData DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Methods

rnf :: DeleteQualificationType -> () #

Eq DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Hashable DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

type AWSResponse DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

type Rep DeleteQualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

type Rep DeleteQualificationType = D1 ('MetaData "DeleteQualificationType" "Amazonka.MechanicalTurk.DeleteQualificationType" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" 'False) (C1 ('MetaCons "DeleteQualificationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "qualificationTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

DeleteQualificationType, deleteQualificationType_qualificationTypeId - The ID of the QualificationType to dispose.

Request Lenses

Destructuring the Response

data DeleteQualificationTypeResponse Source #

See: newDeleteQualificationTypeResponse smart constructor.

Constructors

DeleteQualificationTypeResponse' 

Fields

Instances

Instances details
Generic DeleteQualificationTypeResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Associated Types

type Rep DeleteQualificationTypeResponse :: Type -> Type #

Read DeleteQualificationTypeResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Show DeleteQualificationTypeResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

NFData DeleteQualificationTypeResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

Eq DeleteQualificationTypeResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

type Rep DeleteQualificationTypeResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DeleteQualificationType

type Rep DeleteQualificationTypeResponse = D1 ('MetaData "DeleteQualificationTypeResponse" "Amazonka.MechanicalTurk.DeleteQualificationType" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" '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