list_experiment_runs
async
¶
list_experiment_runs(
experiment_id: ExperimentId,
*,
config_overrides: Optional[AsyncCloudWatchOmniClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListExperimentRunsOutput
Lists the runs of an experiment. Returns a summary for each run, newest first. Use GetExperimentRun to retrieve a single run's full details.
Parameters:
-
experiment_id(ExperimentId) –The ID of the experiment to list runs for.
-
max_results(Optional[int], default:None) –The maximum number of runs to return in one page, from 1 to 100. Defaults to 50.
-
next_token(Optional[NextToken], default:None) –A token to retrieve the next page of results.
Raises:
-
AccessDeniedException–The caller is not authorized to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The request was throttled due to exceeding the allowed request rate.
-
ValidationException–A parameter is specified incorrectly.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List an experiment's runs The following example lists the runs of an experiment: a run reported from the caller's code and a hosted run, newest first. Payloads are shown as JSON; on the wire they are CBOR-encoded.
>>> await client.list_experiment_runs(experiment_id='exp-01JD8K3M5N7P9Q2R4S6T8V0W1X', max_results=10)
Source code in docs_src/capo_cloudwatchomni/_services/async_cloud_watch_omni.py
7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 | |