Iot Events Action Structure
An action to be performed when the condition is TRUE.
Action is a JSON Structure definition published by Amazon IoT Events, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$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-action-structure.json",
"name": "Action",
"description": "An action to be performed when the <code>condition</code> is TRUE.",
"type": "object",
"properties": {
"setVariable": {
"allOf": [
{
"$ref": "#/components/schemas/SetVariableAction"
},
{
"description": "Sets a variable to a specified value."
}
]
},
"sns": {
"allOf": [
{
"$ref": "#/components/schemas/SNSTopicPublishAction"
},
{
"description": "Sends an Amazon SNS message."
}
]
},
"iotTopicPublish": {
"allOf": [
{
"$ref": "#/components/schemas/IotTopicPublishAction"
},
{
"description": "Publishes an MQTT message with the given topic to the AWS IoT message broker."
}
]
},
"setTimer": {
"allOf": [
{
"$ref": "#/components/schemas/SetTimerAction"
},
{
"description": "Information needed to set the timer."
}
]
},
"clearTimer": {
"allOf": [
{
"$ref": "#/components/schemas/ClearTimerAction"
},
{
"description": "Information needed to clear the timer."
}
]
},
"resetTimer": {
"allOf": [
{
"$ref": "#/components/schemas/ResetTimerAction"
},
{
"description": "Information needed to reset the timer."
}
]
},
"lambda": {
"allOf": [
{
"$ref": "#/components/schemas/LambdaAction"
},
{
"description": "Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action."
}
]
},
"iotEvents": {
"allOf": [
{
"$ref": "#/components/schemas/IotEventsAction"
},
{
"description": "Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action."
}
]
},
"sqs": {
"allOf": [
{
"$ref": "#/components/schemas/SqsAction"
},
{
"description": "Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue."
}
]
},
"firehose": {
"allOf": [
{
"$ref": "#/components/schemas/FirehoseAction"
},
{
"description": "Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream."
}
]
},
"dynamoDB": {
"allOf": [
{
"$ref": "#/components/schemas/DynamoDBAction"
},
{
"description": "Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html\">payload</a>. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html\">Actions</a> in <i>AWS IoT Events Developer Guide</i>."
}
]
},
"dynamoDBv2": {
"allOf": [
{
"$ref": "#/components/schemas/DynamoDBv2Action"
},
{
"description": "Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html\">payload</a>. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html\">Actions</a> in <i>AWS IoT Events Developer Guide</i>."
}
]
},
"iotSiteWise": {
"allOf": [
{
"$ref": "#/components/schemas/IotSiteWiseAction"
},
{
"description": "Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise ."
}
]
}
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/iot-events-action-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 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.