listAssessmentRuns
inline suspend fun InspectorClient.listAssessmentRuns(crossinline block: ListAssessmentRunsRequest.Builder.() -> Unit): ListAssessmentRunsResponse
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
Samples
fun main() {
//sampleStart
// Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs
// of the assessment templates.
val resp = inspectorClient.listAssessmentRuns {
assessmentTemplateArns = listOf<String>(
"arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw"
)
maxResults = 123
}
//sampleEnd
}