Struct aws_sdk_evidently::types::Feature
source · #[non_exhaustive]pub struct Feature { /* private fields */ }
Expand description
This structure contains information about one Evidently feature in your account.
Implementations§
source§impl Feature
impl Feature
sourcepub fn project(&self) -> Option<&str>
pub fn project(&self) -> Option<&str>
The name or ARN of the project that contains the feature.
sourcepub fn status(&self) -> Option<&FeatureStatus>
pub fn status(&self) -> Option<&FeatureStatus>
The current state of the feature.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The date and time that the feature is created.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The date and time that the feature was most recently updated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the feature.
sourcepub fn evaluation_strategy(&self) -> Option<&FeatureEvaluationStrategy>
pub fn evaluation_strategy(&self) -> Option<&FeatureEvaluationStrategy>
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.
sourcepub fn value_type(&self) -> Option<&VariationValueType>
pub fn value_type(&self) -> Option<&VariationValueType>
Defines the type of value used to define the different feature variations. For more information, see Variation types
sourcepub fn variations(&self) -> Option<&[Variation]>
pub fn variations(&self) -> Option<&[Variation]>
An array of structures that contain the configuration of the feature's different variations.
sourcepub fn default_variation(&self) -> Option<&str>
pub fn default_variation(&self) -> Option<&str>
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.
This variation must also be listed in the variations
structure.
If you omit defaultVariation
, the first variation listed in the variations
structure is used as the default variation.
sourcepub fn evaluation_rules(&self) -> Option<&[EvaluationRule]>
pub fn evaluation_rules(&self) -> Option<&[EvaluationRule]>
An array of structures that define the evaluation rules for the feature.
The list of tag keys and values associated with this feature.
sourcepub fn entity_overrides(&self) -> Option<&HashMap<String, String>>
pub fn entity_overrides(&self) -> Option<&HashMap<String, String>>
A set of key-value pairs that specify users who should always be served a specific variation of a feature. Each key specifies a user using their user ID, account ID, or some other identifier. The value specifies the name of the variation that the user is to be served.
For the override to be successful, the value of the key must match the entityId
used in the EvaluateFeature operation.