AWS SDK for .NET Documentation
CopyPart Method (request)
AmazonAmazon.S3AmazonS3CopyPart(CopyPartRequest) Did this page help you?   Yes   No    Tell us about it...
Creates a part in a multipart upload from an existing Amazon S3 Object.
Declaration Syntax
C#
CopyPartResponse CopyPart(
	CopyPartRequest request
)
Parameters
request (CopyPartRequest)
The CopyPartRequest that defines the parameters of the operation.
Return Value
Returns a CopyPartResponse from S3.
Remarks

You must initiate a multipart upload before you can copy a part.

Your CopyPart request must include an upload ID and a part number. The upload ID is the ID returned by Amazon S3 in response to your Initiate Multipart Upload request. Part number can be any number between 1 and 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being uploaded. If you copy a part using the same part number as an existing part, that part is overwritten.

When you copy a part, the CopyPartResponse response contains an ETag property. You should record this ETag property value and the part number. After uploading all parts, you must send a CompleteMultipartUpload request. At that time Amazon S3 constructs a complete object by concatenating all the parts you uploaded, in ascending order based on the part numbers. The CompleteMultipartUpload request requires you to send all the part numbers and the corresponding ETag values.

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