copyClusterSnapshot
abstract suspend fun copyClusterSnapshot(input: CopyClusterSnapshotRequest): CopyClusterSnapshotResponse
Copies a snapshot of an elastic cluster.
Samples
fun main() {
//sampleStart
// update applied
val resp = docDbElasticClient.copyClusterSnapshot {
snapshotArn = "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster-snapshot/$SOURCE_SNAPSHOT_ID"
targetSnapshotName = "sampleSnapshotName"
}
//sampleEnd
}