Skip to main content

recipes

Creates, updates, deletes, gets or lists a recipes resource.

Overview

Namerecipes
TypeResource
Idaws.personalize.recipes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the recipe. (pattern: <code>^[a-zA-Z0-9][a-zA-Z0-9-_]*</code>)
algorithm_arnstringThe Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model. (pattern: <code>arn:([a-z\d-]+):personalize:.:.:.+</code>)
creation_date_timestring (date-time)The date and time (in Unix format) that the recipe was created.
descriptionstringThe description of the recipe.
feature_transformation_arnstringThe ARN of the FeatureTransformation object. (pattern: <code>arn:([a-z\d-]+):personalize:.:.:.+</code>)
last_updated_date_timestring (date-time)The date and time (in Unix format) that the recipe was last updated.
recipe_arnstringThe Amazon Resource Name (ARN) of the recipe. (pattern: <code>arn:([a-z\d-]+):personalize:.:.:.+</code>)
recipe_typestringOne of the following values: PERSONALIZED_RANKING RELATED_ITEMS USER_PERSONALIZATION
statusstringThe status of the recipe.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_recipeselectregionDescribes a recipe. A recipe contains three items: An algorithm that trains a model. Hyperparameters that govern the training. Feature transformation information for modifying the input data before training. Amazon Personalize provides a set of predefined recipes. You specify a recipe when you create a solution with the CreateSolution API. CreateSolution trains a model by using the algorithm in the specified recipe and a training dataset. The solution, when deployed as a campaign, can provide recommendations using the GetRecommendations API.
list_recipesselectregionReturns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes a recipe. A recipe contains three items: An algorithm that trains a model. Hyperparameters that govern the training. Feature transformation information for modifying the input data before training. Amazon Personalize provides a set of predefined recipes. You specify a recipe when you create a solution with the CreateSolution API. CreateSolution trains a model by using the algorithm in the specified recipe and a training dataset. The solution, when deployed as a campaign, can provide recommendations using the GetRecommendations API.

SELECT
name,
algorithm_arn,
creation_date_time,
description,
feature_transformation_arn,
last_updated_date_time,
recipe_arn,
recipe_type,
status
FROM aws.personalize.recipes
WHERE region = '{{ region }}' -- required
;