{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-identity-center/json-schema/amazon-iam-identity-center-list-regions-response-schema.json",
  "title": "ListRegionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-identity-center-region-api-openapi.yml#/components/schemas/ListRegionsResponse",
  "type": "object",
  "properties": {
    "Regions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RegionMetadata"
      },
      "description": "The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status."
    },
    "NextToken": {
      "type": "string",
      "description": "The pagination token to be used in subsequent calls. If the value is null, then there are no more entries."
    }
  },
  "$defs": {
    "RegionMetadata": {
      "type": "object",
      "properties": {
        "RegionName": {
          "type": "string",
          "description": "The Amazon Web Services Region name."
        },
        "Status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "ADDING",
            "REMOVING"
          ],
          "description": "The current status of the Region. Valid values are ACTIVE (Region is operational), ADDING (Region extension workflow is in progress), or REMOVING (Region removal workflow is in progress)."
        },
        "AddedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the Region was added to the IAM Identity Center instance. For the primary Region, this is the instance creation time."
        },
        "IsPrimaryRegion": {
          "type": "boolean",
          "description": "Indicates whether this is the primary Region where the IAM Identity Center instance was originally enabled. The primary Region cannot be removed."
        }
      }
    }
  }
}