Skip to content

Returns information about the Detective administrator account for an organization

Description

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

Usage

detective_list_organization_admin_accounts(NextToken, MaxResults)

Arguments

  • NextToken

    For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

  • MaxResults

    The maximum number of results to return.

Value

A list with the following syntax:

list(
  Administrators = list(
    list(
      AccountId = "string",
      GraphArn = "string",
      DelegationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

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