Improve documentation for multiprocessing/threading around the boto3.client
method.
#2991
Labels
documentation
This is a problem with documentation.
feature-request
This issue requests a feature.
p2
This is a standard priority issue
Currently, invoking
boto3.client
to create a client callscreate_client
on the default Boto3 session. This can lead to concurrency issues when done across parallelization primitives unexpectedly. We should update the documentation to clarify both in the client and session docs that calling this method inside threads may not be safe. The safe approach is to create a client in the parent thread/process either with the default session or a user instantiated session. This client can be shared as needed.Client Documentation
Session Documentation
The text was updated successfully, but these errors were encountered: