I have an app that works perfectly. It has dialog for accepting the AccessKey and SecretKey that are passed into AmazonPolyClient constructor.
mAmazonPollyClient = new AmazonPollyClient(accessKey, secretKey, mRegionEndpoint);
mAmazonPollyConfig = new AmazonPollyConfig()
{
//RegionEndpoint = mRegionEndpoint,
Timeout = TimeSpan.FromSeconds(10), // Set the custom timeout
ReadWriteTimeout = TimeSpan.FromSeconds(10) // Set the custom timeout for read/write operations
};
When I intentionally corrupt the keys before passing them to the constructor. The Polly still works fine and generate audio. Is that because I have paid AWS account? (Should be completely opposite). Any ideas?
When initializing AmazonPolyClient no calls are made to the service. But attempting to make any API call like getting the voices will result in 403 return code (Forbidden).