updateLink

abstract suspend fun updateLink(input: UpdateLinkRequest): UpdateLinkResponse

Updates the configuration of a link between RTB applications.

Allows you to modify settings and parameters for an existing link.

Samples

import aws.sdk.kotlin.services.rtbfabric.model.LinkApplicationLogConfiguration
import aws.sdk.kotlin.services.rtbfabric.model.LinkApplicationLogSampling
import aws.sdk.kotlin.services.rtbfabric.model.LinkLogSettings

fun main() { 
   //sampleStart 
   // Updates configuration settings for an existing link
val resp = rtbFabricClient.updateLink {
    gatewayId = "rtb-gw-12345678"
    linkId = "link-87654321"
    logSettings = LinkLogSettings {
        applicationLogs = LinkApplicationLogConfiguration {
            sampling = LinkApplicationLogSampling {
                errorLog = 100.0.toDouble()
                filterLog = 10.0.toDouble()
            }
        }
    }
} 
   //sampleEnd
}