Smaws_Client_ElastiCache.TestMigrationAsync API to test connection between source and target replication group.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `ReplicationGroupAlreadyUnderMigrationFault of
Types.replication_group_already_under_migration_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.test_migration_message ->
(Types.test_migration_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `ReplicationGroupAlreadyUnderMigrationFault of
Types.replication_group_already_under_migration_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.test_migration_message ->
(Types.test_migration_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `InvalidReplicationGroupStateFault of
Types.invalid_replication_group_state_fault
| `ReplicationGroupAlreadyUnderMigrationFault of
Types.replication_group_already_under_migration_fault
| `ReplicationGroupNotFoundFault of Types.replication_group_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result