Class: Aws::CloudWatchEvidently::Types::UpdateFeatureRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchevidently/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_or_update_variationsArray<Types::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.

Returns:



3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end

#default_variationString

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.

Returns:

  • (String)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

An optional description of the feature.

Returns:

  • (String)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end

#entity_overridesHash<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.

This parameter is limited to 2500 overrides or a total of 40KB. The 40KB limit includes an overhead of 6 bytes per override.

Returns:

  • (Hash<String,String>)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end

#evaluation_strategyString

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.

Returns:

  • (String)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end

#featureString

The name of the feature to be updated.

Returns:

  • (String)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end

#projectString

The name or ARN of the project that contains the feature to be updated.

Returns:

  • (String)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end

#remove_variationsArray<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.

Returns:

  • (Array<String>)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3348

class UpdateFeatureRequest < Struct.new(
  :add_or_update_variations,
  :default_variation,
  :description,
  :entity_overrides,
  :evaluation_strategy,
  :feature,
  :project,
  :remove_variations)
  SENSITIVE = []
  include Aws::Structure
end