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 [`DeleteTemplateAlias`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the item to delete.</p><br>
    ///   - [`template_id(impl Into<String>)`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::set_template_id):<br>required: **true**<br><p>The ID for the template that the specified alias is for.</p><br>
    ///   - [`alias_name(impl Into<String>)`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::alias_name) / [`set_alias_name(Option<String>)`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::set_alias_name):<br>required: **true**<br><p>The name for the template alias. To delete a specific alias, you delete the version that the alias points to. You can specify the alias name, or specify the latest version of the template by providing the keyword <code>$LATEST</code> in the <code>AliasName</code> parameter. </p><br>
    /// - On success, responds with [`DeleteTemplateAliasOutput`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput) with field(s):
    ///   - [`status(i32)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`template_id(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::template_id): <p>An ID for the template associated with the deletion.</p>
    ///   - [`alias_name(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::alias_name): <p>The name for the template alias.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::arn): <p>The Amazon Resource Name (ARN) of the template you want to delete.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<DeleteTemplateAliasError>`](crate::operation::delete_template_alias::DeleteTemplateAliasError)
    pub fn delete_template_alias(&self) -> crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder {
        crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::new(self.handle.clone())
    }
}