Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListGraphsCommand

Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account.

Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.

example

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

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

ListGraphsCommandInput for command's input shape.

see

ListGraphsCommandOutput for command's response shape.

see

config for DetectiveClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListGraphsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListGraphsCommandInput, ListGraphsCommandOutput>

Methods

Static getEndpointParameterInstructions