aws_sdk_databrew/client/create_recipe.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateRecipe`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`description(impl Into<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_description):<br>required: **false**<br><p>A description for the recipe.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_name):<br>required: **true**<br><p>A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.</p><br>
/// - [`steps(RecipeStep)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::steps) / [`set_steps(Option<Vec::<RecipeStep>>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_steps):<br>required: **true**<br><p>An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_tags):<br>required: **false**<br><p>Metadata tags to apply to this recipe.</p><br>
/// - On success, responds with [`CreateRecipeOutput`](crate::operation::create_recipe::CreateRecipeOutput) with field(s):
/// - [`name(String)`](crate::operation::create_recipe::CreateRecipeOutput::name): <p>The name of the recipe that you created.</p>
/// - On failure, responds with [`SdkError<CreateRecipeError>`](crate::operation::create_recipe::CreateRecipeError)
pub fn create_recipe(&self) -> crate::operation::create_recipe::builders::CreateRecipeFluentBuilder {
crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::new(self.handle.clone())
}
}