list_coverage
async
¶
list_coverage(
detector_id: DetectorId,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
filter_criteria: Optional[CoverageFilterCriteria] = None,
sort_criteria: Optional[CoverageSortCriteria] = None,
) -> ListCoverageResponse
Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization.
Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources.
Parameters:
-
detector_id(DetectorId) –The unique ID of the detector whose coverage details you want to retrieve.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
next_token(Optional[String], default:None) –A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
-
filter_criteria(Optional[CoverageFilterCriteria], default:None) –Represents the criteria used to filter the coverage details.
-
sort_criteria(Optional[CoverageSortCriteria], default:None) –Represents the criteria used to sort the coverage details.
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
3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 | |