import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateRecipeRequest, CreateRecipeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateRecipeCommand}. */ export interface CreateRecipeCommandInput extends CreateRecipeRequest { } /** * @public * * The output of {@link CreateRecipeCommand}. */ export interface CreateRecipeCommandOutput extends CreateRecipeResponse, __MetadataBearer { } declare const CreateRecipeCommand_base: { new (input: CreateRecipeCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateRecipeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new DataBrew recipe.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataBrewClient, CreateRecipeCommand } from "@aws-sdk/client-databrew"; // ES Modules import * // const { DataBrewClient, CreateRecipeCommand } = require("@aws-sdk/client-databrew"); // CommonJS import * // import type { DataBrewClientConfig } from "@aws-sdk/client-databrew"; * const config = {}; // type is DataBrewClientConfig * const client = new DataBrewClient(config); * const input = { // CreateRecipeRequest * Description: "STRING_VALUE", * Name: "STRING_VALUE", // required * Steps: [ // RecipeStepList // required * { // RecipeStep * Action: { // RecipeAction * Operation: "STRING_VALUE", // required * Parameters: { // ParameterMap * "": "STRING_VALUE", * }, * }, * ConditionExpressions: [ // ConditionExpressionList * { // ConditionExpression * Condition: "STRING_VALUE", // required * Value: "STRING_VALUE", * TargetColumn: "STRING_VALUE", // required * }, * ], * }, * ], * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateRecipeCommand(input); * const response = await client.send(command); * // { // CreateRecipeResponse * // Name: "STRING_VALUE", // required * // }; * * ``` * * @param CreateRecipeCommandInput - {@link CreateRecipeCommandInput} * @returns {@link CreateRecipeCommandOutput} * @see {@link CreateRecipeCommandInput} for command's `input` shape. * @see {@link CreateRecipeCommandOutput} for command's `response` shape. * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

Updating or deleting a resource can cause an inconsistent state.

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

A service quota is exceeded.

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

The input parameters for this request failed validation.

* * @throws {@link DataBrewServiceException} *

Base exception class for all service exceptions from DataBrew service.

* * * @public */ export declare class CreateRecipeCommand extends CreateRecipeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateRecipeRequest; output: CreateRecipeResponse; }; sdk: { input: CreateRecipeCommandInput; output: CreateRecipeCommandOutput; }; }; }