Skip to content

Lists existing account pools

Description

Lists existing account pools.

Usage

datazone_list_account_pools(domainIdentifier, name, sortBy, sortOrder,
  nextToken, maxResults)

Arguments

  • domainIdentifier

    [required] The ID of the domain where exsting account pools are to be listed.

  • name

    The name of the account pool to be listed.

  • sortBy

    The sort by mechanism in which the existing account pools are to be listed.

  • sortOrder

    The sort order in which the existing account pools are to be listed.

  • nextToken

    When the number of account pools 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 account pools, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAccountPools to list the next set of account pools.

  • maxResults

    The maximum number of account pools to return in a single call to ListAccountPools. When the number of account pools 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 ListAccountPools to list the next set of account pools.

Value

A list with the following syntax:

list(
  items = list(
    list(
      domainId = "string",
      id = "string",
      name = "string",
      resolutionStrategy = "MANUAL",
      domainUnitId = "string",
      createdBy = "string",
      updatedBy = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_account_pools(
  domainIdentifier = "string",
  name = "string",
  sortBy = "NAME",
  sortOrder = "ASCENDING"|"DESCENDING",
  nextToken = "string",
  maxResults = 123
)