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.

Inheritance Hierarchy

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

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

Syntax

C#
public class ListPartsResponse : AmazonWebServiceResponse

The ListPartsResponse type exposes the following members

Constructors

NameDescription
Public Method ListPartsResponse()

Properties

NameTypeDescription
Public Property ArchiveDescription System.String

Gets and sets the property ArchiveDescription.

The description of the archive that was specified in the Initiate Multipart Upload request.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreationDate System.DateTime

Gets and sets the property CreationDate.

The UTC time at which the multipart upload was initiated.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Marker System.String

Gets and sets the property Marker.

An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.

Public Property MultipartUploadId System.String

Gets and sets the property MultipartUploadId.

The ID of the upload to which the parts are associated.

Public Property Parts System.Collections.Generic.List<Amazon.Glacier.Model.PartListElement>

Gets and sets the property Parts.

A list of the part sizes of the multipart upload. Each object in the array contains a RangeBytes and sha256-tree-hash name/value pair.

Public Property PartSizeInBytes System.Int64

Gets and sets the property PartSizeInBytes.

The part size in bytes. This is the same value that you specified in the Initiate Multipart Upload request.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property VaultARN System.String

Gets and sets the property VaultARN.

The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.

Examples

The example lists all the parts of a multipart upload.

To list the parts of an archive that have been uploaded in a multipart upload


var client = new AmazonGlacierClient();
var response = client.ListParts(new ListPartsRequest 
{
    AccountId = "-",
    UploadId = "OW2fM5iVylEpFEMM9_HpKowRapC3vn5sSL39_396UW9zLFUWVrnRHaPjUJddQ5OxSHVXjYtrN47NBZ-khxOjyEXAMPLE",
    VaultName = "examplevault"
});

string archiveDescription = response.ArchiveDescription;
string creationDate = response.CreationDate;
string marker = response.Marker;
string multipartUploadId = response.MultipartUploadId;
long partSizeInBytes = response.PartSizeInBytes;
List<PartListElement> parts = response.Parts;
string vaultARN = response.VaultARN;

            

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