listAssessmentTargets
inline suspend fun InspectorClient.listAssessmentTargets(crossinline block: ListAssessmentTargetsRequest.Builder.() -> Unit): 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
}