cancelExportTask
inline suspend fun RdsClient.cancelExportTask(crossinline block: CancelExportTaskRequest.Builder.() -> Unit): CancelExportTaskResponse
Cancels an export task in progress that is exporting a snapshot or cluster to Amazon S3. Any data that has already been written to the S3 bucket isn't removed.
Samples
fun main() {
//sampleStart
// The following example cancels an export task in progress that is exporting a snapshot to Amazon S3.
val resp = rdsClient.cancelExportTask {
exportTaskIdentifier = "my-s3-export-1"
}
//sampleEnd
}