list_malware_scans
¶
list_malware_scans(
*,
config_overrides: Optional[GuardDutyClientConfig] = 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/guard_duty.py
4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 | |