GuardDuty / Client / list_threat_entity_sets
list_threat_entity_sets¶
- GuardDuty.Client.list_threat_entity_sets(**kwargs)¶
Lists the threat entity sets associated with the specified GuardDuty detector ID. If you use this operation from a member account, the threat entity sets that are returned as a response, belong to the administrator account.
See also: AWS API Documentation
Request Syntax
response = client.list_threat_entity_sets( DetectorId='string', MaxResults=123, NextToken='string' )
- Parameters:
DetectorId (string) –
[REQUIRED]
The unique ID of the GuardDuty detector that is associated with this threat entity set.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.MaxResults (integer) – You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50.
NextToken (string) – 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.
- Return type:
dict
- Returns:
Response Syntax
{ 'ThreatEntitySetIds': [ 'string', ], 'NextToken': 'string' }
Response Structure
(dict) –
ThreatEntitySetIds (list) –
The IDs of the threat entity set resources.
(string) –
NextToken (string) –
The pagination parameter to be used on the next list operation to retrieve more items.
Exceptions