Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StartMonitoringMemberCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { DetectiveClient, StartMonitoringMemberCommand } from "@aws-sdk/client-detective"; // ES Modules import
// const { DetectiveClient, StartMonitoringMemberCommand } = require("@aws-sdk/client-detective"); // CommonJS import
const client = new DetectiveClient(config);
const command = new StartMonitoringMemberCommand(input);
const response = await client.send(command);
see

StartMonitoringMemberCommandInput for command's input shape.

see

StartMonitoringMemberCommandOutput for command's response shape.

see

config for DetectiveClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: StartMonitoringMemberCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions