get_experiment
¶
get_experiment(
experiment_id: ExperimentId,
*,
config_overrides: Optional[CloudWatchOmniClientConfig] = None,
) -> GetExperimentOutput
Retrieves the details of an experiment by ID. The response includes the experiment's target, type, configuration, run count, latest run, and baseline run. To read the experiment's tags, call ListTagsForResource with its ARN. Use ListExperiments to enumerate experiments.
Parameters:
-
experiment_id(ExperimentId) –The ID of the experiment.
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:
Get an experiment The following example retrieves an experiment that has three runs. The latest run was reported from a CI build and passed its rule. Payloads are shown as JSON; on the wire they are CBOR-encoded.
Source code in docs_src/capo_cloudwatchomni/_services/cloud_watch_omni.py
6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 | |