Smaws_Client_RDS.DownloadDBLogFilePortionDownloads all or a portion of the specified log file, up to 1 MB in size.
This command doesn't apply to RDS Custom.
This operation uses resources on database instances. Because of this, we recommend publishing database logs to CloudWatch and then using the GetLogEvents operation. For more information, see GetLogEvents in the Amazon CloudWatch Logs API Reference.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBInstanceNotReadyFault of Types.db_instance_not_ready_fault
| `DBLogFileNotFoundFault of Types.db_log_file_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.download_db_log_file_portion_message ->
(Types.download_db_log_file_portion_details,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBInstanceNotReadyFault of Types.db_instance_not_ready_fault
| `DBLogFileNotFoundFault of Types.db_log_file_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.download_db_log_file_portion_message ->
(Types.download_db_log_file_portion_details Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBInstanceNotReadyFault of Types.db_instance_not_ready_fault
| `DBLogFileNotFoundFault of Types.db_log_file_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result