Input route parameters in WebSocket API with VPC Link integration

0

I have a WebSocket API with a VPC link integration. When supplying the EndPoint URL I would like to input a route parameter (e.g. /users/{userId}/info). However I don't seem to be able to substitute this for an actual value. I have tried to use the available variables such as $request.body.userId and $input.body.userId. I have also tried to supply the variable by mapping it using request templates, but nothing seems to work. Does anybody know if it at all possible and if so, how?

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン