aws_sdk_bedrockagentcorecontrol/client/get_evaluator.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetEvaluator`](crate::operation::get_evaluator::builders::GetEvaluatorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`evaluator_id(impl Into<String>)`](crate::operation::get_evaluator::builders::GetEvaluatorFluentBuilder::evaluator_id) / [`set_evaluator_id(Option<String>)`](crate::operation::get_evaluator::builders::GetEvaluatorFluentBuilder::set_evaluator_id):<br>required: **true**<br><p>The unique identifier of the evaluator to retrieve. Can be a built-in evaluator ID (e.g., Builtin.Helpfulness) or a custom evaluator ID.</p><br>
7 /// - On success, responds with [`GetEvaluatorOutput`](crate::operation::get_evaluator::GetEvaluatorOutput) with field(s):
8 /// - [`evaluator_arn(String)`](crate::operation::get_evaluator::GetEvaluatorOutput::evaluator_arn): <p>The Amazon Resource Name (ARN) of the evaluator.</p>
9 /// - [`evaluator_id(String)`](crate::operation::get_evaluator::GetEvaluatorOutput::evaluator_id): <p>The unique identifier of the evaluator.</p>
10 /// - [`evaluator_name(String)`](crate::operation::get_evaluator::GetEvaluatorOutput::evaluator_name): <p>The name of the evaluator.</p>
11 /// - [`description(Option<String>)`](crate::operation::get_evaluator::GetEvaluatorOutput::description): <p>The description of the evaluator.</p>
12 /// - [`evaluator_config(Option<EvaluatorConfig>)`](crate::operation::get_evaluator::GetEvaluatorOutput::evaluator_config): <p>The configuration of the evaluator, including LLM-as-a-Judge settings for custom evaluators.</p>
13 /// - [`level(EvaluatorLevel)`](crate::operation::get_evaluator::GetEvaluatorOutput::level): <p>The evaluation level (<code>TOOL_CALL</code>, <code>TRACE</code>, or <code>SESSION</code>) that determines the scope of evaluation.</p>
14 /// - [`status(EvaluatorStatus)`](crate::operation::get_evaluator::GetEvaluatorOutput::status): <p>The current status of the evaluator.</p>
15 /// - [`created_at(DateTime)`](crate::operation::get_evaluator::GetEvaluatorOutput::created_at): <p>The timestamp when the evaluator was created.</p>
16 /// - [`updated_at(DateTime)`](crate::operation::get_evaluator::GetEvaluatorOutput::updated_at): <p>The timestamp when the evaluator was last updated.</p>
17 /// - [`locked_for_modification(Option<bool>)`](crate::operation::get_evaluator::GetEvaluatorOutput::locked_for_modification): <p>Whether the evaluator is locked for modification due to being referenced by active online evaluation configurations.</p>
18 /// - On failure, responds with [`SdkError<GetEvaluatorError>`](crate::operation::get_evaluator::GetEvaluatorError)
19 pub fn get_evaluator(&self) -> crate::operation::get_evaluator::builders::GetEvaluatorFluentBuilder {
20 crate::operation::get_evaluator::builders::GetEvaluatorFluentBuilder::new(self.handle.clone())
21 }
22}