How to use the APIΒΆ

awspub provides a high-level API which can be used to create and publish images.

Assuming there is a configuration file and a configuration file mapping:

import awspub
awspub.create("config.yaml", "mapping.yaml")
awspub.publish("config.yaml", "mapping.yaml")