CopyPartRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the CopyPart operation.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.S3.Model.CopyPartRequest

Namespace: Amazon.S3.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class CopyPartRequest : AmazonWebServiceRequest
         IRequestEvents

The CopyPartRequest type exposes the following members

Constructors

  Name Description
Public Method CopyPartRequest()

Properties

  Name Description
Public Property DestinationBucket The name of the bucket to contain the copy of the source object.
Public Property DestinationKey The key to be given to the copy of the source object.
Public Property ETagsToNotMatch Collection of ETags that must not be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed.
Public Property ETagToMatch Collection of ETags to be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed.
Public Property FirstByte The location of the first byte in the range if only a portion of the source object is to be copied as the part.
Public Property LastByte The location of the last byte in the range if only a portion of the source object is to be copied as the part.
Public Property ModifiedSinceDate Copies the object if it has been modified since the specified time, otherwise returns a PreconditionFailed.
Public Property PartNumber The number of the part to be copied.
Public Property ServerSideEncryptionMethod

Specifies the encryption to be used on the server for the new object.

Default: None

Public Property SourceBucket The name of the bucket containing the object to copy.
Public Property SourceKey The key of the object to copy.
Public Property SourceVersionId Specifies a particular version of the source object to copy. By default the latest version is copied.
Public Property UnmodifiedSinceDate Copies the object if it has not been modified since the specified time, otherwise returns a PreconditionFailed.
Public Property UploadId The ID identifying multipart upload for which we are copying a part.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8