class Aws::CloudWatchEvidently::Types::UpdateFeatureRequest

@note When making an API call, you may pass UpdateFeatureRequest

data as a hash:

    {
      add_or_update_variations: [
        {
          name: "VariationName", # required
          value: { # required
            bool_value: false,
            double_value: 1.0,
            long_value: 1,
            string_value: "VariableValueStringValueString",
          },
        },
      ],
      default_variation: "VariationName",
      description: "Description",
      entity_overrides: {
        "EntityId" => "VariationName",
      },
      evaluation_strategy: "ALL_RULES", # accepts ALL_RULES, DEFAULT_VARIATION
      feature: "FeatureName", # required
      project: "ProjectRef", # required
      remove_variations: ["VariationName"],
    }

@!attribute [rw] add_or_update_variations

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.
@return [Array<Types::VariationConfig>]

@!attribute [rw] default_variation

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.
@return [String]

@!attribute [rw] description

An optional description of the feature.
@return [String]

@!attribute [rw] entity_overrides

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.
@return [Hash<String,String>]

@!attribute [rw] evaluation_strategy

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.
@return [String]

@!attribute [rw] feature

The name of the feature to be updated.
@return [String]

@!attribute [rw] project

The name or ARN of the project that contains the feature to be
updated.
@return [String]

@!attribute [rw] remove_variations

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.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeatureRequest AWS API Documentation

Constants

SENSITIVE