如何让我的EC2账户余额编程?我的、余额、账户

2023-09-11 09:02:59 作者:時間蒼白了誓言

我希望得到我的帐户余额从编程自动气象站。我发现DevPay和放大器; FPS的文档中,但他们似乎并不适用于的我的账户,而是我的客户。我讨厌刮帐户屏幕,但我会做到这一点,如果需要的话。

I'm looking to get my account balance programatically from AWS. I found DevPay & FPS in the documentation, but they don't seem to apply to my account, but rather my customers'. I'd hate to scrape the account screen, but I'll do it, if needed.

推荐答案

您不能,遗憾的是没有AWS也没有任何其他的IaaS / PaaS的/ SaaS供应商我所知,确实提供了API访问他们的会计数据当前(也许由于潜在的金融/法律后果) - 见我不再回答关于如何监控AWS上的日常开支?一个有趣的替代刮帐户筛选自己。

You can't, unfortunately neither AWS nor any other IaaS/PaaS/SaaS vendor I'm aware of does offer API access to their accounting data currently (maybe due to the potential financial/legal implications) - see my longer answer on How can I monitor daily spending on AWS? for an interesting alternative to scraping the account screen yourself.