func headBucket(c *s3.S3) { out, err := c.HeadBucket( &s3.HeadBucketInput{ Bucket: &bucket, }, ) if err != nil { panic(err) } fmt.Println(out) }