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 |
Amazonka.AuditManager.GetInsightsByAssessment
Description
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.
Constructors
GetInsightsByAssessment' | |
Fields
|
Instances
newGetInsightsByAssessment Source #
Arguments
:: Text | |
-> GetInsightsByAssessment |
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.
Constructors
GetInsightsByAssessmentResponse' | |
Fields
|
Instances
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.