Reputation: 491
I am trying to add Event Notification in s3 bucket using put-bucking-notification API. It is overwriting the existing event notification with the newly submitted event. What I want to achieve is to add a new event notification to the existing list of events.
I am able to do that from amazon console. I found that amazon is using an undocumented API PutAllBucketNotification to implement this.
Is it possible to do the same using boto3/java ?
Upvotes: 2
Views: 1448
Reputation: 491
I found out the answer. The logic is to first get the existing set of event notifications and then add the new notification to the array and then submit the entire set using put API
Upvotes: 3