HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/ivs/batch-get-stream-key.rst
**To get information about multiple stream keys**

The following ``batch-get-stream-key`` example gets information about the specified stream keys. ::

    aws ivs batch-get-stream-key \
        --arns arn:aws:ivs:us-west-2:123456789012:stream-key/skSKABCDefgh \
           arn:aws:ivs:us-west-2:123456789012:stream-key/skSKIJKLmnop

Output::

    {
        "streamKeys": [
            {
                "arn": "arn:aws:ivs:us-west-2:123456789012:stream-key/skSKABCDefgh",
                "value": "sk_us-west-2_abcdABCDefgh_567890abcdef",
                "channelArn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh",
                "tags": {}
            },
            {
                "arn": "arn:aws:ivs:us-west-2:123456789012:stream-key/skSKIJKLmnop",
                "value": "sk_us-west-2_abcdABCDefgh_567890ghijkl",
                "channelArn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh",
                "tags": {}
            }
         ]
    }

For more information, see `Create a Channel <https://docs.aws.amazon.com/ivs/latest/userguide/GSIVS-create-channel.html>`__ in the *Amazon Interactive Video Service User Guide*.