Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListInvitationsCommand

Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by an invited member account.

Open invitations are invitations that the member account has not responded to.

The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.

example

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

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

ListInvitationsCommandInput for command's input shape.

see

ListInvitationsCommandOutput for command's response shape.

see

config for DetectiveClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListInvitationsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListInvitationsCommandInput, ListInvitationsCommandOutput>