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 |
Synopsis
- data FeatureSummary = FeatureSummary' {}
- newFeatureSummary :: Text -> UTCTime -> FeatureEvaluationStrategy -> UTCTime -> Text -> FeatureStatus -> FeatureSummary
- featureSummary_defaultVariation :: Lens' FeatureSummary (Maybe Text)
- featureSummary_evaluationRules :: Lens' FeatureSummary (Maybe [EvaluationRule])
- featureSummary_project :: Lens' FeatureSummary (Maybe Text)
- featureSummary_tags :: Lens' FeatureSummary (Maybe (HashMap Text Text))
- featureSummary_arn :: Lens' FeatureSummary Text
- featureSummary_createdTime :: Lens' FeatureSummary UTCTime
- featureSummary_evaluationStrategy :: Lens' FeatureSummary FeatureEvaluationStrategy
- featureSummary_lastUpdatedTime :: Lens' FeatureSummary UTCTime
- featureSummary_name :: Lens' FeatureSummary Text
- featureSummary_status :: Lens' FeatureSummary FeatureStatus
Documentation
data FeatureSummary Source #
This structure contains information about one Evidently feature in your account.
See: newFeatureSummary
smart constructor.
FeatureSummary' | |
|
Instances
:: Text | |
-> UTCTime | |
-> FeatureEvaluationStrategy | |
-> UTCTime | |
-> Text | |
-> FeatureStatus | |
-> FeatureSummary |
Create a value of FeatureSummary
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:defaultVariation:FeatureSummary'
, featureSummary_defaultVariation
- The name of the variation that is used as the default variation. The
default variation is served to users who are not allocated to any
ongoing launches or experiments of this feature.
$sel:evaluationRules:FeatureSummary'
, featureSummary_evaluationRules
- An array of structures that define
$sel:project:FeatureSummary'
, featureSummary_project
- The name or ARN of the project that contains the feature.
$sel:tags:FeatureSummary'
, featureSummary_tags
- The list of tag keys and values associated with this feature.
$sel:arn:FeatureSummary'
, featureSummary_arn
- The ARN of the feature.
$sel:createdTime:FeatureSummary'
, featureSummary_createdTime
- The date and time that the feature is created.
$sel:evaluationStrategy:FeatureSummary'
, featureSummary_evaluationStrategy
- If this value is ALL_RULES
, the traffic allocation specified by any
ongoing launches or experiments is being used. If this is
DEFAULT_VARIATION
, the default variation is being served to all users.
$sel:lastUpdatedTime:FeatureSummary'
, featureSummary_lastUpdatedTime
- The date and time that the feature was most recently updated.
FeatureSummary
, featureSummary_name
- The name of the feature.
$sel:status:FeatureSummary'
, featureSummary_status
- The current state of the feature.
featureSummary_defaultVariation :: Lens' FeatureSummary (Maybe Text) Source #
The name of the variation that is used as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.
featureSummary_evaluationRules :: Lens' FeatureSummary (Maybe [EvaluationRule]) Source #
An array of structures that define
featureSummary_project :: Lens' FeatureSummary (Maybe Text) Source #
The name or ARN of the project that contains the feature.
featureSummary_tags :: Lens' FeatureSummary (Maybe (HashMap Text Text)) Source #
The list of tag keys and values associated with this feature.
featureSummary_arn :: Lens' FeatureSummary Text Source #
The ARN of the feature.
featureSummary_createdTime :: Lens' FeatureSummary UTCTime Source #
The date and time that the feature is created.
featureSummary_evaluationStrategy :: Lens' FeatureSummary FeatureEvaluationStrategy Source #
If this value is ALL_RULES
, the traffic allocation specified by any
ongoing launches or experiments is being used. If this is
DEFAULT_VARIATION
, the default variation is being served to all users.
featureSummary_lastUpdatedTime :: Lens' FeatureSummary UTCTime Source #
The date and time that the feature was most recently updated.
featureSummary_name :: Lens' FeatureSummary Text Source #
The name of the feature.
featureSummary_status :: Lens' FeatureSummary FeatureStatus Source #
The current state of the feature.