We can create a KDS from the AWS CLI as follows:
aws kinesis create-stream
--stream-name my-first-kinesis-stream
--shard-count 1
--profile admin
This command will not return anything. You may use the aws kinesis describe-stream command to get the details of the stream:
aws kinesis describe-stream
--stream-name my-first-kinesis-stream
--profile admin
If stream creation happened successfully, you should see the StreamStatus as ACTIVE, as shown in the following screenshot:
You can also list the streams available using aws kinesis list-streams, as shown in the following code:
aws kinesis list-streams
--profile admin
This should return the following response in our case (assuming you have only one stream):