Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data DescribeRecipe = DescribeRecipe' {}
- newDescribeRecipe :: Text -> DescribeRecipe
- describeRecipe_recipeArn :: Lens' DescribeRecipe Text
- data DescribeRecipeResponse = DescribeRecipeResponse' {
- recipe :: Maybe Recipe
- httpStatus :: Int
- newDescribeRecipeResponse :: Int -> DescribeRecipeResponse
- describeRecipeResponse_recipe :: Lens' DescribeRecipeResponse (Maybe Recipe)
- describeRecipeResponse_httpStatus :: Lens' DescribeRecipeResponse Int
Creating a Request
data DescribeRecipe Source #
See: newDescribeRecipe
smart constructor.
Instances
Create a value of DescribeRecipe
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recipeArn:DescribeRecipe'
, describeRecipe_recipeArn
- The Amazon Resource Name (ARN) of the recipe to describe.
Request Lenses
describeRecipe_recipeArn :: Lens' DescribeRecipe Text Source #
The Amazon Resource Name (ARN) of the recipe to describe.
Destructuring the Response
data DescribeRecipeResponse Source #
See: newDescribeRecipeResponse
smart constructor.
DescribeRecipeResponse' | |
|
Instances
newDescribeRecipeResponse Source #
Create a value of DescribeRecipeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recipe:DescribeRecipeResponse'
, describeRecipeResponse_recipe
- An object that describes the recipe.
$sel:httpStatus:DescribeRecipeResponse'
, describeRecipeResponse_httpStatus
- The response's http status code.
Response Lenses
describeRecipeResponse_recipe :: Lens' DescribeRecipeResponse (Maybe Recipe) Source #
An object that describes the recipe.
describeRecipeResponse_httpStatus :: Lens' DescribeRecipeResponse Int Source #
The response's http status code.