update_whats_app_flow
async
¶
update_whats_app_flow(
id: LinkedWhatsAppBusinessAccountId,
flow_id: MetaFlowId,
*,
config_overrides: Optional[AsyncSocialMessagingClientConfig] = None,
flow_name: Optional[MetaFlowName] = None,
categories: Optional[MetaFlowCategoryList] = None,
endpoint_uri: Optional[MetaFlowEndpointUri] = None,
meta_app_id: Optional[MetaFlowApplicationId] = None,
) -> UpdateWhatsAppFlowOutput
Updates the metadata of a WhatsApp Flow, such as its name or categories. This does not update the Flow JSON definition. Use UpdateWhatsAppFlowAssets to update the Flow JSON.
Parameters:
-
id(LinkedWhatsAppBusinessAccountId) –The ID of the WhatsApp Business Account associated with this Flow.
-
flow_id(MetaFlowId) –The unique identifier of the Flow to update.
-
flow_name(Optional[MetaFlowName], default:None) –The updated name for the Flow.
-
categories(Optional[MetaFlowCategoryList], default:None) –The updated categories for the Flow.
-
endpoint_uri(Optional[MetaFlowEndpointUri], default:None) –The updated HTTPS endpoint for a data exchange Flow.
-
meta_app_id(Optional[MetaFlowApplicationId], default:None) –The ID of the Meta application to attach to the Flow.
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.