Jump to Content

Class ListInvitationsCommandProtected

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

Throws

AccessDeniedException (client fault)

The request issuer does not have permission to access this resource or perform this operation.

Throws

InternalServerException (server fault)

The request was valid but failed because of a problem with the service.

Throws

ValidationException (client fault)

The request parameters are invalid.

Hierarchy

Constructors

Properties

Methods