createLink
Creates a new link between RTB applications.
Establishes a connection that allows RTB applications to communicate and exchange bid requests and responses.
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
// Creates a new link between RTB applications
val resp = rtbFabricClient.createLink {
gatewayId = "rtb-gw-12345678"
peerGatewayId = "rtb-gw-87654321"
logSettings = LinkLogSettings {
applicationLogs = LinkApplicationLogConfiguration {
sampling = LinkApplicationLogSampling {
errorLog = 100.0.toDouble()
filterLog = 0.0.toDouble()
}
}
}
}
//sampleEnd
}