-
I'm trying to test some code with a timestream query. I'm able to successfully run the tests when I set the client region_name to us-east-1, but when I leave off the region or specify another region then I'm unable to use the API ("http://motoapi.amazonaws.com/moto-api/static/timestream/query-results") to supply data to the query. The query always comes back without data. Is there something I'm missing to make the API work in other regions for timestream-query? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To answer my own question: |
Beta Was this translation helpful? Give feedback.
To answer my own question:
You need to add a region to the payload of your post.
{ "region": "ap-southeast-2", "results": { None: [return_data], } }