1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteLaunchTemplate`](crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder::set_dry_run): <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
    ///   - [`launch_template_id(impl Into<String>)`](crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder::launch_template_id) / [`set_launch_template_id(Option<String>)`](crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder::set_launch_template_id): <p>The ID of the launch template.</p>  <p>You must specify either the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not both.</p>
    ///   - [`launch_template_name(impl Into<String>)`](crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder::launch_template_name) / [`set_launch_template_name(Option<String>)`](crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder::set_launch_template_name): <p>The name of the launch template.</p>  <p>You must specify either the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not both.</p>
    /// - On success, responds with [`DeleteLaunchTemplateOutput`](crate::operation::delete_launch_template::DeleteLaunchTemplateOutput) with field(s):
    ///   - [`launch_template(Option<LaunchTemplate>)`](crate::operation::delete_launch_template::DeleteLaunchTemplateOutput::launch_template): <p>Information about the launch template.</p>
    /// - On failure, responds with [`SdkError<DeleteLaunchTemplateError>`](crate::operation::delete_launch_template::DeleteLaunchTemplateError)
    pub fn delete_launch_template(
        &self,
    ) -> crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder {
        crate::operation::delete_launch_template::builders::DeleteLaunchTemplateFluentBuilder::new(
            self.handle.clone(),
        )
    }
}