aws_sdk_socialmessaging/client/
get_linked_whats_app_business_account.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 [`GetLinkedWhatsAppBusinessAccount`](crate::operation::get_linked_whats_app_business_account::builders::GetLinkedWhatsAppBusinessAccountFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_linked_whats_app_business_account::builders::GetLinkedWhatsAppBusinessAccountFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_linked_whats_app_business_account::builders::GetLinkedWhatsAppBusinessAccountFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier, from Amazon Web Services, of the linked 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    /// - On success, responds with [`GetLinkedWhatsAppBusinessAccountOutput`](crate::operation::get_linked_whats_app_business_account::GetLinkedWhatsAppBusinessAccountOutput) with field(s):
8    ///   - [`account(Option<LinkedWhatsAppBusinessAccount>)`](crate::operation::get_linked_whats_app_business_account::GetLinkedWhatsAppBusinessAccountOutput::account): <p>The details of the linked WhatsApp Business Account.</p>
9    /// - On failure, responds with [`SdkError<GetLinkedWhatsAppBusinessAccountError>`](crate::operation::get_linked_whats_app_business_account::GetLinkedWhatsAppBusinessAccountError)
10    pub fn get_linked_whats_app_business_account(
11        &self,
12    ) -> crate::operation::get_linked_whats_app_business_account::builders::GetLinkedWhatsAppBusinessAccountFluentBuilder {
13        crate::operation::get_linked_whats_app_business_account::builders::GetLinkedWhatsAppBusinessAccountFluentBuilder::new(self.handle.clone())
14    }
15}