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 |
Retrieves the status of an on-going assessment.
Synopsis
- data GetAssessment = GetAssessment' {}
- newGetAssessment :: Text -> GetAssessment
- getAssessment_id :: Lens' GetAssessment Text
- data GetAssessmentResponse = GetAssessmentResponse' {}
- newGetAssessmentResponse :: Int -> GetAssessmentResponse
- getAssessmentResponse_assessmentTargets :: Lens' GetAssessmentResponse (Maybe [AssessmentTarget])
- getAssessmentResponse_dataCollectionDetails :: Lens' GetAssessmentResponse (Maybe DataCollectionDetails)
- getAssessmentResponse_id :: Lens' GetAssessmentResponse (Maybe Text)
- getAssessmentResponse_httpStatus :: Lens' GetAssessmentResponse Int
Creating a Request
data GetAssessment Source #
See: newGetAssessment
smart constructor.
Instances
Create a value of GetAssessment
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:
GetAssessment
, getAssessment_id
- The assessmentid
returned by StartAssessment.
Request Lenses
getAssessment_id :: Lens' GetAssessment Text Source #
The assessmentid
returned by StartAssessment.
Destructuring the Response
data GetAssessmentResponse Source #
See: newGetAssessmentResponse
smart constructor.
GetAssessmentResponse' | |
|
Instances
newGetAssessmentResponse Source #
Create a value of GetAssessmentResponse
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:assessmentTargets:GetAssessmentResponse'
, getAssessmentResponse_assessmentTargets
- List of criteria for assessment.
$sel:dataCollectionDetails:GetAssessmentResponse'
, getAssessmentResponse_dataCollectionDetails
- Detailed information about the assessment.
GetAssessment
, getAssessmentResponse_id
- The ID for the specific assessment task.
$sel:httpStatus:GetAssessmentResponse'
, getAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
getAssessmentResponse_assessmentTargets :: Lens' GetAssessmentResponse (Maybe [AssessmentTarget]) Source #
List of criteria for assessment.
getAssessmentResponse_dataCollectionDetails :: Lens' GetAssessmentResponse (Maybe DataCollectionDetails) Source #
Detailed information about the assessment.
getAssessmentResponse_id :: Lens' GetAssessmentResponse (Maybe Text) Source #
The ID for the specific assessment task.
getAssessmentResponse_httpStatus :: Lens' GetAssessmentResponse Int Source #
The response's http status code.