Developer Preview: This documentation covers the AWS SDK for Python v4, which is in Developer Preview and intended for evaluation and testing only. Do not use it for production workloads. For production applications, use the AWS SDK for Python (Boto3). To understand the differences between the two SDKs, see Choosing the right AWS SDK for Python.
Using the AWS SDK for Python v4
This chapter describes programming patterns that apply to every AWS service that the SDK supports. It goes beyond the examples in Getting started with the AWS SDK for Python v4. For service-specific operations, see Working with AWS services.
Most examples use the synchronous client. Topics about asynchronous programming, concurrency, and event streams use the asynchronous client. For how the two clients differ, see Synchronous and asynchronous clients.
Before using these patterns, configure credentials and an AWS Region as described in Configuration.