aws_sdk_bedrockagentcorecontrol/client/update_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 [`UpdateEvaluator`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`client_token(impl Into<String>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p><br>
7 /// - [`evaluator_id(impl Into<String>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::evaluator_id) / [`set_evaluator_id(Option<String>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::set_evaluator_id):<br>required: **true**<br><p>The unique identifier of the evaluator to update.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::set_description):<br>required: **false**<br><p>The updated description of the evaluator.</p><br>
9 /// - [`evaluator_config(EvaluatorConfig)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::evaluator_config) / [`set_evaluator_config(Option<EvaluatorConfig>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::set_evaluator_config):<br>required: **false**<br><p>The updated configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration.</p><br>
10 /// - [`level(EvaluatorLevel)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::level) / [`set_level(Option<EvaluatorLevel>)`](crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::set_level):<br>required: **false**<br><p>The updated evaluation level (<code>TOOL_CALL</code>, <code>TRACE</code>, or <code>SESSION</code>) that determines the scope of evaluation.</p><br>
11 /// - On success, responds with [`UpdateEvaluatorOutput`](crate::operation::update_evaluator::UpdateEvaluatorOutput) with field(s):
12 /// - [`evaluator_arn(String)`](crate::operation::update_evaluator::UpdateEvaluatorOutput::evaluator_arn): <p>The Amazon Resource Name (ARN) of the updated evaluator.</p>
13 /// - [`evaluator_id(String)`](crate::operation::update_evaluator::UpdateEvaluatorOutput::evaluator_id): <p>The unique identifier of the updated evaluator.</p>
14 /// - [`updated_at(DateTime)`](crate::operation::update_evaluator::UpdateEvaluatorOutput::updated_at): <p>The timestamp when the evaluator was last updated.</p>
15 /// - [`status(EvaluatorStatus)`](crate::operation::update_evaluator::UpdateEvaluatorOutput::status): <p>The status of the evaluator update operation.</p>
16 /// - On failure, responds with [`SdkError<UpdateEvaluatorError>`](crate::operation::update_evaluator::UpdateEvaluatorError)
17 pub fn update_evaluator(&self) -> crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder {
18 crate::operation::update_evaluator::builders::UpdateEvaluatorFluentBuilder::new(self.handle.clone())
19 }
20}