list_members
(**kwargs)¶Lists details about all member accounts for the current GuardDuty administrator account.
See also: AWS API Documentation
Request Syntax
response = client.list_members(
DetectorId='string',
MaxResults=123,
NextToken='string',
OnlyAssociated='string'
)
[REQUIRED]
The unique ID of the detector the member is associated with.
dict
Response Syntax
{
'Members': [
{
'AccountId': 'string',
'DetectorId': 'string',
'MasterId': 'string',
'Email': 'string',
'RelationshipStatus': 'string',
'InvitedAt': 'string',
'UpdatedAt': 'string',
'AdministratorId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Members (list) --
A list of members.
(dict) --
Contains information about the member account.
AccountId (string) --
The ID of the member account.
DetectorId (string) --
The detector ID of the member account.
MasterId (string) --
The administrator account ID.
Email (string) --
The email address of the member account.
RelationshipStatus (string) --
The status of the relationship between the member and the administrator.
InvitedAt (string) --
The timestamp when the invitation was sent.
UpdatedAt (string) --
The last-updated timestamp of the member.
AdministratorId (string) --
The administrator account ID.
NextToken (string) --
The pagination parameter to be used on the next list operation to retrieve more items.
Exceptions
GuardDuty.Client.exceptions.BadRequestException
GuardDuty.Client.exceptions.InternalServerErrorException