BedrockAgentCoreControlClient.update_online_evaluation_config
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.
Install and imports
from rboto import BedrockAgentCoreControlClient
from collections.abc import Sequence
from rboto_bedrock_agentcore_control.types import (
ClusteringConfig,
DataSourceConfig,
EvaluatorReference,
Insight,
OnlineEvaluationExecutionStatus,
OutputConfig,
Rule,
UpdateOnlineEvaluationConfigOutput,
)
Signature
async def update_online_evaluation_config(
*,
online_evaluation_config_id: str,
client_token: str | None = None,
description: str | None = None,
rule: Rule | None = None,
data_source_config: DataSourceConfig | None = None,
evaluators: Sequence[EvaluatorReference] | None = None,
insights: Sequence[Insight] | None = None,
clustering_config: ClusteringConfig | None = None,
output_config: OutputConfig | None = None,
evaluation_execution_role_arn: str | None = None,
execution_status: OnlineEvaluationExecutionStatus | None = None,
) -> UpdateOnlineEvaluationConfigOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
online_evaluation_config_id |
Yes | The unique identifier of the online evaluation configuration to update. |
client_token |
No | 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 Ensuring idempotency . |
description |
No | The updated description of the online evaluation configuration. |
rule |
No | The updated evaluation rule containing sampling configuration, filters, and session settings. |
data_source_config |
No | The updated data source configuration specifying CloudWatch log groups and service names to monitor. |
evaluators |
No | The updated list of evaluators to apply during online evaluation. |
insights |
No | The updated list of insight types to run against agent sessions. |
clustering_config |
No | The updated clustering configuration for periodic batch evaluation. |
output_config |
No | |
evaluation_execution_role_arn |
No | The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution. |
execution_status |
No | The updated execution status to enable or disable the online evaluation. |
Output
UpdateOnlineEvaluationConfigOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
online_evaluation_config_arn |
str |
Always present | — |
online_evaluation_config_id |
str |
Always present | — |
updated_at |
str |
Always present | — |
status |
OnlineEvaluationConfigStatusOutput |
Always present | OnlineEvaluationConfigStatusOutput |
execution_status |
OnlineEvaluationExecutionStatusOutput |
Always present | OnlineEvaluationExecutionStatusOutput |
failure_reason |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ClusteringConfig, DataSourceConfig, EvaluatorReference, Insight, OnlineEvaluationExecutionStatus, OutputConfig, Rule, UpdateOnlineEvaluationConfigOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore_control.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.