Skip to content

Lists the accounts in the specified account pool

Description

Lists the accounts in the specified account pool.

Usage

datazone_list_accounts_in_account_pool(domainIdentifier, identifier,
  nextToken, maxResults)

Arguments

  • domainIdentifier

    [required] The ID of the domain in which the accounts in the specified account pool are to be listed.

  • identifier

    [required] The ID of the account pool whose accounts are to be listed.

  • nextToken

    When the number of accounts is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of accounts, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAccountsInAccountPool to list the next set of accounts.

  • maxResults

    The maximum number of accounts to return in a single call to ListAccountsInAccountPool. When the number of accounts to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListAccountsInAccountPool to list the next set of accounts.

Value

A list with the following syntax:

list(
  items = list(
    list(
      awsAccountId = "string",
      supportedRegions = list(
        "string"
      ),
      awsAccountName = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_accounts_in_account_pool(
  domainIdentifier = "string",
  identifier = "string",
  nextToken = "string",
  maxResults = 123
)