describe_conformance_packs
¶
describe_conformance_packs(
*,
config_overrides: Optional[ConfigServiceClientConfig] = None,
conformance_pack_names: Optional[ConformancePackNamesList] = None,
filters: Optional[DescribeConformancePacksFilters] = None,
limit: Optional[PageSizeLimit] = None,
next_token: Optional[NextToken] = None,
) -> DescribeConformancePacksResponse
Returns a list of one or more conformance packs.
Parameters:
-
conformance_pack_names(Optional[ConformancePackNamesList], default:None) –Comma-separated list of conformance pack names for which you want details. If you do not specify any names, Config returns details for all your conformance packs.
-
filters(Optional[DescribeConformancePacksFilters], default:None) –Returns a filtered list of custom or managed conformance packs. By default, if the filter is not defined, Config returns details for all your conformance packs.
-
limit(Optional[PageSizeLimit], default:None) –The maximum number of conformance packs 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.
-
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/config_service.py
2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 | |