| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Evidently.Types.EvaluationResult
Description
Synopsis
- data EvaluationResult = EvaluationResult' {}
- newEvaluationResult :: Text -> Text -> EvaluationResult
- evaluationResult_details :: Lens' EvaluationResult (Maybe Text)
- evaluationResult_project :: Lens' EvaluationResult (Maybe Text)
- evaluationResult_reason :: Lens' EvaluationResult (Maybe Text)
- evaluationResult_value :: Lens' EvaluationResult (Maybe VariableValue)
- evaluationResult_variation :: Lens' EvaluationResult (Maybe Text)
- evaluationResult_entityId :: Lens' EvaluationResult Text
- evaluationResult_feature :: Lens' EvaluationResult Text
Documentation
data EvaluationResult Source #
This structure displays the results of one feature evaluation assignment to one user session.
See: newEvaluationResult smart constructor.
Constructors
| EvaluationResult' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> EvaluationResult |
Create a value of EvaluationResult with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:EvaluationResult', evaluationResult_details - If this user was assigned to a launch or experiment, this field lists
the launch or experiment name.
$sel:project:EvaluationResult', evaluationResult_project - The name or ARN of the project that contains the feature being
evaluated.
$sel:reason:EvaluationResult', evaluationResult_reason - Specifies the reason that the user session was assigned this variation.
Possible values include DEFAULT, meaning the user was served the
default variation; LAUNCH_RULE_MATCH, if the user session was enrolled
in a launch; or EXPERIMENT_RULE_MATCH, if the user session was
enrolled in an experiment.
$sel:value:EvaluationResult', evaluationResult_value - The value assigned to this variation to differentiate it from the other
variations of this feature.
$sel:variation:EvaluationResult', evaluationResult_variation - The name of the variation that was served to the user session.
$sel:entityId:EvaluationResult', evaluationResult_entityId - An internal ID that represents a unique user session of the application.
$sel:feature:EvaluationResult', evaluationResult_feature - The name of the feature being evaluated.
evaluationResult_details :: Lens' EvaluationResult (Maybe Text) Source #
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
evaluationResult_project :: Lens' EvaluationResult (Maybe Text) Source #
The name or ARN of the project that contains the feature being evaluated.
evaluationResult_reason :: Lens' EvaluationResult (Maybe Text) Source #
Specifies the reason that the user session was assigned this variation.
Possible values include DEFAULT, meaning the user was served the
default variation; LAUNCH_RULE_MATCH, if the user session was enrolled
in a launch; or EXPERIMENT_RULE_MATCH, if the user session was
enrolled in an experiment.
evaluationResult_value :: Lens' EvaluationResult (Maybe VariableValue) Source #
The value assigned to this variation to differentiate it from the other variations of this feature.
evaluationResult_variation :: Lens' EvaluationResult (Maybe Text) Source #
The name of the variation that was served to the user session.
evaluationResult_entityId :: Lens' EvaluationResult Text Source #
An internal ID that represents a unique user session of the application.
evaluationResult_feature :: Lens' EvaluationResult Text Source #
The name of the feature being evaluated.