Skip to content

Creates a recommender

Description

Creates a recommender

Usage

customerprofiles_create_recommender(DomainName, RecommenderName,
  RecommenderRecipeName, RecommenderConfig, Description,
  RecommenderSchemaName, Tags)

Arguments

  • DomainName

[required] The unique name of the domain.

  • RecommenderName

[required] The name of the recommender.

  • RecommenderRecipeName

[required] The name of the recommeder recipe.

  • RecommenderConfig

The recommender configuration.

  • Description

The description of the domain object type.

  • RecommenderSchemaName

The name of the recommender schema to use for this recommender. If not specified, the default schema is used.

  • Tags

The tags used to organize, track, or control access for this resource.

Value

A list with the following syntax:

list(
  RecommenderArn = "string",
  Tags = list(
    "string"
  )
)

Request syntax

svc$create_recommender(
  DomainName = "string",
  RecommenderName = "string",
  RecommenderRecipeName = "recommended-for-you"|"similar-items"|"frequently-paired-items"|"popular-items"|"trending-now"|"personalized-ranking",
  RecommenderConfig = list(
    EventsConfig = list(
      EventParametersList = list(
        list(
          EventType = "string",
          EventValueThreshold = 123.0,
          EventWeight = 123.0
        )
      )
    ),
    TrainingFrequency = 123,
    InferenceConfig = list(
      MinProvisionedTPS = 123
    ),
    IncludedColumns = list(
      list(
        "string"
      )
    ),
    ExcludedColumns = list(
      list(
        "string"
      )
    ),
    DiversityConfig = list(
      DiversityColumns = list(
        list(
          Name = "string",
          CapType = "PERCENTAGE"|"VALUE",
          Target = "string"
        )
      )
    )
  ),
  Description = "string",
  RecommenderSchemaName = "string",
  Tags = list(
    "string"
  )
)