get_experiment
async
¶
get_experiment(
experiment_id: ExperimentId,
*,
config_overrides: Optional[AsyncCloudWatchOmniClientConfig] = 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/async_cloud_watch_omni.py
6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 | |