update_whats_app_flow_assets
¶
update_whats_app_flow_assets(
id: LinkedWhatsAppBusinessAccountId,
flow_id: MetaFlowId,
flow_json: MetaFlowJsonBlob,
*,
config_overrides: Optional[SocialMessagingClientConfig] = None,
) -> UpdateWhatsAppFlowAssetsOutput
Updates the Flow JSON definition (assets) of a WhatsApp Flow. Updating a published Flow's assets reverts it to DRAFT status, requiring re-publishing.
Parameters:
-
id(LinkedWhatsAppBusinessAccountId) –The ID of the WhatsApp Business Account associated with this Flow.
-
flow_id(MetaFlowId) –The unique identifier of the Flow whose assets to update.
-
flow_json(MetaFlowJsonBlob) –The updated Flow JSON definition. Maximum size is 10 MB.
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.