update_online_evaluation_config
¶
update_online_evaluation_config(
online_evaluation_config_id: OnlineEvaluationConfigId,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = 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/bedrock_agent_core_control.py
9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 | |