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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南