aws_sdk_databrew/client/
publish_recipe.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PublishRecipe`](crate::operation::publish_recipe::builders::PublishRecipeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`description(impl Into<String>)`](crate::operation::publish_recipe::builders::PublishRecipeFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::publish_recipe::builders::PublishRecipeFluentBuilder::set_description):<br>required: **false**<br><p>A description of the recipe to be published, for this version of the recipe.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::publish_recipe::builders::PublishRecipeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::publish_recipe::builders::PublishRecipeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the recipe to be published.</p><br>
8    /// - On success, responds with [`PublishRecipeOutput`](crate::operation::publish_recipe::PublishRecipeOutput) with field(s):
9    ///   - [`name(String)`](crate::operation::publish_recipe::PublishRecipeOutput::name): <p>The name of the recipe that you published.</p>
10    /// - On failure, responds with [`SdkError<PublishRecipeError>`](crate::operation::publish_recipe::PublishRecipeError)
11    pub fn publish_recipe(&self) -> crate::operation::publish_recipe::builders::PublishRecipeFluentBuilder {
12        crate::operation::publish_recipe::builders::PublishRecipeFluentBuilder::new(self.handle.clone())
13    }
14}