aws_sdk_databrew/client/
delete_recipe_version.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteRecipeVersion`](crate::operation::delete_recipe_version::builders::DeleteRecipeVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::delete_recipe_version::builders::DeleteRecipeVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_recipe_version::builders::DeleteRecipeVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the recipe.</p><br>
    ///   - [`recipe_version(impl Into<String>)`](crate::operation::delete_recipe_version::builders::DeleteRecipeVersionFluentBuilder::recipe_version) / [`set_recipe_version(Option<String>)`](crate::operation::delete_recipe_version::builders::DeleteRecipeVersionFluentBuilder::set_recipe_version):<br>required: **true**<br><p>The version of the recipe to be deleted. You can specify a numeric versions (<code>X.Y</code>) or <code>LATEST_WORKING</code>. <code>LATEST_PUBLISHED</code> is not supported.</p><br>
    /// - On success, responds with [`DeleteRecipeVersionOutput`](crate::operation::delete_recipe_version::DeleteRecipeVersionOutput) with field(s):
    ///   - [`name(String)`](crate::operation::delete_recipe_version::DeleteRecipeVersionOutput::name): <p>The name of the recipe that was deleted.</p>
    ///   - [`recipe_version(String)`](crate::operation::delete_recipe_version::DeleteRecipeVersionOutput::recipe_version): <p>The version of the recipe that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteRecipeVersionError>`](crate::operation::delete_recipe_version::DeleteRecipeVersionError)
    pub fn delete_recipe_version(&self) -> crate::operation::delete_recipe_version::builders::DeleteRecipeVersionFluentBuilder {
        crate::operation::delete_recipe_version::builders::DeleteRecipeVersionFluentBuilder::new(self.handle.clone())
    }
}