aws_sdk_connectcases/client/
delete_template.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteTemplate`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl Into<String>)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::set_domain_id):<br>required: **true**<br><p>The unique identifier of the Cases domain.</p><br>
    ///   - [`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>A unique identifier of a template.</p><br>
    /// - On success, responds with [`DeleteTemplateOutput`](crate::operation::delete_template::DeleteTemplateOutput)
    /// - On failure, responds with [`SdkError<DeleteTemplateError>`](crate::operation::delete_template::DeleteTemplateError)
    pub fn delete_template(&self) -> crate::operation::delete_template::builders::DeleteTemplateFluentBuilder {
        crate::operation::delete_template::builders::DeleteTemplateFluentBuilder::new(self.handle.clone())
    }
}