Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Amazon.S3.Model.UploadPartRequest Class Reference

The parameters to request upload of a part in a multipart upload operation. More...

Inheritance diagram for Amazon.S3.Model.UploadPartRequest:

Properties

TimeSpan Timeout [get, set]
 Overrides the default request timeout value. More...
 
TimeSpan ReadWriteTimeout [get, set]
 Overrides the default ReadWriteTimeout value. More...
 
bool IsLastPart [get, set]
 Caller needs to set this to true when uploading the last part. This property only needs to be set when using the AmazonS3EncryptionClient. More...
 
Stream InputStream [get, set]
 Input stream for the request; content for the request will be read from the stream. More...
 
string BucketName [get, set]
 The name of the bucket containing the object to receive the part. More...
 
string Key [get, set]
 The key of the object. More...
 
int PartNumber [get, set]
 Part number of part being uploaded. More...
 
long PartSize [get, set]
 The size of the part to be uploaded. More...
 
string UploadId [get, set]
 Upload ID identifying the multipart upload whose part is being uploaded. More...
 
string MD5Digest [get, set]
 An MD5 digest for the part. More...
 
string FilePath [get, set]
 
long FilePosition [get, set]
 Position in the file specified by FilePath from which to retrieve the content of the part. This field is required when a file path is specified. It is ignored when using the InputStream property. More...
 
Action< object,
Amazon.Runtime.StreamTransferProgressArgs > 
StreamTransferProgress [get, set]
 Attach a callback that will be called as data is being sent to the AWS Service. More...
 

Detailed Description

The parameters to request upload of a part in a multipart upload operation.

If PartSize is not specified then the rest of the content from the file or stream will be sent to Amazon S3.

You must set either the FilePath or InputStream. If FilePath is set then the FilePosition property must be set.

Property Documentation

string Amazon.S3.Model.UploadPartRequest.BucketName
getset

The name of the bucket containing the object to receive the part.

string Amazon.S3.Model.UploadPartRequest.FilePath
getset

Full path and name of a file from which the content for the part is retrieved.

For WinRT and Windows Phone this property must be in the form of "ms-appdata:///local/file.txt".

long Amazon.S3.Model.UploadPartRequest.FilePosition
getset

Position in the file specified by FilePath from which to retrieve the content of the part. This field is required when a file path is specified. It is ignored when using the InputStream property.

Stream Amazon.S3.Model.UploadPartRequest.InputStream
getset

Input stream for the request; content for the request will be read from the stream.

bool Amazon.S3.Model.UploadPartRequest.IsLastPart
getset

Caller needs to set this to true when uploading the last part. This property only needs to be set when using the AmazonS3EncryptionClient.

string Amazon.S3.Model.UploadPartRequest.Key
getset

The key of the object.

string Amazon.S3.Model.UploadPartRequest.MD5Digest
getset

An MD5 digest for the part.

int Amazon.S3.Model.UploadPartRequest.PartNumber
getset

Part number of part being uploaded.

long Amazon.S3.Model.UploadPartRequest.PartSize
getset

The size of the part to be uploaded.

TimeSpan Amazon.S3.Model.UploadPartRequest.ReadWriteTimeout
getset

Overrides the default ReadWriteTimeout value.

If the value is set, the value is assigned to the ReadWriteTimeout property of the HTTPWebRequest/WebRequestHandler object used to send requests.

Exceptions
System.ArgumentNullExceptionThe timeout specified is null.
System.ArgumentOutOfRangeExceptionThe timeout specified is less than or equal to zero and is not Infinite.
See Also
P:System.Net.HttpWebRequest.ReadWriteTimeout, P:System.Net.Http.WebRequestHandler.ReadWriteTimeout
Action<object,Amazon.Runtime.StreamTransferProgressArgs> Amazon.S3.Model.UploadPartRequest.StreamTransferProgress
getset

Attach a callback that will be called as data is being sent to the AWS Service.

TimeSpan Amazon.S3.Model.UploadPartRequest.Timeout
getset

Overrides the default request timeout value.

If the value is set, the value is assigned to the Timeout property of the HTTPWebRequest/HttpClient object used to send requests.

Please specify a timeout value only if the operation will not complete within the default intervals specified for an HttpWebRequest/HttpClient.

Exceptions
System.ArgumentNullExceptionThe timeout specified is null.
System.ArgumentOutOfRangeExceptionThe timeout specified is less than or equal to zero and is not Infinite.
See Also
P:System.Net.HttpWebRequest.Timeout, P:System.Net.Http.HttpClient.Timeout
string Amazon.S3.Model.UploadPartRequest.UploadId
getset

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


The documentation for this class was generated from the following files: