aws_sdk_personalize/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 /// - [`recipe_arn(impl Into<String>)`](crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::recipe_arn) / [`set_recipe_arn(Option<String>)`](crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::set_recipe_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the recipe to describe.</p><br>
7 /// - On success, responds with [`DescribeRecipeOutput`](crate::operation::describe_recipe::DescribeRecipeOutput) with field(s):
8 /// - [`recipe(Option<Recipe>)`](crate::operation::describe_recipe::DescribeRecipeOutput::recipe): <p>An object that describes the recipe.</p>
9 /// - On failure, responds with [`SdkError<DescribeRecipeError>`](crate::operation::describe_recipe::DescribeRecipeError)
10 pub fn describe_recipe(&self) -> crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder {
11 crate::operation::describe_recipe::builders::DescribeRecipeFluentBuilder::new(self.handle.clone())
12 }
13}