cancelArchival

Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated. This operation is only supported in the tape gateway type.

Samples


fun main() { 
   //sampleStart 
   // Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is
// initiated.
val resp = storageGatewayClient.cancelArchival {
    gatewayArn = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
    tapeArn = "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
} 
   //sampleEnd
}