Table of Contents

Class CompleteMultipartUploadRequest

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

Container for the parameters to the CompleteMultipartUpload operation.

Completes a multipart upload by assembling previously uploaded parts.

public class CompleteMultipartUploadRequest : AmazonWebServiceRequest
Inheritance
CompleteMultipartUploadRequest

Constructors

CompleteMultipartUploadRequest()

public CompleteMultipartUploadRequest()

Properties

BucketName

The name of the bucketName containing the S3 object that was being uploaded in parts.

public string BucketName { get; set; }

Property Value

string

ExpectedBucketOwner

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

public string ExpectedBucketOwner { get; set; }

Property Value

string

Key

The key of the S3 object that was being uploaded.

public string Key { get; set; }

Property Value

string

Remarks

This property will be used as part of the resource path of the HTTP request. In .NET the System.Uri class is used to construct the uri for the request. The System.Uri class will canonicalize the uri string by compacting characters like "..". /// For example an object key of "foo/../bar/file.txt" will be transformed into "bar/file.txt" because the ".." is interpreted as use parent directory. For further information view the documentation for the Uri class: https://docs.microsoft.com/en-us/dotnet/api/system.uri

PartETags

A collection of part numbers and corresponding etags.

public List<PartETag> PartETags { get; set; }

Property Value

List<PartETag>

RequestPayer

Confirms that the requester knows that she or he will be charged for the list objects request. Bucket owners need not specify this parameter in their requests.

public RequestPayer RequestPayer { get; set; }

Property Value

RequestPayer

UploadId

The upload id for the in-progress multipart upload that should be completed.

public string UploadId { get; set; }

Property Value

string

Methods

AddPartETags(params CopyPartResponse[])

Adds a collection of part numbers and corresponding etags by transforming the CopyPartResponse into PartETags.

public void AddPartETags(params CopyPartResponse[] responses)

Parameters

responses CopyPartResponse[]

The list of response objects return from CopyParts.

AddPartETags(params PartETag[])

Adds a collection of part numbers and corresponding etags.

public void AddPartETags(params PartETag[] partETags)

Parameters

partETags PartETag[]

PartETags that will added to this request.

AddPartETags(params UploadPartResponse[])

Adds a collection of part numbers and corresponding etags by transforming the UploadPartResponses into PartETags.

public void AddPartETags(params UploadPartResponse[] responses)

Parameters

responses UploadPartResponse[]

The list of response objects return from UploadParts.

AddPartETags(IEnumerable<CopyPartResponse>)

Adds a collection of part numbers and corresponding etags by transforming the CopyPartResponse into PartETags.

public void AddPartETags(IEnumerable<CopyPartResponse> responses)

Parameters

responses IEnumerable<CopyPartResponse>

The list of response objects return from CopyParts.

AddPartETags(IEnumerable<PartETag>)

Adds a collection of part numbers and corresponding etags.

public void AddPartETags(IEnumerable<PartETag> partETags)

Parameters

partETags IEnumerable<PartETag>

PartETags that will added to this request.

AddPartETags(IEnumerable<UploadPartResponse>)

Adds a collection of part numbers and corresponding etags by transforming the UploadPartResponses into PartETags.

public void AddPartETags(IEnumerable<UploadPartResponse> responses)

Parameters

responses IEnumerable<UploadPartResponse>

The list of response objects return from UploadParts.