list_malware_scans
async
¶
list_malware_scans(
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[String] = None,
filter_criteria: Optional[ListMalwareScansFilterCriteria] = None,
sort_criteria: Optional[SortCriteria] = None,
) -> ListMalwareScansResponse
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 of its members' accounts.
Parameters:
-
max_results(Optional[MaxResults], default:None) –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.
-
next_token(Optional[String], default:None) –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 results.
-
filter_criteria(Optional[ListMalwareScansFilterCriteria], default:None) –Represents the criteria used to filter the malware scan entries.
-
sort_criteria(Optional[SortCriteria], default:None) –Represents the criteria used for sorting malware scan entries.
Raises:
-
BadRequestException–A bad request exception object.
-
InternalServerErrorException–An internal server error exception object.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_guardduty/_services/async_guard_duty.py
5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 | |