moto
moto copied to clipboard
Plans on Cost Explorer's get_cost_and_usage
Hello! I am aware Cost Explorer is available now in moto, but only for certain features. So, I have a quick question, are there any plans on mocking Cost Explorer's get_cost_and_usage?
Hi @Suzy12, there are no plans at the moment, as far as I'm aware.
Would you be interested in creating a PR to tackle this?
This is now part of moto >= 5.0.3.dev16.
Cost or usage is not tracked by Moto, so this call will return nothing by default. You can configure your own results though, so the API will return whatever data you want. See the documentation here:
http://docs.getmoto.org/en/latest/docs/services/ce.html