Amazon IoT Core Streams API

The Streams API from Amazon IoT Core — 2 operation(s) for streams.

GitHub OpenAPI

Operations 5

POST /streams/{streamId} Create Stream #
DELETE /streams/{streamId} Delete Stream #
GET /streams/{streamId} Describe Stream #
PUT /streams/{streamId} Update Stream #
GET /streams List Streams #

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-streams-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-streams-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Streams 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:
  /streams/{streamId}:
    post:
      operationId: CreateStream
      summary: Create Stream
      description: Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes
        in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with
        a stream. Requires permission to access the CreateStream action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateStreamResponse'
        '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'
        '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: streamId
        in: path
        required: true
        schema:
          type: string
        description: The stream ID.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  description: A description of the stream.
                files:
                  type: array
                  items:
                    $ref: '#/components/schemas/StreamFile'
                  description: The files to stream.
                roleArn:
                  type: string
                  description: An IAM role that allows the IoT service principal to access your S3 files.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: Metadata which can be used to manage streams.
              required:
              - files
              - roleArn
      tags:
      - Streams
    delete:
      operationId: DeleteStream
      summary: Delete Stream
      description: Deletes a stream. Requires permission to access the DeleteStream action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteStreamResponse'
        '409':
          description: DeleteConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteConflictException'
        '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: streamId
        in: path
        required: true
        schema:
          type: string
        description: The stream ID.
      tags:
      - Streams
    get:
      operationId: DescribeStream
      summary: Describe Stream
      description: Gets information about a stream. Requires permission to access the DescribeStream action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeStreamResponse'
        '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: streamId
        in: path
        required: true
        schema:
          type: string
        description: The stream ID.
      tags:
      - Streams
    put:
      operationId: UpdateStream
      summary: Update Stream
      description: Updates an existing stream. The stream version will be incremented by one. Requires permission to access
        the UpdateStream action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateStreamResponse'
        '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'
        '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: streamId
        in: path
        required: true
        schema:
          type: string
        description: The stream ID.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  description: The description of the stream.
                files:
                  type: array
                  items:
                    $ref: '#/components/schemas/StreamFile'
                  description: The files associated with the stream.
                roleArn:
                  type: string
                  description: An IAM role that allows the IoT service principal assumes to access your S3 files.
      tags:
      - Streams
  /streams:
    get:
      operationId: ListStreams
      summary: List Streams
      description: Lists all of the streams in your Amazon Web Services account. Requires permission to access the ListStreams
        action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListStreamsResponse'
        '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: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return at a time.
      - name: nextToken
        in: query
        schema:
          type: string
        description: A token used to get the next set of results.
      - name: isAscendingOrder
        in: query
        schema:
          type: boolean
        description: Set to true to return the list of streams in ascending order.
      tags:
      - Streams
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:
    CreateStreamResponse:
      type: object
      properties:
        streamId:
          type: string
          description: The stream ID.
        streamArn:
          type: string
          description: The stream ARN.
        description:
          type: string
          description: A description of the stream.
        streamVersion:
          type: integer
          description: The version of the stream.
    DeleteConflictException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    DeleteStreamResponse:
      type: object
      properties: {}
    DescribeStreamResponse:
      type: object
      properties:
        streamInfo:
          $ref: '#/components/schemas/StreamInfo'
    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.
    ListStreamsResponse:
      type: object
      properties:
        streams:
          type: array
          items:
            $ref: '#/components/schemas/StreamSummary'
          description: A list of streams.
        nextToken:
          type: string
          description: A token used to get the next set of results.
    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.
    S3Location:
      type: object
      properties:
        bucket:
          type: string
          description: The S3 bucket.
        key:
          type: string
          description: The S3 key.
        version:
          type: string
          description: The S3 bucket version.
    ServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    StreamFile:
      type: object
      properties:
        fileId:
          type: integer
          description: The file ID.
        s3Location:
          $ref: '#/components/schemas/S3Location'
    StreamInfo:
      type: object
      properties:
        streamId:
          type: string
          description: The stream ID.
        streamArn:
          type: string
          description: The stream ARN.
        streamVersion:
          type: integer
          description: The stream version.
        description:
          type: string
          description: The description of the stream.
        files:
          type: array
          items:
            $ref: '#/components/schemas/StreamFile'
          description: The files to stream.
        createdAt:
          type: string
          format: date-time
          description: The date when the stream was created.
        lastUpdatedAt:
          type: string
          format: date-time
          description: The date when the stream was last updated.
        roleArn:
          type: string
          description: An IAM role IoT assumes to access your S3 files.
    StreamSummary:
      type: object
      properties:
        streamId:
          type: string
          description: The stream ID.
        streamArn:
          type: string
          description: The stream ARN.
        streamVersion:
          type: integer
          description: The stream version.
        description:
          type: string
          description: A description of the stream.
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The tag's key.
        Value:
          type: string
          description: The tag's value.
      required:
      - Key
    UnauthorizedException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    UpdateStreamResponse:
      type: object
      properties:
        streamId:
          type: string
          description: The stream ID.
        streamArn:
          type: string
          description: The stream ARN.
        description:
          type: string
          description: A description of the stream.
        streamVersion:
          type: integer
          description: The stream version.
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)