MTurk.Paginator.
ListWorkersWithQualificationType
¶paginator = client.get_paginator('list_workers_with_qualification_type')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MTurk.Client.list_workers_with_qualification_type()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
QualificationTypeId='string',
Status='Granted'|'Revoked',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the Qualification type of the Qualifications to return.
Granted | Revoked
.A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'NumResults': 123,
'Qualifications': [
{
'QualificationTypeId': 'string',
'WorkerId': 'string',
'GrantTime': datetime(2015, 1, 1),
'IntegerValue': 123,
'LocaleValue': {
'Country': 'string',
'Subdivision': 'string'
},
'Status': 'Granted'|'Revoked'
},
]
}
Response Structure
(dict) --
NumResults (integer) --
The number of Qualifications on this page in the filtered results list, equivalent to the number of Qualifications being returned by this call.
Qualifications (list) --
The list of Qualification elements returned by this call.
(dict) --
The Qualification data structure represents a Qualification assigned to a user, including the Qualification type and the value (score).
QualificationTypeId (string) --
The ID of the Qualification type for the Qualification.
WorkerId (string) --
The ID of the Worker who possesses the Qualification.
GrantTime (datetime) --
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.
IntegerValue (integer) --
The value (score) of the Qualification, if the Qualification has an integer value.
LocaleValue (dict) --
The Locale data structure represents a geographical region or location.
Country (string) --
The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.
Subdivision (string) --
The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.
Status (string) --
The status of the Qualification. Valid values are Granted | Revoked.