list_experiment_runs
async
¶
list_experiment_runs(
application_identifier: Identifier,
experiment_definition_identifier: Identifier,
*,
config_overrides: Optional[AsyncAppConfigClientConfig] = 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.
>>> await client.list_experiment_runs(application_identifier='339ohji', experiment_definition_identifier='bsxyd7k')
Source code in docs_src/capo_appconfig/_services/async_app_config.py
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 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 | |