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.
INVITED
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);
AcceptInvitationCommandInput for command's input shape.
input
AcceptInvitationCommandOutput for command's response shape.
response
config for DetectiveClient's config shape.
config
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
.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);
AcceptInvitationCommandInput for command's
input
shape.AcceptInvitationCommandOutput for command's
response
shape.config for DetectiveClient's
config
shape.