Discrepancy between FilterRule API and actual behavior of GetBucketNotificationConfiguration

0

Hello, there is a small but important discrepancy between the API documentation for FilterRule and the actual object returned by a call to GetBucketNotificationConfiguration. The FilterRule docs indicate that the Name property has allowed values prefix | suffix, but a call to GetBucketNotificationConfiguration will return the value "Prefix" or "Suffix". I am experiencing this with the boto3 Python client, so it's possible that this discrepancy is limited to boto3.

To give some additional context: the client will happily accept either "prefix" or "Prefix" (similar for "suffix") when calling the put_bucket_notification_configuration method, but will only ever return "Prefix" or "Suffix" when calling the get_bucket_notification_configuration method.

phil
asked 2 months ago251 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions