I'm using ListScheduledQueries call in my project in .NET: https://docs.aws.amazon.com/timestream/latest/developerguide/API_query_ListScheduledQueries.html
I got the following error message: Failed to discover the endpoint for the request. Requests will not succeed until an endpoint can be retrieved or an endpoint is manually specified.
I read about the Discovery endpoint but still haven't found out how to use it - should I provide the endpoint that DescribeEndpoints returns? and if so, how? because it's not a valid parameter for the API call.
Would appreciate your assistance.
I couldn't understand
I do not see an example like this for TimeStream, but Amazon MediaConvert has a similar process and does have an example in the AWS SDK Code Examples library in C#. The main part is that you get the endpoint and set it to the ServiceURL. It does look like TimeStream also has a ServiceURL you can set in a Config object. If you change to the TimeStream client instead, it might work.