aws-sdk-socialmessaging 1.72.0

AWS SDK for AWS End User Messaging Social
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateWhatsAppMessageTemplateFromLibrary`](crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`meta_library_template(MetaLibraryTemplate)`](crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder::meta_library_template) / [`set_meta_library_template(Option<MetaLibraryTemplate>)`](crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder::set_meta_library_template):<br>required: **true**<br><p>The template configuration from Meta's library, including customizations for buttons and body text.</p><br>
    ///   - [`id(impl Into<String>)`](crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the WhatsApp Business Account to associate with this template.</p><br>
    /// - On success, responds with [`CreateWhatsAppMessageTemplateFromLibraryOutput`](crate::operation::create_whats_app_message_template_from_library::CreateWhatsAppMessageTemplateFromLibraryOutput) with field(s):
    ///   - [`meta_template_id(Option<String>)`](crate::operation::create_whats_app_message_template_from_library::CreateWhatsAppMessageTemplateFromLibraryOutput::meta_template_id): <p>The numeric ID assigned to the template by Meta.</p>
    ///   - [`template_status(Option<String>)`](crate::operation::create_whats_app_message_template_from_library::CreateWhatsAppMessageTemplateFromLibraryOutput::template_status): <p>The status of the created template (for example, PENDING or APPROVED).</p>
    ///   - [`category(Option<String>)`](crate::operation::create_whats_app_message_template_from_library::CreateWhatsAppMessageTemplateFromLibraryOutput::category): <p>The category of the template (for example, UTILITY or MARKETING).</p>
    /// - On failure, responds with [`SdkError<CreateWhatsAppMessageTemplateFromLibraryError>`](crate::operation::create_whats_app_message_template_from_library::CreateWhatsAppMessageTemplateFromLibraryError)
    pub fn create_whats_app_message_template_from_library(
        &self,
    ) -> crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder {
        crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder::new(
            self.handle.clone(),
        )
    }
}