GithubHelp home page GithubHelp logo

oxmento / aws-bill-export Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iann0036/aws-bill-export

0.0 0.0 0.0 171 KB

Download AWS bills from the console programmatically.

License: MIT License

JavaScript 100.00%

aws-bill-export's Introduction

AWS Bill Export

"something monstrous"

Downloads AWS bills from the console programmatically.

Installation

Launch Stack

Click the above link to deploy the stack to your environment.

If you prefer, you can also manually upsert the template.yml stack from source.

Currently, the only tested region is us-east-1.

Usage

The stack outputs a base URL you can use to make calls. The following calls can be made:

Show complete bill contents

https://<baseurl>/completebill.json?month=3&year=2020

Show the invoice list

https://<baseurl>/invoicelist.json?month=3&year=2020

Show linked account bills

https://<baseurl>/linkedaccountbillsummary.json?month=3&year=2020

Generate and download an invoice

https://<baseurl>/generate.json?invoiceNumber=12345&invoiceGroupId=12345"
https://<baseurl>/download.pdf?invoiceNumber=12345&invoiceGroupId=12345"

Notes

  • Authentication and/or authorization is anonymous by default, and a basic IAM authentication/authorization is available via the AuthorizationType . Configuring this to match your environment is left as an exercise for you.
  • You have to keep puppeteer-core and @sparticuz/chromium in sync if you update packages. See the sparticuz/chromium readme for instructions.

aws-bill-export's People

Contributors

benbridts avatar dependabot[bot] avatar iann0036 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.