modifyEndpoint
Modifies 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.
Samples
// Modifies the specified endpoint.
val resp = databaseMigrationClient.modifyEndpoint {
endpointArn = ""
endpointIdentifier = ""
endpointType = ReplicationEndpointTypeValue.fromValue("source")
engineName = ""
username = ""
password = ""
serverName = ""
port = 123
databaseName = ""
extraConnectionAttributes = ""
certificateArn = ""
sslMode = DmsSslModeValue.fromValue("require")
}Content copied to clipboard