DescribeDetectMitigationActionsTaskResponse

Amazon Web ServicesComplianceIoTSecurityVulnerability Management

Properties

Name Type Description
taskSummary object
View JSON Schema on GitHub

JSON Schema

amazon-iot-device-defender-describe-detect-mitigation-actions-task-response-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-describe-detect-mitigation-actions-task-response-schema.json",
  "title": "DescribeDetectMitigationActionsTaskResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-detect-api-openapi.yml#/components/schemas/DescribeDetectMitigationActionsTaskResponse",
  "type": "object",
  "properties": {
    "taskSummary": {
      "allOf": [
        {
          "$ref": "#/$defs/DetectMitigationActionsTaskSummary"
        },
        {
          "description": " The description of a task. "
        }
      ]
    }
  },
  "$defs": {
    "AddThingsToThingGroupParams": {
      "type": "object",
      "required": [
        "thingGroupNames"
      ],
      "properties": {
        "thingGroupNames": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingGroupNames"
            },
            {
              "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": {
          "allOf": [
            {
              "$ref": "#/$defs/NullableBoolean"
            },
            {
              "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."
            }
          ]
        }
      },
      "description": "Parameters used when defining a mitigation action that move a set of things to a thing group."
    },
    "BehaviorName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "CACertificateUpdateAction": {
      "type": "string",
      "enum": [
        "DEACTIVATE"
      ]
    },
    "DetectMitigationActionsTaskStatistics": {
      "type": "object",
      "properties": {
        "actionsExecuted": {
          "allOf": [
            {
              "$ref": "#/$defs/GenericLongValue"
            },
            {
              "description": " The actions that were performed. "
            }
          ]
        },
        "actionsSkipped": {
          "allOf": [
            {
              "$ref": "#/$defs/GenericLongValue"
            },
            {
              "description": " The actions that were skipped. "
            }
          ]
        },
        "actionsFailed": {
          "allOf": [
            {
              "$ref": "#/$defs/GenericLongValue"
            },
            {
              "description": " The actions that failed. "
            }
          ]
        }
      },
      "description": " The statistics of a mitigation action task. "
    },
    "DetectMitigationActionsTaskStatus": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "SUCCESSFUL",
        "FAILED",
        "CANCELED"
      ]
    },
    "DetectMitigationActionsTaskSummary": {
      "type": "object",
      "properties": {
        "taskId": {
          "allOf": [
            {
              "$ref": "#/$defs/MitigationActionsTaskId"
            },
            {
              "description": " The unique identifier of the task. "
            }
          ]
        },
        "taskStatus": {
          "allOf": [
            {
              "$ref": "#/$defs/DetectMitigationActionsTaskStatus"
            },
            {
              "description": " The status of the task. "
            }
          ]
        },
        "taskStartTime": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The date the task started. "
            }
          ]
        },
        "taskEndTime": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The date the task ended. "
            }
          ]
        },
        "target": {
          "allOf": [
            {
              "$ref": "#/$defs/DetectMitigationActionsTaskTarget"
            },
            {
              "description": " Specifies the ML Detect findings to which the mitigation actions are applied. "
            }
          ]
        },
        "violationEventOccurrenceRange": {
          "allOf": [
            {
              "$ref": "#/$defs/ViolationEventOccurrenceRange"
            },
            {
              "description": " Specifies the time period of which violation events occurred between. "
            }
          ]
        },
        "onlyActiveViolationsIncluded": {
          "allOf": [
            {
              "$ref": "#/$defs/PrimitiveBoolean"
            },
            {
              "description": " Includes only active violations. "
            }
          ]
        },
        "suppressedAlertsIncluded": {
          "allOf": [
            {
              "$ref": "#/$defs/PrimitiveBoolean"
            },
            {
              "description": " Includes suppressed alerts. "
            }
          ]
        },
        "actionsDefinition": {
          "allOf": [
            {
              "$ref": "#/$defs/MitigationActionList"
            },
            {
              "description": " The definition of the actions. "
            }
          ]
        },
        "taskStatistics": {
          "allOf": [
            {
              "$ref": "#/$defs/DetectMitigationActionsTaskStatistics"
            },
            {
              "description": " The statistics of a mitigation action task. "
            }
          ]
        }
      },
      "description": " The summary of the mitigation action tasks. "
    },
    "DetectMitigationActionsTaskTarget": {
      "type": "object",
      "properties": {
        "violationIds": {
          "allOf": [
            {
              "$ref": "#/$defs/TargetViolationIdsForDetectMitigationActions"
            },
            {
              "description": " The unique identifiers of the violations. "
            }
          ]
        },
        "securityProfileName": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityProfileName"
            },
            {
              "description": " The name of the security profile. "
            }
          ]
        },
        "behaviorName": {
          "allOf": [
            {
              "$ref": "#/$defs/BehaviorName"
            },
            {
              "description": " The name of the behavior. "
            }
          ]
        }
      },
      "description": " The target of a mitigation action task. "
    },
    "DeviceCertificateUpdateAction": {
      "type": "string",
      "enum": [
        "DEACTIVATE"
      ]
    },
    "EnableIoTLoggingParams": {
      "type": "object",
      "required": [
        "roleArnForLogging",
        "logLevel"
      ],
      "properties": {
        "roleArnForLogging": {
          "allOf": [
            {
              "$ref": "#/$defs/RoleArn"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the IAM role used for logging."
            }
          ]
        },
        "logLevel": {
          "allOf": [
            {
              "$ref": "#/$defs/LogLevel"
            },
            {
              "description": "Specifies the type of information to be logged."
            }
          ]
        }
      },
      "description": "Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging."
    },
    "GenericLongValue": {
      "type": "integer"
    },
    "LogLevel": {
      "type": "string",
      "enum": [
        "DEBUG",
        "INFO",
        "ERROR",
        "WARN",
        "DISABLED"
      ]
    },
    "MitigationAction": {
      "type": "object",
      "properties": {
        "name": {
          "allOf": [
            {
              "$ref": "#/$defs/MitigationActionName"
            },
            {
              "description": "A user-friendly name for the mitigation action."
            }
          ]
        },
        "id": {
          "allOf": [
            {
              "$ref": "#/$defs/MitigationActionId"
            },
            {
              "description": "A unique identifier for the mitigation action."
            }
          ]
        },
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/RoleArn"
            },
            {
              "description": "The IAM role ARN used to apply this mitigation action."
            }
          ]
        },
        "actionParams": {
          "allOf": [
            {
              "$ref": "#/$defs/MitigationActionParams"
            },
            {
              "description": "The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply."
            }
          ]
        }
      },
      "description": "Describes which changes should be applied as part of a mitigation action."
    },
    "MitigationActionId": {
      "type": "string"
    },
    "MitigationActionList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MitigationAction"
      }
    },
    "MitigationActionName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9_-]+",
      "maxLength": 128
    },
    "MitigationActionParams": {
      "type": "object",
      "properties": {
        "updateDeviceCertificateParams": {
          "allOf": [
            {
              "$ref": "#/$defs/UpdateDeviceCertificateParams"
            },
            {
              "description": "Parameters to define a mitigation action that changes the state of the device certificate to inactive."
            }
          ]
        },
        "updateCACertificateParams": {
          "allOf": [
            {
              "$ref": "#/$defs/UpdateCACertificateParams"
            },
            {
              "description": "Parameters to define a mitigation action that changes the state of the CA certificate to inactive."
            }
          ]
        },
        "addThingsToThingGroupParams": {
          "allOf": [
            {
              "$ref": "#/$defs/AddThingsToThingGroupParams"
            },
            {
              "description": "Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine."
            }
          ]
        },
        "replaceDefaultPolicyVersionParams": {
          "allOf": [
            {
              "$ref": "#/$defs/ReplaceDefaultPolicyVersionParams"
            },
            {
              "description": "Parameters to define a mitigation action that adds a blank policy to restrict permissions."
            }
          ]
        },
        "enableIoTLoggingParams": {
          "allOf": [
            {
              "$ref": "#/$defs/EnableIoTLoggingParams"
            },
            {
              "description": "Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail."
            }
          ]
        },
        "publishFindingToSnsParams": {
          "allOf": [
            {
              "$ref": "#/$defs/PublishFindingToSnsParams"
            },
            {
              "description": "Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages."
            }
          ]
        }
      },
      "description": "The set of parameters for this mitigation action. You can specify only one type of parameter (in other words, you can apply only one action for each defined mitigation action)."
    },
    "MitigationActionsTaskId": {
      "type": "string",
      "pattern": "[a-zA-Z0-9_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "NullableBoolean": {
      "type": "boolean"
    },
    "PolicyTemplateName": {
      "type": "string",
      "enum": [
        "BLANK_POLICY"
      ]
    },
    "PrimitiveBoolean": {
      "type": "boolean"
    },
    "PublishFindingToSnsParams": {
      "type": "object",
      "required": [
        "topicArn"
      ],
      "properties": {
        "topicArn": {
          "allOf": [
            {
              "$ref": "#/$defs/SnsTopicArn"
            },
            {
              "description": "The ARN of the topic to which you want to publish the findings."
            }
          ]
        }
      },
      "description": "Parameters to define a mitigation action that publishes findings to Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages."
    },
    "ReplaceDefaultPolicyVersionParams": {
      "type": "object",
      "required": [
        "templateName"
      ],
      "properties": {
        "templateName": {
          "allOf": [
            {
              "$ref": "#/$defs/PolicyTemplateName"
            },
            {
              "description": "The name of the template to be applied. The only supported value is <code>BLANK_POLICY</code>."
            }
          ]
        }
      },
      "description": "Parameters to define a mitigation action that adds a blank policy to restrict permissions."
    },
    "RoleArn": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2048
    },
    "SecurityProfileName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "SnsTopicArn": {
      "type": "string",
      "maxLength": 350
    },
    "TargetViolationIdsForDetectMitigationActions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ViolationId"
      },
      "minItems": 1,
      "maxItems": 25
    },
    "ThingGroupName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "ThingGroupNames": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ThingGroupName"
      },
      "minItems": 1,
      "maxItems": 10
    },
    "Timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "UpdateCACertificateParams": {
      "type": "object",
      "required": [
        "action"
      ],
      "properties": {
        "action": {
          "allOf": [
            {
              "$ref": "#/$defs/CACertificateUpdateAction"
            },
            {
              "description": "The action that you want to apply to the CA certificate. The only supported value is <code>DEACTIVATE</code>."
            }
          ]
        }
      },
      "description": "Parameters to define a mitigation action that changes the state of the CA certificate to inactive."
    },
    "UpdateDeviceCertificateParams": {
      "type": "object",
      "required": [
        "action"
      ],
      "properties": {
        "action": {
          "allOf": [
            {
              "$ref": "#/$defs/DeviceCertificateUpdateAction"
            },
            {
              "description": "The action that you want to apply to the device certificate. The only supported value is <code>DEACTIVATE</code>."
            }
          ]
        }
      },
      "description": "Parameters to define a mitigation action that changes the state of the device certificate to inactive."
    },
    "ViolationEventOccurrenceRange": {
      "type": "object",
      "required": [
        "startTime",
        "endTime"
      ],
      "properties": {
        "startTime": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The start date and time of a time period in which violation events occurred. "
            }
          ]
        },
        "endTime": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The end date and time of a time period in which violation events occurred. "
            }
          ]
        }
      },
      "description": " Specifies the time period of which violation events occurred between. "
    },
    "ViolationId": {
      "type": "string",
      "pattern": "[a-zA-Z0-9\\-]+",
      "minLength": 1,
      "maxLength": 128
    }
  }
}

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-describe-detect-mitigation-actions-task-response"
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.