Skip to content

List Organization Admin Accounts

guardduty_list_organization_admin_accounts R Documentation

Lists the accounts designated as GuardDuty delegated administrators

Description

Lists the accounts designated as GuardDuty delegated administrators. Only the organization's management account can run this API operation.

Usage

guardduty_list_organization_admin_accounts(MaxResults, NextToken)

Arguments

MaxResults

The maximum number of results to return in the response.

NextToken

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

Value

A list with the following syntax:

list(
  AdminAccounts = list(
    list(
      AdminAccountId = "string",
      AdminStatus = "ENABLED"|"DISABLE_IN_PROGRESS"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_organization_admin_accounts(
  MaxResults = 123,
  NextToken = "string"
)