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 |
Gets the latest analytics data for a specific active assessment.
Synopsis
- data GetInsightsByAssessment = GetInsightsByAssessment' {
- assessmentId :: Text
- newGetInsightsByAssessment :: Text -> GetInsightsByAssessment
- getInsightsByAssessment_assessmentId :: Lens' GetInsightsByAssessment Text
- data GetInsightsByAssessmentResponse = GetInsightsByAssessmentResponse' {}
- newGetInsightsByAssessmentResponse :: Int -> GetInsightsByAssessmentResponse
- getInsightsByAssessmentResponse_insights :: Lens' GetInsightsByAssessmentResponse (Maybe InsightsByAssessment)
- getInsightsByAssessmentResponse_httpStatus :: Lens' GetInsightsByAssessmentResponse Int
Creating a Request
data GetInsightsByAssessment Source #
See: newGetInsightsByAssessment
smart constructor.
GetInsightsByAssessment' | |
|
Instances
newGetInsightsByAssessment Source #
Create a value of GetInsightsByAssessment
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:
GetInsightsByAssessment
, getInsightsByAssessment_assessmentId
- The unique identifier for the assessment.
Request Lenses
getInsightsByAssessment_assessmentId :: Lens' GetInsightsByAssessment Text Source #
The unique identifier for the assessment.
Destructuring the Response
data GetInsightsByAssessmentResponse Source #
See: newGetInsightsByAssessmentResponse
smart constructor.
GetInsightsByAssessmentResponse' | |
|
Instances
Generic GetInsightsByAssessmentResponse Source # | |
Read GetInsightsByAssessmentResponse Source # | |
Show GetInsightsByAssessmentResponse Source # | |
NFData GetInsightsByAssessmentResponse Source # | |
Defined in Amazonka.AuditManager.GetInsightsByAssessment rnf :: GetInsightsByAssessmentResponse -> () # | |
Eq GetInsightsByAssessmentResponse Source # | |
type Rep GetInsightsByAssessmentResponse Source # | |
Defined in Amazonka.AuditManager.GetInsightsByAssessment type Rep GetInsightsByAssessmentResponse = D1 ('MetaData "GetInsightsByAssessmentResponse" "Amazonka.AuditManager.GetInsightsByAssessment" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "GetInsightsByAssessmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsightsByAssessment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetInsightsByAssessmentResponse Source #
Create a value of GetInsightsByAssessmentResponse
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:insights:GetInsightsByAssessmentResponse'
, getInsightsByAssessmentResponse_insights
- The assessment analytics data that the GetInsightsByAssessment
API
returned.
$sel:httpStatus:GetInsightsByAssessmentResponse'
, getInsightsByAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
getInsightsByAssessmentResponse_insights :: Lens' GetInsightsByAssessmentResponse (Maybe InsightsByAssessment) Source #
The assessment analytics data that the GetInsightsByAssessment
API
returned.
getInsightsByAssessmentResponse_httpStatus :: Lens' GetInsightsByAssessmentResponse Int Source #
The response's http status code.