sendCisSessionHealth
inline suspend fun Inspector2Client.sendCisSessionHealth(crossinline block: SendCisSessionHealthRequest.Builder.() -> Unit): SendCisSessionHealthResponse
Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
Samples
fun main() {
//sampleStart
// Sample SendCisSessionHealth Call
val resp = inspector2Client.sendCisSessionHealth {
scanJobId = "624b746d-e080-44ae-8c1d-48e653365a38"
sessionToken = "624b746d-e080-44ae-8c1d-48e653365a31"
}
//sampleEnd
}