list_cis_scans
async
¶
list_cis_scans(
*,
config_overrides: Optional[AsyncInspector2ClientConfig] = None,
filter_criteria: Optional[ListCisScansFilterCriteria] = None,
detail_level: Optional[ListCisScansDetailLevel] = None,
sort_by: Optional[ListCisScansSortBy] = None,
sort_order: Optional[CisSortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[ListCisScansMaxResults] = None,
) -> ListCisScansResponse
Returns a CIS scan list.
Parameters:
-
filter_criteria(Optional[ListCisScansFilterCriteria], default:None) –The CIS scan filter criteria.
-
detail_level(Optional[ListCisScansDetailLevel], default:None) –The detail applied to the CIS scan.
-
sort_by(Optional[ListCisScansSortBy], default:None) –The CIS scans sort by order.
-
sort_order(Optional[CisSortOrder], default:None) –The CIS scans sort order.
-
next_token(Optional[NextToken], default:None) –The pagination token from a previous request that's used to retrieve the next page of results.
-
max_results(Optional[ListCisScansMaxResults], default:None) –The maximum number of results to be returned.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
For
Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. -
InternalServerException–The request has failed due to an internal failure of the Amazon Inspector service.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation due to missing required fields or having invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample ListCisScans Call
Source code in docs_src/capo_inspector2/_services/async_inspector2.py
3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 | |