참고
https://docs.aws.amazon.com/ko_kr/kinesis/latest/APIReference/API_Operations.html
{
"StreamName": "<kds name>",
"Data": "$util.base64Encode($input.body)",
"PartitionKey": "$context.requestId"
}
{
"StreamName": $input.params('stream'),
"Data": "$util.base64Encode($input.body)",
"PartitionKey": "$context.requestId"
}
{
$input.json("$.ShardId")
}
{
"name": "test",
"text": "helloworld",
"age": 19
}
curl \
-X POST \
-H "Content-Type: application/json" \
-d '{
"<key>": "<value>"
'} \
"https://<api gateway ID>/<deploy name>"
curl \
-X POST \
-H "Content-Type: application/json" \
-H "x-api-key: <api key>" \
-d '{
"<key>": "<value>"
'} \
"https://<api gateway ID>/<deploy name>"