aws_sdk_quicksight/client/delete_template.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 [`DeleteTemplate`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`aws_account_id(impl Into<String>)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the template that you're deleting.</p><br>
7 /// - [`template_id(impl Into<String>)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::set_template_id):<br>required: **true**<br><p>An ID for the template you want to delete.</p><br>
8 /// - [`version_number(i64)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::version_number) / [`set_version_number(Option<i64>)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::set_version_number):<br>required: **false**<br><p>Specifies the version of the template that you want to delete. If you don't provide a version number, <code>DeleteTemplate</code> deletes all versions of the template.</p><br>
9 /// - On success, responds with [`DeleteTemplateOutput`](crate::operation::delete_template::DeleteTemplateOutput) with field(s):
10 /// - [`request_id(Option<String>)`](crate::operation::delete_template::DeleteTemplateOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
11 /// - [`arn(Option<String>)`](crate::operation::delete_template::DeleteTemplateOutput::arn): <p>The Amazon Resource Name (ARN) of the resource.</p>
12 /// - [`template_id(Option<String>)`](crate::operation::delete_template::DeleteTemplateOutput::template_id): <p>An ID for the template.</p>
13 /// - [`status(i32)`](crate::operation::delete_template::DeleteTemplateOutput::status): <p>The HTTP status of the request.</p>
14 /// - On failure, responds with [`SdkError<DeleteTemplateError>`](crate::operation::delete_template::DeleteTemplateError)
15 pub fn delete_template(&self) -> crate::operation::delete_template::builders::DeleteTemplateFluentBuilder {
16 crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::new(self.handle.clone())
17 }
18}