aws_sdk_proton/client/
delete_environment_template_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 [`DeleteEnvironmentTemplateVersion`](crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    /// - On success, responds with [`DeleteEnvironmentTemplateVersionOutput`](crate::operation::delete_environment_template_version::DeleteEnvironmentTemplateVersionOutput) with field(s):
10    ///   - [`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>
11    /// - On failure, responds with [`SdkError<DeleteEnvironmentTemplateVersionError>`](crate::operation::delete_environment_template_version::DeleteEnvironmentTemplateVersionError)
12    pub fn delete_environment_template_version(
13        &self,
14    ) -> crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder {
15        crate::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionFluentBuilder::new(self.handle.clone())
16    }
17}