SetVariableAction is a JSON Structure definition published by Amazon IoT Events, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$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-set-variable-action-structure.json",
"name": "SetVariableAction",
"description": "Information about the variable and its new value.",
"type": "object",
"properties": {
"variableName": {
"allOf": [
{
"$ref": "#/components/schemas/VariableName"
},
{
"description": "The name of the variable."
}
]
},
"value": {
"allOf": [
{
"$ref": "#/components/schemas/VariableValue"
},
{
"description": "The new value of the variable."
}
]
}
},
"required": [
"variableName",
"value"
]
}
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.