404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.118.218.112: ~ $
**To list shards in a data stream**

The following ``list-shards`` example lists all shards in the specified stream starting with the shard whose ID immediately follows the specified ``exclusive-start-shard-id`` of ``shardId-000000000000``. ::

    aws kinesis list-shards \
        --stream-name samplestream \
        --exclusive-start-shard-id shardId-000000000000

Output::

    {
        "Shards": [
            {
                "ShardId": "shardId-000000000001",
                "HashKeyRange": {
                    "StartingHashKey": "113427455640312821154458202477256070485",
                    "EndingHashKey": "226854911280625642308916404954512140969"
                },
                "SequenceNumberRange": {
                    "StartingSequenceNumber": "49600871682979337187563555549332609155523708941634633746"
                }
            },
            {
                "ShardId": "shardId-000000000002",
                "HashKeyRange": {
                    "StartingHashKey": "226854911280625642308916404954512140970",
                    "EndingHashKey": "340282366920938463463374607431768211455"
                },
                "SequenceNumberRange": {
                    "StartingSequenceNumber": "49600871683001637932762086172474144873796357303140614178"
                }
            }
        ]
    }

For more information, see `Listing Shards <https://docs.aws.amazon.com/streams/latest/dev/kinesis-using-sdk-java-list-shards.html>`__ in the *Amazon Kinesis Data Streams Developer Guide*.

Filemanager

Name Type Size Permission Actions
add-tags-to-stream.rst File 480 B 0644
create-stream.rst File 449 B 0644
decrease-stream-retention-period.rst File 628 B 0644
delete-stream.rst File 403 B 0644
deregister-stream-consumer.rst File 627 B 0644
describe-limits.rst File 445 B 0644
describe-stream-consumer.rst File 1010 B 0644
describe-stream-summary.rst File 1013 B 0644
describe-stream.rst File 2.34 KB 0644
disable-enhanced-monitoring.rst File 905 B 0644
enable-enhanced-monitoring.rst File 911 B 0644
get-records.rst File 783 B 0644
get-shard-iterator.rst File 941 B 0644
increase-stream-retention-period.rst File 622 B 0644
list-shards.rst File 1.49 KB 0644
list-streams.rst File 468 B 0644
list-tags-for-stream.rst File 563 B 0644
merge-shards.rst File 621 B 0644
put-record.rst File 762 B 0644
put-records.rst File 1.08 KB 0644
register-stream-consumer.rst File 957 B 0644
remove-tags-from-stream.rst File 474 B 0644
split-shard.rst File 528 B 0644
start-stream-encryption.rst File 629 B 0644
stop-stream-encryption.rst File 630 B 0644
update-shard-count.rst File 689 B 0644