Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateFeatureRequest

import type { CreateFeatureRequest } from "https://aws-api.deno.dev/v0.4/services/evidently.ts?docs=full";
interface CreateFeatureRequest {
defaultVariation?: string | null;
description?: string | null;
entityOverrides?: {
[key: string]: string | null | undefined;
}
| null;
evaluationStrategy?: FeatureEvaluationStrategy | null;
name: string;
project: string;
tags?: {
[key: string]: string | null | undefined;
}
| null;
variations: VariationConfig[];
}

§Properties

§
defaultVariation?: string | null
[src]

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.

§
description?: string | null
[src]

An optional description of the feature.

§
entityOverrides?: {
[key: string]: string | null | undefined;
}
| null
[src]

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.

§
evaluationStrategy?: FeatureEvaluationStrategy | null
[src]

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.

§
name: string
[src]

The name for the new feature.

§
project: string
[src]

The name or ARN of the project that is to contain the new feature.

§
tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

Assigns one or more tags (key-value pairs) to the feature.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with a feature.

For more information, see Tagging Amazon Web Services resources.

§
variations: VariationConfig[]
[src]

An array of structures that contain the configuration of the feature's different variations.