modifyDataProvider
abstract suspend fun modifyDataProvider(input: ModifyDataProviderRequest): ModifyDataProviderResponse
Modifies the specified data provider using the provided settings.
Required permissions:dms:UpdateDataProvider. For more information, see Actions, resources, and condition keys for Database Migration Service.
You must remove the data provider from all migration projects before you can modify it.
Samples
// The following example updates the description and server name of a data provider.
val resp = databaseMigrationClient.modifyDataProvider {
dataProviderIdentifier = "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS"
description = "Updated data provider description"
engine = "sqlserver"
settings = DataProviderSettings.MicrosoftSqlServerSettings(MicrosoftSqlServerDataProviderSettings {
serverName = "new-source-server.us-east-1.rds.amazonaws.com"
}
)
}Content copied to clipboard