listAssessmentRuns

abstract suspend fun listAssessmentRuns(input: ListAssessmentRunsRequest = ListAssessmentRunsRequest { }): 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
}