import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PublishRecipeRequest, PublishRecipeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PublishRecipeCommand}. */ export interface PublishRecipeCommandInput extends PublishRecipeRequest { } /** * @public * * The output of {@link PublishRecipeCommand}. */ export interface PublishRecipeCommandOutput extends PublishRecipeResponse, __MetadataBearer { } declare const PublishRecipeCommand_base: { new (input: PublishRecipeCommandInput): import("@smithy/core/client").CommandImpl; new (input: PublishRecipeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Publishes a new version of a DataBrew recipe.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataBrewClient, PublishRecipeCommand } from "@aws-sdk/client-databrew"; // ES Modules import * // const { DataBrewClient, PublishRecipeCommand } = 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 = { // PublishRecipeRequest * Description: "STRING_VALUE", * Name: "STRING_VALUE", // required * }; * const command = new PublishRecipeCommand(input); * const response = await client.send(command); * // { // PublishRecipeResponse * // Name: "STRING_VALUE", // required * // }; * * ``` * * @param PublishRecipeCommandInput - {@link PublishRecipeCommandInput} * @returns {@link PublishRecipeCommandOutput} * @see {@link PublishRecipeCommandInput} for command's `input` shape. * @see {@link PublishRecipeCommandOutput} for command's `response` shape. * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

One or more resources can't be found.

* * @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 PublishRecipeCommand extends PublishRecipeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PublishRecipeRequest; output: PublishRecipeResponse; }; sdk: { input: PublishRecipeCommandInput; output: PublishRecipeCommandOutput; }; }; }