Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RejectInvitationCommand

Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by an invited member account that has the INVITED status.

RejectInvitation cannot be called by an organization account in the organization behavior graph. In the organization behavior graph, organization accounts do not receive an invitation.

example

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

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

RejectInvitationCommandInput for command's input shape.

see

RejectInvitationCommandOutput for command's response shape.

see

config for DetectiveClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: RejectInvitationCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions