aws_sdk_databrew/client/batch_delete_recipe_version.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 [`BatchDeleteRecipeVersion`](crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the recipe whose versions are to be deleted.</p><br>
7 /// - [`recipe_versions(impl Into<String>)`](crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder::recipe_versions) / [`set_recipe_versions(Option<Vec::<String>>)`](crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder::set_recipe_versions):<br>required: **true**<br><p>An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (<code>X.Y</code>) or <code>LATEST_WORKING</code>. <code>LATEST_PUBLISHED</code> is not supported.</p><br>
8 /// - On success, responds with [`BatchDeleteRecipeVersionOutput`](crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionOutput) with field(s):
9 /// - [`name(String)`](crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionOutput::name): <p>The name of the recipe that was modified.</p>
10 /// - [`errors(Option<Vec::<RecipeVersionErrorDetail>>)`](crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionOutput::errors): <p>Errors, if any, that occurred while attempting to delete the recipe versions.</p>
11 /// - On failure, responds with [`SdkError<BatchDeleteRecipeVersionError>`](crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionError)
12 pub fn batch_delete_recipe_version(&self) -> crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder {
13 crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder::new(self.handle.clone())
14 }
15}