Smaws_Client_RDS.DeleteCustomDBEngineVersionDeletes a custom engine version. To run this command, make sure you meet the following prerequisites:
Typically, deletion takes a few minutes.
The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the DeleteCustomDbEngineVersion event aren't logged. However, you might see calls from the API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the DeleteCustomDbEngineVersion event.
For more information, see Deleting a CEV in the Amazon RDS User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CustomDBEngineVersionNotFoundFault of
Types.custom_db_engine_version_not_found_fault
| `InvalidCustomDBEngineVersionStateFault of
Types.invalid_custom_db_engine_version_state_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_custom_db_engine_version_message ->
(Types.db_engine_version,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CustomDBEngineVersionNotFoundFault of
Types.custom_db_engine_version_not_found_fault
| `InvalidCustomDBEngineVersionStateFault of
Types.invalid_custom_db_engine_version_state_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_custom_db_engine_version_message ->
(Types.db_engine_version Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CustomDBEngineVersionNotFoundFault of
Types.custom_db_engine_version_not_found_fault
| `InvalidCustomDBEngineVersionStateFault of
Types.invalid_custom_db_engine_version_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result