Update Ab Test
| bedrockagentcore_update_ab_test | R Documentation |
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. |
clientToken |
A 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. |
name |
The updated name of the A/B test. |
description |
The updated description of the A/B test. |
variants |
The updated list of variants. |
gatewayFilter |
The updated gateway filter. |
evaluationConfig |
The updated evaluation configuration. |
roleArn |
The updated IAM role ARN. |
executionStatus |
The 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"
)