CmdID / aws / aws kinesis
aws kinesis delete-stream
Deletes a Kinesis data stream and all its shards and data. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To delete a data stream
The following delete-stream example deletes the specified data stream.
aws kinesis delete-stream --stream-name samplestreamIdentify--stream-nameThe name of the stream to delete.This command produces no output.
For more information, see Deleting a Stream in the Amazon Kinesis Data Streams Developer Guide.
Options
--enforce-consumer-deletionIf this parameter is unset (null) or if you set it to false, and the stream has registered consumers, the call to DeleteStream fails with a ResourceInUseException.--stream-arnThe ARN of the stream.--stream-idNot Implemented.--stream-nameThe name of the stream to delete.