Amazon IoT Events · Schema

SetTimerAction

Information needed to set the timer.

Event DetectionIoTState MachineAutomation

Properties

Name Type Description
timerName object
seconds object
durationExpression object
View JSON Schema on GitHub

JSON Schema

iot-events-set-timer-action-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-schema/iot-events-set-timer-action-schema.json",
  "title": "SetTimerAction",
  "description": "Information needed to set the timer.",
  "type": "object",
  "properties": {
    "timerName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TimerName"
        },
        {
          "description": "The name of the timer."
        }
      ]
    },
    "seconds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Seconds"
        },
        {
          "deprecated": true,
          "description": "The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds. seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression."
        }
      ]
    },
    "durationExpression": {
      "allOf": [
        {
          "$ref": "#/components/schemas/VariableValue"
        },
        {
          "description": "The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (<code>$variable.&lt;variable-name&gt;</code>), and input values (<code>$input.&lt;input-name&gt;.&lt;path-to-datum&gt;</code>) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number. "
        }
      ]
    }
  },
  "required": [
    "timerName"
  ]
}

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/iot-events-set-timer-action"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.