예제 #1
0
파일: test.go 프로젝트: hadesbox/aws-sdk-go
func putBucketAcl(c *s3.S3) {
	acl := "public-read"
	out, err := c.PutBucketACL(&s3.PutBucketACLInput{
		ACL:    &acl,
		Bucket: &bucket,
	})
	if err != nil {
		panic(err)
	}
	fmt.Println(out)
}