Moves the files from this directory to the target directory specified by the bucket and object key.

C# |
public S3DirectoryInfo MoveTo( string newBucket, string newKey )

S3DirectoryInfo for the target location.

Exception | Condition |
---|---|
ArgumentException | |
WebException | |
AmazonS3Exception |