update_trusted_entity_set
¶
update_trusted_entity_set(
detector_id: DetectorId,
trusted_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,
) -> UpdateTrustedEntitySetResponse
Updates the trusted entity set associated with the specified trustedEntitySetId.
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. -
trusted_entity_set_id(String) –The ID returned by GuardDuty after updating the trusted 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 trusted 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
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 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 | |