Skip to content

aws.evidently.get_feature

Example SQL Queries

SELECT * FROM
aws.evidently.get_feature
WHERE
"feature" = 'VALUE'
AND "project" = 'VALUE';

Description

Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.

Table Definition

Column NameColumn Data Type
project Required Input Column

The name or ARN of the project that contains the feature.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
_input_feature Input Column
VARCHAR
feature

A structure containing the configuration details of the feature.

STRUCT(
"arn" VARCHAR,
"created_time" TIMESTAMP_S,
"default_variation" VARCHAR,
"description" VARCHAR,
"entity_overrides" MAP(VARCHAR, VARCHAR),
"evaluation_rules" STRUCT(
"name" VARCHAR,
"type" VARCHAR
)[],
"evaluation_strategy" VARCHAR,
"last_updated_time" TIMESTAMP_S,
"name" VARCHAR,
"project" VARCHAR,
"status" VARCHAR,
"tags" MAP(VARCHAR, VARCHAR),
"value_type" VARCHAR,
"variations" STRUCT(
"name" VARCHAR,
"value" STRUCT(
"bool_value" BOOLEAN,
"double_value" DOUBLE,
"long_value" BIGINT,
"string_value" VARCHAR
)
)[]
)
Show child fields
feature.arn

The ARN of the feature.

feature.created_time

The date and time that the feature is created.

feature.default_variation

The name of the variation that is used 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.

feature.description

The description of the feature.

feature.entity_overrides

A set of key-value pairs that specify users who should always be served a specific variation of a feature. Each key specifies a user using their user ID, account ID, or some other identifier. The value specifies the name of the variation that the user is to be served.

For the override to be successful, the value of the key must match the entityId used in the EvaluateFeature operation.

feature.evaluation_rules[]
Show child fields
feature.evaluation_rules[].name

The name of the experiment or launch.

feature.evaluation_rules[].type

This value is aws.evidently.splits if this is an evaluation rule for a launch, and it is aws.evidently.onlineab if this is an evaluation rule for an experiment.

feature.evaluation_strategy

If this value is ALL_RULES, the traffic allocation specified by any ongoing launches or experiments is being used. If this is DEFAULT_VARIATION, the default variation is being served to all users.

feature.last_updated_time

The date and time that the feature was most recently updated.

feature.name

The name of the feature.

feature.project

The name or ARN of the project that contains the feature.

feature.status

The current state of the feature.

feature.tags

The list of tag keys and values associated with this feature.

feature.value_type

Defines the type of value used to define the different feature variations. For more information, see Variation types

feature.variations[]
Show child fields
feature.variations[].name

The name of the variation.

feature.variations[].value

The value assigned to this variation.

Show child fields
feature.variations[].value.bool_value

If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.

feature.variations[].value.double_value

If this feature uses the double integer variation type, this field contains the double integer value of this variation.

feature.variations[].value.long_value

If this feature uses the long variation type, this field contains the long value of this variation.

feature.variations[].value.string_value

If this feature uses the string variation type, this field contains the string value of this variation.