ActionList

Amazon Web ServicesComplianceIoTSecurityVulnerability Management
View JSON Schema on GitHub

JSON Schema

amazon-iot-device-defender-action-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-action-list-schema.json",
  "title": "ActionList",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-rules-api-openapi.yml#/components/schemas/ActionList",
  "type": "array",
  "items": {
    "$ref": "#/$defs/Action"
  },
  "minItems": 0,
  "maxItems": 10,
  "$defs": {
    "Action": {
      "type": "object",
      "properties": {
        "dynamoDB": {
          "allOf": [
            {
              "$ref": "#/$defs/DynamoDBAction"
            },
            {
              "description": "Write to a DynamoDB table."
            }
          ]
        },
        "dynamoDBv2": {
          "allOf": [
            {
              "$ref": "#/$defs/DynamoDBv2Action"
            },
            {
              "description": "Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column."
            }
          ]
        },
        "lambda": {
          "allOf": [
            {
              "$ref": "#/$defs/LambdaAction"
            },
            {
              "description": "Invoke a Lambda function."
            }
          ]
        },
        "sns": {
          "allOf": [
            {
              "$ref": "#/$defs/SnsAction"
            },
            {
              "description": "Publish to an Amazon SNS topic."
            }
          ]
        },
        "sqs": {
          "allOf": [
            {
              "$ref": "#/$defs/SqsAction"
            },
            {
              "description": "Publish to an Amazon SQS queue."
            }
          ]
        },
        "kinesis": {
          "allOf": [
            {
              "$ref": "#/$defs/KinesisAction"
            },
            {
              "description": "Write data to an Amazon Kinesis stream."
            }
          ]
        },
        "republish": {
          "allOf": [
            {
              "$ref": "#/$defs/RepublishAction"
            },
            {
              "description": "Publish to another MQTT topic."
            }
          ]
        },
        "s3": {
          "allOf": [
            {
              "$ref": "#/$defs/S3Action"
            },
            {
              "description": "Write to an Amazon S3 bucket."
            }
          ]
        },
        "firehose": {
          "allOf": [
            {
              "$ref": "#/$defs/FirehoseAction"
            },
            {
              "description": "Write to an Amazon Kinesis Firehose stream."
            }
          ]
        },
        "cloudwatchMetric": {
          "allOf": [
            {
              "$ref": "#/$defs/CloudwatchMetricAction"
            },
            {
              "description": "Capture a CloudWatch metric."
            }
          ]
        },
        "cloudwatchAlarm": {
          "allOf": [
            {
              "$ref": "#/$defs/CloudwatchAlarmAction"
            },
            {
              "description": "Change the state of a CloudWatch alarm."
            }
          ]
        },
        "cloudwatchLogs": {
          "allOf": [
            {
              "$ref": "#/$defs/CloudwatchLogsAction"
            },
            {
              "description": "Send data to CloudWatch Logs."
            }
          ]
        },
        "elasticsearch": {
          "allOf": [
            {
              "$ref": "#/$defs/ElasticsearchAction"
            },
            {
              "description": "<p>Write data to an Amazon OpenSearch Service domain.</p> <note> <p>The <code>Elasticsearch</code> action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the <code>OpenSearch</code> rule action instead. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html\">OpenSearchAction</a>.</p> </note>"
            }
          ]
        },
        "salesforce": {
          "allOf": [
            {
              "$ref": "#/$defs/SalesforceAction"
            },
            {
              "description": "Send a message to a Salesforce IoT Cloud Input Stream."
            }
          ]
        },
        "iotAnalytics": {
          "allOf": [
            {
              "$ref": "#/$defs/IotAnalyticsAction"
            },
            {
              "description": "Sends message data to an IoT Analytics channel."
            }
          ]
        },
        "iotEvents": {
          "allOf": [
            {
              "$ref": "#/$defs/IotEventsAction"
            },
            {
              "description": "Sends an input to an IoT Events detector."
            }
          ]
        },
        "iotSiteWise": {
          "allOf": [
            {
              "$ref": "#/$defs/IotSiteWiseAction"
            },
            {
              "description": "Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties."
            }
          ]
        },
        "stepFunctions": {
          "allOf": [
            {
              "$ref": "#/$defs/StepFunctionsAction"
            },
            {
              "description": "Starts execution of a Step Functions state machine."
            }
          ]
        },
        "timestream": {
          "allOf": [
            {
              "$ref": "#/$defs/TimestreamAction"
            },
            {
              "description": "The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html\">Timestream</a> topic rule action documentation."
            }
          ]
        },
        "http": {
          "allOf": [
            {
              "$ref": "#/$defs/HttpAction"
            },
            {
              "description": "Send data to an HTTPS endpoint."
            }
          ]
        },
        "kafka": {
          "allOf": [
            {
              "$ref": "#/$defs/KafkaAction"
            },
            {
              "description": "Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster."
            }
          ]
        },
        "openSearch": {
          "allOf": [
            {
              "$ref": "#/$defs/OpenSearchAction"
            },
            {
              "description": "Write data to an Amazon OpenSearch Service domain."
            }
          ]
        },
        "location": {
          "allOf": [
            {
              "$ref": "#/$defs/LocationAction"
            },
            {
              "description": "The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource."
            }
          ]
        }
      },
      "description": "Describes the actions associated with a rule."
    },
    "AlarmName": {
      "type": "string"
    },
    "AssetId": {
      "type": "string"
    },
    "AssetPropertyAlias": {
      "type": "string",
      "minLength": 1
    },
    "AssetPropertyBooleanValue": {
      "type": "string"
    },
    "AssetPropertyDoubleValue": {
      "type": "string"
    },
    "AssetPropertyEntryId": {
      "type": "string"
    },
    "AssetPropertyId": {
      "type": "string"
    },
    "AssetPropertyIntegerValue": {
      "type": "string"
    },
    "AssetPropertyOffsetInNanos": {
      "type": "string"
    },
    "AssetPropertyQuality": {
      "type": "string"
    },
    "AssetPropertyStringValue": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1024
    },
    "AssetPropertyTimeInSeconds": {
      "type": "string"
    },
    "AssetPropertyTimestamp": {
      "type": "object",
      "required": [
        "timeInSeconds"
      ],
      "properties": {
        "timeInSeconds": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyTimeInSeconds"
            },
            {
              "description": "A string that contains the time in seconds since epoch. Accepts substitution templates."
            }
          ]
        },
        "offsetInNanos": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyOffsetInNanos"
            },
            {
              "description": "Optional. A string that contains the nanosecond time offset. Accepts substitution templates."
            }
          ]
        }
      },
      "description": "An asset property timestamp entry containing the following information."
    },
    "AssetPropertyValue": {
      "type": "object",
      "required": [
        "value",
        "timestamp"
      ],
      "properties": {
        "value": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyVariant"
            },
            {
              "description": "The value of the asset property."
            }
          ]
        },
        "timestamp": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyTimestamp"
            },
            {
              "description": "The asset property value timestamp."
            }
          ]
        },
        "quality": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyQuality"
            },
            {
              "description": "Optional. A string that describes the quality of the value. Accepts substitution templates. Must be <code>GOOD</code>, <code>BAD</code>, or <code>UNCERTAIN</code>."
            }
          ]
        }
      },
      "description": "An asset property value entry containing the following information."
    },
    "AssetPropertyValueList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssetPropertyValue"
      },
      "minItems": 1
    },
    "AssetPropertyVariant": {
      "type": "object",
      "properties": {
        "stringValue": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyStringValue"
            },
            {
              "description": "Optional. The string value of the value entry. Accepts substitution templates."
            }
          ]
        },
        "integerValue": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyIntegerValue"
            },
            {
              "description": "Optional. A string that contains the integer value of the value entry. Accepts substitution templates."
            }
          ]
        },
        "doubleValue": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyDoubleValue"
            },
            {
              "description": "Optional. A string that contains the double value of the value entry. Accepts substitution templates."
            }
          ]
        },
        "booleanValue": {
          "allOf": [
            {
              "$ref": "#/$defs/AssetPropertyBooleanValue"
            },
            {
              "description": "Optional. A string that contains the boolean value (<code>true</code> or <code>false</code>) of the value entry. Accepts substitution templates."
            }
          ]
        }
      },
      "description": "Contains an asset property value (of a single type)."
    },
    "AwsArn": {
      "type": "string"
    },
    "BatchMode": {
      "type": "boolean"
    },
    "BucketName": {
      "type": "string"
    },
    "CannedAccessControlList": {
      "type": "string",
      "enum": [
        "private",
        "public-read",
        "public-read-write",
        "aws-exec-read",
        "authenticated-read",
        "bucket-owner-read",
        "bucket-owner-full-control",
        "log-delivery-write"
      ]
    },
    "ChannelName": {
      "type": "string"
    },
    "ClientProperties": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/String"
      }
    },
    "CloudwatchAlarmAction": {
      "type": "object",
      "required": [
        "roleArn",
        "alarmName",
        "stateReason",
        "stateValue"
      ],
      "properties": {
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The IAM role that allows access to the CloudWatch alarm."
            }
          ]
        },
        "alarmName": {
          "allOf": [
            {
              "$ref": "#/$defs/AlarmName"
            },
            {
              "description": "The CloudWatch alarm name."
            }
          ]
        },
        "stateReason": {
          "allOf": [
            {
              "$ref": "#/$defs/StateReason"
            },
            {
              "description": "The reason for the alarm change."
            }
          ]
        },
        "stateValue": {
          "allOf": [
            {
              "$ref": "#/$defs/StateValue"
            },
            {
              "description": "The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA."
            }
          ]
        }
      },
      "description": "Describes an action that updates a CloudWatch alarm."
    },
    "CloudwatchLogsAction": {
      "type": "object",
      "required": [
        "roleArn",
        "logGroupName"
      ],
      "properties": {
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The IAM role that allows access to the CloudWatch log."
            }
          ]
        },
        "logGroupName": {
          "allOf": [
            {
              "$ref": "#/$defs/LogGroupName"
            },
            {
              "description": "The CloudWatch log group to which the action sends data."
            }
          ]
        },
        "batchMode": {
          "allOf": [
            {
              "$ref": "#/$defs/BatchMode"
            },
            {
              "description": "Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include <code>true</code> or <code>false</code> <i>(default)</i>."
            }
          ]
        }
      },
      "description": "Describes an action that sends data to CloudWatch Logs."
    },
    "CloudwatchMetricAction": {
      "type": "object",
      "required": [
        "roleArn",
        "metricNamespace",
        "metricName",
        "metricValue",
        "metricUnit"
      ],
      "properties": {
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The IAM role that allows access to the CloudWatch metric."
            }
          ]
        },
        "metricNamespace": {
          "allOf": [
            {
              "$ref": "#/$defs/String"
            },
            {
              "description": "The CloudWatch metric namespace name."
            }
          ]
        },
        "metricName": {
          "allOf": [
            {
              "$ref": "#/$defs/String"
            },
            {
              "description": "The CloudWatch metric name."
            }
          ]
        },
        "metricValue": {
          "allOf": [
            {
              "$ref": "#/$defs/String"
            },
            {
              "description": "The CloudWatch metric value."
            }
          ]
        },
        "metricUnit": {
          "allOf": [
            {
              "$ref": "#/$defs/String"
            },
            {
              "description": "The <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit\">metric unit</a> supported by CloudWatch."
            }
          ]
        },
        "metricTimestamp": {
          "allOf": [
            {
              "$ref": "#/$defs/String"
            },
            {
              "description": "An optional <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp\">Unix timestamp</a>."
            }
          ]
        }
      },
      "description": "Describes an action that captures a CloudWatch metric."
    },
    "ContentType": {
      "type": "string",
      "minLength": 0,
      "maxLength": 1024
    },
    "CorrelationData": {
      "type": "string",
      "minLength": 0,
      "maxLength": 1024
    },
    "DeliveryStreamName": {
      "type": "string"
    },
    "DynamoDBAction": {
      "type": "object",
      "required": [
        "tableName",
        "roleArn",
        "hashKeyField",
        "hashKeyValue"
      ],
      "properties": {
        "tableName": {
          "allOf": [
            {
              "$ref": "#/$defs/TableName"
            },
            {
              "description": "The name of the DynamoDB table."
            }
          ]
        },
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The ARN of the IAM role that grants access to the DynamoDB table."
            }
          ]
        },
        "operation": {
          "allOf": [
            {
              "$ref": "#/$defs/DynamoOperation"
            },
            {
              "description": "The type of operation to be performed. This follows the substitution template, so it can be <code>${operation}</code>, but the substitution must result in one of the following: <code>INSERT</code>, <code>UPDATE</code>, or <code>DELETE</code>."
            }
          ]
        },
        "hashKeyField": {
          "allOf": [
            {
              "$ref": "#/$defs/HashKeyField"
            },
            {
              "description": "The hash key name."
            }
          ]
        },
        "hashKeyValue": {
          "allOf": [
            {
              "$ref": "#/$defs/HashKeyValue"
            },
            {
              "description": "The hash key value."
            }
          ]
        },
        "hashKeyType": {
          "allOf": [
            {
              "$ref": "#/$defs/DynamoKeyType"
            },
            {
              "description": "The hash key type. Valid values are \"STRING\" or \"NUMBER\""
            }
          ]
        },
        "rangeKeyField": {
          "allOf": [
            {
              "$ref": "#/$defs/RangeKeyField"
            },
            {
              "description": "The range key name."
            }
          ]
        },
        "rangeKeyValue": {
          "allOf": [
            {
              "$ref": "#/$defs/RangeKeyValue"
            },
            {
              "description": "The range key value."
            }
          ]
        },
        "rangeKeyType": {
          "allOf": [
            {
              "$ref": "#/$defs/DynamoKeyType"
            },
            {
              "description": "The range key type. Valid values are \"STRING\" or \"NUMBER\""
            }
          ]
        },
        "payloadField": {
          "allOf": [
            {
              "$ref": "#/$defs/PayloadField"
            },
            {
              "description": "The action payload. This name can be customized."
            }
          ]
        }
      },
      "description": "<p>Describes an action to write to a DynamoDB table.</p> <p>The <code>tableName</code>, <code>hashKeyField</code>, and <code>rangeKeyField</code> values must match the values used when you created the table.</p> <p>The <code>hashKeyValue</code> and <code>rangeKeyvalue</code> fields use a substitution template syntax. These templates provide data at runtime. The syntax is as follows: ${<i>sql-expression</i>}.</p> <p>You can specify any valid expression in a WHERE or SELECT clause, including JSON properties, comparisons, calculations, and functions. For example, the following field uses the third level of the topic:</p> <p> <code>\"hashKeyValue\": \"${topic(3)}\"</code> </p> <p>The following field uses the timestamp:</p> <p> <code>\"rangeKeyValue\": \"${timestamp()}\"</code> </p>"
    },
    "DynamoDBv2Action": {
      "type": "object",
      "required": [
        "roleArn",
        "putItem"
      ],
      "properties": {
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The ARN of the IAM role that grants access to the DynamoDB table."
            }
          ]
        },
        "putItem": {
          "allOf": [
            {
              "$ref": "#/$defs/PutItemInput"
            },
            {
              "description": "<p>Specifies the DynamoDB table to which the message data will be written. For example:</p> <p> <code>{ \"dynamoDBv2\": { \"roleArn\": \"aws:iam:12341251:my-role\" \"putItem\": { \"tableName\": \"my-table\" } } }</code> </p> <p>Each attribute in the message payload will be written to a separate column in the DynamoDB database.</p>"
            }
          ]
        }
      },
      "description": "<p>Describes an action to write to a DynamoDB table.</p> <p>This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.</p>"
    },
    "DynamoKeyType": {
      "type": "string",
      "enum": [
        "STRING",
        "NUMBER"
      ]
    },
    "DynamoOperation": {
      "type": "string"
    },
    "ElasticsearchAction": {
      "type": "object",
      "required": [
        "roleArn",
        "endpoint",
        "index",
        "type",
        "id"
      ],
      "properties": {
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The IAM role ARN that has access to OpenSearch."
            }
          ]
        },
        "endpoint": {
          "allOf": [
            {
              "$ref": "#/$defs/ElasticsearchEndpoint"
            },
            {
              "description": "The endpoint of your OpenSearch domain."
            }
          ]
        },
        "index": {
          "allOf": [
            {
              "$ref": "#/$defs/ElasticsearchIndex"
            },
            {
              "description": "The index where you want to store your data."
            }
          ]
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/$defs/ElasticsearchType"
            },
            {
              "description": "The type of document you are storing."
            }
          ]
        },
        "id": {
          "allOf": [
            {
              "$ref": "#/$defs/ElasticsearchId"
            },
            {
              "description": "The unique identifier for the document you are storing."
            }
          ]
        }
      },
      "description": "<p>Describes an action that writes data to an Amazon OpenSearch Service domain.</p> <note> <p>The <code>Elasticsearch</code> action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the <code>OpenSearch</code> rule action instead. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html\">OpenSearchAction</a>.</p> </note>"
    },
    "ElasticsearchEndpoint": {
      "type": "string",
      "pattern": "https?://.*"
    },
    "ElasticsearchId": {
      "type": "string"
    },
    "ElasticsearchIndex": {
      "type": "string"
    },
    "ElasticsearchType": {
      "type": "string"
    },
    "ExecutionNamePrefix": {
      "type": "string"
    },
    "FirehoseAction": {
      "type": "object",
      "required": [
        "roleArn",
        "deliveryStreamName"
      ],
      "properties": {
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The IAM role that grants access to the Amazon Kinesis Firehose stream."
            }
          ]
        },
        "deliveryStreamName": {
          "allOf": [
            {
              "$ref": "#/$defs/DeliveryStreamName"
            },
            {
              "description": "The delivery stream name."
            }
          ]
        },
        "separator": {
          "allOf": [
            {
              "$ref": "#/$defs/FirehoseSeparator"
            },
            {
              "description": "A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma)."
            }
          ]
        },
        "batchMode": {
          "allOf": [
            {
              "$ref": "#/$defs/BatchMode"
            },
            {
              "description": "<p>Whether to deliver the Kinesis Data Firehose stream as a batch by using <a href=\"https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html\"> <code>PutRecordBatch</code> </a>. The default value is <code>false</code>.</p> <p>When <code>batchMode</code> is <code>true</code> and the rule's SQL statement evaluates to an Array, each Array element forms one record in the <a href=\"https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html\"> <code>PutRecordBatch</code> </a> request. The resulting array can't have more than 500 records.</p>"
            }
          ]
        }
      },
      "description": "Describes an action that writes data to an Amazon Kinesis Firehose stream."
    },
    "FirehoseSeparator": {
      "type": "string",
      "pattern": "([\\n\\t])|(\\r\\n)|(,)"
    },
    "FunctionArn": {
      "type": "string"
    },
    "HashKeyField": {
      "type": "string"
    },
    "HashKeyValue": {
      "type": "string"
    },
    "HeaderKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "HeaderList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HttpActionHeader"
      },
      "minItems": 0,
      "maxItems": 100
    },
    "HeaderValue": {
      "type": "string"
    },
    "HttpAction": {
      "type": "object",
      "required": [
        "url"
      ],
      "properties": {
        "url": {
          "allOf": [
            {
              "$ref": "#/$defs/Url"
            },
            {
              "description": "The endpoint URL. If substitution templates are used in the URL, you must also specify a <code>confirmationUrl</code>. If this is a new destination, a new <code>TopicRuleDestination</code> is created if possible."
            }
          ]
        },
        "confirmationUrl": {
          "allOf": [
            {
              "$ref": "#/$defs/Url"
            },
            {
              "description": "The URL to which IoT sends a confirmation message. The value of the confirmation URL must be a prefix of the endpoint URL. If you do not specify a confirmation URL IoT uses the endpoint URL as the confirmation URL. If you use substitution templates in the confirmationUrl, you must create and enable topic rule destinations that match each possible value of the substitution template before traffic is allowed to your endpoint URL."
            }
          ]
        },
        "headers": {
          "allOf": [
            {
              "$ref": "#/$defs/HeaderList"
            },
            {
              "description": "The HTTP headers to send with the message data."
            }
          ]
        },
        "auth": {
          "allOf": [
            {
              "$ref": "#/$defs/HttpAuthorization"
            },
            {
              "description": "The authentication method to use when sending data to an HTTPS endpoint."
            }
          ]
        }
      },
      "description": "Send data to an HTTPS endpoint."
    },
    "HttpActionHeader": {
      "type": "object",
      "required": [
        "key",
        "value"
      ],
      "properties": {
        "key": {
          "allOf": [
            {
              "$ref": "#/$defs/HeaderKey"
            },
            {
              "description": "The HTTP header key."
            }
          ]
        },
        "value": {
          "allOf": [
            {
              "$ref": "#/$defs/HeaderValue"
            },
            {
              "description": "The HTTP header value. Substitution templates are supported."
            }
          ]
        }
      },
      "description": "The HTTP action header."
    },
    "HttpAuthorization": {
      "type": "object",
      "properties": {
        "sigv4": {
          "allOf": [
            {
              "$ref": "#/$defs/SigV4Authorization"
            },
            {
              "description": "Use Sig V4 authorization. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 Signing Process</a>."
            }
          ]
        }
      },
      "description": "The authorization method used to send messages."
    },
    "InputName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "IotAnalyticsAction": {
      "type": "object",
      "properties": {
        "channelArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "(deprecated) The ARN of the IoT Analytics channel to which message data will be sent."
            }
          ]
        },
        "channelName": {
          "allOf": [
            {
              "$ref": "#/$defs/ChannelName"
            },
            {
              "description": "The name of the IoT Analytics channel to which message data will be sent."
            }
          ]
        },
        "batchMode": {
          "allOf": [
            {
              "$ref": "#/$defs/BatchMode"
            },
            {
              "description": "<p>Whether to process the action as a batch. The default value is <code>false</code>.</p> <p>When <code>batchMode</code> is <code>true</code> and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by <a href=\"https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html\"> <code>BatchPutMessage</code> </a> to the IoT Analytics channel. The resulting array can't have more than 100 messages.</p>"
            }
          ]
        },
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage)."
            }
          ]
        }
      },
      "description": "Sends message data to an IoT Analytics channel."
    },
    "IotEventsAction": {
      "type": "object",
      "required": [
        "inputName",
        "roleArn"
      ],
      "properties": {
        "inputName": {
          "allOf": [
            {
              "$ref": "#/$defs/InputName"
            },
            {
              "description": "The name of the IoT Events input."
            }
          ]
        },
        "messageId": {
          "allOf": [
            {
              "$ref": "#/$defs/MessageId"
            },
            {
              "description": "<p>The ID of the message. The default <code>messageId</code> is a new UUID value.</p> <p>When <code>batchMode</code> is <code>true</code>, you can't specify a <code>messageId</code>--a new UUID value will be assigned.</p> <p>Assign a value to this property to ensure that only one input (message) with a given <code>messageId</code> will be processed by an IoT Events detector.</p>"
            }
          ]
        },
        "batchMode": {
          "allOf": [
            {
              "$ref": "#/$defs/BatchMode"
            },
            {
              "description": "<p>Whether to process the event actions as a batch. The default value is <code>false</code>.</p> <p>When <code>batchMode</code> is <code>true</code>, you can't specify a <code>messageId</code>. </p> <p>When <code>batchMode</code> is <code>true</code> and the rule SQL statement evaluates to an Array, each Array element is treated as a separate message when it's sent to IoT Events by calling <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMess

# --- truncated at 32 KB (64 KB total) ---
# Full source: https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-action-list-schema.json

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/amazon-iot-device-defender-action-list"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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