deprecate_whats_app_flow
async
¶
deprecate_whats_app_flow(
id: LinkedWhatsAppBusinessAccountId,
flow_id: MetaFlowId,
*,
config_overrides: Optional[AsyncSocialMessagingClientConfig] = None,
) -> DeprecateWhatsAppFlowOutput
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.
Parameters:
-
id(LinkedWhatsAppBusinessAccountId) –The ID of the WhatsApp Business Account associated with this Flow.
-
flow_id(MetaFlowId) –The unique identifier of the Flow to deprecate.
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.