describe_conformance_packs
async
¶
describe_conformance_packs(
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = 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/async_config_service.py
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 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 | |