📜  python循环s3对象] - Python代码示例

📅  最后修改于: 2022-03-11 14:46:04.255000             🧑  作者: Mango

代码示例1
AmazonS3Client s3 = new AmazonS3Client(myCredentials);
for ( S3ObjectSummary summary : S3Objects.withPrefix(s3, "my-bucket", "photos/") ) {
    System.out.printf("Object with key '%s'n", summary.getKey());
}