Amazon IoT Core Iot Core Suiteruns API

The Iot Core Suiteruns API from Amazon IoT Core — 3 operation(s) for iot core suiteruns.

GitHub OpenAPI

Operations 3

GET /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId} Get Suite Run #
GET /suiteRuns List Suite Runs #
POST /suiteDefinitions/{suiteDefinitionId}/suiteRuns Start Suite Run #

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-suiteruns-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-suiteruns-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Suiteruns API
  version: '2015-05-28'
  description: Generated from AWS's published Smithy model for AWS IoT. 3 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://api.iotdeviceadvisor.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}:
    get:
      operationId: GetSuiteRun
      summary: Get Suite Run
      description: Gets information about a Device Advisor test suite run. Requires permission to access the GetSuiteRun action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSuiteRunResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotdeviceadvisorInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotdeviceadvisorResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotdeviceadvisorValidationException'
      parameters:
      - name: suiteDefinitionId
        in: path
        required: true
        schema:
          type: string
        description: Suite definition ID for the test suite run.
      - name: suiteRunId
        in: path
        required: true
        schema:
          type: string
        description: Suite run ID for the test suite run.
      tags:
      - Suiteruns
  /suiteRuns:
    get:
      operationId: ListSuiteRuns
      summary: List Suite Runs
      description: Lists runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the
        runs of a specific version of the test suite. Requires permission to access the ListSuiteRuns action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSuiteRunsResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotdeviceadvisorInternalServerException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotdeviceadvisorValidationException'
      parameters:
      - name: suiteDefinitionId
        in: query
        schema:
          type: string
        description: Lists the test suite runs of the specified test suite based on suite definition ID.
      - name: suiteDefinitionVersion
        in: query
        schema:
          type: string
        description: Must be passed along with suiteDefinitionId. Lists the test suite runs of the specified test suite based
          on suite definition version.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return at once.
      - name: nextToken
        in: query
        schema:
          type: string
        description: A token to retrieve the next set of results.
      tags:
      - Suiteruns
  /suiteDefinitions/{suiteDefinitionId}/suiteRuns:
    post:
      operationId: StartSuiteRun
      summary: Start Suite Run
      description: Starts a Device Advisor test suite run. Requires permission to access the StartSuiteRun action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartSuiteRunResponse'
        '400':
          description: ConflictException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotdeviceadvisorConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIotdeviceadvisorInternalServerException'
      parameters:
      - name: suiteDefinitionId
        in: path
        required: true
        schema:
          type: string
        description: Suite definition ID of the test suite.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                suiteDefinitionVersion:
                  type: string
                  description: Suite definition version of the test suite.
                suiteRunConfiguration:
                  $ref: '#/components/schemas/SuiteRunConfiguration'
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags to be attached to the suite run.
              required:
              - suiteRunConfiguration
      tags:
      - Suiteruns
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: iotdeviceadvisor
  schemas:
    ApiIotdeviceadvisorConflictException:
      type: object
      properties:
        message:
          type: string
          description: Sends a Conflict Exception message.
    ApiIotdeviceadvisorInternalServerException:
      type: object
      properties:
        message:
          type: string
          description: Sends an Internal Failure Exception message.
    ApiIotdeviceadvisorResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: Sends a Resource Not Found Exception message.
    ApiIotdeviceadvisorValidationException:
      type: object
      properties:
        message:
          type: string
          description: Sends a Validation Exception message.
    DeviceUnderTest:
      type: object
      properties:
        thingArn:
          type: string
          description: Lists device's thing ARN.
        certificateArn:
          type: string
          description: Lists device's certificate ARN.
        deviceRoleArn:
          type: string
          description: Lists device's role ARN.
    GetSuiteRunResponse:
      type: object
      properties:
        suiteDefinitionId:
          type: string
          description: Suite definition ID for the test suite run.
        suiteDefinitionVersion:
          type: string
          description: Suite definition version for the test suite run.
        suiteRunId:
          type: string
          description: Suite run ID for the test suite run.
        suiteRunArn:
          type: string
          description: The ARN of the suite run.
        suiteRunConfiguration:
          $ref: '#/components/schemas/SuiteRunConfiguration'
        testResult:
          $ref: '#/components/schemas/TestResult'
        startTime:
          type: string
          format: date-time
          description: Date (in Unix epoch time) when the test suite run started.
        endTime:
          type: string
          format: date-time
          description: Date (in Unix epoch time) when the test suite run ended.
        status:
          type: string
          enum:
          - PASS
          - FAIL
          - CANCELED
          - PENDING
          - RUNNING
          - STOPPING
          - STOPPED
          - PASS_WITH_WARNINGS
          - ERROR
          description: Status for the test suite run.
        errorReason:
          type: string
          description: Error reason for any test suite run failure.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags attached to the suite run.
    GroupResult:
      type: object
      properties:
        groupId:
          type: string
          description: Group result ID.
        groupName:
          type: string
          description: Group Result Name.
        tests:
          type: array
          items:
            $ref: '#/components/schemas/TestCaseRun'
          description: Tests under Group Result.
    ListSuiteRunsResponse:
      type: object
      properties:
        suiteRunsList:
          type: array
          items:
            $ref: '#/components/schemas/SuiteRunInformation'
          description: An array of objects that provide summaries of information about the suite runs in the list.
        nextToken:
          type: string
          description: A token to retrieve the next set of results.
    StartSuiteRunResponse:
      type: object
      properties:
        suiteRunId:
          type: string
          description: Suite Run ID of the started suite run.
        suiteRunArn:
          type: string
          description: Amazon Resource Name (ARN) of the started suite run.
        createdAt:
          type: string
          format: date-time
          description: Starts a Device Advisor test suite run based on suite create time.
        endpoint:
          type: string
          description: The response of an Device Advisor test endpoint.
    SuiteRunConfiguration:
      type: object
      properties:
        primaryDevice:
          $ref: '#/components/schemas/DeviceUnderTest'
        selectedTestList:
          type: array
          items:
            type: string
          description: Sets test case list.
        parallelRun:
          type: boolean
          description: TRUE if multiple test suites run in parallel.
      required:
      - primaryDevice
    SuiteRunInformation:
      type: object
      properties:
        suiteDefinitionId:
          type: string
          description: Suite definition ID of the suite run.
        suiteDefinitionVersion:
          type: string
          description: Suite definition version of the suite run.
        suiteDefinitionName:
          type: string
          description: Suite definition name of the suite run.
        suiteRunId:
          type: string
          description: Suite run ID of the suite run.
        createdAt:
          type: string
          format: date-time
          description: Date (in Unix epoch time) when the suite run was created.
        startedAt:
          type: string
          format: date-time
          description: Date (in Unix epoch time) when the suite run was started.
        endAt:
          type: string
          format: date-time
          description: Date (in Unix epoch time) when the suite run ended.
        status:
          type: string
          enum:
          - PASS
          - FAIL
          - CANCELED
          - PENDING
          - RUNNING
          - STOPPING
          - STOPPED
          - PASS_WITH_WARNINGS
          - ERROR
          description: Status of the suite run.
        passed:
          type: integer
          description: Number of test cases that passed in the suite run.
        failed:
          type: integer
          description: Number of test cases that failed in the suite run.
    TestCaseRun:
      type: object
      properties:
        testCaseRunId:
          type: string
          description: Provides the test case run ID.
        testCaseDefinitionId:
          type: string
          description: Provides the test case run definition ID.
        testCaseDefinitionName:
          type: string
          description: Provides the test case run definition name.
        status:
          type: string
          enum:
          - PASS
          - FAIL
          - CANCELED
          - PENDING
          - RUNNING
          - STOPPING
          - STOPPED
          - PASS_WITH_WARNINGS
          - ERROR
          description: 'Provides the test case run status. Status is one of the following: PASS: Test passed. FAIL: Test failed.
            PENDING: Test has not started running but is scheduled. RUNNING: Test is running. STOPPING: Test is performing
            cleanup steps. You will see this status only if you stop a suite run. STOPPED Test is stopped. You will see this
            status only if you stop a suite run. PASS_WITH_WARNINGS: Test passed with warnings. ERORR: Test faced an error
            when running due to an internal issue.'
        startTime:
          type: string
          format: date-time
          description: Provides test case run start time.
        endTime:
          type: string
          format: date-time
          description: Provides test case run end time.
        logUrl:
          type: string
          description: Provides test case run log URL.
        warnings:
          type: string
          description: Provides test case run warnings.
        failure:
          type: string
          description: Provides test case run failure result.
        testScenarios:
          type: array
          items:
            $ref: '#/components/schemas/TestCaseScenario'
          description: Provides the test scenarios for the test case run.
    TestCaseScenario:
      type: object
      properties:
        testCaseScenarioId:
          type: string
          description: Provides test case scenario ID.
        testCaseScenarioType:
          type: string
          enum:
          - Advanced
          - Basic
          description: 'Provides test case scenario type. Type is one of the following: Advanced Basic'
        status:
          type: string
          enum:
          - PASS
          - FAIL
          - CANCELED
          - PENDING
          - RUNNING
          - STOPPING
          - STOPPED
          - PASS_WITH_WARNINGS
          - ERROR
          description: 'Provides the test case scenario status. Status is one of the following: PASS: Test passed. FAIL: Test
            failed. PENDING: Test has not started running but is scheduled. RUNNING: Test is running. STOPPING: Test is performing
            cleanup steps. You will see this status only if you stop a suite run. STOPPED Test is stopped. You will see this
            status only if you stop a suite run. PASS_WITH_WARNINGS: Test passed with warnings. ERORR: Test faced an error
            when running due to an internal issue.'
        failure:
          type: string
          description: Provides test case scenario failure result.
        systemMessage:
          type: string
          description: Provides test case scenario system messages if any.
    TestResult:
      type: object
      properties:
        groups:
          type: array
          items:
            $ref: '#/components/schemas/GroupResult'
          description: Show each group of test results.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iotdeviceadvisor/service/2020-09-18/iotdeviceadvisor-2020-09-18.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)