list_cis_scan_results_aggregated_by_checks
async
¶
list_cis_scan_results_aggregated_by_checks(
scan_arn: CisScanArn,
*,
config_overrides: Optional[AsyncInspector2ClientConfig] = None,
filter_criteria: Optional[CisScanResultsAggregatedByChecksFilterCriteria] = None,
sort_by: Optional[CisScanResultsAggregatedByChecksSortBy] = None,
sort_order: Optional[CisSortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[CisScanResultsMaxResults] = None,
) -> ListCisScanResultsAggregatedByChecksResponse
Lists scan results aggregated by checks.
Parameters:
-
scan_arn(CisScanArn) –The scan ARN.
-
filter_criteria(Optional[CisScanResultsAggregatedByChecksFilterCriteria], default:None) –The filter criteria.
-
sort_by(Optional[CisScanResultsAggregatedByChecksSortBy], default:None) –The sort by order.
-
sort_order(Optional[CisSortOrder], default:None) –The 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[CisScanResultsMaxResults], default:None) –The maximum number of scan results aggregated by checks to be returned in a single page of results.
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 ListCisScanResultsAggregatedByChecks Call
>>> await client.list_cis_scan_results_aggregated_by_checks(scan_arn='arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38')
Source code in docs_src/capo_inspector2/_services/async_inspector2.py
3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 | |