| 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 |
Amazonka.SecurityHub.UpdateFindings
Description
UpdateFindings is deprecated. Instead of UpdateFindings, use
BatchUpdateFindings.
Updates the Note and RecordState of the Security Hub-aggregated
findings that the filter attributes specify. Any member account that can
view the finding also sees the update to the finding.
Synopsis
- data UpdateFindings = UpdateFindings' {}
- newUpdateFindings :: AwsSecurityFindingFilters -> UpdateFindings
- updateFindings_recordState :: Lens' UpdateFindings (Maybe RecordState)
- updateFindings_note :: Lens' UpdateFindings (Maybe NoteUpdate)
- updateFindings_filters :: Lens' UpdateFindings AwsSecurityFindingFilters
- data UpdateFindingsResponse = UpdateFindingsResponse' {
- httpStatus :: Int
- newUpdateFindingsResponse :: Int -> UpdateFindingsResponse
- updateFindingsResponse_httpStatus :: Lens' UpdateFindingsResponse Int
Creating a Request
data UpdateFindings Source #
See: newUpdateFindings smart constructor.
Constructors
| UpdateFindings' | |
Fields
| |
Instances
Create a value of UpdateFindings 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:recordState:UpdateFindings', updateFindings_recordState - The updated record state for the finding.
$sel:note:UpdateFindings', updateFindings_note - The updated note for the finding.
$sel:filters:UpdateFindings', updateFindings_filters - A collection of attributes that specify which findings you want to
update.
Request Lenses
updateFindings_recordState :: Lens' UpdateFindings (Maybe RecordState) Source #
The updated record state for the finding.
updateFindings_note :: Lens' UpdateFindings (Maybe NoteUpdate) Source #
The updated note for the finding.
updateFindings_filters :: Lens' UpdateFindings AwsSecurityFindingFilters Source #
A collection of attributes that specify which findings you want to update.
Destructuring the Response
data UpdateFindingsResponse Source #
See: newUpdateFindingsResponse smart constructor.
Constructors
| UpdateFindingsResponse' | |
Fields
| |
Instances
newUpdateFindingsResponse Source #
Create a value of UpdateFindingsResponse 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:UpdateFindingsResponse', updateFindingsResponse_httpStatus - The response's http status code.
Response Lenses
updateFindingsResponse_httpStatus :: Lens' UpdateFindingsResponse Int Source #
The response's http status code.