aws kinesis

Interact with the Amazon Kinesis Data Streams, a service that scales elastically for real-time processing of streaming big data. More information: https://docs.aws.amazon.com/cli/latest/reference/kinesis/index.html#cli-aws-kinesis.

aws kinesis list-streams

aws kinesis put-record --stream-name {{name}} --partition-key {{key}} --data {{base64_encoded_message}}

aws kinesis put-record --stream-name {{name}} --partition-key {{key}} --data "$( echo "{{my raw message}}" | base64 )"

aws kinesis list-shards --stream-name {{name}}

aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name {{name}} --shard-id {{id}}

aws kinesis get-records --shard-iterator {{iterator}}