aws_sdk_proton/client/delete_service_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 [`DeleteServiceTemplateVersion`](crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`template_name(impl Into<String>)`](crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder::set_template_name):<br>required: **true**<br><p>The name of the service template.</p><br>
7 /// - [`major_version(impl Into<String>)`](crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder::major_version) / [`set_major_version(Option<String>)`](crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder::set_major_version):<br>required: **true**<br><p>The service template major version to delete.</p><br>
8 /// - [`minor_version(impl Into<String>)`](crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder::minor_version) / [`set_minor_version(Option<String>)`](crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder::set_minor_version):<br>required: **true**<br><p>The service template minor version to delete.</p><br>
9 /// - On success, responds with [`DeleteServiceTemplateVersionOutput`](crate::operation::delete_service_template_version::DeleteServiceTemplateVersionOutput) with field(s):
10 /// - [`service_template_version(Option<ServiceTemplateVersion>)`](crate::operation::delete_service_template_version::DeleteServiceTemplateVersionOutput::service_template_version): <p>The detailed data of the service template version being deleted.</p>
11 /// - On failure, responds with [`SdkError<DeleteServiceTemplateVersionError>`](crate::operation::delete_service_template_version::DeleteServiceTemplateVersionError)
12 pub fn delete_service_template_version(
13 &self,
14 ) -> crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder {
15 crate::operation::delete_service_template_version::builders::DeleteServiceTemplateVersionFluentBuilder::new(self.handle.clone())
16 }
17}