View a markdown version of this page

Overview - AWS SDK for Python v4

Experimental: This documentation covers the AWS SDK for Python v4, which is experimental, non-GA software 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.

Overview

This chapter takes you from a new Python environment to two working asynchronous AWS calls. The first example creates a temporary Amazon DynamoDB table, writes and reads an item, and deletes the table. The second sends prerecorded audio to Amazon Transcribe and prints completed transcript segments as they arrive.

Both examples use the same basic workflow:

  1. Install only the service client packages that your application needs.

  2. Configure how the SDK authenticates with AWS.

  3. Create an asynchronous client for the service.

  4. Build typed input objects and await the client operation.