Skip to content

Guardduty  >  Operations  >  update_threat_entity_set

update_threat_entity_set

Operation

update_threat_entity_set async

update_threat_entity_set(input: UpdateThreatEntitySetInput, plugins: list[Plugin] | None = None) -> UpdateThreatEntitySetOutput

Updates the threat entity set associated with the specified threatEntitySetId.

Parameters:

Name Type Description Default
input UpdateThreatEntitySetInput

An instance of UpdateThreatEntitySetInput.

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
UpdateThreatEntitySetOutput

An instance of UpdateThreatEntitySetOutput.

Input

UpdateThreatEntitySetInput dataclass

Dataclass for UpdateThreatEntitySetInput structure.

Attributes

activate class-attribute instance-attribute
activate: bool | None = None

A boolean value that indicates whether GuardDuty is to start using this updated threat entity set. After you update an entity set, you will need to activate it again. It might take up to 15 minutes for the updated entity set to be effective.

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

The unique ID of the GuardDuty detector associated with the threat entity set that you want to update.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

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

The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.

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

The URI of the file that contains the trusted entity set.

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

A user-friendly name to identify the trusted entity set.

The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).

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

The ID returned by GuardDuty after updating the threat entity set resource.

Output

UpdateThreatEntitySetOutput dataclass

Dataclass for UpdateThreatEntitySetOutput structure.