Amazon IoT Core · Schema

CreateMitigationActionRequest

Amazon Web ServicesDevice ManagementIoTMQTTMessage Routing

Properties

Name Type Description
actionName string A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction).
roleArn string The ARN of the IAM role that is used to apply the mitigation action.
actionParams object
tags array Metadata that can be used to manage the mitigation action.
View JSON Schema on GitHub

JSON Schema

amazon-iot-core-create-mitigation-action-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-create-mitigation-action-request-schema.json",
  "title": "CreateMitigationActionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-mitigationactions-api-openapi.yml#/components/schemas/CreateMitigationActionRequest",
  "type": "object",
  "properties": {
    "actionName": {
      "type": "string",
      "description": "A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction)."
    },
    "roleArn": {
      "type": "string",
      "description": "The ARN of the IAM role that is used to apply the mitigation action."
    },
    "actionParams": {
      "$ref": "#/$defs/MitigationActionParams"
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Metadata that can be used to manage the mitigation action."
    }
  },
  "required": [
    "actionName",
    "roleArn",
    "actionParams"
  ],
  "$defs": {
    "AddThingsToThingGroupParams": {
      "type": "object",
      "properties": {
        "thingGroupNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy."
        },
        "overrideDynamicGroups": {
          "type": "boolean",
          "description": "Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups."
        }
      },
      "required": [
        "thingGroupNames"
      ]
    },
    "EnableIoTLoggingParams": {
      "type": "object",
      "properties": {
        "roleArnForLogging": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM role used for logging."
        },
        "logLevel": {
          "type": "string",
          "enum": [
            "DEBUG",
            "INFO",
            "ERROR",
            "WARN",
            "DISABLED"
          ],
          "description": "Specifies the type of information to be logged."
        }
      },
      "required": [
        "roleArnForLogging",
        "logLevel"
      ]
    },
    "MitigationActionParams": {
      "type": "object",
      "properties": {
        "updateDeviceCertificateParams": {
          "$ref": "#/$defs/UpdateDeviceCertificateParams"
        },
        "updateCACertificateParams": {
          "$ref": "#/$defs/UpdateCACertificateParams"
        },
        "addThingsToThingGroupParams": {
          "$ref": "#/$defs/AddThingsToThingGroupParams"
        },
        "replaceDefaultPolicyVersionParams": {
          "$ref": "#/$defs/ReplaceDefaultPolicyVersionParams"
        },
        "enableIoTLoggingParams": {
          "$ref": "#/$defs/EnableIoTLoggingParams"
        },
        "publishFindingToSnsParams": {
          "$ref": "#/$defs/PublishFindingToSnsParams"
        }
      }
    },
    "PublishFindingToSnsParams": {
      "type": "object",
      "properties": {
        "topicArn": {
          "type": "string",
          "description": "The ARN of the topic to which you want to publish the findings."
        }
      },
      "required": [
        "topicArn"
      ]
    },
    "ReplaceDefaultPolicyVersionParams": {
      "type": "object",
      "properties": {
        "templateName": {
          "type": "string",
          "enum": [
            "BLANK_POLICY"
          ],
          "description": "The name of the template to be applied. The only supported value is BLANK_POLICY."
        }
      },
      "required": [
        "templateName"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag's key."
        },
        "Value": {
          "type": "string",
          "description": "The tag's value."
        }
      },
      "required": [
        "Key"
      ]
    },
    "UpdateCACertificateParams": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string",
          "enum": [
            "DEACTIVATE"
          ],
          "description": "The action that you want to apply to the CA certificate. The only supported value is DEACTIVATE."
        }
      },
      "required": [
        "action"
      ]
    },
    "UpdateDeviceCertificateParams": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string",
          "enum": [
            "DEACTIVATE"
          ],
          "description": "The action that you want to apply to the device certificate. The only supported value is DEACTIVATE."
        }
      },
      "required": [
        "action"
      ]
    }
  }
}

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-core-create-mitigation-action-request"
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.