Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_maxResults :: Lens' ListQualificationRequests (Maybe Natural)
- listQualificationRequests_nextToken :: Lens' ListQualificationRequests (Maybe Text)
- listQualificationRequests_qualificationTypeId :: Lens' ListQualificationRequests (Maybe Text)
- data ListQualificationRequestsResponse = ListQualificationRequestsResponse' {}
- newListQualificationRequestsResponse :: Int -> ListQualificationRequestsResponse
- listQualificationRequestsResponse_nextToken :: Lens' ListQualificationRequestsResponse (Maybe Text)
- listQualificationRequestsResponse_numResults :: Lens' ListQualificationRequestsResponse (Maybe Int)
- listQualificationRequestsResponse_qualificationRequests :: Lens' ListQualificationRequestsResponse (Maybe [QualificationRequest])
- 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:maxResults:ListQualificationRequests'
, listQualificationRequests_maxResults
- The maximum number of results to return in a single call.
ListQualificationRequests
, listQualificationRequests_nextToken
- Undocumented member.
ListQualificationRequests
, listQualificationRequests_qualificationTypeId
- The ID of the QualificationType.
Request Lenses
listQualificationRequests_maxResults :: Lens' ListQualificationRequests (Maybe Natural) Source #
The maximum number of results to return in a single call.
listQualificationRequests_nextToken :: Lens' ListQualificationRequests (Maybe Text) Source #
Undocumented member.
listQualificationRequests_qualificationTypeId :: Lens' ListQualificationRequests (Maybe Text) Source #
The ID of the QualificationType.
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:
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:qualificationRequests:ListQualificationRequestsResponse'
, listQualificationRequestsResponse_qualificationRequests
- The Qualification request. The response includes one
QualificationRequest element for each Qualification request returned by
the query.
$sel:httpStatus:ListQualificationRequestsResponse'
, listQualificationRequestsResponse_httpStatus
- The response's http status code.
Response Lenses
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_qualificationRequests :: Lens' ListQualificationRequestsResponse (Maybe [QualificationRequest]) Source #
The Qualification request. The response includes one QualificationRequest element for each Qualification request returned by the query.
listQualificationRequestsResponse_httpStatus :: Lens' ListQualificationRequestsResponse Int Source #
The response's http status code.