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.
The Amazon S3 Glacier response to your request.
Namespace: Amazon.Glacier.Model
Assembly: AWSSDK.Glacier.dll
Version: 3.x.y.z
public class InitiateMultipartUploadResponse : AmazonWebServiceResponse
The InitiateMultipartUploadResponse type exposes the following members
Name | Description | |
---|---|---|
![]() |
InitiateMultipartUploadResponse() |
Name | Type | Description | |
---|---|---|---|
![]() |
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
Location | System.String |
Gets and sets the property Location. The relative URI path of the multipart upload ID Amazon S3 Glacier created. |
![]() |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
UploadId | System.String |
Gets and sets the property UploadId. The ID of the multipart upload. This value is also included as part of the location. |
The example initiates a multipart upload to a vault named my-vault with a part size of 1 MiB (1024 x 1024 bytes) per file.
var client = new AmazonGlacierClient(); var response = client.InitiateMultipartUpload(new InitiateMultipartUploadRequest { AccountId = "-", PartSize = "1048576", VaultName = "my-vault" }); string location = response.Location; string uploadId = response.UploadId;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer