update_online_evaluation_config
async
¶
update_online_evaluation_config(
online_evaluation_config_id: OnlineEvaluationConfigId,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
client_token: Optional[ClientToken] = None,
description: Optional[EvaluationConfigDescription] = None,
rule: Optional[Rule] = None,
data_source_config: Optional[DataSourceConfig] = None,
evaluators: Optional[EvaluatorList] = None,
insights: Optional[InsightList] = None,
clustering_config: Optional[ClusteringConfig] = None,
output_config: Optional[OutputConfig] = None,
evaluation_execution_role_arn: Optional[RoleArn] = None,
execution_status: Optional[OnlineEvaluationExecutionStatus] = None,
) -> UpdateOnlineEvaluationConfigResponse
Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.
Parameters:
-
client_token(Optional[ClientToken], default:None) –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.
-
online_evaluation_config_id(OnlineEvaluationConfigId) –The unique identifier of the online evaluation configuration to update.
-
description(Optional[EvaluationConfigDescription], default:None) –The updated description of the online evaluation configuration.
-
rule(Optional[Rule], default:None) –The updated evaluation rule containing sampling configuration, filters, and session settings.
-
data_source_config(Optional[DataSourceConfig], default:None) –The updated data source configuration specifying CloudWatch log groups and service names to monitor.
-
evaluators(Optional[EvaluatorList], default:None) –The updated list of evaluators to apply during online evaluation.
-
insights(Optional[InsightList], default:None) –The updated list of insight types to run against agent sessions.
-
clustering_config(Optional[ClusteringConfig], default:None) –The updated clustering configuration for periodic batch evaluation.
-
evaluation_execution_role_arn(Optional[RoleArn], default:None) –The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution.
-
execution_status(Optional[OnlineEvaluationExecutionStatus], default:None) –The updated execution status to enable or disable the online evaluation.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
ServiceQuotaExceededException–This exception is thrown when a request is made beyond the service quota
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/async_bedrock_agent_core_control.py
9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 | |