GetFeatureResult

data class GetFeatureResult(val arn: String? = null, val defaultVariation: String? = null, val description: String? = null, val entityOverrides: List<FeatureEntityOverride>? = null, val evaluationStrategy: FeatureEvaluationStrategy? = null, val tags: List<Tag>? = null, val variations: List<FeatureVariationObject>? = null)

Constructors

Link copied to clipboard
constructor(arn: String? = null, defaultVariation: String? = null, description: String? = null, entityOverrides: List<FeatureEntityOverride>? = null, evaluationStrategy: FeatureEvaluationStrategy? = null, tags: List<Tag>? = null, variations: List<FeatureVariationObject>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String? = null

The ARN of the feature. For example, arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature .

Link copied to clipboard

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

Link copied to clipboard
val description: String? = null

An optional description of the feature.

Link copied to clipboard

Specify 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.

Link copied to clipboard

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.

Link copied to clipboard
val tags: List<Tag>? = null

An array of key-value pairs to apply to this resource.

Link copied to clipboard

An array of structures that contain the configuration of the feature's different variations. Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or StringValue ).