update_trusted_entity_set
async
¶
update_trusted_entity_set(
detector_id: DetectorId,
trusted_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,
) -> 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/async_guard_duty.py
6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 | |