AWS SDK Version 3 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.

Contains the Amazon S3 Glacier response to your request.

For information about the underlying REST API, see Upload Archive. For conceptual information, see Working with Archives in Amazon S3 Glacier.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Glacier.Model.CompleteMultipartUploadResponse

Namespace: Amazon.Glacier.Model
Assembly: AWSSDK.Glacier.dll
Version: 3.x.y.z

Syntax

C#
public class CompleteMultipartUploadResponse : AmazonWebServiceResponse

The CompleteMultipartUploadResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ArchiveId System.String

Gets and sets the property ArchiveId.

The ID of the archive. This value is also included as part of the location.

Public Property Checksum System.String

Gets and sets the property Checksum.

The checksum of the archive computed by Amazon S3 Glacier.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Location System.String

Gets and sets the property Location.

The relative URI path of the newly added archive resource.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

The example completes a multipart upload for a 3 MiB archive.

To complete a multipart upload


var client = new AmazonGlacierClient();
var response = client.CompleteMultipartUpload(new CompleteMultipartUploadRequest 
{
    AccountId = "-",
    ArchiveSize = "3145728",
    Checksum = "9628195fcdbcbbe76cdde456d4646fa7de5f219fb39823836d81f0cc0e18aa67",
    UploadId = "19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ",
    VaultName = "my-vault"
});

string archiveId = response.ArchiveId;
string checksum = response.Checksum;
string location = response.Location;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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