Creates an import instance task using metadata from the specified disk image. After importing the image, you then upload it using the ec2-import-volume command in the EC2 command line tools. For more information, see Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide.
 Declaration Syntax
 Declaration Syntax| C# | 
ImportInstanceResponse ImportInstance( ImportInstanceRequest request )
 Parameters
 Parameters- request (ImportInstanceRequest)
- Import Instance request
 Return Value
 Return ValueImport Instance  Response from the service
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |