aws_sdk_imagebuilder/client/
get_container_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 [`GetContainerRecipe`](crate::operation::get_container_recipe::builders::GetContainerRecipeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`container_recipe_arn(impl Into<String>)`](crate::operation::get_container_recipe::builders::GetContainerRecipeFluentBuilder::container_recipe_arn) / [`set_container_recipe_arn(Option<String>)`](crate::operation::get_container_recipe::builders::GetContainerRecipeFluentBuilder::set_container_recipe_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the container recipe to retrieve.</p><br>
7    /// - On success, responds with [`GetContainerRecipeOutput`](crate::operation::get_container_recipe::GetContainerRecipeOutput) with field(s):
8    ///   - [`request_id(Option<String>)`](crate::operation::get_container_recipe::GetContainerRecipeOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
9    ///   - [`container_recipe(Option<ContainerRecipe>)`](crate::operation::get_container_recipe::GetContainerRecipeOutput::container_recipe): <p>The container recipe object that is returned.</p>
10    /// - On failure, responds with [`SdkError<GetContainerRecipeError>`](crate::operation::get_container_recipe::GetContainerRecipeError)
11    pub fn get_container_recipe(&self) -> crate::operation::get_container_recipe::builders::GetContainerRecipeFluentBuilder {
12        crate::operation::get_container_recipe::builders::GetContainerRecipeFluentBuilder::new(self.handle.clone())
13    }
14}