Ejemplo n.º 1
0
func getBucketLogging(c *s3.S3) {
	out, err := c.GetBucketLogging(
		&s3.GetBucketLoggingInput{
			Bucket: &bucket,
		},
	)
	if err != nil {
		panic(err)
	}
	fmt.Println(*out.LoggingEnabled.TargetBucket)
	fmt.Println(*out.LoggingEnabled.TargetPrefix)
}