title: serverless trigger for existing S3 fails with overlapping suffixes
body: <p>Following <a href="https://www.serverless.com/framework/docs/providers/aws/events/s3/" rel="nofollow noreferrer">S3 Simple event definition</a> I have created serverless deployment</p>
  <pre><code>functions:
    convert:
      handler: handler.convert
      events:
        - s3:
            bucket: dev.domain.com
            event: s3:ObjectCreated:*
            rules:
              - prefix: assets/images/
              - suffix: .jpg
            existing: true
        - s3:
            bucket: dev.domain.com
            event: s3:ObjectCreated:*
            rules:
              - prefix: assets/images/
              - suffix: .png
            existing: true
  </code></pre>
  <p>But at the time of deployment I am getting following error</p>
  <pre><code>An error occurred: ConvertCustomS31 - Failed to create resource. Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type. See details in CloudWatch Log: 2020/08/25/[$LATEST]47c58153b46f4aaf9ec08eacabbac2b2.
  </code></pre>
  <p>any idea what I am missing here ?</p>
  <p>Also what I supposed to use here <code>event: s3:ObjectCreated:*</code> If I want triggers only for S3 PUT events. I tried <code>event: s3:ObjectCreatedByPut:*</code> which gave me</p>
  <pre><code>An error occurred: ConvertCustomS31 - Failed to create resource. The event is not supported for notifications See details in CloudWatch Log: 2020/08/25/[$LATEST]f50070907c60405085c3b03ab0183514.
  </code></pre>