{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconnect/json-schema/amazon-mediaconnect-list-gateway-instances-response-schema.json",
  "title": "ListGatewayInstancesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconnect-gateway-instances-api-openapi.yml#/components/schemas/ListGatewayInstancesResponse",
  "type": "object",
  "properties": {
    "Instances": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedGatewayInstance"
      },
      "description": "A list of instance summaries."
    },
    "NextToken": {
      "type": "string",
      "description": "The token that identifies the batch of results that you want to see. For example, you submit a ListInstances request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListInstances request a second time and specify the NextToken value."
    }
  },
  "$defs": {
    "ListedGatewayInstance": {
      "type": "object",
      "properties": {
        "GatewayArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the gateway."
        },
        "GatewayInstanceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the instance."
        },
        "InstanceId": {
          "type": "string",
          "description": "The managed instance ID generated by the SSM install. This will begin with \"mi-\"."
        },
        "InstanceState": {
          "type": "string",
          "enum": [
            "REGISTERING",
            "ACTIVE",
            "DEREGISTERING",
            "DEREGISTERED",
            "REGISTRATION_ERROR",
            "DEREGISTRATION_ERROR"
          ],
          "description": "The status of the instance."
        }
      },
      "required": [
        "GatewayArn",
        "GatewayInstanceArn",
        "InstanceId"
      ]
    }
  }
}