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 |
Returns a list of malware scans. Each member account can view the malware scans for their own accounts. An administrator can view the malware scans for all the member accounts.
This operation returns paginated results.
Synopsis
- data DescribeMalwareScans = DescribeMalwareScans' {}
- newDescribeMalwareScans :: Text -> DescribeMalwareScans
- describeMalwareScans_filterCriteria :: Lens' DescribeMalwareScans (Maybe FilterCriteria)
- describeMalwareScans_maxResults :: Lens' DescribeMalwareScans (Maybe Natural)
- describeMalwareScans_nextToken :: Lens' DescribeMalwareScans (Maybe Text)
- describeMalwareScans_sortCriteria :: Lens' DescribeMalwareScans (Maybe SortCriteria)
- describeMalwareScans_detectorId :: Lens' DescribeMalwareScans Text
- data DescribeMalwareScansResponse = DescribeMalwareScansResponse' {}
- newDescribeMalwareScansResponse :: Int -> DescribeMalwareScansResponse
- describeMalwareScansResponse_nextToken :: Lens' DescribeMalwareScansResponse (Maybe Text)
- describeMalwareScansResponse_httpStatus :: Lens' DescribeMalwareScansResponse Int
- describeMalwareScansResponse_scans :: Lens' DescribeMalwareScansResponse [Scan]
Creating a Request
data DescribeMalwareScans Source #
See: newDescribeMalwareScans
smart constructor.
DescribeMalwareScans' | |
|
Instances
newDescribeMalwareScans Source #
Create a value of DescribeMalwareScans
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:filterCriteria:DescribeMalwareScans'
, describeMalwareScans_filterCriteria
- Represents the criteria to be used in the filter for describing scan
entries.
$sel:maxResults:DescribeMalwareScans'
, describeMalwareScans_maxResults
- You can use this parameter to indicate the maximum number of items that
you want in the response. The default value is 50. The maximum value is
50.
DescribeMalwareScans
, describeMalwareScans_nextToken
- You can use this parameter when paginating results. Set the value of
this parameter to null on your first call to the list action. For
subsequent calls to the action, fill nextToken in the request with the
value of NextToken from the previous response to continue listing data.
$sel:sortCriteria:DescribeMalwareScans'
, describeMalwareScans_sortCriteria
- Represents the criteria used for sorting scan entries.
DescribeMalwareScans
, describeMalwareScans_detectorId
- The unique ID of the detector that the request is associated with.
Request Lenses
describeMalwareScans_filterCriteria :: Lens' DescribeMalwareScans (Maybe FilterCriteria) Source #
Represents the criteria to be used in the filter for describing scan entries.
describeMalwareScans_maxResults :: Lens' DescribeMalwareScans (Maybe Natural) Source #
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.
describeMalwareScans_nextToken :: Lens' DescribeMalwareScans (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
describeMalwareScans_sortCriteria :: Lens' DescribeMalwareScans (Maybe SortCriteria) Source #
Represents the criteria used for sorting scan entries.
describeMalwareScans_detectorId :: Lens' DescribeMalwareScans Text Source #
The unique ID of the detector that the request is associated with.
Destructuring the Response
data DescribeMalwareScansResponse Source #
See: newDescribeMalwareScansResponse
smart constructor.
Instances
newDescribeMalwareScansResponse Source #
Create a value of DescribeMalwareScansResponse
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:
DescribeMalwareScans
, describeMalwareScansResponse_nextToken
- The pagination parameter to be used on the next list operation to
retrieve more items.
$sel:httpStatus:DescribeMalwareScansResponse'
, describeMalwareScansResponse_httpStatus
- The response's http status code.
$sel:scans:DescribeMalwareScansResponse'
, describeMalwareScansResponse_scans
- Contains information about malware scans.
Response Lenses
describeMalwareScansResponse_nextToken :: Lens' DescribeMalwareScansResponse (Maybe Text) Source #
The pagination parameter to be used on the next list operation to retrieve more items.
describeMalwareScansResponse_httpStatus :: Lens' DescribeMalwareScansResponse Int Source #
The response's http status code.
describeMalwareScansResponse_scans :: Lens' DescribeMalwareScansResponse [Scan] Source #
Contains information about malware scans.