associate_whats_app_business_account
async
¶
associate_whats_app_business_account(
*,
config_overrides: Optional[AsyncSocialMessagingClientConfig] = None,
signup_callback: Optional[WhatsAppSignupCallback] = None,
setup_finalization: Optional[WhatsAppSetupFinalization] = None,
) -> AssociateWhatsAppBusinessAccountOutput
This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account to your Amazon Web Services account.
Parameters:
-
signup_callback(Optional[WhatsAppSignupCallback], default:None) –Contains the callback access token.
-
setup_finalization(Optional[WhatsAppSetupFinalization], default:None) –A JSON object that contains the phone numbers and WhatsApp Business Account to link to your account.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–The request contains an invalid parameter value.
-
DependencyException–Thrown when performing an action because a dependency would be broken.
-
InvalidParametersException–One or more parameters provided to the action are not valid.
-
LimitExceededException–The request was denied because it would exceed one or more service quotas or limits.
-
ThrottledRequestException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_socialmessaging/_services/async_social_messaging.py
428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 | |