{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-list-account-pools-input-schema.json",
  "title": "ListAccountPoolsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-account-pools-api-openapi.yml#/components/schemas/ListAccountPoolsInput",
  "type": "object",
  "properties": {
    "domainIdentifier": {
      "type": "string",
      "description": "The ID of the domain where exsting account pools are to be listed."
    },
    "name": {
      "type": "string",
      "description": "The name of the account pool to be listed."
    },
    "sortBy": {
      "type": "string",
      "enum": [
        "NAME"
      ],
      "description": "The sort by mechanism in which the existing account pools are to be listed."
    },
    "sortOrder": {
      "type": "string",
      "enum": [
        "ASCENDING",
        "DESCENDING"
      ],
      "description": "The sort order in which the existing account pools are to be listed."
    },
    "nextToken": {
      "type": "string",
      "description": "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": {
      "type": "integer",
      "description": "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."
    }
  },
  "required": [
    "domainIdentifier"
  ]
}