import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeRecipeRequest, DescribeRecipeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeRecipeCommand}. */ export interface DescribeRecipeCommandInput extends DescribeRecipeRequest { } /** * @public * * The output of {@link DescribeRecipeCommand}. */ export interface DescribeRecipeCommandOutput extends DescribeRecipeResponse, __MetadataBearer { } declare const DescribeRecipeCommand_base: { new (input: DescribeRecipeCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeRecipeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes a recipe.

*

A recipe contains three items:

* *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, DescribeRecipeCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, DescribeRecipeCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(config); * const input = { // DescribeRecipeRequest * recipeArn: "STRING_VALUE", // required * }; * const command = new DescribeRecipeCommand(input); * const response = await client.send(command); * // { // DescribeRecipeResponse * // recipe: { // Recipe * // name: "STRING_VALUE", * // recipeArn: "STRING_VALUE", * // algorithmArn: "STRING_VALUE", * // featureTransformationArn: "STRING_VALUE", * // status: "STRING_VALUE", * // description: "STRING_VALUE", * // creationDateTime: new Date("TIMESTAMP"), * // recipeType: "STRING_VALUE", * // lastUpdatedDateTime: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param DescribeRecipeCommandInput - {@link DescribeRecipeCommandInput} * @returns {@link DescribeRecipeCommandOutput} * @see {@link DescribeRecipeCommandInput} for command's `input` shape. * @see {@link DescribeRecipeCommandOutput} for command's `response` shape. * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

* * @throws {@link ResourceNotFoundException} (client fault) *

Could not find the specified resource.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize service.

* * * @public */ export declare class DescribeRecipeCommand extends DescribeRecipeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeRecipeRequest; output: DescribeRecipeResponse; }; sdk: { input: DescribeRecipeCommandInput; output: DescribeRecipeCommandOutput; }; }; }