Smaws_Client_RDS.CreateDBSnapshotCreates a snapshot of a DB instance. The source DB instance must be in the available or storage-optimization state.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_db_snapshot_message ->
(Types.create_db_snapshot_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_db_snapshot_message ->
(Types.create_db_snapshot_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result