{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconnect/json-schema/amazon-mediaconnect-list-gateways-response-schema.json",
  "title": "ListGatewaysResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconnect-gateways-api-openapi.yml#/components/schemas/ListGatewaysResponse",
  "type": "object",
  "properties": {
    "Gateways": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedGateway"
      },
      "description": "A list of gateway summaries."
    },
    "NextToken": {
      "type": "string",
      "description": "The token that identifies the batch of results that you want to see. For example, you submit a ListGateways 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 ListGateways request a second time and specify the NextToken value."
    }
  },
  "$defs": {
    "ListedGateway": {
      "type": "object",
      "properties": {
        "GatewayArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the gateway."
        },
        "GatewayState": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "UPDATING",
            "ERROR",
            "DELETING",
            "DELETED"
          ],
          "description": "The status of the gateway."
        },
        "Name": {
          "type": "string",
          "description": "The name of the gateway."
        }
      },
      "required": [
        "GatewayArn",
        "GatewayState",
        "Name"
      ]
    }
  }
}