Amazon API Gateway · Schema

CreateRoutingRuleResponse

API GatewayAmazon Web ServicesCloudRESTHTTPWebSocketServerlessMCPAgent CoreDeveloper PortalDeveloper ToolsReal-Time

Properties

Name Type Description
Actions array Represents a routing rule action. The only supported action is invokeApi.
Conditions array Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can o
Priority integer Represents the priority of the routing rule.
RoutingRuleArn string The ARN of the domain name.
RoutingRuleId string The routing rule ID.
View JSON Schema on GitHub

JSON Schema

aws-api-gateway-create-routing-rule-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-api-gateway/json-schema/aws-api-gateway-create-routing-rule-response-schema.json",
  "title": "CreateRoutingRuleResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-api-gateway-routingrules-api-openapi.yml#/components/schemas/CreateRoutingRuleResponse",
  "type": "object",
  "properties": {
    "Actions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RoutingRuleAction"
      },
      "description": "Represents a routing rule action. The only supported action is invokeApi."
    },
    "Conditions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RoutingRuleCondition"
      },
      "description": "Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions."
    },
    "Priority": {
      "type": "integer",
      "description": "Represents the priority of the routing rule."
    },
    "RoutingRuleArn": {
      "type": "string",
      "description": "The ARN of the domain name."
    },
    "RoutingRuleId": {
      "type": "string",
      "description": "The routing rule ID."
    }
  },
  "$defs": {
    "RoutingRuleAction": {
      "type": "object",
      "properties": {
        "InvokeApi": {
          "$ref": "#/$defs/RoutingRuleActionInvokeApi"
        }
      },
      "required": [
        "InvokeApi"
      ]
    },
    "RoutingRuleActionInvokeApi": {
      "type": "object",
      "properties": {
        "ApiId": {
          "type": "string"
        },
        "Stage": {
          "type": "string"
        },
        "StripBasePath": {
          "type": "boolean",
          "description": "The strip base path setting."
        }
      },
      "required": [
        "ApiId",
        "Stage"
      ]
    },
    "RoutingRuleCondition": {
      "type": "object",
      "properties": {
        "MatchBasePaths": {
          "$ref": "#/$defs/RoutingRuleMatchBasePaths"
        },
        "MatchHeaders": {
          "$ref": "#/$defs/RoutingRuleMatchHeaders"
        }
      }
    },
    "RoutingRuleMatchBasePaths": {
      "type": "object",
      "properties": {
        "AnyOf": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The string of the case sensitive base path to be matched."
        }
      },
      "required": [
        "AnyOf"
      ]
    },
    "RoutingRuleMatchHeaderValue": {
      "type": "object",
      "properties": {
        "Header": {
          "type": "string"
        },
        "ValueGlob": {
          "type": "string"
        }
      },
      "required": [
        "Header",
        "ValueGlob"
      ]
    },
    "RoutingRuleMatchHeaders": {
      "type": "object",
      "properties": {
        "AnyOf": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutingRuleMatchHeaderValue"
          },
          "description": "The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched."
        }
      },
      "required": [
        "AnyOf"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aws-api-gateway-create-routing-rule-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.