Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AcceptInvitationCommand

Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be called by an invited member account.

The request provides the ARN of behavior graph.

The member account status in the graph must be INVITED.

example

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

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

AcceptInvitationCommandInput for command's input shape.

see

AcceptInvitationCommandOutput for command's response shape.

see

config for DetectiveClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: AcceptInvitationCommandInput

Readonly middlewareStack