Closed danieltensoriot closed 3 years ago
Hi @danieltensoriot,
You'll need to update your copy of boto3 in order to use timestream
with your chalice app. Boto3 1.15.2 was released before the existence of either of those services and won't be able to interact with them. The current release of boto3 is 1.17.54, and any version after 1.15.10 should have both timestream-write
and timestream-query
available.
Hi @danieltensoriot,
You'll need to update your copy of boto3 in order to use
timestream
with your chalice app. Boto3 1.15.2 was released before the existence of either of those services and won't be able to interact with them. The current release of boto3 is 1.17.54, and any version after 1.15.10 should have bothtimestream-write
andtimestream-query
available.
Thank you, my current installer was defaulting to 1.15.2 for some reason or another. Thank you for your assistance.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug Deployment of an AWS Chalice application with usage of boto3 v1.15.2 does not deploy when using instance of service 'timestream-write'.
client = boto3.client('timestream-write')
Error message of "Unknown service: 'timestream-write'" applies from boto3 version 1.15.2, latest pip install version of boto3 to python project.
Service is available when instantiated within an AWS Lambda of Python3.8
Steps to reproduce
chalice new-project chalice-timestream-project
app.py
fileclient = boto3.client('timestream-write')
to bottom ofapp.py
filechalice deploy
Expected behavior AWS Chalice project deploys without issue to create instance of service usage of 'timestream-write' within the Chalice application.
Debug logs Full stack trace by adding
boto3.set_stream_logger('')
to your code.