Update Online Evaluation Config
| bedrockagentcorecontrol_update_online_evaluation_config | R Documentation |
Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status¶
Description¶
Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.
Usage¶
bedrockagentcorecontrol_update_online_evaluation_config(clientToken,
onlineEvaluationConfigId, description, rule, dataSourceConfig,
evaluators, evaluationExecutionRoleArn, executionStatus)
Arguments¶
clientToken |
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. |
onlineEvaluationConfigId |
[required] The unique identifier of the online evaluation configuration to update. |
description |
The updated description of the online evaluation configuration. |
rule |
The updated evaluation rule containing sampling configuration, filters, and session settings. |
dataSourceConfig |
The updated data source configuration specifying CloudWatch log groups and service names to monitor. |
evaluators |
The updated list of evaluators to apply during online evaluation. |
evaluationExecutionRoleArn |
The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution. |
executionStatus |
The updated execution status to enable or disable the online evaluation. |
Value¶
A list with the following syntax:
list(
onlineEvaluationConfigArn = "string",
onlineEvaluationConfigId = "string",
updatedAt = as.POSIXct(
"2015-01-01"
),
status = "ACTIVE"|"CREATING"|"CREATE_FAILED"|"UPDATING"|"UPDATE_FAILED"|"DELETING"|"ERROR",
executionStatus = "ENABLED"|"DISABLED",
failureReason = "string"
)
Request syntax¶
svc$update_online_evaluation_config(
clientToken = "string",
onlineEvaluationConfigId = "string",
description = "string",
rule = list(
samplingConfig = list(
samplingPercentage = 123.0
),
filters = list(
list(
key = "string",
operator = "Equals"|"NotEquals"|"GreaterThan"|"LessThan"|"GreaterThanOrEqual"|"LessThanOrEqual"|"Contains"|"NotContains",
value = list(
stringValue = "string",
doubleValue = 123.0,
booleanValue = TRUE|FALSE
)
)
),
sessionConfig = list(
sessionTimeoutMinutes = 123
)
),
dataSourceConfig = list(
cloudWatchLogs = list(
logGroupNames = list(
"string"
),
serviceNames = list(
"string"
)
)
),
evaluators = list(
list(
evaluatorId = "string"
)
),
evaluationExecutionRoleArn = "string",
executionStatus = "ENABLED"|"DISABLED"
)