Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
The ListQualificationTypes
operation returns a list of Qualification types, filtered by an optional search term.
This operation returns paginated results.
Synopsis
- listQualificationTypes :: Bool -> ListQualificationTypes
- data ListQualificationTypes
- lqtMustBeOwnedByCaller :: Lens' ListQualificationTypes (Maybe Bool)
- lqtNextToken :: Lens' ListQualificationTypes (Maybe Text)
- lqtQuery :: Lens' ListQualificationTypes (Maybe Text)
- lqtMaxResults :: Lens' ListQualificationTypes (Maybe Natural)
- lqtMustBeRequestable :: Lens' ListQualificationTypes Bool
- listQualificationTypesResponse :: Int -> ListQualificationTypesResponse
- data ListQualificationTypesResponse
- lqtrsQualificationTypes :: Lens' ListQualificationTypesResponse [QualificationType]
- lqtrsNextToken :: Lens' ListQualificationTypesResponse (Maybe Text)
- lqtrsNumResults :: Lens' ListQualificationTypesResponse (Maybe Int)
- lqtrsResponseStatus :: Lens' ListQualificationTypesResponse Int
Creating a Request
listQualificationTypes Source #
Creates a value of ListQualificationTypes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lqtMustBeOwnedByCaller
- Specifies that only Qualification types that the Requester created are returned. If false, the operation returns all Qualification types.lqtNextToken
- Undocumented member.lqtQuery
- A text query against all of the searchable attributes of Qualification types.lqtMaxResults
- The maximum number of results to return in a single call.lqtMustBeRequestable
- Specifies that only Qualification types that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test, are returned as results of the search. Some Qualification types, such as those assigned automatically by the system, cannot be requested directly by users. If false, all Qualification types, including those managed by the system, are considered. Valid values are True | False.
data ListQualificationTypes Source #
See: listQualificationTypes
smart constructor.
Instances
Request Lenses
lqtMustBeOwnedByCaller :: Lens' ListQualificationTypes (Maybe Bool) Source #
Specifies that only Qualification types that the Requester created are returned. If false, the operation returns all Qualification types.
lqtNextToken :: Lens' ListQualificationTypes (Maybe Text) Source #
Undocumented member.
lqtQuery :: Lens' ListQualificationTypes (Maybe Text) Source #
A text query against all of the searchable attributes of Qualification types.
lqtMaxResults :: Lens' ListQualificationTypes (Maybe Natural) Source #
The maximum number of results to return in a single call.
lqtMustBeRequestable :: Lens' ListQualificationTypes Bool Source #
Specifies that only Qualification types that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test, are returned as results of the search. Some Qualification types, such as those assigned automatically by the system, cannot be requested directly by users. If false, all Qualification types, including those managed by the system, are considered. Valid values are True | False.
Destructuring the Response
listQualificationTypesResponse Source #
Creates a value of ListQualificationTypesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lqtrsQualificationTypes
- The list of QualificationType elements returned by the query.lqtrsNextToken
- Undocumented member.lqtrsNumResults
- The number of Qualification types on this page in the filtered results list, equivalent to the number of types this operation returns.lqtrsResponseStatus
- -- | The response status code.
data ListQualificationTypesResponse Source #
See: listQualificationTypesResponse
smart constructor.
Instances
Response Lenses
lqtrsQualificationTypes :: Lens' ListQualificationTypesResponse [QualificationType] Source #
The list of QualificationType elements returned by the query.
lqtrsNextToken :: Lens' ListQualificationTypesResponse (Maybe Text) Source #
Undocumented member.
lqtrsNumResults :: Lens' ListQualificationTypesResponse (Maybe Int) Source #
The number of Qualification types on this page in the filtered results list, equivalent to the number of types this operation returns.
lqtrsResponseStatus :: Lens' ListQualificationTypesResponse Int Source #
- - | The response status code.