Amazon IoT Core Mitigationactions API

The Mitigationactions API from Amazon IoT Core — 2 operation(s) for mitigationactions.

GitHub OpenAPI
Business capability
Threat Detection & Response Management BC-620.30

Operations 5

POST /mitigationactions/actions/{actionName} Create Mitigation Action #
DELETE /mitigationactions/actions/{actionName} Delete Mitigation Action #
GET /mitigationactions/actions/{actionName} Describe Mitigation Action #
PATCH /mitigationactions/actions/{actionName} Update Mitigation Action #
GET /mitigationactions/actions List Mitigation Actions #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/amazon-iot-core:amazon-iot-core-mitigationactions-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

amazon-iot-core-mitigationactions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Mitigationactions API
  version: '2015-05-28'
  description: Generated from AWS's published Smithy model for AWS IoT. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://iot.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /mitigationactions/actions/{actionName}:
    post:
      operationId: CreateMitigationAction
      summary: Create Mitigation Action
      description: Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only
        certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions.
        Each mitigation action can apply only one type of change. Requires permission to access the CreateMitigationAction
        action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateMitigationActionResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '410':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '409':
          description: ResourceAlreadyExistsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceAlreadyExistsException'
      parameters:
      - name: actionName
        in: path
        required: true
        schema:
          type: string
        description: A friendly name for the action. Choose a friendly name that accurately describes the action (for example,
          EnableLoggingAction).
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                roleArn:
                  type: string
                  description: The ARN of the IAM role that is used to apply the mitigation action.
                actionParams:
                  $ref: '#/components/schemas/MitigationActionParams'
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: Metadata that can be used to manage the mitigation action.
              required:
              - roleArn
              - actionParams
      tags:
      - Mitigationactions
    delete:
      operationId: DeleteMitigationAction
      summary: Delete Mitigation Action
      description: Deletes a defined mitigation action from your Amazon Web Services accounts. Requires permission to access
        the DeleteMitigationAction action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteMitigationActionResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: actionName
        in: path
        required: true
        schema:
          type: string
        description: The name of the mitigation action that you want to delete.
      tags:
      - Mitigationactions
    get:
      operationId: DescribeMitigationAction
      summary: Describe Mitigation Action
      description: Gets information about a mitigation action. Requires permission to access the DescribeMitigationAction
        action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeMitigationActionResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: actionName
        in: path
        required: true
        schema:
          type: string
        description: The friendly name that uniquely identifies the mitigation action.
      tags:
      - Mitigationactions
    patch:
      operationId: UpdateMitigationAction
      summary: Update Mitigation Action
      description: Updates the definition for the specified mitigation action. Requires permission to access the UpdateMitigationAction
        action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateMitigationActionResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: actionName
        in: path
        required: true
        schema:
          type: string
        description: The friendly name for the mitigation action. You cannot change the name by using UpdateMitigationAction.
          Instead, you must delete and recreate the mitigation action with the new name.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                roleArn:
                  type: string
                  description: The ARN of the IAM role that is used to apply the mitigation action.
                actionParams:
                  $ref: '#/components/schemas/MitigationActionParams'
      tags:
      - Mitigationactions
  /mitigationactions/actions:
    get:
      operationId: ListMitigationActions
      summary: List Mitigation Actions
      description: Gets a list of all mitigation actions that match the specified filter criteria. Requires permission to
        access the ListMitigationActions action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListMitigationActionsResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: actionType
        in: query
        schema:
          type: string
          enum:
          - UPDATE_DEVICE_CERTIFICATE
          - UPDATE_CA_CERTIFICATE
          - ADD_THINGS_TO_THING_GROUP
          - REPLACE_DEFAULT_POLICY_VERSION
          - ENABLE_IOT_LOGGING
          - PUBLISH_FINDING_TO_SNS
        description: Specify a value to limit the result to mitigation actions with a specific action type.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return at one time. The default is 25.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token for the next set of results.
      tags:
      - Mitigationactions
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: iot
  schemas:
    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
    CreateMitigationActionResponse:
      type: object
      properties:
        actionArn:
          type: string
          description: The ARN for the new mitigation action.
        actionId:
          type: string
          description: A unique identifier for the new mitigation action.
    DeleteMitigationActionResponse:
      type: object
      properties: {}
    DescribeMitigationActionResponse:
      type: object
      properties:
        actionName:
          type: string
          description: The friendly name that uniquely identifies the mitigation action.
        actionType:
          type: string
          enum:
          - UPDATE_DEVICE_CERTIFICATE
          - UPDATE_CA_CERTIFICATE
          - ADD_THINGS_TO_THING_GROUP
          - REPLACE_DEFAULT_POLICY_VERSION
          - ENABLE_IOT_LOGGING
          - PUBLISH_FINDING_TO_SNS
          description: The type of mitigation action.
        actionArn:
          type: string
          description: The ARN that identifies this migration action.
        actionId:
          type: string
          description: A unique identifier for this action.
        roleArn:
          type: string
          description: The ARN of the IAM role used to apply this action.
        actionParams:
          $ref: '#/components/schemas/MitigationActionParams'
        creationDate:
          type: string
          format: date-time
          description: The date and time when the mitigation action was added to your Amazon Web Services accounts.
        lastModifiedDate:
          type: string
          format: date-time
          description: The date and time when the mitigation action was last changed.
    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
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    LimitExceededException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    ListMitigationActionsResponse:
      type: object
      properties:
        actionIdentifiers:
          type: array
          items:
            $ref: '#/components/schemas/MitigationActionIdentifier'
          description: A set of actions that matched the specified filter criteria.
        nextToken:
          type: string
          description: The token for the next set of results.
    MitigationActionIdentifier:
      type: object
      properties:
        actionName:
          type: string
          description: The friendly name of the mitigation action.
        actionArn:
          type: string
          description: The IAM role ARN used to apply this mitigation action.
        creationDate:
          type: string
          format: date-time
          description: The date when this mitigation action was created.
    MitigationActionParams:
      type: object
      properties:
        updateDeviceCertificateParams:
          $ref: '#/components/schemas/UpdateDeviceCertificateParams'
        updateCACertificateParams:
          $ref: '#/components/schemas/UpdateCACertificateParams'
        addThingsToThingGroupParams:
          $ref: '#/components/schemas/AddThingsToThingGroupParams'
        replaceDefaultPolicyVersionParams:
          $ref: '#/components/schemas/ReplaceDefaultPolicyVersionParams'
        enableIoTLoggingParams:
          $ref: '#/components/schemas/EnableIoTLoggingParams'
        publishFindingToSnsParams:
          $ref: '#/components/schemas/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
    ResourceAlreadyExistsException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
        resourceId:
          type: string
          description: The ID of the resource that caused the exception.
        resourceArn:
          type: string
          description: The ARN of the resource that caused the exception.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    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
    UpdateMitigationActionResponse:
      type: object
      properties:
        actionArn:
          type: string
          description: The ARN for the new mitigation action.
        actionId:
          type: string
          description: A unique identifier for the mitigation action.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iot/service/2015-05-28/iot-2015-05-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)