1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 ::std::convert::Into<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_description): <p>A description for the recipe.</p>
    ///   - [`name(impl ::std::convert::Into<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_name): <p>A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.</p>
    ///   - [`steps(Vec<RecipeStep>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::steps) / [`set_steps(Option<Vec<RecipeStep>>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_steps): <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>
    ///   - [`tags(HashMap<String, String>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_recipe::builders::CreateRecipeFluentBuilder::set_tags): <p>Metadata tags to apply to this recipe.</p>
    /// - On success, responds with [`CreateRecipeOutput`](crate::operation::create_recipe::CreateRecipeOutput) with field(s):
    ///   - [`name(Option<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())
    }
}