This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Calculates total training hours cost (for all time) for one or more Amazon Personalize solutions. | |
Total training hours and costs across AWS regions as well as grand totals will be printed as output. | |
By default, the script will calculate the costs for all solutions in the default AWS region (as | |
configured in your local environment). Alternatively, you can pass a filename as an argument to | |
the script where the filename points to a text file containing one or more Amazon Personalize | |
solution ARNs (1 per line). The solution ARNs in the file can come from multiple regions. | |
''' |