| 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.GetFindingAggregator
Description
Returns the current finding aggregation configuration.
Synopsis
- data GetFindingAggregator = GetFindingAggregator' {}
- newGetFindingAggregator :: Text -> GetFindingAggregator
- getFindingAggregator_findingAggregatorArn :: Lens' GetFindingAggregator Text
- data GetFindingAggregatorResponse = GetFindingAggregatorResponse' {}
- newGetFindingAggregatorResponse :: Int -> GetFindingAggregatorResponse
- getFindingAggregatorResponse_regions :: Lens' GetFindingAggregatorResponse (Maybe [Text])
- getFindingAggregatorResponse_findingAggregatorArn :: Lens' GetFindingAggregatorResponse (Maybe Text)
- getFindingAggregatorResponse_regionLinkingMode :: Lens' GetFindingAggregatorResponse (Maybe Text)
- getFindingAggregatorResponse_findingAggregationRegion :: Lens' GetFindingAggregatorResponse (Maybe Text)
- getFindingAggregatorResponse_httpStatus :: Lens' GetFindingAggregatorResponse Int
Creating a Request
data GetFindingAggregator Source #
See: newGetFindingAggregator smart constructor.
Constructors
| GetFindingAggregator' | |
Fields
| |
Instances
newGetFindingAggregator Source #
Create a value of GetFindingAggregator 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:findingAggregatorArn:GetFindingAggregator', getFindingAggregator_findingAggregatorArn - The ARN of the finding aggregator to return details for. To obtain the
ARN, use ListFindingAggregators.
Request Lenses
getFindingAggregator_findingAggregatorArn :: Lens' GetFindingAggregator Text Source #
The ARN of the finding aggregator to return details for. To obtain the
ARN, use ListFindingAggregators.
Destructuring the Response
data GetFindingAggregatorResponse Source #
See: newGetFindingAggregatorResponse smart constructor.
Constructors
| GetFindingAggregatorResponse' | |
Fields
| |
Instances
newGetFindingAggregatorResponse Source #
Create a value of GetFindingAggregatorResponse 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:regions:GetFindingAggregatorResponse', getFindingAggregatorResponse_regions - The list of excluded Regions or included Regions.
$sel:findingAggregatorArn:GetFindingAggregator', getFindingAggregatorResponse_findingAggregatorArn - The ARN of the finding aggregator.
$sel:regionLinkingMode:GetFindingAggregatorResponse', getFindingAggregatorResponse_regionLinkingMode - Indicates whether to link all Regions, all Regions except for a list of
excluded Regions, or a list of included Regions.
$sel:findingAggregationRegion:GetFindingAggregatorResponse', getFindingAggregatorResponse_findingAggregationRegion - The aggregation Region.
$sel:httpStatus:GetFindingAggregatorResponse', getFindingAggregatorResponse_httpStatus - The response's http status code.
Response Lenses
getFindingAggregatorResponse_regions :: Lens' GetFindingAggregatorResponse (Maybe [Text]) Source #
The list of excluded Regions or included Regions.
getFindingAggregatorResponse_findingAggregatorArn :: Lens' GetFindingAggregatorResponse (Maybe Text) Source #
The ARN of the finding aggregator.
getFindingAggregatorResponse_regionLinkingMode :: Lens' GetFindingAggregatorResponse (Maybe Text) Source #
Indicates whether to link all Regions, all Regions except for a list of excluded Regions, or a list of included Regions.
getFindingAggregatorResponse_findingAggregationRegion :: Lens' GetFindingAggregatorResponse (Maybe Text) Source #
The aggregation Region.
getFindingAggregatorResponse_httpStatus :: Lens' GetFindingAggregatorResponse Int Source #
The response's http status code.