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
4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 | |