modifyReplicationInstance
inline suspend fun DatabaseMigrationClient.modifyReplicationInstance(crossinline block: ModifyReplicationInstanceRequest.Builder.() -> Unit): ModifyReplicationInstanceResponse
Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.
Some settings are applied during the maintenance window.
Samples
fun main() {
//sampleStart
// Modifies the replication instance to apply new settings. You can change one or more parameters by
// specifying these parameters and the new values in the request. Some settings are applied during the
// maintenance window.
val resp = databaseMigrationClient.modifyReplicationInstance {
replicationInstanceArn = "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
allocatedStorage = 123
applyImmediately = true
replicationInstanceClass = "dms.t2.micro"
vpcSecurityGroupIds = listOf<String>(
)
preferredMaintenanceWindow = "sun:06:00-sun:14:00"
multiAz = true
engineVersion = "1.5.0"
allowMajorVersionUpgrade = true
autoMinorVersionUpgrade = true
replicationInstanceIdentifier = "test-rep-1"
}
//sampleEnd
}