amazon-web-services - s3api put-bucket-notification-configuration 删除现有事件

标签 amazon-web-services events amazon-s3 notifications

我正在尝试使用 put-bucking-notification API 在 s3 存储桶中添加事件通知。它正在用新提交的事件覆盖现有的事件通知。我想要实现的是将新的事件通知添加到现有的事件列表中。

我可以从亚马逊控制台做到这一点。我发现亚马逊正在使用一个未记录的 API PutAllBucketNotification 来实现此功能。

是否可以使用 boto3/java 执行相同的操作?

最佳答案

我找到了答案。逻辑是首先获取现有的事件通知集,然后将新通知添加到数组中,然后使用 put API 提交整个集

关于amazon-web-services - s3api put-bucket-notification-configuration 删除现有事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38880039/

相关文章:

amazon-web-services - AWS 免费套餐使用即将到期

amazon-web-services - 使用 Jenkins S3 插件复制子目录

Angularjs:当滚动到达div中滚动条的底部时如何触发事件?

amazon-web-services - 将数据从 Amazon Aurora 同步到 Redshift

javascript - addEventListener 在使用匿名函数传入参数时为同一个句柄触发多次

c# - 检查所有鼠标按钮的按钮状态

amazon-web-services - 如何使用kms加密从aws cli上传文件到s3

javascript - colorbox 从 amazon S3 播放 swf 文件时出现问题

amazon-web-services - 在现有 s3 存储桶上启用默认加密是否需要对存储桶用户进行任何 IAM 更改?

Android Amazon AWS Cognito 工作流程确认