jeudi 1 octobre 2015

dumping get_account_authorization_details in json format

using the AWS Ruby SDK v2
trying to get IAM/account_autorization_details

http://ift.tt/1jB6tzq

Everything works as expected, but I would like to get the output in json format (sort of how the awscli dumps it: like aws iam get-account-authorization-details)

I'm not interested in exploring the results manually. I need to store the json for later audit purposes. Cannot use the awscli and I am doing multiple things (calling multiple services + logic in between) through the SDK and the result needs to be self contained.




Aucun commentaire:

Enregistrer un commentaire