Updates an A/B test's configuration, including variants, traffic allocation, evaluation settings, or execution status¶
Description¶
Updates an A/B test's configuration, including variants, traffic allocation, evaluation settings, or execution status.
Usage¶
bedrockagentcore_update_ab_test(abTestId, clientToken, name,
description, variants, gatewayFilter, evaluationConfig, roleArn,
executionStatus)
Arguments¶
-
abTestId[required] The unique identifier of the A/B test to update.
-
clientTokenA unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
-
nameThe updated name of the A/B test.
-
descriptionThe updated description of the A/B test.
-
variantsThe updated list of variants.
-
gatewayFilterThe updated gateway filter.
-
evaluationConfigThe updated evaluation configuration.
-
roleArnThe updated IAM role ARN.
-
executionStatusThe updated execution status to enable or disable the A/B test.
Value¶
A list with the following syntax:
list(
abTestId = "string",
abTestArn = "string",
status = "CREATING"|"ACTIVE"|"CREATE_FAILED"|"UPDATING"|"UPDATE_FAILED"|"DELETING"|"DELETE_FAILED"|"FAILED",
executionStatus = "PAUSED"|"RUNNING"|"STOPPED"|"NOT_STARTED",
updatedAt = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$update_ab_test(
abTestId = "string",
clientToken = "string",
name = "string",
description = "string",
variants = list(
list(
name = "string",
weight = 123,
variantConfiguration = list(
configurationBundle = list(
bundleArn = "string",
bundleVersion = "string"
),
target = list(
name = "string"
)
)
)
),
gatewayFilter = list(
targetPaths = list(
"string"
)
),
evaluationConfig = list(
onlineEvaluationConfigArn = "string",
perVariantOnlineEvaluationConfig = list(
list(
name = "string",
onlineEvaluationConfigArn = "string"
)
)
),
roleArn = "string",
executionStatus = "PAUSED"|"RUNNING"|"STOPPED"|"NOT_STARTED"
)