list_members
¶
list_members(
detector_id: DetectorId,
*,
config_overrides: Optional[GuardDutyClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[String] = None,
only_associated: Optional[String] = None,
) -> ListMembersResponse
Lists details about all member accounts for the current GuardDuty administrator account.
Parameters:
-
detector_id(DetectorId) –The unique ID of the detector that is associated with the member.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
max_results(Optional[MaxResults], default:None) –You can use this parameter to indicate the maximum number of items 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 data.
-
only_associated(Optional[String], default:None) –Specifies whether to only return associated members or to return all members (including members who haven't been invited yet or have been disassociated). Member accounts must have been previously associated with the GuardDuty administrator account using
Create Members.
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
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 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 | |