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 |
Retrieves information about the specified finding.
Synopsis
- data GetFinding = GetFinding' {
- analyzerArn :: Text
- id :: Text
- newGetFinding :: Text -> Text -> GetFinding
- getFinding_analyzerArn :: Lens' GetFinding Text
- getFinding_id :: Lens' GetFinding Text
- data GetFindingResponse = GetFindingResponse' {
- finding :: Maybe Finding
- httpStatus :: Int
- newGetFindingResponse :: Int -> GetFindingResponse
- getFindingResponse_finding :: Lens' GetFindingResponse (Maybe Finding)
- getFindingResponse_httpStatus :: Lens' GetFindingResponse Int
Creating a Request
data GetFinding Source #
Retrieves a finding.
See: newGetFinding
smart constructor.
GetFinding' | |
|
Instances
Create a value of GetFinding
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:analyzerArn:GetFinding'
, getFinding_analyzerArn
- The
ARN of the analyzer
that generated the finding.
$sel:id:GetFinding'
, getFinding_id
- The ID of the finding to retrieve.
Request Lenses
getFinding_analyzerArn :: Lens' GetFinding Text Source #
The ARN of the analyzer that generated the finding.
getFinding_id :: Lens' GetFinding Text Source #
The ID of the finding to retrieve.
Destructuring the Response
data GetFindingResponse Source #
The response to the request.
See: newGetFindingResponse
smart constructor.
GetFindingResponse' | |
|
Instances
newGetFindingResponse Source #
Create a value of GetFindingResponse
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:finding:GetFindingResponse'
, getFindingResponse_finding
- A finding
object that contains finding details.
$sel:httpStatus:GetFindingResponse'
, getFindingResponse_httpStatus
- The response's http status code.
Response Lenses
getFindingResponse_finding :: Lens' GetFindingResponse (Maybe Finding) Source #
A finding
object that contains finding details.
getFindingResponse_httpStatus :: Lens' GetFindingResponse Int Source #
The response's http status code.