CopyObject

command
v0.0.0-...-9d6317c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

CopyObjectv2.go

This example copies an Amazon S3 object from one bucket to another.

go run CopyObjectv2.go -s SOURCE -d DESTINATION -o OBJECT

  • SOURCE is the name of the bucket containing the item to copy.
  • DESTINATION is the name of the bucket to which the item is copied.
  • OBJECT is the name of the object to copy.

The unit test accepts similar values in config.json.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[s3.go-v2.CopyObject]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL