Amazon IoT Events · JSON Structure

Iot Events State Structure

Information that defines a state of a detector.

Type: object Properties: 4 Required: 1
Event DetectionIoTState MachineAutomation

State is a JSON Structure definition published by Amazon IoT Events, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

stateName onInput onEnter onExit

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-structure/iot-events-state-structure.json",
  "name": "State",
  "description": "Information that defines a state of a detector.",
  "type": "object",
  "properties": {
    "stateName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StateName"
        },
        {
          "description": "The name of the state."
        }
      ]
    },
    "onInput": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OnInputLifecycle"
        },
        {
          "description": "When an input is received and the <code>condition</code> is TRUE, perform the specified <code>actions</code>."
        }
      ]
    },
    "onEnter": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OnEnterLifecycle"
        },
        {
          "description": "When entering this state, perform these <code>actions</code> if the <code>condition</code> is TRUE."
        }
      ]
    },
    "onExit": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OnExitLifecycle"
        },
        {
          "description": "When exiting this state, perform these <code>actions</code> if the specified <code>condition</code> is <code>TRUE</code>."
        }
      ]
    }
  },
  "required": [
    "stateName"
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/iot-events-state-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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