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

********************************
create_contact_flow_module_alias
********************************



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

  

  Creates a named alias that points to a specific version of a contact flow module.

  

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


  **Request Syntax**
  ::

    response = client.create_contact_flow_module_alias(
        InstanceId='string',
        Description='string',
        ContactFlowModuleId='string',
        ContactFlowModuleVersion=123,
        AliasName='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 alias.

    

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

    The identifier of the flow module.

    

  
  :type ContactFlowModuleVersion: integer
  :param ContactFlowModuleVersion: **[REQUIRED]** 

    The version of the flow module.

    

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

    The name of the alias.

    

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

    
    ::

      {
          'ContactFlowModuleArn': 'string',
          'Id': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

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

        
      

      - **Id** *(string) --* 

        The identifier of the alias.

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

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

  
  *   :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`

  