When creating the following bucket notification configuration:
```json
{
    "QueueConfigurations": [
        {
            "Id": "some-id",
            "QueueArn": "arn:aws:sqs:eu-central-1:123456789:my-queue",
            "Events": [
                "s3:ObjectCreated:*"
            ],
            "Filter": {
                "Key": {
                    "FilterRules": [
                        {
                            "Name": "Prefix",
                            "Value": "path/to/folder/"
                        },
                        {
                            "Name": "Suffix",
                            "Value": ".json"
                        }
                    ]
                }
            }
        }
    ]
}
```
and adding some files to S3, I get the following errors from localstack:

```
localstack.services.s3.s3_listener: Unknown filter name: "Prefix"
localstack.services.s3.s3_listener: Unknown filter name: "Suffix"
```

When I change the FilterRule names from "Prefix" to "prefix" and "Suffix" to "suffix", everything works. AWS supports the capitalised name, so this looks like a bug in localstack.
""" check whether any of the event types in `events` matches the
        given `action` and `api_method`, and return the first match. """
    events = events or []
    for event in events:
        regex = event.replace('*', '[^:]*')
        action_string = 's3:%s:%s' % (action, api_method)
        match = re.match(regex, action_string)
        if match:
            return match
    return False
def filter_rules_match(filters, object_path):
    """ check whether the given object path matches all of the given filters """
    filters = filters or {}
    s3_filter = _get_s3_filter(filters)
    for rule in s3_filter.get('FilterRule', []):
        if rule['Name'] == 'prefix':
            if not prefix_with_slash(object_path).startswith(prefix_with_slash(rule['Value'])):
                return False
        elif rule['Name'] == 'suffix':
            if not object_path.endswith(rule['Value']):
                return False
        else:
            LOGGER.warning('Unknown filter name: "%s"' % rule['Name'])
    return True
def _get_s3_filter(filters):