I went through AWS docs and found that for to fetch straming media from Kinesis we must use KVS GetMedia API and before that we need to get endpoint URL using GetDataEndpoint API
Can any one tell which URL I should use to send request ?
POST /getDataEndpoint HTTP/1.1
Content-type: application/json
{
"APIName": "string",
"StreamARN": "string",
"StreamName": "string"
}
POST /getMedia HTTP/1.1
Content-type: application/json
{
"StartSelector": {
"AfterFragmentNumber": "string",
"ContinuationToken": "string",
"StartSelectorType": "string",
"StartTimestamp": number
},
"StreamARN": "string",
"StreamName": "string"
}