start_monitoring_member

Detective.Client.start_monitoring_member(**kwargs)

Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED .

For valid member accounts, the status is updated as follows.

  • If Detective enabled the member account, then the new status is ENABLED .
  • If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED .

See also: AWS API Documentation

Request Syntax

response = client.start_monitoring_member(
    GraphArn='string',
    AccountId='string'
)
Parameters
  • GraphArn (string) --

    [REQUIRED]

    The ARN of the behavior graph.

  • AccountId (string) --

    [REQUIRED]

    The account ID of the member account to try to enable.

    The account must be an invited member account with a status of ACCEPTED_BUT_DISABLED .

Returns

None

Exceptions

  • Detective.Client.exceptions.AccessDeniedException
  • Detective.Client.exceptions.ConflictException
  • Detective.Client.exceptions.InternalServerException
  • Detective.Client.exceptions.ResourceNotFoundException
  • Detective.Client.exceptions.ServiceQuotaExceededException
  • Detective.Client.exceptions.ValidationException