deleteTape
inline suspend fun StorageGatewayClient.deleteTape(crossinline block: DeleteTapeRequest.Builder.() -> Unit): DeleteTapeResponse
Deletes the specified virtual tape. This operation is only supported in the tape gateway type.
Samples
fun main() {
//sampleStart
// This example deletes the specified virtual tape.
val resp = storageGatewayClient.deleteTape {
gatewayArn = "arn:aws:storagegateway:us-east-1:204469490176:gateway/sgw-12A3456B"
tapeArn = "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0"
}
//sampleEnd
}