Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.
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);
ListOrganizationAdminAccountsCommandInput for command's input shape.
input
ListOrganizationAdminAccountsCommandOutput for command's response shape.
response
config for DetectiveClient's config shape.
config
Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.
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);
ListOrganizationAdminAccountsCommandInput for command's
input
shape.ListOrganizationAdminAccountsCommandOutput for command's
response
shape.config for DetectiveClient's
config
shape.