{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-eks/json-schema/amazon-eks-list-eks-anywhere-subscriptions-response-schema.json",
  "title": "ListEksAnywhereSubscriptionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-eks-eks-anywhere-subscriptions-api-openapi.yml#/components/schemas/ListEksAnywhereSubscriptionsResponse",
  "type": "object",
  "properties": {
    "subscriptions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EksAnywhereSubscription"
      },
      "description": "A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value to include in a future ListEksAnywhereSubscriptions request. When the results of a ListEksAnywhereSubscriptions request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "EksAnywhereSubscription": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "UUID identifying a subscription."
        },
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the subscription."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp in seconds for when the subscription was created."
        },
        "effectiveDate": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp in seconds for when the subscription is effective."
        },
        "expirationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp in seconds for when the subscription will expire or auto renew, depending on the auto renew configuration of the subscription object."
        },
        "licenseQuantity": {
          "type": "integer",
          "description": "The number of licenses included in a subscription. Valid values are between 1 and 100."
        },
        "licenseType": {
          "type": "string",
          "enum": [
            "Cluster"
          ],
          "description": "The type of licenses included in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster."
        },
        "term": {
          "$ref": "#/$defs/EksAnywhereSubscriptionTerm"
        },
        "status": {
          "type": "string",
          "description": "The status of a subscription."
        },
        "autoRenew": {
          "type": "boolean",
          "description": "A boolean indicating whether or not a subscription will auto renew when it expires."
        },
        "licenseArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Amazon Web Services License Manager ARN associated with the subscription."
        },
        "licenses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/License"
          },
          "description": "Includes all of the claims in the license token necessary to validate the license for extended support."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags do not propagate to any other resources associated with the subscription."
        }
      }
    },
    "EksAnywhereSubscriptionTerm": {
      "type": "object",
      "properties": {
        "duration": {
          "type": "integer",
          "description": "The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription."
        },
        "unit": {
          "type": "string",
          "enum": [
            "MONTHS"
          ],
          "description": "The term unit of the subscription. Valid value is MONTHS."
        }
      }
    },
    "License": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "An id associated with an EKS Anywhere subscription license."
        },
        "token": {
          "type": "string",
          "description": "An optional license token that can be used for extended support verification."
        }
      }
    }
  }
}