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?

gefragt vor einem Jahr410 Aufrufe
1 Antwort
0

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

profile picture
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen