This operation assigns a feature variation to one given user session. You pass in an entityID
that represents the user. Evidently then checks the evaluation rules and assigns the variation.
See https://www.paws-r-sdk.com/docs/cloudwatchevidently_evaluate_feature/ for full documentation.
cloudwatchevidently_evaluate_feature(
entityId,
evaluationContext = NULL,
feature,
project
)
[required] An internal ID that represents a unique user of the application. This
entityID
is checked against any override rules assigned for this
feature.
A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
[required] The name of the feature being evaluated.
[required] The name or ARN of the project that contains this feature.