update_threat_entity_set
async
¶
update_threat_entity_set(
detector_id: DetectorId,
threat_entity_set_id: String,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = 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/async_guard_duty.py
6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 | |