Package org.jets3t.service

Examples of org.jets3t.service.S3Service.listAllBuckets()


        // create a service with the public key, and make sure it cannot list or delete
        final S3Service s3Service = GATKRunReport.initializeAWSService(GATKRunReport.getAWSUploadAccessKey(), GATKRunReport.getAWSUploadSecretKey());
        assertOperationNotAllowed("listAllBuckets", new S3Op() {
            @Override
            public void apply() throws S3ServiceException {
                s3Service.listAllBuckets();
            }
        });
        assertOperationNotAllowed("listBucket", new S3Op() {
            @Override
            public void apply() throws S3ServiceException { s3Service.listObjects(report.getS3ReportBucket()); }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.