list_experiment_definitions
¶
list_experiment_definitions(
*,
config_overrides: Optional[AppConfigClientConfig] = None,
application_identifier: Optional[Identifier] = None,
configuration_profile_identifier: Optional[Identifier] = None,
environment_identifier: Optional[Identifier] = None,
status: Optional[ExperimentDefinitionStatus] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ExperimentDefinitions
Lists the experiment definitions for an account. You can filter results by application, configuration profile, environment, or status.
Parameters:
-
application_identifier(Optional[Identifier], default:None) –The application ID or name to filter results.
-
configuration_profile_identifier(Optional[Identifier], default:None) –The configuration profile ID or name to filter results.
-
environment_identifier(Optional[Identifier], default:None) –The environment ID or name to filter results.
-
status(Optional[ExperimentDefinitionStatus], default:None) –A filter for the experiment definition status.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return for this call.
-
next_token(Optional[NextToken], default:None) –A token to start the list from a previously truncated response.
Raises:
-
BadRequestException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
InternalServerException–There was an internal failure in the AppConfig service.
-
ResourceNotFoundException–The requested resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To list experiment definitions The following ListExperimentDefinitions example lists the experiment definitions for an application.
Source code in docs_src/capo_appconfig/_services/app_config.py
2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 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 | |