HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/kinesis/register-stream-consumer.rst
**To register a data stream consumer**

The following ``register-stream-consumer`` example registers a consumer called ``KinesisConsumerApplication`` with the specified data stream. ::

    aws kinesis register-stream-consumer \
        --stream-arn arn:aws:kinesis:us-west-2:012345678912:stream/samplestream \
        --consumer-name KinesisConsumerApplication

Output::

    {
        "Consumer": {
            "ConsumerName": "KinesisConsumerApplication",
            "ConsumerARN": "arn:aws:kinesis:us-west-2: 123456789012:stream/samplestream/consumer/KinesisConsumerApplication:1572383852",
            "ConsumerStatus": "CREATING",
            "ConsumerCreationTimestamp": 1572383852.0
        }
    }

For more information, see `Developing Consumers with Enhanced Fan-Out Using the Kinesis Data Streams API <https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html>`__ in the *Amazon Kinesis Data Streams Developer Guide*.