DescribeAuditMitigationActionsTaskResponse

Amazon Web ServicesDevice ManagementFleet ManagementIoTOTA Updates

Properties

Name Type Description
taskStatus object
startTime object
endTime object
taskStatistics object
target object
auditCheckToActionsMapping object
actionsDefinition object
View JSON Schema on GitHub

JSON Schema

amazon-iot-device-management-describe-audit-mitigation-actions-task-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-describe-audit-mitigation-actions-task-response-schema.json",
  "title": "DescribeAuditMitigationActionsTaskResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-audit-api-openapi.yml#/components/schemas/DescribeAuditMitigationActionsTaskResponse",
  "type": "object",
  "properties": {
    "taskStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/AuditMitigationActionsTaskStatus"
        },
        {
          "description": "The current status of the task."
        }
      ]
    },
    "startTime": {
      "allOf": [
        {
          "$ref": "#/$defs/Timestamp"
        },
        {
          "description": "The date and time when the task was started."
        }
      ]
    },
    "endTime": {
      "allOf": [
        {
          "$ref": "#/$defs/Timestamp"
        },
        {
          "description": "The date and time when the task was completed or canceled."
        }
      ]
    },
    "taskStatistics": {
      "allOf": [
        {
          "$ref": "#/$defs/AuditMitigationActionsTaskStatistics"
        },
        {
          "description": "Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task."
        }
      ]
    },
    "target": {
      "allOf": [
        {
          "$ref": "#/$defs/AuditMitigationActionsTaskTarget"
        },
        {
          "description": "Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings."
        }
      ]
    },
    "auditCheckToActionsMapping": {
      "allOf": [
        {
          "$ref": "#/$defs/AuditCheckToActionsMapping"
        },
        {
          "description": "Specifies the mitigation actions that should be applied to specific audit checks."
        }
      ]
    },
    "actionsDefinition": {
      "allOf": [
        {
          "$ref": "#/$defs/MitigationActionList"
        },
        {
          "description": "Specifies the mitigation actions and their parameters that are applied as part of this 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."
    },
    "AuditCheckToActionsMapping": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/MitigationActionNameList"
      }
    },
    "AuditCheckToReasonCodeFilter": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ReasonForNonComplianceCodes"
      }
    },
    "AuditMitigationActionsTaskStatistics": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/TaskStatisticsForAuditCheck"
      }
    },
    "AuditMitigationActionsTaskStatus": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "COMPLETED",
        "FAILED",
        "CANCELED"
      ]
    },
    "AuditMitigationActionsTaskTarget": {
      "type": "object",
      "properties": {
        "auditTaskId": {
          "allOf": [
            {
              "$ref": "#/$defs/AuditTaskId"
            },
            {
              "description": "If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit."
            }
          ]
        },
        "findingIds": {
          "allOf": [
            {
              "$ref": "#/$defs/FindingIds"
            },
            {
              "description": "If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings."
            }
          ]
        },
        "auditCheckToReasonCodeFilter": {
          "allOf": [
            {
              "$ref": "#/$defs/AuditCheckToReasonCodeFilter"
            },
            {
              "description": "Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply."
            }
          ]
        }
      },
      "description": "Used in MitigationActionParams, this information identifies the target findings to which the mitigation actions are applied. Only one entry appears."
    },
    "AuditTaskId": {
      "type": "string",
      "pattern": "[a-zA-Z0-9\\-]+",
      "minLength": 1,
      "maxLength": 40
    },
    "CACertificateUpdateAction": {
      "type": "string",
      "enum": [
        "DEACTIVATE"
      ]
    },
    "CanceledFindingsCount": {
      "type": "integer"
    },
    "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."
    },
    "FailedFindingsCount": {
      "type": "integer"
    },
    "FindingId": {
      "type": "string",
      "pattern": "[a-zA-Z0-9_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "FindingIds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FindingId"
      },
      "minItems": 1,
      "maxItems": 25
    },
    "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
    },
    "MitigationActionNameList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MitigationActionName"
      },
      "minItems": 1,
      "maxItems": 5
    },
    "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)."
    },
    "NullableBoolean": {
      "type": "boolean"
    },
    "PolicyTemplateName": {
      "type": "string",
      "enum": [
        "BLANK_POLICY"
      ]
    },
    "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."
    },
    "ReasonForNonComplianceCode": {
      "type": "string"
    },
    "ReasonForNonComplianceCodes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReasonForNonComplianceCode"
      },
      "minItems": 1,
      "maxItems": 25
    },
    "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
    },
    "SkippedFindingsCount": {
      "type": "integer"
    },
    "SnsTopicArn": {
      "type": "string",
      "maxLength": 350
    },
    "SucceededFindingsCount": {
      "type": "integer"
    },
    "TaskStatisticsForAuditCheck": {
      "type": "object",
      "properties": {
        "totalFindingsCount": {
          "allOf": [
            {
              "$ref": "#/$defs/TotalFindingsCount"
            },
            {
              "description": "The total number of findings to which a task is being applied."
            }
          ]
        },
        "failedFindingsCount": {
          "allOf": [
            {
              "$ref": "#/$defs/FailedFindingsCount"
            },
            {
              "description": "The number of findings for which at least one of the actions failed when applied."
            }
          ]
        },
        "succeededFindingsCount": {
          "allOf": [
            {
              "$ref": "#/$defs/SucceededFindingsCount"
            },
            {
              "description": "The number of findings for which all mitigation actions succeeded when applied."
            }
          ]
        },
        "skippedFindingsCount": {
          "allOf": [
            {
              "$ref": "#/$defs/SkippedFindingsCount"
            },
            {
              "description": "The number of findings skipped because of filter conditions provided in the parameters to the command."
            }
          ]
        },
        "canceledFindingsCount": {
          "allOf": [
            {
              "$ref": "#/$defs/CanceledFindingsCount"
            },
            {
              "description": "The number of findings to which the mitigation action task was canceled when applied."
            }
          ]
        }
      },
      "description": "Provides summary counts of how many tasks for findings are in a particular state. This information is included in the response from DescribeAuditMitigationActionsTask."
    },
    "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"
    },
    "TotalFindingsCount": {
      "type": "integer"
    },
    "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."
    }
  }
}

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-management-describe-audit-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.