update_threat_intel_set
async
¶
update_threat_intel_set(
detector_id: DetectorId,
threat_intel_set_id: String,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = 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/async_guard_duty.py
6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 | |