Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
Type: objectProperties: 3Required: 1
Event DetectionIoTState MachineAutomation
SqsAction is a JSON Structure definition published by Amazon IoT Events, describing 3 properties, of which 1 is 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-sqs-action-structure.json",
"name": "SqsAction",
"description": "Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.",
"type": "object",
"properties": {
"queueUrl": {
"allOf": [
{
"$ref": "#/components/schemas/QueueUrl"
},
{
"description": "The URL of the SQS queue where the data is written."
}
]
},
"useBase64": {
"allOf": [
{
"$ref": "#/components/schemas/UseBase64"
},
{
"description": "Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE."
}
]
},
"payload": {
"allOf": [
{
"$ref": "#/components/schemas/Payload"
},
{
"description": "You can configure the action payload when you send a message to an Amazon SQS queue."
}
]
}
},
"required": [
"queueUrl"
]
}
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.