update_member_detectors
¶
update_member_detectors(
detector_id: DetectorId,
*,
config_overrides: Optional[GuardDutyClientConfig] = None,
account_ids: Optional[AccountIds] = None,
data_sources: Optional[DataSourceConfigurations] = None,
features: Optional[MemberFeaturesConfigurations] = None,
) -> UpdateMemberDetectorsResponse
Contains information on member accounts to be updated.
Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
Parameters:
-
detector_id(DetectorId) –The detector ID of the administrator account.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
account_ids(Optional[AccountIds], default:None) –A list of member account IDs to be updated.
-
data_sources(Optional[DataSourceConfigurations], default:None) –Describes which data sources will be updated.
-
features(Optional[MemberFeaturesConfigurations], default:None) –A list of features that will be updated for the specified member accounts.
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
6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 | |