AWS Developer Blog

Category: AWS SDK for Python

Announcing the end of support for Python 3.4 and 3.5 in the AWS SDK for Python and AWS CLI v1

On February 1, 2021, the AWS SDK for Python (Boto3 and Botocore) and the AWS Command Line Interface (AWS CLI) v1 will no longer support Python 3.4 and Python 3.5. We encourage you to upgrade to Python 3.6 or later (this deprecation doesn’t affect customers using Python 2.7). Per the Python Software Foundation, Python 3.4.10 […]

Read More

Introducing the AWS Chalice test client

The latest release of AWS Chalice, v1.17.0, now includes a test client that enables you to write tests for your Chalice applications using a concise and simplified API. The test client handles all the boilerplate setup and teardown logic that you’d previously have to write yourself when testing your Chalice applications. This new test client […]

Read More
Centralize Logs using CDK

Deploying AWS Chalice application using AWS Cloud Development Kit

In this blog, we will build a simple service based on Amazon API Gateway and AWS Lambda for managing users in Amazon DynamoDB table. I will be using AWS Cloud Development Kit (AWS CDK) and AWS Chalice frameworks to develop both infrastructure and application logic as code. There is some overlap between CDK and Chalice […]

Read More

Configuring boto to validate HTTPS certificates

We strongly recommend upgrading from boto to boto3, the latest major version of the AWS SDK for Python. The previous major version, boto, does not default to validating HTTPS certificates for Amazon S3 when you are: Using a Python version less than 2.7.9 or Using Python 2.7.9 or greater and are connecting to S3 through […]

Read More

AWS Chalice 1.5.0 adds support for more AWS Lambda event sources

Version 1.5.0 of AWS Chalice, a microframework for writing serverless applications in python, adds support for three new event sources in AWS Lambda. You can now configure a Lambda function to be invoked automatically in response to an Amazon SNS message being published to a topic, an Amazon SQS message being sent to a queue, […]

Read More