Amazon IoT Core Thing Types API

The Thing Types API from Amazon IoT Core — 3 operation(s) for thing types.

GitHub OpenAPI

Operations 6

POST /thing-types/{thingTypeName} Create Thing Type #
DELETE /thing-types/{thingTypeName} Delete Thing Type #
GET /thing-types/{thingTypeName} Describe Thing Type #
PATCH /thing-types/{thingTypeName} Update Thing Type #
GET /thing-types List Thing Types #
POST /thing-types/{thingTypeName}/deprecate Deprecate Thing Type #

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-thing-types-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-thing-types-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Thing Types API
  version: '2015-05-28'
  description: Generated from AWS's published Smithy model for AWS IoT. 6 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:
  /thing-types/{thingTypeName}:
    post:
      operationId: CreateThingType
      summary: Create Thing Type
      description: Creates a new thing type. If this call is made multiple times using the same thing type name and configuration,
        the call will succeed. If this call is made with the same thing type name but different configuration a ResourceAlreadyExistsException
        is thrown. Requires permission to access the CreateThingType action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateThingTypeResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '409':
          description: ResourceAlreadyExistsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceAlreadyExistsException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: thingTypeName
        in: path
        required: true
        schema:
          type: string
        description: The name of the thing type.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                thingTypeProperties:
                  $ref: '#/components/schemas/ThingTypeProperties'
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: Metadata which can be used to manage the thing type.
      tags:
      - Thing Types
    delete:
      operationId: DeleteThingType
      summary: Delete Thing Type
      description: Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To
        delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things
        by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete
        the thing type. Requires permission to access the DeleteThingType action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteThingTypeResponse'
        '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'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: thingTypeName
        in: path
        required: true
        schema:
          type: string
        description: The name of the thing type.
      tags:
      - Thing Types
    get:
      operationId: DescribeThingType
      summary: Describe Thing Type
      description: Gets information about the specified thing type. Requires permission to access the DescribeThingType action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeThingTypeResponse'
        '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'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: thingTypeName
        in: path
        required: true
        schema:
          type: string
        description: The name of the thing type.
      tags:
      - Thing Types
    patch:
      operationId: UpdateThingType
      summary: Update Thing Type
      description: Updates a thing type.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateThingTypeResponse'
        '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'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: thingTypeName
        in: path
        required: true
        schema:
          type: string
        description: The name of a thing type.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                thingTypeProperties:
                  $ref: '#/components/schemas/ThingTypeProperties'
      tags:
      - Thing Types
  /thing-types:
    get:
      operationId: ListThingTypes
      summary: List Thing Types
      description: Lists the existing thing types. Requires permission to access the ListThingTypes action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListThingTypesResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: To retrieve the next set of results, the nextToken value from a previous response; otherwise null to
          receive the first set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return in this operation.
      - name: thingTypeName
        in: query
        schema:
          type: string
        description: The name of the thing type.
      tags:
      - Thing Types
  /thing-types/{thingTypeName}/deprecate:
    post:
      operationId: DeprecateThingType
      summary: Deprecate Thing Type
      description: Deprecates a thing type. You can not associate new things with deprecated thing type. Requires permission
        to access the DeprecateThingType action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeprecateThingTypeResponse'
        '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'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: thingTypeName
        in: path
        required: true
        schema:
          type: string
        description: The name of the thing type to deprecate.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                undoDeprecate:
                  type: boolean
                  description: Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated
                    anymore and you can associate it with things.
      tags:
      - Thing Types
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:
    CreateThingTypeResponse:
      type: object
      properties:
        thingTypeName:
          type: string
          description: The name of the thing type.
        thingTypeArn:
          type: string
          description: The Amazon Resource Name (ARN) of the thing type.
        thingTypeId:
          type: string
          description: The thing type ID.
    DeleteThingTypeResponse:
      type: object
      properties: {}
    DeprecateThingTypeResponse:
      type: object
      properties: {}
    DescribeThingTypeResponse:
      type: object
      properties:
        thingTypeName:
          type: string
          description: The name of the thing type.
        thingTypeId:
          type: string
          description: The thing type ID.
        thingTypeArn:
          type: string
          description: The thing type ARN.
        thingTypeProperties:
          $ref: '#/components/schemas/ThingTypeProperties'
        thingTypeMetadata:
          $ref: '#/components/schemas/ThingTypeMetadata'
    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.
    ListThingTypesResponse:
      type: object
      properties:
        thingTypes:
          type: array
          items:
            $ref: '#/components/schemas/ThingTypeDefinition'
          description: The thing types.
        nextToken:
          type: string
          description: The token for the next set of results. Will not be returned if operation has returned all results.
    Mqtt5Configuration:
      type: object
      properties:
        propagatingAttributes:
          type: array
          items:
            $ref: '#/components/schemas/PropagatingAttribute'
          description: An object that represents the propagating thing attributes and the connection attributes.
    PropagatingAttribute:
      type: object
      properties:
        userPropertyKey:
          type: string
          description: The key of the user property key-value pair.
        thingAttribute:
          type: string
          description: The user-defined thing attribute that is propagating for MQTT 5 message enrichment.
        connectionAttribute:
          type: string
          description: The attribute associated with the connection between a device and Amazon Web Services IoT Core.
    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.
    ServiceUnavailableException:
      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
    ThingTypeDefinition:
      type: object
      properties:
        thingTypeName:
          type: string
          description: The name of the thing type.
        thingTypeArn:
          type: string
          description: The thing type ARN.
        thingTypeProperties:
          $ref: '#/components/schemas/ThingTypeProperties'
        thingTypeMetadata:
          $ref: '#/components/schemas/ThingTypeMetadata'
    ThingTypeMetadata:
      type: object
      properties:
        deprecated:
          type: boolean
          description: Whether the thing type is deprecated. If true, no new things could be associated with this type.
        deprecationDate:
          type: string
          format: date-time
          description: The date and time when the thing type was deprecated.
        creationDate:
          type: string
          format: date-time
          description: The date and time when the thing type was created.
    ThingTypeProperties:
      type: object
      properties:
        thingTypeDescription:
          type: string
          description: The description of the thing type.
        searchableAttributes:
          type: array
          items:
            type: string
          description: A list of searchable thing attribute names.
        mqtt5Configuration:
          $ref: '#/components/schemas/Mqtt5Configuration'
    UnauthorizedException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    UpdateThingTypeResponse:
      type: object
      properties: {}
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)