Container for the parameters to the CopyPart operation.
Uploads a part by copying data from an existing object as data source.
Inheritance Hierarchy
Namespace: Amazon.S3.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class CopyPartRequest : AmazonWebServiceRequest IRequestEvents
The CopyPartRequest type exposes the following members
Constructors
| Name | Description | |
|---|---|---|
|
CopyPartRequest() |
Properties
| Name | Description | |
|---|---|---|
|
DestinationBucket | The name of the bucket to contain the copy of the source object. |
|
DestinationKey | The key to be given to the copy of the source object. |
|
ETagsToNotMatch | Collection of ETags that must not be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed. |
|
ETagToMatch | Collection of ETags to be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed. |
|
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. |
|
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. |
|
ModifiedSinceDate | Copies the object if it has been modified since the specified time, otherwise returns a PreconditionFailed. |
|
PartNumber | The number of the part to be copied. |
|
ServerSideEncryptionMethod |
Specifies the encryption to be used on the server for the new object. Default: None |
|
SourceBucket | The name of the bucket containing the object to copy. |
|
SourceKey | The key of the object to copy. |
|
SourceVersionId | Specifies a particular version of the source object to copy. By default the latest version is copied. |
|
UnmodifiedSinceDate | Copies the object if it has not been modified since the specified time, otherwise returns a PreconditionFailed. |
|
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