stopAssessmentRun
inline suspend fun InspectorClient.stopAssessmentRun(crossinline block: StopAssessmentRunRequest.Builder.() -> Unit): StopAssessmentRunResponse
Stops the assessment run that is specified by the ARN of the assessment run.
Samples
fun main() {
//sampleStart
// Stops the assessment run that is specified by the ARN of the assessment run.
inspectorClient.stopAssessmentRun {
assessmentRunArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe"
}
//sampleEnd
}