예제 #1
0
파일: test.go 프로젝트: hadesbox/aws-sdk-go
func copyObject(c *s3.S3) {
	bucket := "aa-go-sdk"
	source := "aa-go-sdk/aws/config.go"
	key := "test"

	out, _ := c.CopyObject(
		&s3.CopyObjectInput{
			Bucket:     &bucket,
			Key:        &key,
			CopySource: &source,
		},
	)
	fmt.Println(out)
}