Troubleshoot: Update Boto3 'BedrockRuntime' object has no attribute 'start_async_invoke'

Today, I tried using a new feature from AWS—Amazon Nova Model—to generate videos. However, when integrating it with AWS Lambda using Boto3 SDK, I encountered an error related to the method start_async_invoke. The error message stated that the object has no attribute "start_async_invoke", and I wasn’t sure why exactly this happened. After some investigation, I suspected that when AWS releases a new feature, it sometimes takes a little time for Lambda runtime environments to update accordingly. As a result, I ran into this issue because my Lambda function was using an outdated version of Boto3. The solution? Upgrading the Boto3 layer to the latest version! After applying the update, I was able to use the method successfully to generate videos using a provided prompt. If you're facing the same issue, here’s the exact process you can follow to update your Boto3 layer in AWS Lambda

Mar 10, 2025 - 16:54
 0
Troubleshoot: Update Boto3 'BedrockRuntime' object has no attribute 'start_async_invoke'

Today, I tried using a new feature from AWS—Amazon Nova Model—to generate videos. However, when integrating it with AWS Lambda using Boto3 SDK, I encountered an error related to the method start_async_invoke. The error message stated that the object has no attribute "start_async_invoke", and I wasn’t sure why exactly this happened.

After some investigation, I suspected that when AWS releases a new feature, it sometimes takes a little time for Lambda runtime environments to update accordingly. As a result, I ran into this issue because my Lambda function was using an outdated version of Boto3.

The solution? Upgrading the Boto3 layer to the latest version! After applying the update, I was able to use the method successfully to generate videos using a provided prompt.

If you're facing the same issue, here’s the exact process you can follow to update your Boto3 layer in AWS Lambda