aws_sdk_socialmessaging/client/create_whats_app_message_template_from_library.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 [`CreateWhatsAppMessageTemplateFromLibrary`](crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`CreateWhatsAppMessageTemplateFromLibraryOutput`](crate::operation::create_whats_app_message_template_from_library::CreateWhatsAppMessageTemplateFromLibraryOutput) with field(s):
9 /// - [`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>
10 /// - [`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>
11 /// - [`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>
12 /// - On failure, responds with [`SdkError<CreateWhatsAppMessageTemplateFromLibraryError>`](crate::operation::create_whats_app_message_template_from_library::CreateWhatsAppMessageTemplateFromLibraryError)
13 pub fn create_whats_app_message_template_from_library(
14 &self,
15 ) -> crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder {
16 crate::operation::create_whats_app_message_template_from_library::builders::CreateWhatsAppMessageTemplateFromLibraryFluentBuilder::new(
17 self.handle.clone(),
18 )
19 }
20}