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
Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated. The virtual tape is returned to the VTS.

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


public abstract CancelRetrievalResponse CancelRetrieval(
         CancelRetrievalRequest request


Type: Amazon.StorageGateway.Model.CancelRetrievalRequest

Container for the necessary parameters to execute the CancelRetrieval service method.

Return Value
Type: Amazon.StorageGateway.Model.CancelRetrievalResponse
The response from the CancelRetrieval service method, as returned by StorageGateway.


InternalServerErrorException An internal server error has occurred during the request. See the error and message fields for more information.
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. See the error and message fields for more information.

Version Information

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