createOutboundExternalLink
abstract suspend fun createOutboundExternalLink(input: CreateOutboundExternalLinkRequest): CreateOutboundExternalLinkResponse
Creates an outbound external 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
// Create an outbound external link for a requester gateway to connect to external public responder
// endpoints
val resp = rtbFabricClient.createOutboundExternalLink {
gatewayId = "rtb-gw-12345678"
publicEndpoint = "https://external-responder.example.com"
clientToken = "12345678-1234-1234-1234-123456789012"
logSettings = LinkLogSettings {
applicationLogs = LinkApplicationLogConfiguration {
sampling = LinkApplicationLogSampling {
errorLog = 100.0.toDouble()
filterLog = 0.0.toDouble()
}
}
}
}
//sampleEnd
}