| 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 |
Amazonka.AccessAnalyzer.GetFinding
Description
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.
Constructors
| GetFinding' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetFinding |
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:
GetFinding, getFinding_analyzerArn - The
ARN of the analyzer
that generated the finding.
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.
Constructors
| GetFindingResponse' | |
Fields
| |
Instances
newGetFindingResponse Source #
Arguments
| :: Int | |
| -> GetFindingResponse |
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.