update_threat_entity_set
¶
update_threat_entity_set(
detector_id: DetectorId,
threat_entity_set_id: String,
*,
config_overrides: Optional[GuardDutyClientConfig] = None,
name: Optional[Name] = None,
location: Optional[Location] = None,
expected_bucket_owner: Optional[ExpectedBucketOwner] = None,
activate: Optional[Boolean] = None,
) -> UpdateThreatEntitySetResponse
Updates the threat entity set associated with the specified threatEntitySetId.
Parameters:
-
detector_id(DetectorId) –The unique ID of the GuardDuty detector associated with the threat entity set that you want to update.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
threat_entity_set_id(String) –The ID returned by GuardDuty after updating the threat entity set resource.
-
name(Optional[Name], default: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 (_).
-
location(Optional[Location], default:None) –The URI of the file that contains the trusted entity set.
-
expected_bucket_owner(Optional[ExpectedBucketOwner], default:None) –The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.
-
activate(Optional[Boolean], default: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.
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
6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 | |