aws_sdk_imagebuilder/client/
delete_image_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 [`DeleteImageRecipe`](crate::operation::delete_image_recipe::builders::DeleteImageRecipeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`image_recipe_arn(impl Into<String>)`](crate::operation::delete_image_recipe::builders::DeleteImageRecipeFluentBuilder::image_recipe_arn) / [`set_image_recipe_arn(Option<String>)`](crate::operation::delete_image_recipe::builders::DeleteImageRecipeFluentBuilder::set_image_recipe_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the image recipe to delete.</p><br>
7    /// - On success, responds with [`DeleteImageRecipeOutput`](crate::operation::delete_image_recipe::DeleteImageRecipeOutput) with field(s):
8    ///   - [`request_id(Option<String>)`](crate::operation::delete_image_recipe::DeleteImageRecipeOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
9    ///   - [`image_recipe_arn(Option<String>)`](crate::operation::delete_image_recipe::DeleteImageRecipeOutput::image_recipe_arn): <p>The Amazon Resource Name (ARN) of the image recipe that was deleted.</p>
10    /// - On failure, responds with [`SdkError<DeleteImageRecipeError>`](crate::operation::delete_image_recipe::DeleteImageRecipeError)
11    pub fn delete_image_recipe(&self) -> crate::operation::delete_image_recipe::builders::DeleteImageRecipeFluentBuilder {
12        crate::operation::delete_image_recipe::builders::DeleteImageRecipeFluentBuilder::new(self.handle.clone())
13    }
14}