Skip to content

Get Feature

cloudwatchevidently_get_feature R Documentation

Returns the details about one feature

Description

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

Usage

cloudwatchevidently_get_feature(feature, project)

Arguments

feature

[required] The name of the feature that you want to retrieve information for.

project

[required] The name or ARN of the project that contains the feature.

Value

A list with the following syntax:

list(
  feature = list(
    arn = "string",
    createdTime = as.POSIXct(
      "2015-01-01"
    ),
    defaultVariation = "string",
    description = "string",
    entityOverrides = list(
      "string"
    ),
    evaluationRules = list(
      list(
        name = "string",
        type = "string"
      )
    ),
    evaluationStrategy = "ALL_RULES"|"DEFAULT_VARIATION",
    lastUpdatedTime = as.POSIXct(
      "2015-01-01"
    ),
    name = "string",
    project = "string",
    status = "AVAILABLE"|"UPDATING",
    tags = list(
      "string"
    ),
    valueType = "STRING"|"LONG"|"DOUBLE"|"BOOLEAN",
    variations = list(
      list(
        name = "string",
        value = list(
          boolValue = TRUE|FALSE,
          doubleValue = 123.0,
          longValue = 123,
          stringValue = "string"
        )
      )
    )
  )
)

Request syntax

svc$get_feature(
  feature = "string",
  project = "string"
)