aws_sdk_socialmessaging/client/
put_whats_app_business_account_event_destinations.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 [`PutWhatsAppBusinessAccountEventDestinations`](crate::operation::put_whats_app_business_account_event_destinations::builders::PutWhatsAppBusinessAccountEventDestinationsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::put_whats_app_business_account_event_destinations::builders::PutWhatsAppBusinessAccountEventDestinationsFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::put_whats_app_business_account_event_destinations::builders::PutWhatsAppBusinessAccountEventDestinationsFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted as <code>waba-01234567890123456789012345678901</code>. Use <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_ListLinkedWhatsAppBusinessAccounts.html">ListLinkedWhatsAppBusinessAccounts</a> to list all WABAs and their details.</p><br>
7    ///   - [`event_destinations(WhatsAppBusinessAccountEventDestination)`](crate::operation::put_whats_app_business_account_event_destinations::builders::PutWhatsAppBusinessAccountEventDestinationsFluentBuilder::event_destinations) / [`set_event_destinations(Option<Vec::<WhatsAppBusinessAccountEventDestination>>)`](crate::operation::put_whats_app_business_account_event_destinations::builders::PutWhatsAppBusinessAccountEventDestinationsFluentBuilder::set_event_destinations):<br>required: **true**<br><p>An array of <code>WhatsAppBusinessAccountEventDestination</code> event destinations.</p><br>
8    /// - On success, responds with [`PutWhatsAppBusinessAccountEventDestinationsOutput`](crate::operation::put_whats_app_business_account_event_destinations::PutWhatsAppBusinessAccountEventDestinationsOutput)
9    /// - On failure, responds with [`SdkError<PutWhatsAppBusinessAccountEventDestinationsError>`](crate::operation::put_whats_app_business_account_event_destinations::PutWhatsAppBusinessAccountEventDestinationsError)
10    pub fn put_whats_app_business_account_event_destinations(
11        &self,
12    ) -> crate::operation::put_whats_app_business_account_event_destinations::builders::PutWhatsAppBusinessAccountEventDestinationsFluentBuilder {
13        crate::operation::put_whats_app_business_account_event_destinations::builders::PutWhatsAppBusinessAccountEventDestinationsFluentBuilder::new(
14            self.handle.clone(),
15        )
16    }
17}