An asynchronous, fully-typed AWS API library with a focus on being understandable, reliable, and maintainable.
📖 Read the documentation!
NOTE: Currently a work in progress! Only a few API methods currently implemented for testing and development.
"Module main."fromasyncioimportrunfromhttpximportAsyncClientfromawsync.clientimportClientfromawsync.models.awsimportRegion, Credentialsasyncdefmain() ->int:
"Main function."asyncwithAsyncClient() ashttpx_client:
client=Client(
credentials=Credentials.from_environment(),
httpx_client=httpx_client,
)
response=awaitclient.list_stack_resources(
region=Region.us_east_1, stack_name="Example-Stack-Name"
)
print(response)
return0if__name__=="__main__":
run(main())Requirements:
Install mise then run mise run init to setup python, poetry, and install dependencies.
This repository uses mise for tool and task management.
List all available commands with mise tasks.
Run all pull request checks locally with mise run pr
This repository uses poetry for python package management.
poetry install --syncinstall/update dependencies.poetry addadd a dependency ie.poetry add black.poetry add -Dadd a development dependency ie.poetry add -D black.poetry removeremove a dependency ie.poetry remove black.poetry shellactivate the python virtual environment for access to installed packages.exitexit the python virtual environment.