deleteTapeArchive
inline suspend fun StorageGatewayClient.deleteTapeArchive(crossinline block: DeleteTapeArchiveRequest.Builder.() -> Unit): DeleteTapeArchiveResponse
Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.
Samples
fun main() {
//sampleStart
// Deletes the specified virtual tape from the virtual tape shelf (VTS).
val resp = storageGatewayClient.deleteTapeArchive {
tapeArn = "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0"
}
//sampleEnd
}