retrieveTapeRecoveryPoint
inline suspend fun StorageGatewayClient.retrieveTapeRecoveryPoint(crossinline block: RetrieveTapeRecoveryPointRequest.Builder.() -> Unit): RetrieveTapeRecoveryPointResponse
Retrieves the recovery point for the specified virtual tape. This operation is only supported in the tape gateway type.
A recovery point is a point in time view of a virtual tape at which all the data on the tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway.
The virtual tape can be retrieved to only one gateway. The retrieved tape is read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge for retrieving recovery points.
Samples
fun main() {
//sampleStart
// Retrieves the recovery point for the specified virtual tape.
val resp = storageGatewayClient.retrieveTapeRecoveryPoint {
tapeArn = "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF"
gatewayArn = "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B"
}
//sampleEnd
}