listVolumeRecoveryPoints
inline suspend fun StorageGatewayClient.listVolumeRecoveryPoints(crossinline block: ListVolumeRecoveryPointsRequest.Builder.() -> Unit): ListVolumeRecoveryPointsResponse
Lists the recovery points for a specified gateway. This operation is only supported in the cached volume gateway type.
Each cache volume has one recovery point. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot or clone a new cached volume from a source volume. To create a snapshot from a volume recovery point use the CreateSnapshotFromVolumeRecoveryPoint operation.
Samples
fun main() {
//sampleStart
// Lists the recovery points for a specified gateway in which all data of the volume is consistent and
// can be used to create a snapshot.
val resp = storageGatewayClient.listVolumeRecoveryPoints {
gatewayArn = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
}
//sampleEnd
}