aws_sdk_connectcases/client/
update_template.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTemplate`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_domain_id):<br>required: **true**<br><p>The unique identifier of the Cases domain.</p><br>
    ///   - [`template_id(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_template_id):<br>required: **true**<br><p>A unique identifier for the template.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_name):<br>required: **false**<br><p>The name of the template. It must be unique per domain.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_description):<br>required: **false**<br><p>A brief description of the template.</p><br>
    ///   - [`layout_configuration(LayoutConfiguration)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::layout_configuration) / [`set_layout_configuration(Option<LayoutConfiguration>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_layout_configuration):<br>required: **false**<br><p>Configuration of layouts associated to the template.</p><br>
    ///   - [`required_fields(RequiredField)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::required_fields) / [`set_required_fields(Option<Vec::<RequiredField>>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_required_fields):<br>required: **false**<br><p>A list of fields that must contain a value for a case to be successfully created with this template.</p><br>
    ///   - [`status(TemplateStatus)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::status) / [`set_status(Option<TemplateStatus>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_status):<br>required: **false**<br><p>The status of the template.</p><br>
    /// - On success, responds with [`UpdateTemplateOutput`](crate::operation::update_template::UpdateTemplateOutput)
    /// - On failure, responds with [`SdkError<UpdateTemplateError>`](crate::operation::update_template::UpdateTemplateError)
    pub fn update_template(&self) -> crate::operation::update_template::builders::UpdateTemplateFluentBuilder {
        crate::operation::update_template::builders::UpdateTemplateFluentBuilder::new(self.handle.clone())
    }
}