describe_conformance_pack_compliance
async
¶
describe_conformance_pack_compliance(
conformance_pack_name: ConformancePackName,
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
filters: Optional[ConformancePackComplianceFilters] = None,
limit: Optional[DescribeConformancePackComplianceLimit] = None,
next_token: Optional[NextToken] = None,
) -> DescribeConformancePackComplianceResponse
Returns compliance details for each rule in that conformance pack.
You must provide exact rule names.
Parameters:
-
conformance_pack_name(ConformancePackName) –Name of the conformance pack.
-
filters(Optional[ConformancePackComplianceFilters], default:None) –A
ConformancePackComplianceFiltersobject. -
limit(Optional[DescribeConformancePackComplianceLimit], default:None) –The maximum number of Config rules within a conformance pack are returned on each page.
-
next_token(Optional[NextToken], default:None) –The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
Raises:
-
InvalidLimitException–The specified limit is outside the allowable range.
-
InvalidNextTokenException–The specified next token is not valid. Specify the
nextTokenstring that was returned in the previous response to get the next page of results. -
InvalidParameterValueException–One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.
-
NoSuchConfigRuleInConformancePackException–Config rule that you passed in the filter does not exist.
-
NoSuchConformancePackException–You specified one or more conformance packs that do not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_config_service/_services/async_config_service.py
2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 | |