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
已提问 2 个月前255 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则