listAssessmentTargets

abstract suspend fun listAssessmentTargets(input: ListAssessmentTargetsRequest = ListAssessmentTargetsRequest { }): ListAssessmentTargetsResponse

Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.

Samples


fun main() { 
   //sampleStart 
   // Lists the ARNs of the assessment targets within this AWS account.
val resp = inspectorClient.listAssessmentTargets {
    maxResults = 123
} 
   //sampleEnd
}