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

*************************
list_contact_flow_modules
*************************



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

  

  Provides information about the flow modules for the specified Amazon Connect instance.

  

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


  **Request Syntax**
  ::

    response = client.list_contact_flow_modules(
        InstanceId='string',
        NextToken='string',
        MaxResults=123,
        ContactFlowModuleState='ACTIVE'|'ARCHIVED'
    )
    
  :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 NextToken: string
  :param NextToken: 

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return per page.

    

  
  :type ContactFlowModuleState: string
  :param ContactFlowModuleState: 

    The state of the flow module.

    

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

    
    ::

      {
          'ContactFlowModulesSummaryList': [
              {
                  'Id': 'string',
                  'Arn': 'string',
                  'Name': 'string',
                  'State': 'ACTIVE'|'ARCHIVED'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ContactFlowModulesSummaryList** *(list) --* 

        Information about the flow module.

        
        

        - *(dict) --* 

          Contains summary information about a flow.

          
          

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

            The identifier of the flow module.

            
          

          - **Arn** *(string) --* 

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

            
          

          - **Name** *(string) --* 

            The name of the flow module.

            
          

          - **State** *(string) --* 

            The type of flow module.

            
      
    
      

      - **NextToken** *(string) --* 

        If there are additional results, this is the token for the next set of results.

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

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

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

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

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

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

  