Copyright | (c) 2013-2021 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 |
The ListQualificationRequests
operation retrieves requests for
Qualifications of a particular Qualification type. The owner of the
Qualification type calls this operation to poll for pending requests,
and accepts them using the AcceptQualification operation.
This operation returns paginated results.
Synopsis
- data ListQualificationRequests = ListQualificationRequests' {}
- newListQualificationRequests :: ListQualificationRequests
- listQualificationRequests_nextToken :: Lens' ListQualificationRequests (Maybe Text)
- listQualificationRequests_qualificationTypeId :: Lens' ListQualificationRequests (Maybe Text)
- listQualificationRequests_maxResults :: Lens' ListQualificationRequests (Maybe Natural)
- data ListQualificationRequestsResponse = ListQualificationRequestsResponse' {}
- newListQualificationRequestsResponse :: Int -> ListQualificationRequestsResponse
- listQualificationRequestsResponse_qualificationRequests :: Lens' ListQualificationRequestsResponse (Maybe [QualificationRequest])
- listQualificationRequestsResponse_nextToken :: Lens' ListQualificationRequestsResponse (Maybe Text)
- listQualificationRequestsResponse_numResults :: Lens' ListQualificationRequestsResponse (Maybe Int)
- listQualificationRequestsResponse_httpStatus :: Lens' ListQualificationRequestsResponse Int
Creating a Request
data ListQualificationRequests Source #
See: newListQualificationRequests
smart constructor.
ListQualificationRequests' | |
|
Instances
newListQualificationRequests :: ListQualificationRequests Source #
Create a value of ListQualificationRequests
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:nextToken:ListQualificationRequests'
, listQualificationRequests_nextToken
- Undocumented member.
$sel:qualificationTypeId:ListQualificationRequests'
, listQualificationRequests_qualificationTypeId
- The ID of the QualificationType.
$sel:maxResults:ListQualificationRequests'
, listQualificationRequests_maxResults
- The maximum number of results to return in a single call.
Request Lenses
listQualificationRequests_nextToken :: Lens' ListQualificationRequests (Maybe Text) Source #
Undocumented member.
listQualificationRequests_qualificationTypeId :: Lens' ListQualificationRequests (Maybe Text) Source #
The ID of the QualificationType.
listQualificationRequests_maxResults :: Lens' ListQualificationRequests (Maybe Natural) Source #
The maximum number of results to return in a single call.
Destructuring the Response
data ListQualificationRequestsResponse Source #
See: newListQualificationRequestsResponse
smart constructor.
ListQualificationRequestsResponse' | |
|
Instances
newListQualificationRequestsResponse Source #
Create a value of ListQualificationRequestsResponse
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:qualificationRequests:ListQualificationRequestsResponse'
, listQualificationRequestsResponse_qualificationRequests
- The Qualification request. The response includes one
QualificationRequest element for each Qualification request returned by
the query.
$sel:nextToken:ListQualificationRequests'
, listQualificationRequestsResponse_nextToken
- Undocumented member.
$sel:numResults:ListQualificationRequestsResponse'
, listQualificationRequestsResponse_numResults
- The number of Qualification requests on this page in the filtered
results list, equivalent to the number of Qualification requests being
returned by this call.
$sel:httpStatus:ListQualificationRequestsResponse'
, listQualificationRequestsResponse_httpStatus
- The response's http status code.
Response Lenses
listQualificationRequestsResponse_qualificationRequests :: Lens' ListQualificationRequestsResponse (Maybe [QualificationRequest]) Source #
The Qualification request. The response includes one QualificationRequest element for each Qualification request returned by the query.
listQualificationRequestsResponse_nextToken :: Lens' ListQualificationRequestsResponse (Maybe Text) Source #
Undocumented member.
listQualificationRequestsResponse_numResults :: Lens' ListQualificationRequestsResponse (Maybe Int) Source #
The number of Qualification requests on this page in the filtered results list, equivalent to the number of Qualification requests being returned by this call.
listQualificationRequestsResponse_httpStatus :: Lens' ListQualificationRequestsResponse Int Source #
The response's http status code.