| 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.ListControlDomainInsightsByAssessment
Description
Lists analytics data for control domains within a specified active assessment.
A control domain is listed only if at least one of the controls within
that domain collected evidence on the lastUpdated date of
controlDomainInsights. If this condition isn’t met, no data is listed
for that domain.
Synopsis
- data ListControlDomainInsightsByAssessment = ListControlDomainInsightsByAssessment' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- assessmentId :: Text
- newListControlDomainInsightsByAssessment :: Text -> ListControlDomainInsightsByAssessment
- listControlDomainInsightsByAssessment_maxResults :: Lens' ListControlDomainInsightsByAssessment (Maybe Natural)
- listControlDomainInsightsByAssessment_nextToken :: Lens' ListControlDomainInsightsByAssessment (Maybe Text)
- listControlDomainInsightsByAssessment_assessmentId :: Lens' ListControlDomainInsightsByAssessment Text
- data ListControlDomainInsightsByAssessmentResponse = ListControlDomainInsightsByAssessmentResponse' {}
- newListControlDomainInsightsByAssessmentResponse :: Int -> ListControlDomainInsightsByAssessmentResponse
- listControlDomainInsightsByAssessmentResponse_controlDomainInsights :: Lens' ListControlDomainInsightsByAssessmentResponse (Maybe [ControlDomainInsights])
- listControlDomainInsightsByAssessmentResponse_nextToken :: Lens' ListControlDomainInsightsByAssessmentResponse (Maybe Text)
- listControlDomainInsightsByAssessmentResponse_httpStatus :: Lens' ListControlDomainInsightsByAssessmentResponse Int
Creating a Request
data ListControlDomainInsightsByAssessment Source #
See: newListControlDomainInsightsByAssessment smart constructor.
Constructors
| ListControlDomainInsightsByAssessment' | |
Fields
| |
Instances
newListControlDomainInsightsByAssessment Source #
Create a value of ListControlDomainInsightsByAssessment 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:ListControlDomainInsightsByAssessment', listControlDomainInsightsByAssessment_maxResults - Represents the maximum number of results on a page or for an API request
call.
ListControlDomainInsightsByAssessment, listControlDomainInsightsByAssessment_nextToken - The pagination token that's used to fetch the next set of results.
ListControlDomainInsightsByAssessment, listControlDomainInsightsByAssessment_assessmentId - The unique identifier for the active assessment.
Request Lenses
listControlDomainInsightsByAssessment_maxResults :: Lens' ListControlDomainInsightsByAssessment (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
listControlDomainInsightsByAssessment_nextToken :: Lens' ListControlDomainInsightsByAssessment (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listControlDomainInsightsByAssessment_assessmentId :: Lens' ListControlDomainInsightsByAssessment Text Source #
The unique identifier for the active assessment.
Destructuring the Response
data ListControlDomainInsightsByAssessmentResponse Source #
See: newListControlDomainInsightsByAssessmentResponse smart constructor.
Constructors
| ListControlDomainInsightsByAssessmentResponse' | |
Fields
| |
Instances
newListControlDomainInsightsByAssessmentResponse Source #
Arguments
| :: Int |
|
| -> ListControlDomainInsightsByAssessmentResponse |
Create a value of ListControlDomainInsightsByAssessmentResponse 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:controlDomainInsights:ListControlDomainInsightsByAssessmentResponse', listControlDomainInsightsByAssessmentResponse_controlDomainInsights - The control domain analytics data that the
ListControlDomainInsightsByAssessment API returned.
ListControlDomainInsightsByAssessment, listControlDomainInsightsByAssessmentResponse_nextToken - The pagination token that's used to fetch the next set of results.
$sel:httpStatus:ListControlDomainInsightsByAssessmentResponse', listControlDomainInsightsByAssessmentResponse_httpStatus - The response's http status code.
Response Lenses
listControlDomainInsightsByAssessmentResponse_controlDomainInsights :: Lens' ListControlDomainInsightsByAssessmentResponse (Maybe [ControlDomainInsights]) Source #
The control domain analytics data that the
ListControlDomainInsightsByAssessment API returned.
listControlDomainInsightsByAssessmentResponse_nextToken :: Lens' ListControlDomainInsightsByAssessmentResponse (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listControlDomainInsightsByAssessmentResponse_httpStatus :: Lens' ListControlDomainInsightsByAssessmentResponse Int Source #
The response's http status code.