Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.
If a Linux/Unix instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot.
For more information about troubleshooting, see Getting Console Output and Rebooting Instances in the Amazon Elastic Compute Cloud User Guide .
 Declaration Syntax
 Declaration Syntax| C# | 
RebootInstancesResponse RebootInstances( RebootInstancesRequest request )
 Parameters
 Parameters- request (RebootInstancesRequest)
- Reboot Instances request
 Return Value
 Return ValueReboot Instances  Response from the service
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |