aws_sdk_proton/client/delete_environment_template_version.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteEnvironmentTemplateVersion`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`template_name(impl Into<String>)`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::set_template_name):<br>required: **true**<br><p>The name of the environment template.</p><br>
/// - [`major_version(impl Into<String>)`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::major_version) / [`set_major_version(Option<String>)`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::set_major_version):<br>required: **true**<br><p>The environment template major version to delete.</p><br>
/// - [`minor_version(impl Into<String>)`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::minor_version) / [`set_minor_version(Option<String>)`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::set_minor_version):<br>required: **true**<br><p>The environment template minor version to delete.</p><br>
/// - On success, responds with [`DeleteEnvironmentTemplateVersionOutput`](crate::operation::delete_environment_template_version::DeleteEnvironmentTemplateVersionOutput) with field(s):
/// - [`environment_template_version(Option<EnvironmentTemplateVersion>)`](crate::operation::delete_environment_template_version::DeleteEnvironmentTemplateVersionOutput::environment_template_version): <p>The detailed data of the environment template version being deleted.</p>
/// - On failure, responds with [`SdkError<DeleteEnvironmentTemplateVersionError>`](crate::operation::delete_environment_template_version::DeleteEnvironmentTemplateVersionError)
pub fn delete_environment_template_version(
&self,
) -> crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder {
crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::new(self.handle.clone())
}
}