acceptLink

abstract suspend fun acceptLink(input: AcceptLinkRequest): AcceptLinkResponse

Accepts a link request between RTB applications.

When a requester RTB application requests to link with a responder RTB application, the responder can use this operation to accept the link request and establish the connection.

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 
   // Accepts a link request from requester gateway
val resp = rtbFabricClient.acceptLink {
    gatewayId = "rtb-gw-12345678"
    linkId = "link-87654321"
    logSettings = LinkLogSettings {
        applicationLogs = LinkApplicationLogConfiguration {
            sampling = LinkApplicationLogSampling {
                errorLog = 100.0.toDouble()
                filterLog = 0.0.toDouble()
            }
        }
    }
} 
   //sampleEnd
}