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 |
Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and the start time when the audit that returned the finding.
Requires permission to access the DescribeAuditFinding action.
Synopsis
- data DescribeAuditFinding = DescribeAuditFinding' {}
- newDescribeAuditFinding :: Text -> DescribeAuditFinding
- describeAuditFinding_findingId :: Lens' DescribeAuditFinding Text
- data DescribeAuditFindingResponse = DescribeAuditFindingResponse' {}
- newDescribeAuditFindingResponse :: Int -> DescribeAuditFindingResponse
- describeAuditFindingResponse_finding :: Lens' DescribeAuditFindingResponse (Maybe AuditFinding)
- describeAuditFindingResponse_httpStatus :: Lens' DescribeAuditFindingResponse Int
Creating a Request
data DescribeAuditFinding Source #
See: newDescribeAuditFinding
smart constructor.
Instances
newDescribeAuditFinding Source #
Create a value of DescribeAuditFinding
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:findingId:DescribeAuditFinding'
, describeAuditFinding_findingId
- A unique identifier for a single audit finding. You can use this
identifier to apply mitigation actions to the finding.
Request Lenses
describeAuditFinding_findingId :: Lens' DescribeAuditFinding Text Source #
A unique identifier for a single audit finding. You can use this identifier to apply mitigation actions to the finding.
Destructuring the Response
data DescribeAuditFindingResponse Source #
See: newDescribeAuditFindingResponse
smart constructor.
DescribeAuditFindingResponse' | |
|
Instances
newDescribeAuditFindingResponse Source #
Create a value of DescribeAuditFindingResponse
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:DescribeAuditFindingResponse'
, describeAuditFindingResponse_finding
- Undocumented member.
$sel:httpStatus:DescribeAuditFindingResponse'
, describeAuditFindingResponse_httpStatus
- The response's http status code.
Response Lenses
describeAuditFindingResponse_finding :: Lens' DescribeAuditFindingResponse (Maybe AuditFinding) Source #
Undocumented member.
describeAuditFindingResponse_httpStatus :: Lens' DescribeAuditFindingResponse Int Source #
The response's http status code.