Get EC2 DescribeInstances API response in JSON

0

Hi, I am trying to get the API response of EC2 DescribeInstances API in JSON format. specifying Accept=application/json header works for other APIs but not in DescribeInstances API. Is there any workaround to get the response in JSON?

Edit: I am not using SDK/CLI. I am making the API request separately using JAVA by deriving v4 sign key.

  • How are you calling this API is it through cli or SDK?

質問済み 1年前410ビュー
1回答
0

How do you make a request?
If it is an SDK, it should be converted to json on the code side.

profile picture
エキスパート
回答済み 1年前

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

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

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

関連するコンテンツ