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
demandé il y a 2 mois255 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions