Amazon Kinesis Streams API

Operations for creating, describing, listing, and managing Kinesis data streams.

Operations 15

POST /#X-Amz-Target=Kinesis_20131202.CreateStream Amazon Kinesis Create a Kinesis data stream #
POST /#X-Amz-Target=Kinesis_20131202.DeleteStream Amazon Kinesis Delete a Kinesis data stream #
POST /#X-Amz-Target=Kinesis_20131202.DescribeStream Amazon Kinesis Describe a Kinesis data stream #
POST /#X-Amz-Target=Kinesis_20131202.DescribeStreamSummary Amazon Kinesis Get a summary description of a stream #
POST /#X-Amz-Target=Kinesis_20131202.ListStreams Amazon Kinesis List Kinesis data streams #
POST /#X-Amz-Target=Kinesis_20131202.UpdateStreamMode Amazon Kinesis Update the capacity mode of a stream #
POST /#X-Amz-Target=Kinesis_20131202.IncreaseStreamRetentionPeriod Amazon Kinesis Increase the data retention period of a stream #
POST /#X-Amz-Target=Kinesis_20131202.DecreaseStreamRetentionPeriod Amazon Kinesis Decrease the data retention period of a stream #
POST /streams Amazon Kinesis Create Stream #
GET /streams Amazon Kinesis List Streams #
GET /streams/{StreamName}/summary Amazon Kinesis Describe Stream Summary #
DELETE /streams/{StreamName} Amazon Kinesis Delete Stream #
POST /streams/{StreamName}/records Amazon Kinesis Put Record #
GET /streams/{StreamName}/records Amazon Kinesis Get Records #
POST /streams/{StreamName}/records/batch Amazon Kinesis Put Records #

Documentation

📖
Documentation
https://docs.aws.amazon.com/kinesis/latest/APIReference/
📖
GettingStarted
https://aws.amazon.com/kinesis/data-streams/getting-started/
📖
Documentation
https://docs.aws.amazon.com/streams/latest/dev/introduction.html
📖
APIReference
https://docs.aws.amazon.com/kinesis/latest/APIReference/
📖
RateLimits
https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html
📖
Documentation
https://docs.aws.amazon.com/firehose/latest/APIReference/
📖
GettingStarted
https://aws.amazon.com/kinesis/data-firehose/getting-started/
📖
Documentation
https://docs.aws.amazon.com/firehose/latest/dev/what-is-this-service.html
📖
Documentation
https://docs.aws.amazon.com/managed-flink/latest/apiv2/Welcome.html
📖
GettingStarted
https://docs.aws.amazon.com/managed-flink/latest/java/getting-started.html
📖
Documentation
https://docs.aws.amazon.com/managed-flink/latest/java/what-is.html
📖
Documentation
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/
📖
GettingStarted
https://aws.amazon.com/kinesis/video-streams/getting-started/
📖
APIReference
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_Reference.html
📖
Documentation
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_Operations_Amazon_Kinesis_Video_Streams_Media.html
📖
Documentation
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_Operations_Amazon_Kinesis_Video_Streams_Archived_Media.html
📖
Documentation
https://docs.aws.amazon.com/kinesisvideostreams-webrtc-dg/latest/devguide/what-is-kvswebrtc.html

Specifications

Schemas & Data

Other Resources

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-kinesis-streams-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-kinesis-streams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Kinesis Streams API
  x-refined-note:
  - x-logo differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Streams across 2 of this provider''s published API definitions: amazon-kinesis-data-streams-openapi.yml, amazon-kinesis-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://kinesis.{region}.amazonaws.com
  description: Amazon Kinesis Data Streams regional endpoint
  variables:
    region:
      default: us-east-1
      description: AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-north-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-southeast-1
      - ap-southeast-2
      - ap-south-1
      - sa-east-1
      - ca-central-1
- url: https://kinesis.us-east-1.amazonaws.com
  description: Amazon Kinesis endpoint
tags:
- name: Streams
  description: Operations for creating, describing, listing, and managing Kinesis data streams.
paths:
  /#X-Amz-Target=Kinesis_20131202.CreateStream:
    post:
      operationId: CreateStream
      summary: Amazon Kinesis Create a Kinesis data stream
      description: Creates a Kinesis data stream. A stream captures and transports data records that are continuously emitted from different data sources or producers. Stream creation is an asynchronous operation. Upon receiving a CreateStream request, Kinesis Data Streams immediately returns and sets the stream status to CREATING. After the stream is created, Kinesis Data Streams sets the stream status to ACTIVE.
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-CreateStream'
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateStreamInput'
      responses:
        '200':
          description: Stream creation initiated successfully.
        '400':
          description: Invalid argument or resource limit exceeded.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Resource already in use.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /#X-Amz-Target=Kinesis_20131202.DeleteStream:
    post:
      operationId: DeleteStream
      summary: Amazon Kinesis Delete a Kinesis data stream
      description: Deletes a Kinesis data stream and all its shards and data. You must shut down any applications that are operating on the stream before you delete the stream. Stream deletion is an asynchronous operation. After you delete a stream, data previously written to the stream is no longer accessible.
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-DeleteStream'
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteStreamInput'
      responses:
        '200':
          description: Stream deletion initiated successfully.
        '400':
          description: Invalid argument or resource limit exceeded.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /#X-Amz-Target=Kinesis_20131202.DescribeStream:
    post:
      operationId: DescribeStream
      summary: Amazon Kinesis Describe a Kinesis data stream
      description: Describes the specified Kinesis data stream. The information returned includes the stream name, Amazon Resource Name (ARN), creation time, enhanced metric configuration, and shard map. DescribeStream has a limit of 10 transactions per second per account.
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-DescribeStream'
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeStreamInput'
      responses:
        '200':
          description: Stream description returned successfully.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeStreamOutput'
        '400':
          description: Invalid argument or limit exceeded.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /#X-Amz-Target=Kinesis_20131202.DescribeStreamSummary:
    post:
      operationId: DescribeStreamSummary
      summary: Amazon Kinesis Get a summary description of a stream
      description: Provides a summarized description of the specified Kinesis data stream without the shard list. The information returned includes the stream name, Amazon Resource Name (ARN), status, stream mode, retention period, creation time, and encryption details.
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-DescribeStreamSummary'
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeStreamSummaryInput'
      responses:
        '200':
          description: Stream summary returned successfully.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeStreamSummaryOutput'
        '400':
          description: Invalid argument or limit exceeded.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /#X-Amz-Target=Kinesis_20131202.ListStreams:
    post:
      operationId: ListStreams
      summary: Amazon Kinesis List Kinesis data streams
      description: Lists your Kinesis data streams. The number of streams may be too large to return from a single call to ListStreams. You can limit the number of returned streams using the Limit parameter. If you do not specify a value for the Limit parameter, Kinesis Data Streams uses the default limit, which is currently 100.
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-ListStreams'
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListStreamsInput'
      responses:
        '200':
          description: Stream list returned successfully.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListStreamsOutput'
        '400':
          description: Invalid argument or limit exceeded.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /#X-Amz-Target=Kinesis_20131202.UpdateStreamMode:
    post:
      operationId: UpdateStreamMode
      summary: Amazon Kinesis Update the capacity mode of a stream
      description: Updates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-UpdateStreamMode'
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/UpdateStreamModeInput'
      responses:
        '200':
          description: Stream mode updated successfully.
        '400':
          description: Invalid argument or resource limit exceeded.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /#X-Amz-Target=Kinesis_20131202.IncreaseStreamRetentionPeriod:
    post:
      operationId: IncreaseStreamRetentionPeriod
      summary: Amazon Kinesis Increase the data retention period of a stream
      description: Increases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 8760 hours (365 days).
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-IncreaseStreamRetentionPeriod'
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/IncreaseStreamRetentionPeriodInput'
      responses:
        '200':
          description: Retention period increased.
        '400':
          description: Invalid argument or resource in use.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /#X-Amz-Target=Kinesis_20131202.DecreaseStreamRetentionPeriod:
    post:
      operationId: DecreaseStreamRetentionPeriod
      summary: Amazon Kinesis Decrease the data retention period of a stream
      description: Decreases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream. The minimum value of a stream's retention period is 24 hours.
      tags:
      - Streams
      parameters:
      - $ref: '#/components/parameters/X-Amz-Target-DecreaseStreamRetentionPeriod'
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DecreaseStreamRetentionPeriodInput'
      responses:
        '200':
          description: Retention period decreased.
        '400':
          description: Invalid argument or resource in use.
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - aws_sigv4: []
    servers:
    - url: https://kinesis.{region}.amazonaws.com
      description: Amazon Kinesis Data Streams regional endpoint
      variables:
        region:
          default: us-east-1
          description: AWS region
          enum:
          - us-east-1
          - us-east-2
          - us-west-1
          - us-west-2
          - eu-west-1
          - eu-west-2
          - eu-west-3
          - eu-central-1
          - eu-north-1
          - ap-northeast-1
          - ap-northeast-2
          - ap-southeast-1
          - ap-southeast-2
          - ap-south-1
          - sa-east-1
          - ca-central-1
  /streams:
    post:
      operationId: CreateStream
      summary: Amazon Kinesis Create Stream
      description: Creates a Kinesis data stream.
      tags:
      - Streams
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - sigv4: []
    get:
      operationId: ListStreams
      summary: Amazon Kinesis List Streams
      description: Lists your Kinesis data streams.
      tags:
      - Streams
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - sigv4: []
    servers:
    - url: https://kinesis.us-east-1.amazonaws.com
      description: Amazon Kinesis endpoint
  /streams/{StreamName}/summary:
    get:
      operationId: DescribeStreamSummary
      summary: Amazon Kinesis Describe Stream Summary
      description: Provides a summarized description of the specified Kinesis data stream.
      tags:
      - Streams
      parameters:
      - name: StreamName
        in: path
        required: true
        schema:
          type: string
        description: The name of the stream.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - sigv4: []
    servers:
    - url: https://kinesis.us-east-1.amazonaws.com
      description: Amazon Kinesis endpoint
  /streams/{StreamName}:
    delete:
      operationId: DeleteStream
      summary: Amazon Kinesis Delete Stream
      description: Deletes a Kinesis data stream and all its shards and data.
      tags:
      - Streams
      parameters:
      - name: StreamName
        in: path
        required: true
        schema:
          type: string
        description: The name of the stream.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - sigv4: []
    servers:
    - url: https://kinesis.us-east-1.amazonaws.com
      description: Amazon Kinesis endpoint
  /streams/{StreamName}/records:
    post:
      operationId: PutRecord
      summary: Amazon Kinesis Put Record
      description: Writes a single data record into an Amazon Kinesis data stream.
      tags:
      - Streams
      parameters:
      - name: StreamName
        in: path
        required: true
        schema:
          type: string
        description: The stream name.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - sigv4: []
    get:
      operationId: GetRecords
      summary: Amazon Kinesis Get Records
      description: Gets data records from a Kinesis data stream shard.
      tags:
      - Streams
      parameters:
      - name: StreamName
        in: path
        required: true
        schema:
          type: string
        description: The stream name.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - sigv4: []
    servers:
    - url: https://kinesis.us-east-1.amazonaws.com
      description: Amazon Kinesis endpoint
  /streams/{StreamName}/records/batch:
    post:
      operationId: PutRecords
      summary: Amazon Kinesis Put Records
      description: Writes multiple data records into a Kinesis data stream in a single call.
      tags:
      - Streams
      parameters:
      - name: StreamName
        in: path
        required: true
        schema:
          type: string
        description: The stream name.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - sigv4: []
    servers:
    - url: https://kinesis.us-east-1.amazonaws.com
      description: Amazon Kinesis endpoint
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        __type:
          type: string
          description: The error type identifier.
        message:
          type: string
          description: A human-readable description of the error.
    CreateStreamInput:
      type: object
      required:
      - StreamName
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        ShardCount:
          type: integer
          minimum: 1
          description: The number of shards that the stream will use. Required for PROVISIONED mode.
        StreamModeDetails:
          $ref: '#/components/schemas/StreamModeDetails'
        Tags:
          type: object
          additionalProperties:
            type: string
            maxLength: 256
          description: A set of up to 50 key-value pairs for tagging the stream.
    SequenceNumberRange:
      type: object
      description: The range of possible sequence numbers for the shard.
      required:
      - StartingSequenceNumber
      properties:
        StartingSequenceNumber:
          $ref: '#/components/schemas/SequenceNumber'
        EndingSequenceNumber:
          $ref: '#/components/schemas/SequenceNumber'
    ListStreamsOutput:
      type: object
      required:
      - StreamNames
      - HasMoreStreams
      properties:
        StreamNames:
          type: array
          items:
            $ref: '#/components/schemas/StreamName'
          description: The names of the streams.
        HasMoreStreams:
          type: boolean
          description: If true, there are more streams available to list.
        NextToken:
          type: string
          description: Pagination token for the next call.
        StreamSummaries:
          type: array
          items:
            type: object
            properties:
              StreamName:
                $ref: '#/components/schemas/StreamName'
              StreamARN:
                $ref: '#/components/schemas/StreamARN'
              StreamStatus:
                $ref: '#/components/schemas/StreamStatus'
              StreamModeDetails:
                $ref: '#/components/schemas/StreamModeDetails'
              StreamCreationTimestamp:
                type: number
                format: double
          description: Summary information about the streams.
    StreamModeDetails:
      type: object
      description: The capacity mode details for the data stream.
      required:
      - StreamMode
      properties:
        StreamMode:
          $ref: '#/components/schemas/StreamMode'
    DescribeStreamInput:
      type: object
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
        Limit:
          type: integer
          minimum: 1
          maximum: 10000
          description: The maximum number of shards to return.
        ExclusiveStartShardId:
          $ref: '#/components/schemas/ShardId'
    DescribeStreamSummaryInput:
      type: object
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
    StreamDescriptionSummary:
      type: object
      description: Summary information about a Kinesis data stream.
      required:
      - StreamName
      - StreamARN
      - StreamStatus
      - RetentionPeriodHours
      - StreamCreationTimestamp
      - EnhancedMonitoring
      - OpenShardCount
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
        StreamStatus:
          $ref: '#/components/schemas/StreamStatus'
        StreamModeDetails:
          $ref: '#/components/schemas/StreamModeDetails'
        RetentionPeriodHours:
          type: integer
          minimum: 24
          maximum: 8760
        StreamCreationTimestamp:
          type: number
          format: double
        EnhancedMonitoring:
          type: array
          items:
            $ref: '#/components/schemas/EnhancedMetrics'
        EncryptionType:
          $ref: '#/components/schemas/EncryptionType'
        KeyId:
          type: string
        OpenShardCount:
          type: integer
          minimum: 0
          description: The number of open shards in the stream.
        ConsumerCount:
          type: integer
          minimum: 0
          description: The number of enhanced fan-out consumers registered with the stream.
    StreamStatus:
      type: string
      enum:
      - CREATING
      - DELETING
      - ACTIVE
      - UPDATING
      description: The current status of the data stream.
    DescribeStreamOutput:
      type: object
      required:
      - StreamDescription
      properties:
        StreamDescription:
          $ref: '#/components/schemas/StreamDescription'
    EnhancedMetrics:
      type: object
      description: Enhanced shard-level metric details.
      properties:
        ShardLevelMetrics:
          type: array
          items:
            $ref: '#/components/schemas/MetricsName'
          description: List of shard-level metrics currently enabled.
    DeleteStreamInput:
      type: object
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
        EnforceConsumerDeletion:
          type: boolean
          description: If true, deletes the stream even if consumers are registered.
    SequenceNumber:
      type: string
      pattern: 0|([1-9]\d{0,128})
      description: The sequence number assigned to a data record. Sequence numbers increase over time within a shard.
    ShardId:
      type: string
      minLength: 1
      maxLength: 128
      pattern: '[a-zA-Z0-9_.-]+'
      description: The unique identifier of the shard within the stream.
    IncreaseStreamRetentionPeriodInput:
      type: object
      required:
      - RetentionPeriodHours
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
        RetentionPeriodHours:
          type: integer
          minimum: 24
          maximum: 8760
          description: The new retention period of the stream, in hours. Max 8760 (365 days).
    UpdateStreamModeInput:
      type: object
      required:
      - StreamARN
      - StreamModeDetails
      properties:
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
        StreamModeDetails:
          $ref: '#/components/schemas/StreamModeDetails'
    StreamName:
      type: string
      minLength: 1
      maxLength: 128
      pattern: '[a-zA-Z0-9_.-]+'
      description: The name of the Kinesis data stream.
    ListStreamsInput:
      type: object
      properties:
        Limit:
          type: integer
          minimum: 1
          maximum: 10000
          description: The maximum number of streams to list.
        ExclusiveStartStreamName:
          $ref: '#/components/schemas/StreamName'
        NextToken:
          type: string
          description: Pagination token.
    DescribeStreamSummaryOutput:
      type: object
      required:
      - StreamDescriptionSummary
      properties:
        StreamDescriptionSummary:
          $ref: '#/components/schemas/StreamDescriptionSummary'
    EncryptionType:
      type: string
      enum:
      - NONE
      - KMS
      description: The encryption type used on the record or stream.
    StreamMode:
      type: string
      enum:
      - PROVISIONED
      - ON_DEMAND
      description: Specifies the capacity mode to which you want to set your data stream. PROVISIONED requires you to set ShardCount; ON_DEMAND automatically manages the number of shards.
    StreamDescription:
      type: object
      description: Detailed information about a Kinesis data stream.
      required:
      - StreamName
      - StreamARN
      - StreamStatus
      - Shards
      - HasMoreShards
      - RetentionPeriodHours
      - StreamCreationTimestamp
      - EnhancedMonitoring
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
        StreamStatus:
          $ref: '#/components/schemas/StreamStatus'
        StreamModeDetails:
          $ref: '#/components/schemas/StreamModeDetails'
        Shards:
          type: array
          items:
            $ref: '#/components/schemas/Shard'
          description: The shards that comprise the stream.
        HasMoreShards:
          type: boolean
          description: If true, there are more shards in the stream available to describe.
        RetentionPeriodHours:
          type: integer
          minimum: 24
          maximum: 8760
          description: The current retention period, in hours.
        StreamCreationTimestamp:
          type: number
          format: double
          description: The approximate time that the stream was created.
        EnhancedMonitoring:
          type: array
          items:
            $ref: '#/components/schemas/EnhancedMetrics'
          description: Enhanced shard-level metric settings.
        EncryptionType:
          $ref: '#/components/schemas/EncryptionType'
        KeyId:
          type: string
          description: The GUID for the customer-managed AWS KMS key.
    DecreaseStreamRetentionPeriodInput:
      type: object
      required:
      - RetentionPeriodHours
      properties:
        StreamName:
          $ref: '#/components/schemas/StreamName'
        StreamARN:
          $ref: '#/components/schemas/StreamARN'
        RetentionPeriodHours:
          type: integer
          minimum: 24
          maximum: 8760
          description: The new retention period of the stream, in hours. Min 24.
    HashKeyRange:
      type: object
      description: The range of possible hash key values for the shard.
      required:
      - StartingHashKey
      - EndingHashKey
      properties:
        StartingHashKey:
          type: string
          description: The starting hash key of the hash key range.
        EndingHashKey:
          type: string
          description: The ending hash key of the hash key range.
    StreamARN:
      type: string
      minLength: 1
      maxLength: 2048
      pattern: arn:aws.*:kinesis:.*:\d{12}:stream/\S+
      description: The ARN of the Kinesis data stream.
    MetricsName:
      type: string
      enum:
      - IncomingBytes
      - IncomingRecords
      - OutgoingBytes
      - OutgoingRecords
      - WriteProvisionedThroughputExceeded
      - ReadProvisionedThroughputExceeded
      - IteratorAgeMilliseconds
      - ALL
      description: The name of the shard-level metric.
    Shard:
      type: object
      description: A uniquely identified group of data records in a Kinesis data stream.
      required:
      - ShardId
      - HashKeyRange
      - SequenceNumberRange
      properties:
        ShardId:
          $ref: '#/components/schemas/ShardId'
        ParentShardId:
          $ref: '#/components/schemas/ShardId'
        AdjacentParentShardId:
          $ref: '#/components/schemas/ShardId'
        HashKeyRange:
          $ref: 

# --- truncated at 32 KB (34 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-kinesis/refs/heads/main/openapi/amazon-kinesis-streams-api-openapi.yml