aws ivs batch-get-stream-key
Performs GetStreamKey on multiple ARNs simultaneously. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
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/skSKIJKLmnopIdentify--arnsArray of ARNs, one per stream key.Its 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 in the IVS Low-Latency User Guide.
Options
--arnsArray of ARNs, one per stream key.