| 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.UpdateMalwareScanSettings
Description
Updates the malware scan settings.
Synopsis
- data UpdateMalwareScanSettings = UpdateMalwareScanSettings' {}
- newUpdateMalwareScanSettings :: Text -> UpdateMalwareScanSettings
- updateMalwareScanSettings_ebsSnapshotPreservation :: Lens' UpdateMalwareScanSettings (Maybe EbsSnapshotPreservation)
- updateMalwareScanSettings_scanResourceCriteria :: Lens' UpdateMalwareScanSettings (Maybe ScanResourceCriteria)
- updateMalwareScanSettings_detectorId :: Lens' UpdateMalwareScanSettings Text
- data UpdateMalwareScanSettingsResponse = UpdateMalwareScanSettingsResponse' {
- httpStatus :: Int
- newUpdateMalwareScanSettingsResponse :: Int -> UpdateMalwareScanSettingsResponse
- updateMalwareScanSettingsResponse_httpStatus :: Lens' UpdateMalwareScanSettingsResponse Int
Creating a Request
data UpdateMalwareScanSettings Source #
See: newUpdateMalwareScanSettings smart constructor.
Constructors
| UpdateMalwareScanSettings' | |
Fields
| |
Instances
newUpdateMalwareScanSettings Source #
Arguments
| :: Text | |
| -> UpdateMalwareScanSettings |
Create a value of UpdateMalwareScanSettings 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:ebsSnapshotPreservation:UpdateMalwareScanSettings', updateMalwareScanSettings_ebsSnapshotPreservation - An enum value representing possible snapshot preservation settings.
$sel:scanResourceCriteria:UpdateMalwareScanSettings', updateMalwareScanSettings_scanResourceCriteria - Represents the criteria to be used in the filter for selecting resources
to scan.
UpdateMalwareScanSettings, updateMalwareScanSettings_detectorId - The unique ID of the detector that specifies the GuardDuty service where
you want to update scan settings.
Request Lenses
updateMalwareScanSettings_ebsSnapshotPreservation :: Lens' UpdateMalwareScanSettings (Maybe EbsSnapshotPreservation) Source #
An enum value representing possible snapshot preservation settings.
updateMalwareScanSettings_scanResourceCriteria :: Lens' UpdateMalwareScanSettings (Maybe ScanResourceCriteria) Source #
Represents the criteria to be used in the filter for selecting resources to scan.
updateMalwareScanSettings_detectorId :: Lens' UpdateMalwareScanSettings Text Source #
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
Destructuring the Response
data UpdateMalwareScanSettingsResponse Source #
See: newUpdateMalwareScanSettingsResponse smart constructor.
Constructors
| UpdateMalwareScanSettingsResponse' | |
Fields
| |
Instances
newUpdateMalwareScanSettingsResponse Source #
Arguments
| :: Int | |
| -> UpdateMalwareScanSettingsResponse |
Create a value of UpdateMalwareScanSettingsResponse 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:UpdateMalwareScanSettingsResponse', updateMalwareScanSettingsResponse_httpStatus - The response's http status code.
Response Lenses
updateMalwareScanSettingsResponse_httpStatus :: Lens' UpdateMalwareScanSettingsResponse Int Source #
The response's http status code.