This sample uses the AWS Marketplace Catalog API to enumerate your products in the AWS Marketplace catalog.
To run the sample, set AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
, AWS_SESSION_TOKEN
and AWS_REGION
.
Install with pipenv
.
catalog-api/enumerate-products-python> python3 -m pipenv install
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
export export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
catalog-api/enumerate-products-python> python3 -m pipenv run ./enumerate-products.py