aws_sdk_quicksight/client/
delete_template_alias.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 [`DeleteTemplateAlias`](crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    /// - On success, responds with [`DeleteTemplateAliasOutput`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput) with field(s):
10    ///   - [`status(i32)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::status): <p>The HTTP status of the request.</p>
11    ///   - [`template_id(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::template_id): <p>An ID for the template associated with the deletion.</p>
12    ///   - [`alias_name(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::alias_name): <p>The name for the template alias.</p>
13    ///   - [`arn(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::arn): <p>The Amazon Resource Name (ARN) of the template you want to delete.</p>
14    ///   - [`request_id(Option<String>)`](crate::operation::delete_template_alias::DeleteTemplateAliasOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
15    /// - On failure, responds with [`SdkError<DeleteTemplateAliasError>`](crate::operation::delete_template_alias::DeleteTemplateAliasError)
16    pub fn delete_template_alias(&self) -> crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder {
17        crate::operation::delete_template_alias::builders::DeleteTemplateAliasFluentBuilder::new(self.handle.clone())
18    }
19}