0
votes

I am attempting to use boto3 client (v.1.4.8) to access the AWS comprehend service to evaluate small user-defined strings. But when I attempt to use the client, it doesn't work.

The documentation.

The code I used:

client = boto3.client('comprehend')

The exception I'm being thrown:

UnknownServiceError: Unknown service: 'comprehend'.

Valid service names are: acm,...

I'm guessing there has to be something going on that I'm not aware of

1
Check your boto3 version.hjpotter92

1 Answers

2
votes

I am using boto3(v.1.5.22) and it works well in it. So, if you don't have problem working on higher version you can try it. Amazon comprehend was released recently so that have support for higher version of boto3 only