Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.
 Declaration Syntax
 Declaration Syntax| C# | 
CancelArchivalResponse CancelArchival( CancelArchivalRequest cancelArchivalRequest )
 Parameters
 Parameters- cancelArchivalRequest (CancelArchivalRequest)
- Container for the necessary parameters to execute the CancelArchival service method on AmazonStorageGateway.
 Return Value
 Return ValueThe response from the CancelArchival service method, as returned by AmazonStorageGateway.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InternalServerErrorException | |
| InvalidGatewayRequestException |