Menu
AWS IoT
Developer Guide

DeleteStream

DeleteStream

Deletes a stream.

https

Request syntax:

DELETE /streams/streamId

URI Request Parameters:

Name

Type

Req?

Description

streamId

StreamId

yes

The stream ID.

Errors:

ResourceNotFoundException

The specified resource does not exist.

HTTP response code: 404

DeleteConflictException

You can't delete the resource because it is attached to one or more resources.

HTTP response code: 409

InvalidRequestException

The contents of the request were invalid. For example, this code is returned when an UpdateJobExecution request contains invalid status details. The message contains details about the error.

HTTP response code: 400

ThrottlingException

The rate exceeds the limit.

HTTP response code: 429

UnauthorizedException

You are not authorized to perform this operation.

HTTP response code: 401

ServiceUnavailableException

The service is temporarily unavailable.

HTTP response code: 503

InternalFailureException

An unexpected error has occurred.

HTTP response code: 500

cli

Synopsis:

aws iot delete-stream \ --stream-id <value> \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

cli-input-json format:

{ "streamId": "string" }

cli-input-json fields:

Name

Type

Description

streamId

string

length- max:128 min:1

pattern: [a-zA-Z0-9_-]+

The stream ID.

Output:

None

Errors:

ResourceNotFoundException

The specified resource does not exist.

DeleteConflictException

You can't delete the resource because it is attached to one or more resources.

InvalidRequestException

The contents of the request were invalid. For example, this code is returned when an UpdateJobExecution request contains invalid status details. The message contains details about the error.

ThrottlingException

The rate exceeds the limit.

UnauthorizedException

You are not authorized to perform this operation.

ServiceUnavailableException

The service is temporarily unavailable.

InternalFailureException

An unexpected error has occurred.