update_linked_whats_app_business_account_phone_number
async
¶
update_linked_whats_app_business_account_phone_number(
id: WhatsAppPhoneNumberId,
call_settings: WhatsAppCallSettings,
*,
config_overrides: Optional[AsyncSocialMessagingClientConfig] = None,
) -> UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput
Updates the calling settings for a linked WhatsApp business phone number, such as whether calling is enabled and the hours during which the business accepts calls.
Parameters:
-
id(WhatsAppPhoneNumberId) –The unique identifier of the phone number to update. The phone number identifiers are formatted as
phone-number-id-01234567890123456789012345678901. -
call_settings(WhatsAppCallSettings) –The calling settings to apply to the phone number.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–The request contains an invalid parameter value.
-
AccessDeniedByMetaException–You do not have sufficient access to perform this action.
-
DependencyException–Thrown when performing an action because a dependency would be broken.
-
InternalServiceException–The request processing has failed because of an unknown error, exception, or failure.
-
InvalidParametersException–One or more parameters provided to the action are not valid.
-
ResourceNotFoundException–The resource was not found.
-
ThrottledRequestException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.