当我为s3的amazon web服务运行给定的脚本时。它给了我这些错误。我在这里缺少的是我使用了Access和sKey Id
Warning: S3::putBucket(yourbucket): [BucketAlreadyExists] The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again. in /home/programm/public_html/
目前,我正在使用boto3标记我拥有的每个S3存储桶。与Lambdas这样的资源相比,执行s3.put_bucket_tagging会覆盖任何以前的标签,而Lambda只会添加额外的标签,而保留旧标签。有没有办法只添加标签,而不是覆盖它们?但是其中一些S3存储桶是由CloudFormation创建的,因此以aws:为前缀,当我尝试获取旧标记并使用新标记重新放置它们时,会出现错误Your TagKey cannot be prefixed修复这两种方法中