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

**********************************
create_contact_flow_module_version
**********************************



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

  

  Creates an immutable snapshot of a contact flow module, preserving its content and settings at a specific point in time for version control and rollback capabilities.

  

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


  **Request Syntax**
  ::

    response = client.create_contact_flow_module_version(
        InstanceId='string',
        Description='string',
        ContactFlowModuleId='string',
        FlowModuleContentSha256='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 Description: string
  :param Description: 

    The description of the flow module version.

    

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

    The identifier of the flow module.

    

  
  :type FlowModuleContentSha256: string
  :param FlowModuleContentSha256: 

    Indicates the checksum value of the flow module content.

    

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

    
    ::

      {
          'ContactFlowModuleArn': 'string',
          'Version': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ContactFlowModuleArn** *(string) --* 

        The Amazon Resource Name (ARN) of the flow module.

        
      

      - **Version** *(integer) --* 

        The version of the flow module.

        
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

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

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

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

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

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

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

  