Tutorial: Getting Started With Amazon Kinesis Streams Using AWS CLI
This tutorial shows you how to perform basic Amazon Kinesis Streams operations using the AWS Command Line Interface. You will learn fundamental Streams data flow principles and the steps necessary to put and get data from an Amazon Kinesis stream.
For CLI access, you need an access key ID and secret access key. Use IAM user access keys instead of AWS root account access keys. IAM lets you securely control access to AWS services and resources in your AWS account. For more information about creating access keys, see How Do I Get Security Credentials? in the AWS General Reference.
You can find detailed step-by-step IAM and security key set up instructions at Create an IAM User.
In this tutorial, the specific commands discussed will be given verbatim, except where specific values will necessarily be different for each run. Also, the examples are using the US West (Oregon) region, but this tutorial will work on any of the regions that support Streams.