python-dependency-injector/docs/examples/boto3.rst

21 lines
672 B
ReStructuredText
Raw Permalink Normal View History

2021-02-25 18:51:40 +03:00
.. _boto3-example:
Boto3 example
=============
.. meta::
:keywords: Python,Dependency Injection,Boto3,AWS,Amazon Web Services,S3,SQS,Rout53,EC2,Lambda,Example
:description: This example demonstrates a usage of Boto3 AWS client and Dependency Injector.
2021-09-16 19:52:58 +03:00
This example shows how to use ``Dependency Injector`` with `Boto3 <https://github.com/boto/boto3>`_.
2021-02-25 18:51:40 +03:00
The source code is available on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/boto3-session>`_.
Listing of ``boto3_session_example.py``:
.. literalinclude:: ../../examples/miniapps/boto3-session/boto3_session_example.py
:language: python
.. disqus::