| 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.GetMalwareScanSettings
Description
Returns the details of the malware scan settings.
Synopsis
- data GetMalwareScanSettings = GetMalwareScanSettings' {
- detectorId :: Text
- newGetMalwareScanSettings :: Text -> GetMalwareScanSettings
- getMalwareScanSettings_detectorId :: Lens' GetMalwareScanSettings Text
- data GetMalwareScanSettingsResponse = GetMalwareScanSettingsResponse' {}
- newGetMalwareScanSettingsResponse :: Int -> GetMalwareScanSettingsResponse
- getMalwareScanSettingsResponse_ebsSnapshotPreservation :: Lens' GetMalwareScanSettingsResponse (Maybe EbsSnapshotPreservation)
- getMalwareScanSettingsResponse_scanResourceCriteria :: Lens' GetMalwareScanSettingsResponse (Maybe ScanResourceCriteria)
- getMalwareScanSettingsResponse_httpStatus :: Lens' GetMalwareScanSettingsResponse Int
Creating a Request
data GetMalwareScanSettings Source #
See: newGetMalwareScanSettings smart constructor.
Constructors
| GetMalwareScanSettings' | |
Fields
| |
Instances
newGetMalwareScanSettings Source #
Arguments
| :: Text | |
| -> GetMalwareScanSettings |
Create a value of GetMalwareScanSettings 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:
GetMalwareScanSettings, getMalwareScanSettings_detectorId - The unique ID of the detector that the scan setting is associated with.
Request Lenses
getMalwareScanSettings_detectorId :: Lens' GetMalwareScanSettings Text Source #
The unique ID of the detector that the scan setting is associated with.
Destructuring the Response
data GetMalwareScanSettingsResponse Source #
See: newGetMalwareScanSettingsResponse smart constructor.
Constructors
| GetMalwareScanSettingsResponse' | |
Fields
| |
Instances
newGetMalwareScanSettingsResponse Source #
Create a value of GetMalwareScanSettingsResponse 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:GetMalwareScanSettingsResponse', getMalwareScanSettingsResponse_ebsSnapshotPreservation - An enum value representing possible snapshot preservation settings.
$sel:scanResourceCriteria:GetMalwareScanSettingsResponse', getMalwareScanSettingsResponse_scanResourceCriteria - Represents the criteria to be used in the filter for scanning resources.
$sel:httpStatus:GetMalwareScanSettingsResponse', getMalwareScanSettingsResponse_httpStatus - The response's http status code.
Response Lenses
getMalwareScanSettingsResponse_ebsSnapshotPreservation :: Lens' GetMalwareScanSettingsResponse (Maybe EbsSnapshotPreservation) Source #
An enum value representing possible snapshot preservation settings.
getMalwareScanSettingsResponse_scanResourceCriteria :: Lens' GetMalwareScanSettingsResponse (Maybe ScanResourceCriteria) Source #
Represents the criteria to be used in the filter for scanning resources.
getMalwareScanSettingsResponse_httpStatus :: Lens' GetMalwareScanSettingsResponse Int Source #
The response's http status code.