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 |
Returns a list of insights associated with the account or OU Id.
This operation returns paginated results.
Synopsis
- data ListOrganizationInsights = ListOrganizationInsights' {}
- newListOrganizationInsights :: ListInsightsStatusFilter -> ListOrganizationInsights
- listOrganizationInsights_accountIds :: Lens' ListOrganizationInsights (Maybe [Text])
- listOrganizationInsights_maxResults :: Lens' ListOrganizationInsights (Maybe Natural)
- listOrganizationInsights_nextToken :: Lens' ListOrganizationInsights (Maybe Text)
- listOrganizationInsights_organizationalUnitIds :: Lens' ListOrganizationInsights (Maybe [Text])
- listOrganizationInsights_statusFilter :: Lens' ListOrganizationInsights ListInsightsStatusFilter
- data ListOrganizationInsightsResponse = ListOrganizationInsightsResponse' {}
- newListOrganizationInsightsResponse :: Int -> ListOrganizationInsightsResponse
- listOrganizationInsightsResponse_nextToken :: Lens' ListOrganizationInsightsResponse (Maybe Text)
- listOrganizationInsightsResponse_proactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ProactiveOrganizationInsightSummary])
- listOrganizationInsightsResponse_reactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ReactiveOrganizationInsightSummary])
- listOrganizationInsightsResponse_httpStatus :: Lens' ListOrganizationInsightsResponse Int
Creating a Request
data ListOrganizationInsights Source #
See: newListOrganizationInsights
smart constructor.
ListOrganizationInsights' | |
|
Instances
newListOrganizationInsights Source #
Create a value of ListOrganizationInsights
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:accountIds:ListOrganizationInsights'
, listOrganizationInsights_accountIds
- The ID of the Amazon Web Services account.
$sel:maxResults:ListOrganizationInsights'
, listOrganizationInsights_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
ListOrganizationInsights
, listOrganizationInsights_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:organizationalUnitIds:ListOrganizationInsights'
, listOrganizationInsights_organizationalUnitIds
- The ID of the organizational unit.
$sel:statusFilter:ListOrganizationInsights'
, listOrganizationInsights_statusFilter
- Undocumented member.
Request Lenses
listOrganizationInsights_accountIds :: Lens' ListOrganizationInsights (Maybe [Text]) Source #
The ID of the Amazon Web Services account.
listOrganizationInsights_maxResults :: Lens' ListOrganizationInsights (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listOrganizationInsights_nextToken :: Lens' ListOrganizationInsights (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
listOrganizationInsights_organizationalUnitIds :: Lens' ListOrganizationInsights (Maybe [Text]) Source #
The ID of the organizational unit.
listOrganizationInsights_statusFilter :: Lens' ListOrganizationInsights ListInsightsStatusFilter Source #
Undocumented member.
Destructuring the Response
data ListOrganizationInsightsResponse Source #
See: newListOrganizationInsightsResponse
smart constructor.
ListOrganizationInsightsResponse' | |
|
Instances
newListOrganizationInsightsResponse Source #
Create a value of ListOrganizationInsightsResponse
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:
ListOrganizationInsights
, listOrganizationInsightsResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:proactiveInsights:ListOrganizationInsightsResponse'
, listOrganizationInsightsResponse_proactiveInsights
- An integer that specifies the number of open proactive insights in your
Amazon Web Services account.
$sel:reactiveInsights:ListOrganizationInsightsResponse'
, listOrganizationInsightsResponse_reactiveInsights
- An integer that specifies the number of open reactive insights in your
Amazon Web Services account.
$sel:httpStatus:ListOrganizationInsightsResponse'
, listOrganizationInsightsResponse_httpStatus
- The response's http status code.
Response Lenses
listOrganizationInsightsResponse_nextToken :: Lens' ListOrganizationInsightsResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
listOrganizationInsightsResponse_proactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ProactiveOrganizationInsightSummary]) Source #
An integer that specifies the number of open proactive insights in your Amazon Web Services account.
listOrganizationInsightsResponse_reactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ReactiveOrganizationInsightSummary]) Source #
An integer that specifies the number of open reactive insights in your Amazon Web Services account.
listOrganizationInsightsResponse_httpStatus :: Lens' ListOrganizationInsightsResponse Int Source #
The response's http status code.