:doc:`Connect <../../connect>` / Client / update_contact_flow_module_content

**********************************
update_contact_flow_module_content
**********************************



.. py:method:: Connect.Client.update_contact_flow_module_content(**kwargs)

  

  Updates specified flow module for the specified Amazon Connect instance.

   

  Use the ``$SAVED`` alias in the request to describe the ``SAVED`` content of a Flow. For example, ``arn:aws:.../contact-flow/{id}:$SAVED``. After a flow is published, ``$SAVED`` needs to be supplied to view saved content that has not been published.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleContent>`_  


  **Request Syntax**
  ::

    response = client.update_contact_flow_module_content(
        InstanceId='string',
        ContactFlowModuleId='string',
        Content='string',
        Settings='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type ContactFlowModuleId: string
  :param ContactFlowModuleId: **[REQUIRED]** 

    The identifier of the flow module.

    

  
  :type Content: string
  :param Content: 

    The JSON string that represents the content of the flow. For an example, see `Example flow in Amazon Connect Flow language <https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html>`__.

    

  
  :type Settings: string
  :param Settings: 

    Serialized JSON string of the flow module Settings schema.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidContactFlowModuleException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  