Amazon API Gateway · Schema

PutRoutingRuleRequest

API GatewayAmazon Web ServicesCloudRESTHTTPWebSocketServerlessMCPAgent CoreDeveloper PortalDeveloper ToolsReal-Time

Properties

Name Type Description
Actions array The routing rule action.
Conditions array The routing rule condition.
DomainName string The domain name.
DomainNameId string The domain name ID.
Priority integer The routing rule priority.
RoutingRuleId string The routing rule ID.
View JSON Schema on GitHub

JSON Schema

aws-api-gateway-put-routing-rule-request-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-put-routing-rule-request-schema.json",
  "title": "PutRoutingRuleRequest",
  "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/PutRoutingRuleRequest",
  "type": "object",
  "properties": {
    "Actions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RoutingRuleAction"
      },
      "description": "The routing rule action."
    },
    "Conditions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RoutingRuleCondition"
      },
      "description": "The routing rule condition."
    },
    "DomainName": {
      "type": "string",
      "description": "The domain name."
    },
    "DomainNameId": {
      "type": "string",
      "description": "The domain name ID."
    },
    "Priority": {
      "type": "integer",
      "description": "The routing rule priority."
    },
    "RoutingRuleId": {
      "type": "string",
      "description": "The routing rule ID."
    }
  },
  "required": [
    "Actions",
    "Conditions",
    "DomainName",
    "Priority",
    "RoutingRuleId"
  ],
  "$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-put-routing-rule-request"
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.