cancelRetrieval
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. This operation is only supported in the tape gateway type.
Samples
fun main() {
//sampleStart
// Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the
// retrieval process is initiated.
val resp = storageGatewayClient.cancelRetrieval {
gatewayArn = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
tapeArn = "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
}
//sampleEnd
}