Struct aws_sdk_evidently::input::UpdateFeatureInput
source · #[non_exhaustive]pub struct UpdateFeatureInput { /* private fields */ }Implementations§
source§impl UpdateFeatureInput
impl UpdateFeatureInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFeature, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFeature, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateFeature>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateFeatureInput.
source§impl UpdateFeatureInput
impl UpdateFeatureInput
sourcepub fn project(&self) -> Option<&str>
pub fn project(&self) -> Option<&str>
The name or ARN of the project that contains the feature to be updated.
sourcepub fn evaluation_strategy(&self) -> Option<&FeatureEvaluationStrategy>
pub fn evaluation_strategy(&self) -> Option<&FeatureEvaluationStrategy>
Specify ALL_RULES to activate the traffic allocation specified by any ongoing launches or experiments. Specify DEFAULT_VARIATION to serve the default variation to all users instead.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description of the feature.
sourcepub fn add_or_update_variations(&self) -> Option<&[VariationConfig]>
pub fn add_or_update_variations(&self) -> Option<&[VariationConfig]>
To update variation configurations for this feature, or add new ones, specify this structure. In this array, include any variations that you want to add or update. If the array includes a variation name that already exists for this feature, it is updated. If it includes a new variation name, it is added as a new variation.
sourcepub fn remove_variations(&self) -> Option<&[String]>
pub fn remove_variations(&self) -> Option<&[String]>
Removes a variation from the feature. If the variation you specify doesn't exist, then this makes no change and does not report an error.
This operation fails if you try to remove a variation that is part of an ongoing launch or experiment.
sourcepub fn default_variation(&self) -> Option<&str>
pub fn default_variation(&self) -> Option<&str>
The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.
sourcepub fn entity_overrides(&self) -> Option<&HashMap<String, String>>
pub fn entity_overrides(&self) -> Option<&HashMap<String, String>>
Specified users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.
Trait Implementations§
source§impl Clone for UpdateFeatureInput
impl Clone for UpdateFeatureInput
source§fn clone(&self) -> UpdateFeatureInput
fn clone(&self) -> UpdateFeatureInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateFeatureInput
impl Debug for UpdateFeatureInput
source§impl PartialEq<UpdateFeatureInput> for UpdateFeatureInput
impl PartialEq<UpdateFeatureInput> for UpdateFeatureInput
source§fn eq(&self, other: &UpdateFeatureInput) -> bool
fn eq(&self, other: &UpdateFeatureInput) -> bool
self and other values to be equal, and is used
by ==.