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 Glacier response to your request.
Namespace: Amazon.Glacier.Model
Assembly: AWSSDK.Glacier.dll
Version: 3.x.y.z
public class ListPartsResponse : AmazonWebServiceResponse
The ListPartsResponse type exposes the following members
| Name | Description | |
|---|---|---|
|
ListPartsResponse() |
| Name | Type | Description | |
|---|---|---|---|
|
ArchiveDescription | System.String |
Gets and sets the property ArchiveDescription. The description of the archive that was specified in the Initiate Multipart Upload request. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
CreationDate | System.DateTime |
Gets and sets the property CreationDate. The UTC time at which the multipart upload was initiated. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
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 |
|
MultipartUploadId | System.String |
Gets and sets the property MultipartUploadId. The ID of the upload to which the parts are associated. |
|
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 |
|
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. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
VaultARN | System.String |
Gets and sets the property VaultARN. The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated. |
The example lists all the parts of 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;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5