Smaws_Client_DatabaseMigrationService.ModifyEndpointModifies the specified endpoint.
For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on the ModifyEndpoint API call. Specifying DatabaseName when you modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.modify_endpoint_message ->
(Types.modify_endpoint_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.modify_endpoint_message ->
(Types.modify_endpoint_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result