AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Uploads a part by copying data from an existing object as data source.

Namespace: Amazon.S3
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CopyPartResponse CopyPart(
         String sourceBucket,
         String sourceKey,
         String sourceVersionId,
         String destinationBucket,
         String destinationKey,
         String uploadId
)

Parameters

sourceBucket
Type: System.String

A property of CopyPartRequest used to execute the CopyPart service method.

sourceKey
Type: System.String

A property of CopyPartRequest used to execute the CopyPart service method.

sourceVersionId
Type: System.String

A property of CopyPartRequest used to execute the CopyPart service method.

destinationBucket
Type: System.String

A property of CopyPartRequest used to execute the CopyPart service method.

destinationKey
Type: System.String

A property of CopyPartRequest used to execute the CopyPart service method.

uploadId
Type: System.String

Upload ID identifying the multipart upload whose part is being copied.

Return Value
Type: Amazon.S3.Model.CopyPartResponse
The response from the CopyPart service method, as returned by S3.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5