list_experiment_runs
¶
list_experiment_runs(
application_identifier: Identifier,
experiment_definition_identifier: Identifier,
*,
config_overrides: Optional[AppConfigClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
status: Optional[ExperimentRunStatus] = None,
) -> ExperimentRuns
Lists the experiment runs for a specified experiment definition. You can filter by status.
Parameters:
-
application_identifier(Identifier) –The application ID or name.
-
experiment_definition_identifier(Identifier) –The experiment definition ID or name.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return.
-
next_token(Optional[NextToken], default:None) –A token to start the list from a previously truncated response.
-
status(Optional[ExperimentRunStatus], default:None) –A filter for the experiment run status.
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 runs The following ListExperimentRuns example lists the experiment runs for an experiment definition.
>>> client.list_experiment_runs(application_identifier='339ohji', experiment_definition_identifier='bsxyd7k')
Source code in docs_src/capo_appconfig/_services/app_config.py
2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 | |