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 all your current active assessments.
Synopsis
- data GetInsights = GetInsights' {
- newGetInsights :: GetInsights
- data GetInsightsResponse = GetInsightsResponse' {
- insights :: Maybe Insights
- httpStatus :: Int
- newGetInsightsResponse :: Int -> GetInsightsResponse
- getInsightsResponse_insights :: Lens' GetInsightsResponse (Maybe Insights)
- getInsightsResponse_httpStatus :: Lens' GetInsightsResponse Int
Creating a Request
data GetInsights Source #
See: newGetInsights
smart constructor.
Instances
newGetInsights :: GetInsights Source #
Create a value of GetInsights
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetInsightsResponse Source #
See: newGetInsightsResponse
smart constructor.
GetInsightsResponse' | |
|
Instances
newGetInsightsResponse Source #
Create a value of GetInsightsResponse
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:GetInsightsResponse'
, getInsightsResponse_insights
- The analytics data that the GetInsights
API returned.
$sel:httpStatus:GetInsightsResponse'
, getInsightsResponse_httpStatus
- The response's http status code.
Response Lenses
getInsightsResponse_insights :: Lens' GetInsightsResponse (Maybe Insights) Source #
The analytics data that the GetInsights
API returned.
getInsightsResponse_httpStatus :: Lens' GetInsightsResponse Int Source #
The response's http status code.