| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.ListFindingAggregators
Description
If finding aggregation is enabled, then ListFindingAggregators returns
the ARN of the finding aggregator. You can run this operation from any
Region.
This operation returns paginated results.
Synopsis
- data ListFindingAggregators = ListFindingAggregators' {}
- newListFindingAggregators :: ListFindingAggregators
- listFindingAggregators_nextToken :: Lens' ListFindingAggregators (Maybe Text)
- listFindingAggregators_maxResults :: Lens' ListFindingAggregators (Maybe Natural)
- data ListFindingAggregatorsResponse = ListFindingAggregatorsResponse' {}
- newListFindingAggregatorsResponse :: Int -> ListFindingAggregatorsResponse
- listFindingAggregatorsResponse_nextToken :: Lens' ListFindingAggregatorsResponse (Maybe Text)
- listFindingAggregatorsResponse_findingAggregators :: Lens' ListFindingAggregatorsResponse (Maybe [FindingAggregator])
- listFindingAggregatorsResponse_httpStatus :: Lens' ListFindingAggregatorsResponse Int
Creating a Request
data ListFindingAggregators Source #
See: newListFindingAggregators smart constructor.
Constructors
| ListFindingAggregators' | |
Instances
newListFindingAggregators :: ListFindingAggregators Source #
Create a value of ListFindingAggregators 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:nextToken:ListFindingAggregators', listFindingAggregators_nextToken - The token returned with the previous set of results. Identifies the next
set of results to return.
$sel:maxResults:ListFindingAggregators', listFindingAggregators_maxResults - The maximum number of results to return. This operation currently only
returns a single result.
Request Lenses
listFindingAggregators_nextToken :: Lens' ListFindingAggregators (Maybe Text) Source #
The token returned with the previous set of results. Identifies the next set of results to return.
listFindingAggregators_maxResults :: Lens' ListFindingAggregators (Maybe Natural) Source #
The maximum number of results to return. This operation currently only returns a single result.
Destructuring the Response
data ListFindingAggregatorsResponse Source #
See: newListFindingAggregatorsResponse smart constructor.
Constructors
| ListFindingAggregatorsResponse' | |
Fields
| |
Instances
newListFindingAggregatorsResponse Source #
Create a value of ListFindingAggregatorsResponse 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:nextToken:ListFindingAggregators', listFindingAggregatorsResponse_nextToken - If there are more results, this is the token to provide in the next call
to ListFindingAggregators.
This operation currently only returns a single result.
$sel:findingAggregators:ListFindingAggregatorsResponse', listFindingAggregatorsResponse_findingAggregators - The list of finding aggregators. This operation currently only returns a
single result.
$sel:httpStatus:ListFindingAggregatorsResponse', listFindingAggregatorsResponse_httpStatus - The response's http status code.
Response Lenses
listFindingAggregatorsResponse_nextToken :: Lens' ListFindingAggregatorsResponse (Maybe Text) Source #
If there are more results, this is the token to provide in the next call
to ListFindingAggregators.
This operation currently only returns a single result.
listFindingAggregatorsResponse_findingAggregators :: Lens' ListFindingAggregatorsResponse (Maybe [FindingAggregator]) Source #
The list of finding aggregators. This operation currently only returns a single result.
listFindingAggregatorsResponse_httpStatus :: Lens' ListFindingAggregatorsResponse Int Source #
The response's http status code.