qualification_scores
Creates, updates, deletes, gets or lists a qualification_scores resource.
Overview
| Name | qualification_scores |
| Type | Resource |
| Id | aws.mturk.qualification_scores |
Fields
The following fields are returned by SELECT queries:
- get_qualification_score
| Name | Datatype | Description |
|---|---|---|
grant_time | string (date-time) | The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation. |
integer_value | integer | The value (score) of the Qualification, if the Qualification has an integer value. |
locale_value | object | The Locale data structure represents a geographical region or location. |
qualification_type_id | string | The ID of the Qualification type for the Qualification. (pattern: <code>^[A-Z0-9]+$</code>) |
status | string | The status of the Qualification. Valid values are Granted | Revoked. (Granted, Revoked) |
worker_id | string | The ID of the Worker who possesses the Qualification. (pattern: <code>^A[A-Z0-9]+$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_qualification_score | select | region | The GetQualificationScore operation returns the value of a Worker's Qualification for a given Qualification type. To get a Worker's Qualification, you must know the Worker's ID. The Worker's ID is included in the assignment data returned by the ListAssignmentsForHIT operation. Only the owner of a Qualification type can query the value of a Worker's Qualification of that type. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_qualification_score
The GetQualificationScore operation returns the value of a Worker's Qualification for a given Qualification type. To get a Worker's Qualification, you must know the Worker's ID. The Worker's ID is included in the assignment data returned by the ListAssignmentsForHIT operation. Only the owner of a Qualification type can query the value of a Worker's Qualification of that type.
SELECT
grant_time,
integer_value,
locale_value,
qualification_type_id,
status,
worker_id
FROM aws.mturk.qualification_scores
WHERE region = '{{ region }}' -- required
;