Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListOrganizationAdminAccountsCommand

Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.

example

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

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

ListOrganizationAdminAccountsCommandInput for command's input shape.

see

ListOrganizationAdminAccountsCommandOutput for command's response shape.

see

config for DetectiveClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListOrganizationAdminAccountsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions