:doc:`Transfer <../../transfer>` / Client / list_workflows

**************
list_workflows
**************



.. py:method:: Transfer.Client.list_workflows(**kwargs)

  

  Lists all workflows associated with your Amazon Web Services account for your current region.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListWorkflows>`_  


  **Request Syntax**
  ::

    response = client.list_workflows(
        MaxResults=123,
        NextToken='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of items to return.

    

  
  :type NextToken: string
  :param NextToken: 

    ``ListWorkflows`` returns the ``NextToken`` parameter in the output. You can then pass the ``NextToken`` parameter in a subsequent command to continue listing additional workflows.

    

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

    
    ::

      {
          'NextToken': 'string',
          'Workflows': [
              {
                  'WorkflowId': 'string',
                  'Description': 'string',
                  'Arn': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        ``ListWorkflows`` returns the ``NextToken`` parameter in the output. You can then pass the ``NextToken`` parameter in a subsequent command to continue listing additional workflows.

        
      

      - **Workflows** *(list) --* 

        Returns the ``Arn``, ``WorkflowId``, and ``Description`` for each workflow.

        
        

        - *(dict) --* 

          Contains the identifier, text description, and Amazon Resource Name (ARN) for the workflow.

          
          

          - **WorkflowId** *(string) --* 

            A unique identifier for the workflow.

            
          

          - **Description** *(string) --* 

            Specifies the text description for the workflow.

            
          

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

            Specifies the unique Amazon Resource Name (ARN) for the workflow.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Transfer.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Transfer.Client.exceptions.InternalServiceError`

  
  *   :py:class:`Transfer.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Transfer.Client.exceptions.InvalidNextTokenException`

  