| 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.GuardDuty.UnarchiveFindings
Description
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.
Constructors
| UnarchiveFindings' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UnarchiveFindings |
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:
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.
Constructors
| UnarchiveFindingsResponse' | |
Fields
| |
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.