Question: I have some code that calls into AWS's Rekognition service. Sometimes it throws this exception:

```
An error occurred (InvalidParameterException) when calling the DetectLabels operation: Request has Invalid Parameters

```

I can't find the `InvalidParameterException` anywhere in the documentation or code, though, so I can't write a specific handler for when that occurs. Does anyone know what library module that exception lives in?

Answer: 
I found it in [`boto/cognito/identity/exceptions.py`](https://github.com/boto/boto/blob/master/boto/cognito/identity/exceptions.py):

```
from boto.exception import BotoServerError

class InvalidParameterException(BotoServerError):
    pass

```
In Python3 with boto3 you can do:

```
from botocore.exceptions import ClientError

catch ClientError as e:

```