Skip to content

Guardduty  >  Operations  >  start_monitoring_members

start_monitoring_members

Operation

start_monitoring_members async

start_monitoring_members(input: StartMonitoringMembersInput, plugins: list[Plugin] | None = None) -> StartMonitoringMembersOutput

Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers operation.

Parameters:

Name Type Description Default
input StartMonitoringMembersInput

An instance of StartMonitoringMembersInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
StartMonitoringMembersOutput

An instance of StartMonitoringMembersOutput.

Input

StartMonitoringMembersInput dataclass

Dataclass for StartMonitoringMembersInput structure.

Attributes

account_ids class-attribute instance-attribute
account_ids: list[str] | None = None

A list of account IDs of the GuardDuty member accounts to start monitoring.

detector_id class-attribute instance-attribute
detector_id: str | None = None

The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

Output

StartMonitoringMembersOutput dataclass

Dataclass for StartMonitoringMembersOutput structure.

Attributes

unprocessed_accounts class-attribute instance-attribute
unprocessed_accounts: list[UnprocessedAccount] | None = None

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.