aws_sdk_databrew/client/
describe_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 [`DescribeRecipe`](crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the recipe to be described.</p><br>
7    ///   - [`recipe_version(impl Into<String>)`](crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::recipe_version) / [`set_recipe_version(Option<String>)`](crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::set_recipe_version):<br>required: **false**<br><p>The recipe version identifier. If this parameter isn't specified, then the latest published version is returned.</p><br>
8    /// - On success, responds with [`DescribeRecipeOutput`](crate::operation::describe_recipe::DescribeRecipeOutput) with field(s):
9    ///   - [`created_by(Option<String>)`](crate::operation::describe_recipe::DescribeRecipeOutput::created_by): <p>The identifier (user name) of the user who created the recipe.</p>
10    ///   - [`create_date(Option<DateTime>)`](crate::operation::describe_recipe::DescribeRecipeOutput::create_date): <p>The date and time that the recipe was created.</p>
11    ///   - [`last_modified_by(Option<String>)`](crate::operation::describe_recipe::DescribeRecipeOutput::last_modified_by): <p>The identifier (user name) of the user who last modified the recipe.</p>
12    ///   - [`last_modified_date(Option<DateTime>)`](crate::operation::describe_recipe::DescribeRecipeOutput::last_modified_date): <p>The date and time that the recipe was last modified.</p>
13    ///   - [`project_name(Option<String>)`](crate::operation::describe_recipe::DescribeRecipeOutput::project_name): <p>The name of the project associated with this recipe.</p>
14    ///   - [`published_by(Option<String>)`](crate::operation::describe_recipe::DescribeRecipeOutput::published_by): <p>The identifier (user name) of the user who last published the recipe.</p>
15    ///   - [`published_date(Option<DateTime>)`](crate::operation::describe_recipe::DescribeRecipeOutput::published_date): <p>The date and time when the recipe was last published.</p>
16    ///   - [`description(Option<String>)`](crate::operation::describe_recipe::DescribeRecipeOutput::description): <p>The description of the recipe.</p>
17    ///   - [`name(String)`](crate::operation::describe_recipe::DescribeRecipeOutput::name): <p>The name of the recipe.</p>
18    ///   - [`steps(Option<Vec::<RecipeStep>>)`](crate::operation::describe_recipe::DescribeRecipeOutput::steps): <p>One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.</p>
19    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_recipe::DescribeRecipeOutput::tags): <p>Metadata tags associated with this project.</p>
20    ///   - [`resource_arn(Option<String>)`](crate::operation::describe_recipe::DescribeRecipeOutput::resource_arn): <p>The ARN of the recipe.</p>
21    ///   - [`recipe_version(Option<String>)`](crate::operation::describe_recipe::DescribeRecipeOutput::recipe_version): <p>The recipe version identifier.</p>
22    /// - On failure, responds with [`SdkError<DescribeRecipeError>`](crate::operation::describe_recipe::DescribeRecipeError)
23    pub fn describe_recipe(&self) -> crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder {
24        crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::new(self.handle.clone())
25    }
26}