aws_sdk_socialmessaging/client/
disassociate_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 [`DisassociateWhatsAppBusinessAccount`](crate::operation::disassociate_whats_app_business_account::builders::DisassociateWhatsAppBusinessAccountFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::disassociate_whats_app_business_account::builders::DisassociateWhatsAppBusinessAccountFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::disassociate_whats_app_business_account::builders::DisassociateWhatsAppBusinessAccountFluentBuilder::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    /// - On success, responds with [`DisassociateWhatsAppBusinessAccountOutput`](crate::operation::disassociate_whats_app_business_account::DisassociateWhatsAppBusinessAccountOutput)
8    /// - On failure, responds with [`SdkError<DisassociateWhatsAppBusinessAccountError>`](crate::operation::disassociate_whats_app_business_account::DisassociateWhatsAppBusinessAccountError)
9    pub fn disassociate_whats_app_business_account(
10        &self,
11    ) -> crate::operation::disassociate_whats_app_business_account::builders::DisassociateWhatsAppBusinessAccountFluentBuilder {
12        crate::operation::disassociate_whats_app_business_account::builders::DisassociateWhatsAppBusinessAccountFluentBuilder::new(
13            self.handle.clone(),
14        )
15    }
16}