list_cis_scan_configurations
¶
list_cis_scan_configurations(
*,
config_overrides: Optional[Inspector2ClientConfig] = None,
filter_criteria: Optional[ListCisScanConfigurationsFilterCriteria] = None,
sort_by: Optional[CisScanConfigurationsSortBy] = None,
sort_order: Optional[CisSortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[ListCisScanConfigurationsMaxResults] = None,
) -> ListCisScanConfigurationsResponse
Lists CIS scan configurations.
Parameters:
-
filter_criteria(Optional[ListCisScanConfigurationsFilterCriteria], default:None) –The CIS scan configuration filter criteria.
-
sort_by(Optional[CisScanConfigurationsSortBy], default:None) –The CIS scan configuration sort by order.
-
sort_order(Optional[CisSortOrder], default:None) –The CIS scan configuration sort order 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[ListCisScanConfigurationsMaxResults], default:None) –The maximum number of CIS scan configurations 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 ListCisScanConfigurations Call
Source code in docs_src/capo_inspector2/_services/inspector2.py
2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 | |