aws-sdk-socialmessaging 1.72.0

AWS SDK for AWS End User Messaging Social
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SendWhatsAppConversionEvent`](crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the WhatsApp Business Account associated with the dataset, formatted as <code>waba-01234567890123456789012345678901</code>.</p><br>
    ///   - [`dataset_id(impl Into<String>)`](crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder::dataset_id) / [`set_dataset_id(Option<String>)`](crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder::set_dataset_id):<br>required: **true**<br><p>The Meta-generated dataset ID to send the event to.</p><br>
    ///   - [`event_data(Blob)`](crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder::event_data) / [`set_event_data(Option<Blob>)`](crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder::set_event_data):<br>required: **true**<br><p>The raw Meta Conversions API event payload as a JSON blob. See <a href="https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event">Meta's server event parameters</a> for the supported format.</p><br>
    /// - On success, responds with [`SendWhatsAppConversionEventOutput`](crate::operation::send_whats_app_conversion_event::SendWhatsAppConversionEventOutput) with field(s):
    ///   - [`request_id(String)`](crate::operation::send_whats_app_conversion_event::SendWhatsAppConversionEventOutput::request_id): <p>The unique identifier for the conversion event request.</p>
    /// - On failure, responds with [`SdkError<SendWhatsAppConversionEventError>`](crate::operation::send_whats_app_conversion_event::SendWhatsAppConversionEventError)
    pub fn send_whats_app_conversion_event(
        &self,
    ) -> crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder {
        crate::operation::send_whats_app_conversion_event::builders::SendWhatsAppConversionEventFluentBuilder::new(self.handle.clone())
    }
}