Skip to content

Stop Monitoring Members

guardduty_stop_monitoring_members R Documentation

Stops GuardDuty monitoring for the specified member accounts

Description

Stops GuardDuty monitoring for the specified member accounts. Use the start_monitoring_members operation to restart monitoring for those accounts.

With autoEnableOrganizationMembers configuration for your organization set to ALL, you'll receive an error if you attempt to stop monitoring the member accounts in your organization.

Usage

guardduty_stop_monitoring_members(DetectorId, AccountIds)

Arguments

DetectorId

[required] The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.

AccountIds

[required] A list of account IDs for the member accounts to stop monitoring.

Value

A list with the following syntax:

list(
  UnprocessedAccounts = list(
    list(
      AccountId = "string",
      Result = "string"
    )
  )
)

Request syntax

svc$stop_monitoring_members(
  DetectorId = "string",
  AccountIds = list(
    "string"
  )
)