aws_sdk_qconnect/client/
delete_message_template_attachment.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 [`DeleteMessageTemplateAttachment`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
7    ///   - [`message_template_id(impl Into<String>)`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::message_template_id) / [`set_message_template_id(Option<String>)`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::set_message_template_id):<br>required: **true**<br><p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p><br>
8    ///   - [`attachment_id(impl Into<String>)`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::set_attachment_id):<br>required: **true**<br><p>The identifier of the attachment file.</p><br>
9    /// - On success, responds with [`DeleteMessageTemplateAttachmentOutput`](crate::operation::delete_message_template_attachment::DeleteMessageTemplateAttachmentOutput)
10    /// - On failure, responds with [`SdkError<DeleteMessageTemplateAttachmentError>`](crate::operation::delete_message_template_attachment::DeleteMessageTemplateAttachmentError)
11    pub fn delete_message_template_attachment(
12        &self,
13    ) -> crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder {
14        crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::new(self.handle.clone())
15    }
16}