0

I have boto client like this

client = boto3.client('rekognition', region_name="us-east-1")

I am using this client to detect text from image and deployed code in AWS region where Rekognition api is not available but provided the region-name where it is available in client. On executing/Testing the lambda function, it is giving

errorMessage": "Could not connect to the endpoint URL: \"https://rekognition.ap-south-1.amazonaws.com/"

Why it is picking ap-south-1 as i provided in client-"us-east-1"

client = boto3.client('rekognition', region_name="us-east-1")

But when I run the code locally with region-name:- ap-south-1 and in client

client = boto3.client('rekognition', region_name="us-east-1")

its running wonderfully

but not running on AWS lambda

While successfully running when both the regions are same(us-east-1)

So great if anyone can provide any suggestion, Required Help soon!!!!!!!

Ajay
  • 164
  • 11

1 Answers1

0

As on March 15th 2018, AWS Rekogniton is not supported in Mumbai (ap-south-1)

See supported regions: Amazon Rekognition - Available Regions

helloV
  • 50,176
  • 7
  • 137
  • 145
  • but i have provided us-east-1 in boto configuration client = boto3.client('rekognition', region_name="us-east-1") good if you can help fast – Ajay Mar 16 '18 at 03:42