Skip to content

Guardduty  >  Operations  >  list_trusted_entity_sets

list_trusted_entity_sets

Operation

list_trusted_entity_sets async

list_trusted_entity_sets(input: ListTrustedEntitySetsInput, plugins: list[Plugin] | None = None) -> ListTrustedEntitySetsOutput

Lists the trusted entity sets associated with the specified GuardDuty detector ID. If you use this operation from a member account, the trusted entity sets that are returned as a response, belong to the administrator account.

Parameters:

Name Type Description Default
input ListTrustedEntitySetsInput

An instance of ListTrustedEntitySetsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListTrustedEntitySetsOutput

An instance of ListTrustedEntitySetsOutput.

Input

ListTrustedEntitySetsInput dataclass

Dataclass for ListTrustedEntitySetsInput structure.

Attributes

detector_id class-attribute instance-attribute
detector_id: str | None = None

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.

max_results class-attribute instance-attribute
max_results: int | None = None

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50.

next_token class-attribute instance-attribute
next_token: str | None = 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.

Output

ListTrustedEntitySetsOutput dataclass

Dataclass for ListTrustedEntitySetsOutput structure.

Attributes

next_token class-attribute instance-attribute
next_token: str | None = None

The pagination parameter to be used on the next list operation to retrieve more items.

trusted_entity_set_ids class-attribute instance-attribute
trusted_entity_set_ids: list[str] | None = None

The IDs of the trusted entity set resources.