|
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? |
Answered by
Steve-Wax
Feb 11, 2025
Replies: 1 comment
|
To answer my own question: |
0 replies
Answer selected by
Steve-Wax
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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], } }