AWS SDK for .NET Documentation
MoveTo Method (bucket, key)
AmazonAmazon.S3.IOS3FileInfoMoveTo(String, String) Did this page help you?   Yes   No    Tell us about it...
Moves the file to a a new location in S3.
Declaration Syntax
C#
public S3FileInfo MoveTo(
	string bucket,
	string key
)
Parameters
bucket (String)
Bucket to move the file to.
key (String)
Object key to move the file to.
Return Value
S3FileInfo for the target location.
Exceptions
ExceptionCondition
IOExceptionIf the file already exists in S3.
ArgumentException
WebException
AmazonS3Exception

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