aws_sdk_databrew/client/batch_delete_recipe_version.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`BatchDeleteRecipeVersion`](crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - [`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>
/// - On success, responds with [`BatchDeleteRecipeVersionOutput`](crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionOutput) with field(s):
/// - [`name(String)`](crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionOutput::name): <p>The name of the recipe that was modified.</p>
/// - [`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>
/// - On failure, responds with [`SdkError<BatchDeleteRecipeVersionError>`](crate::operation::batch_delete_recipe_version::BatchDeleteRecipeVersionError)
pub fn batch_delete_recipe_version(&self) -> crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder {
crate::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionFluentBuilder::new(self.handle.clone())
}
}