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
preguntada hace 2 meses255 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas