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 |
Lists the results of the Security Hub insight specified by the insight ARN.
Synopsis
- data GetInsightResults = GetInsightResults' {
- insightArn :: Text
- newGetInsightResults :: Text -> GetInsightResults
- getInsightResults_insightArn :: Lens' GetInsightResults Text
- data GetInsightResultsResponse = GetInsightResultsResponse' {}
- newGetInsightResultsResponse :: Int -> InsightResults -> GetInsightResultsResponse
- getInsightResultsResponse_httpStatus :: Lens' GetInsightResultsResponse Int
- getInsightResultsResponse_insightResults :: Lens' GetInsightResultsResponse InsightResults
Creating a Request
data GetInsightResults Source #
See: newGetInsightResults
smart constructor.
GetInsightResults' | |
|
Instances
Create a value of GetInsightResults
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:insightArn:GetInsightResults'
, getInsightResults_insightArn
- The ARN of the insight for which to return results.
Request Lenses
getInsightResults_insightArn :: Lens' GetInsightResults Text Source #
The ARN of the insight for which to return results.
Destructuring the Response
data GetInsightResultsResponse Source #
See: newGetInsightResultsResponse
smart constructor.
GetInsightResultsResponse' | |
|
Instances
newGetInsightResultsResponse Source #
Create a value of GetInsightResultsResponse
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:httpStatus:GetInsightResultsResponse'
, getInsightResultsResponse_httpStatus
- The response's http status code.
$sel:insightResults:GetInsightResultsResponse'
, getInsightResultsResponse_insightResults
- The insight results returned by the operation.
Response Lenses
getInsightResultsResponse_httpStatus :: Lens' GetInsightResultsResponse Int Source #
The response's http status code.
getInsightResultsResponse_insightResults :: Lens' GetInsightResultsResponse InsightResults Source #
The insight results returned by the operation.