1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetImageRecipe`](crate::operation::get_image_recipe::builders::GetImageRecipeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`image_recipe_arn(impl Into<String>)`](crate::operation::get_image_recipe::builders::GetImageRecipeFluentBuilder::image_recipe_arn) / [`set_image_recipe_arn(Option<String>)`](crate::operation::get_image_recipe::builders::GetImageRecipeFluentBuilder::set_image_recipe_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.</p><br>
    /// - On success, responds with [`GetImageRecipeOutput`](crate::operation::get_image_recipe::GetImageRecipeOutput) with field(s):
    ///   - [`request_id(Option<String>)`](crate::operation::get_image_recipe::GetImageRecipeOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
    ///   - [`image_recipe(Option<ImageRecipe>)`](crate::operation::get_image_recipe::GetImageRecipeOutput::image_recipe): <p>The image recipe object.</p>
    /// - On failure, responds with [`SdkError<GetImageRecipeError>`](crate::operation::get_image_recipe::GetImageRecipeError)
    pub fn get_image_recipe(&self) -> crate::operation::get_image_recipe::builders::GetImageRecipeFluentBuilder {
        crate::operation::get_image_recipe::builders::GetImageRecipeFluentBuilder::new(self.handle.clone())
    }
}