modifyDataProvider

Modifies the specified data provider using the provided settings.

You must remove the data provider from all migration projects before you can modify it.

Samples


fun main() { 
   //sampleStart 
   // Modifies the specified data provider using the provided settings.
val resp = databaseMigrationClient.modifyDataProvider {
    dataProviderIdentifier = "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
    dataProviderName = "new-name"
    engine = "sqlserver"
    description = "description"
    settings = DataProviderSettings.MicrosoftSqlServerSettings(MicrosoftSqlServerDataProviderSettings {
        serverName = "ServerName2"
        port = 11112
        databaseName = "DatabaseName"
        sslMode = DmsSslModeValue.fromValue("none")
    }
    )
} 
   //sampleEnd
}