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 |
Lists the latest analytics data for controls within a specific control domain across all active assessments.
Control insights are listed only if the control belongs to the control
domain that was specified and the control collected evidence on the
lastUpdated
date of controlInsightsMetadata
. If neither of these
conditions are met, no data is listed for that control.
Synopsis
- data ListControlInsightsByControlDomain = ListControlInsightsByControlDomain' {}
- newListControlInsightsByControlDomain :: Text -> ListControlInsightsByControlDomain
- listControlInsightsByControlDomain_maxResults :: Lens' ListControlInsightsByControlDomain (Maybe Natural)
- listControlInsightsByControlDomain_nextToken :: Lens' ListControlInsightsByControlDomain (Maybe Text)
- listControlInsightsByControlDomain_controlDomainId :: Lens' ListControlInsightsByControlDomain Text
- data ListControlInsightsByControlDomainResponse = ListControlInsightsByControlDomainResponse' {}
- newListControlInsightsByControlDomainResponse :: Int -> ListControlInsightsByControlDomainResponse
- listControlInsightsByControlDomainResponse_controlInsightsMetadata :: Lens' ListControlInsightsByControlDomainResponse (Maybe [ControlInsightsMetadataItem])
- listControlInsightsByControlDomainResponse_nextToken :: Lens' ListControlInsightsByControlDomainResponse (Maybe Text)
- listControlInsightsByControlDomainResponse_httpStatus :: Lens' ListControlInsightsByControlDomainResponse Int
Creating a Request
data ListControlInsightsByControlDomain Source #
See: newListControlInsightsByControlDomain
smart constructor.
ListControlInsightsByControlDomain' | |
|
Instances
newListControlInsightsByControlDomain Source #
Create a value of ListControlInsightsByControlDomain
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:ListControlInsightsByControlDomain'
, listControlInsightsByControlDomain_maxResults
- Represents the maximum number of results on a page or for an API request
call.
ListControlInsightsByControlDomain
, listControlInsightsByControlDomain_nextToken
- The pagination token that's used to fetch the next set of results.
$sel:controlDomainId:ListControlInsightsByControlDomain'
, listControlInsightsByControlDomain_controlDomainId
- The unique identifier for the control domain.
Request Lenses
listControlInsightsByControlDomain_maxResults :: Lens' ListControlInsightsByControlDomain (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
listControlInsightsByControlDomain_nextToken :: Lens' ListControlInsightsByControlDomain (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listControlInsightsByControlDomain_controlDomainId :: Lens' ListControlInsightsByControlDomain Text Source #
The unique identifier for the control domain.
Destructuring the Response
data ListControlInsightsByControlDomainResponse Source #
See: newListControlInsightsByControlDomainResponse
smart constructor.
ListControlInsightsByControlDomainResponse' | |
|
Instances
newListControlInsightsByControlDomainResponse Source #
Create a value of ListControlInsightsByControlDomainResponse
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:controlInsightsMetadata:ListControlInsightsByControlDomainResponse'
, listControlInsightsByControlDomainResponse_controlInsightsMetadata
- The control analytics data that the ListControlInsightsByControlDomain
API returned.
ListControlInsightsByControlDomain
, listControlInsightsByControlDomainResponse_nextToken
- The pagination token that's used to fetch the next set of results.
$sel:httpStatus:ListControlInsightsByControlDomainResponse'
, listControlInsightsByControlDomainResponse_httpStatus
- The response's http status code.
Response Lenses
listControlInsightsByControlDomainResponse_controlInsightsMetadata :: Lens' ListControlInsightsByControlDomainResponse (Maybe [ControlInsightsMetadataItem]) Source #
The control analytics data that the ListControlInsightsByControlDomain
API returned.
listControlInsightsByControlDomainResponse_nextToken :: Lens' ListControlInsightsByControlDomainResponse (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listControlInsightsByControlDomainResponse_httpStatus :: Lens' ListControlInsightsByControlDomainResponse Int Source #
The response's http status code.