AWS SDK for .NET Documentation
MoveTo Method (newBucket, newKey)
AmazonAmazon.S3.IOS3DirectoryInfoMoveTo(String, String) Did this page help you?   Yes   No    Tell us about it...
Moves the files from this directory to the target directory specified by the bucket and object key.
Declaration Syntax
C#
public S3DirectoryInfo MoveTo(
	string newBucket,
	string newKey
)
Parameters
newBucket (String)
The target bucket to move to.
newKey (String)
The target object key which represents a directory in S3.
Return Value
S3DirectoryInfo for the target location.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)