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 |
Synopsis
- data Scan = Scan' {
- accountId :: Maybe Text
- adminDetectorId :: Maybe Text
- attachedVolumes :: Maybe [VolumeDetail]
- detectorId :: Maybe Text
- failureReason :: Maybe Text
- fileCount :: Maybe Natural
- resourceDetails :: Maybe ResourceDetails
- scanEndTime :: Maybe POSIX
- scanId :: Maybe Text
- scanResultDetails :: Maybe ScanResultDetails
- scanStartTime :: Maybe POSIX
- scanStatus :: Maybe ScanStatus
- totalBytes :: Maybe Natural
- triggerDetails :: Maybe TriggerDetails
- newScan :: Scan
- scan_accountId :: Lens' Scan (Maybe Text)
- scan_adminDetectorId :: Lens' Scan (Maybe Text)
- scan_attachedVolumes :: Lens' Scan (Maybe [VolumeDetail])
- scan_detectorId :: Lens' Scan (Maybe Text)
- scan_failureReason :: Lens' Scan (Maybe Text)
- scan_fileCount :: Lens' Scan (Maybe Natural)
- scan_resourceDetails :: Lens' Scan (Maybe ResourceDetails)
- scan_scanEndTime :: Lens' Scan (Maybe UTCTime)
- scan_scanId :: Lens' Scan (Maybe Text)
- scan_scanResultDetails :: Lens' Scan (Maybe ScanResultDetails)
- scan_scanStartTime :: Lens' Scan (Maybe UTCTime)
- scan_scanStatus :: Lens' Scan (Maybe ScanStatus)
- scan_totalBytes :: Lens' Scan (Maybe Natural)
- scan_triggerDetails :: Lens' Scan (Maybe TriggerDetails)
Documentation
Contains information about a malware scan.
See: newScan
smart constructor.
Scan' | |
|
Instances
Create a value of Scan
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:accountId:Scan'
, scan_accountId
- The ID for the account that belongs to the scan.
$sel:adminDetectorId:Scan'
, scan_adminDetectorId
- The unique detector ID of the administrator account that the request is
associated with. Note that this value will be the same as the one used
for DetectorId
if the account is an administrator.
$sel:attachedVolumes:Scan'
, scan_attachedVolumes
- List of volumes that were attached to the original instance to be
scanned.
$sel:detectorId:Scan'
, scan_detectorId
- The unique ID of the detector that the request is associated with.
$sel:failureReason:Scan'
, scan_failureReason
- Represents the reason for FAILED scan status.
$sel:fileCount:Scan'
, scan_fileCount
- Represents the number of files that were scanned.
$sel:resourceDetails:Scan'
, scan_resourceDetails
- Represents the resources that were scanned in the scan entry.
$sel:scanEndTime:Scan'
, scan_scanEndTime
- The timestamp of when the scan was finished.
$sel:scanId:Scan'
, scan_scanId
- The unique scan ID associated with a scan entry.
$sel:scanResultDetails:Scan'
, scan_scanResultDetails
- Represents the result of the scan.
$sel:scanStartTime:Scan'
, scan_scanStartTime
- The timestamp of when the scan was triggered.
$sel:scanStatus:Scan'
, scan_scanStatus
- An enum value representing possible scan statuses.
$sel:totalBytes:Scan'
, scan_totalBytes
- Represents total bytes that were scanned.
$sel:triggerDetails:Scan'
, scan_triggerDetails
- Specifies the reason why the scan was initiated.
scan_adminDetectorId :: Lens' Scan (Maybe Text) Source #
The unique detector ID of the administrator account that the request is
associated with. Note that this value will be the same as the one used
for DetectorId
if the account is an administrator.
scan_attachedVolumes :: Lens' Scan (Maybe [VolumeDetail]) Source #
List of volumes that were attached to the original instance to be scanned.
scan_detectorId :: Lens' Scan (Maybe Text) Source #
The unique ID of the detector that the request is associated with.
scan_fileCount :: Lens' Scan (Maybe Natural) Source #
Represents the number of files that were scanned.
scan_resourceDetails :: Lens' Scan (Maybe ResourceDetails) Source #
Represents the resources that were scanned in the scan entry.
scan_scanResultDetails :: Lens' Scan (Maybe ScanResultDetails) Source #
Represents the result of the scan.
scan_scanStartTime :: Lens' Scan (Maybe UTCTime) Source #
The timestamp of when the scan was triggered.
scan_scanStatus :: Lens' Scan (Maybe ScanStatus) Source #
An enum value representing possible scan statuses.
scan_triggerDetails :: Lens' Scan (Maybe TriggerDetails) Source #
Specifies the reason why the scan was initiated.