downloadDbLogFilePortion
inline suspend fun RdsClient.downloadDbLogFilePortion(crossinline block: DownloadDbLogFilePortionRequest.Builder.() -> Unit): DownloadDbLogFilePortionResponse
Downloads all or a portion of the specified log file, up to 1 MB in size.
This command doesn't apply to RDS Custom.
Samples
fun main() {
//sampleStart
// The following example downloads only the latest part of your log file.
val resp = rdsClient.downloadDbLogFilePortion {
dbInstanceIdentifier = "test-instance"
logFileName = "log.txt"
}
//sampleEnd
}