Lists the Security Hub administrator accounts. Can only be called by the organization management account.
securityhub_list_organization_admin_accounts(MaxResults, NextToken)
A list with the following syntax:
list(
AdminAccounts = list(
list(
AccountId = "string",
Status = "ENABLED"|"DISABLE_IN_PROGRESS"
)
),
NextToken = "string"
)
The maximum number of items to return in the response.
The token that is required for pagination. On your first call to the
list_organization_admin_accounts
operation, set the value of this parameter to NULL
. For subsequent
calls to the operation, to continue listing data, set the value of this
parameter to the value returned from the previous response.
svc$list_organization_admin_accounts(
MaxResults = 123,
NextToken = "string"
)