update_threat_intel_set
¶
update_threat_intel_set(
detector_id: DetectorId,
threat_intel_set_id: String,
*,
config_overrides: Optional[GuardDutyClientConfig] = None,
name: Optional[Name] = None,
location: Optional[Location] = None,
activate: Optional[Boolean] = None,
expected_bucket_owner: Optional[AccountId] = None,
) -> UpdateThreatIntelSetResponse
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
Parameters:
-
detector_id(DetectorId) –The detectorID that specifies the GuardDuty service whose ThreatIntelSet 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_intel_set_id(String) –The unique ID that specifies the ThreatIntelSet that you want to update.
-
name(Optional[Name], default:None) –The unique ID that specifies the ThreatIntelSet that you want to update.
-
location(Optional[Location], default:None) –The updated URI of the file that contains the ThreateIntelSet.
-
activate(Optional[Boolean], default:None) –The updated Boolean value that specifies whether the ThreateIntelSet is active or not.
-
expected_bucket_owner(Optional[AccountId], default:None) –The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.
Raises:
-
AccessDeniedException–An access denied exception object.
-
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
6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 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 | |