updateQualificationType - Amazon Mechanical Turk

This software is not currently supported by Amazon Mechanical Turk

The Amazon Mechanical Turk Command Line Tools (CLT) are not currently maintained by Amazon Mechanical Turk. If you would still like to use Amazon Mechanical Turk from the command line, use the mturk command in the AWS Command Line Interface (CLI). For more information, see the mturk section of the AWS CLI Command Reference .

 

updateQualificationType

Description

The updateQualificationType command updates the properties of your Qualification.

Arguments

The following table describes the arguments for the updateQualificationType command.

Name Description Required

-answer [filename]

Specifies the Qualification Answer file that contains the new AnswerKey XML for the Qualification test. This file allows the Amazon Mechanical Turk system to automatically evaluate and score a Qualification request. For information about this file, see The Qualification answer file in Files Used by the Command Line Tools.

Example: -answer qualification.answer

No

-help or -h

Displays the help for this operation.

Example: -help

No

-properties [filename]

Specifies the Qualification properties file that contains the new properties for the Qualification. The Qualification is updated with all the properties defined in the file. For information about this file, see The Qualification properties file in Files Used by the Command Line Tools.

Note

You cannot modify the title of a Qualification.

Example: -properties qualification.properties

No

-qualtypeid

The Qualification Type ID of the Qualification you want to update. This ID is in the .successfile generated after you create the Qualification with the createQualificationType command.

Example: -qualtypeid RWFZTKZ55ZPZXN1C8TDZ

Yes

-question [filename]

Specifies the Qualification question file that contains the new Qualification test. For information about this file, see The Qualification question file in Files Used by the Command Line Tools.

Example: -question qualification.question

No

-status [status value]

Specifies whether the Qualification is active or inactive. Inactive Qualifications are no longer available for Workers and cannot be used for new HITs.

Valid Values: Active | Inactive

Example: -status Active

No

-sandbox

Runs this command in the Amazon Mechanical Turk sandbox for testing. This argument takes precedence even if you specify the production web site in your mturk.properties file.

Example:-sandbox

No

Example

The following examples for Unix and Windows show how to use the updateQualificationType command. These examples update the Qualification test.

Unix

The following example demonstrates how to call this command from Unix.

./updateQualificationType.sh -qualtypeid RWFZTKZ55ZPZXN1C8TDZ -question survey.question

Windows

The following example demonstrates how to call this command from Microsoft Windows.

updateQualificationType -qualtypeid RWFZTKZ55ZPZXN1C8TDZ -question survey.question

Output

These examples produce the following output.

Updated qualification type RWFZTKZ55ZPZXN1C8TDZ