atomicMove
open fun atomicMove(source: String, destination: String, mustExist: Boolean = true, overwrite: Boolean = false)
Atomically move a file from source to destination.
Parameters
source
fully qualified path of the file to move
destination
fully qualified path of the target location
mustExist
if true, throws FileNotFoundException when source does not exist
overwrite
if false, throws aws.smithy.kotlin.runtime.io.IOException when destination already exists