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