如何让我的EC2账户余额编程? [英] How do I get my EC2 account balance programatically?

查看:124
本文介绍了如何让我的EC2账户余额编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望得到我的帐户余额从编程自动气象站。我发现DevPay和放大器; FPS的文档中,但他们似乎并不适用于的的账户,而是我的客户。我讨厌刮<一href="https://aws-portal.amazon.com/gp/aws/developer/account/index.html?ie=UTF8&action=activity-summary"相对=nofollow>帐户屏幕,但我会做到这一点,如果需要的话。

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.

这篇关于如何让我的EC2账户余额编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆