EndUserMessagingSocial / Client / deprecate_whatsapp_flow
deprecate_whatsapp_flow¶
- EndUserMessagingSocial.Client.deprecate_whatsapp_flow(**kwargs)¶
Deprecates a published WhatsApp Flow, marking it as no longer recommended for use. The Flow must be in PUBLISHED status. This is an irreversible operation.
See also: AWS API Documentation
Request Syntax
response = client.deprecate_whatsapp_flow( id='string', flowId='string' )
- Parameters:
id (string) –
[REQUIRED]
The ID of the WhatsApp Business Account associated with this Flow.
flowId (string) –
[REQUIRED]
The unique identifier of the Flow to deprecate.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
EndUserMessagingSocial.Client.exceptions.ValidationExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedExceptionEndUserMessagingSocial.Client.exceptions.ResourceNotFoundExceptionEndUserMessagingSocial.Client.exceptions.InvalidParametersExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedByMetaExceptionEndUserMessagingSocial.Client.exceptions.ThrottledRequestExceptionEndUserMessagingSocial.Client.exceptions.InternalServiceExceptionEndUserMessagingSocial.Client.exceptions.DependencyException