aws_sdk_qconnect/client/
delete_message_template_attachment.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteMessageTemplateAttachment`](crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteMessageTemplateAttachmentOutput`](crate::operation::delete_message_template_attachment::DeleteMessageTemplateAttachmentOutput)
    /// - On failure, responds with [`SdkError<DeleteMessageTemplateAttachmentError>`](crate::operation::delete_message_template_attachment::DeleteMessageTemplateAttachmentError)
    pub fn delete_message_template_attachment(
        &self,
    ) -> crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder {
        crate::operation::delete_message_template_attachment::builders::DeleteMessageTemplateAttachmentFluentBuilder::new(self.handle.clone())
    }
}