0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.135.216.199


Current Path : /proc/thread-self/root/usr/share/doc/awscli/examples/kinesis/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/awscli/examples/kinesis/get-records.rst

**To obtain records from a shard**

The following ``get-records`` example gets data records from a Kinesis data stream's shard using the specified shard iterator. ::

    aws kinesis get-records \
        --shard-iterator AAAAAAAAAAF7/0mWD7IuHj1yGv/TKuNgx2ukD5xipCY4cy4gU96orWwZwcSXh3K9tAmGYeOZyLZrvzzeOFVf9iN99hUPw/w/b0YWYeehfNvnf1DYt5XpDJghLKr3DzgznkTmMymDP3R+3wRKeuEw6/kdxY2yKJH0veaiekaVc4N2VwK/GvaGP2Hh9Fg7N++q0Adg6fIDQPt4p8RpavDbk+A4sL9SWGE1

Output::

    {
        "Records": [],
        "MillisBehindLatest": 80742000
    }

For more information, see `Developing Consumers Using the Kinesis Data Streams API with the AWS SDK for Java <https://docs.aws.amazon.com/streams/latest/dev/developing-consumers-with-sdk.html>`__ in the *Amazon Kinesis Data Streams Developer Guide*.