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 |
Unarchives GuardDuty findings specified by the findingIds
.
Synopsis
- data UnarchiveFindings = UnarchiveFindings' {
- detectorId :: Text
- findingIds :: [Text]
- newUnarchiveFindings :: Text -> UnarchiveFindings
- unarchiveFindings_detectorId :: Lens' UnarchiveFindings Text
- unarchiveFindings_findingIds :: Lens' UnarchiveFindings [Text]
- data UnarchiveFindingsResponse = UnarchiveFindingsResponse' {
- httpStatus :: Int
- newUnarchiveFindingsResponse :: Int -> UnarchiveFindingsResponse
- unarchiveFindingsResponse_httpStatus :: Lens' UnarchiveFindingsResponse Int
Creating a Request
data UnarchiveFindings Source #
See: newUnarchiveFindings
smart constructor.
UnarchiveFindings' | |
|
Instances
Create a value of UnarchiveFindings
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:detectorId:UnarchiveFindings'
, unarchiveFindings_detectorId
- The ID of the detector associated with the findings to unarchive.
$sel:findingIds:UnarchiveFindings'
, unarchiveFindings_findingIds
- The IDs of the findings to unarchive.
Request Lenses
unarchiveFindings_detectorId :: Lens' UnarchiveFindings Text Source #
The ID of the detector associated with the findings to unarchive.
unarchiveFindings_findingIds :: Lens' UnarchiveFindings [Text] Source #
The IDs of the findings to unarchive.
Destructuring the Response
data UnarchiveFindingsResponse Source #
See: newUnarchiveFindingsResponse
smart constructor.
UnarchiveFindingsResponse' | |
|
Instances
newUnarchiveFindingsResponse Source #
Create a value of UnarchiveFindingsResponse
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:UnarchiveFindingsResponse'
, unarchiveFindingsResponse_httpStatus
- The response's http status code.
Response Lenses
unarchiveFindingsResponse_httpStatus :: Lens' UnarchiveFindingsResponse Int Source #
The response's http status code.