1 Answer
- Newest
- Most votes
- Most comments
0
Figured out the answer on my own, but the examples in the documentation need to be modified so others don't make the same mistake.
The "feature variation" keys under the groupWeights
and weights
(under segmentOverride
) fields need to match with the group names specified in groups
.
The updated should be
{
"project": "****", //removed for security purposes
"name": "test-launch",
"groups": [
{
"name": "test-launch-test-feature-true",
"feature": "test-feature",
"variation": "true"
},
{
"name": "test-launch-test-feature-false",
"feature": "test-feature",
"variation": "false"
}
],
"scheduledSplitsConfig": {
"steps": [
{
"startTime": "2023-09-01T14:30:28.208Z",
"groupWeights": {
"test-launch-test-feature-true": 1, <- must match group name
"test-launch-test-feature-false": 0 <- must match group name
},
"segmentOverrides": [
{
"segment": "agent_feedback",
"evaluationOrder": 0,
"weights": {
"test-launch-test-feature-true": 0, <- must match group name
"test-launch-test-feature-false": 1 <- must match group name
}
}
]
}
]
}
}
answered 8 months ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago