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
6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 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 | |