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
6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 | |