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

.NET Framework 4.5
 
Constructs an importer instance for a previously uploaded manifest. The manifest is downloaded using a new Amazon S3 client constructed for the specified region and deserialized, ready for use in constructing the appropriate ImportInstance or ImportVolume request to Amazon EC2.

Namespace: Amazon.EC2.Import
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public DiskImageImporter FromManifest(
         AWSCredentials credentials,
         RegionEndpoint region,
         String bucketName,
         String manifestFileKey,
         Boolean resumingUpload
)

Parameters

credentials
Type: Amazon.Runtime.AWSCredentials

The AWS credentials for the account that owns or has access to the bucket containing the manifest file.

region
Type: Amazon.RegionEndpoint

The region in which the Amazon S3 client used for download will be constructed.

bucketName
Type: System.String

The name of the bucket containing the manifest file.

manifestFileKey
Type: System.String

The S3 object key of the manifest file.

resumingUpload
Type: System.Boolean

Set this to true if a previous upload failed part-way through processing and RetainArtifactsOnUploadError was set to true so the partially uploaded content was retained. The existing manifest will be inspected and uploads can then resume to process the retaining content.

Return Value
Type: Amazon.EC2.Import.DiskImageImporter
Initialized importer instance containing a deserialized manifest

Version Information

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