:doc:`QuickSight <../../quicksight>` / Client / list_flows

**********
list_flows
**********



.. py:method:: QuickSight.Client.list_flows(**kwargs)

  

  Lists flows in an Amazon Web Services account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFlows>`_  


  **Request Syntax**
  ::

    response = client.list_flows(
        AwsAccountId='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID of the Amazon Web Services account that contains the flow list that you are getting.

    

  
  :type NextToken: string
  :param NextToken: 

    The token to request the next set of results, or null if you want to retrieve the first set.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to be returned per request.

    

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

    
    ::

      {
          'FlowSummaryList': [
              {
                  'Arn': 'string',
                  'FlowId': 'string',
                  'Name': 'string',
                  'Description': 'string',
                  'CreatedTime': datetime(2015, 1, 1),
                  'CreatedBy': 'string',
                  'LastUpdatedTime': datetime(2015, 1, 1),
                  'LastUpdatedBy': 'string',
                  'PublishState': 'PUBLISHED'|'DRAFT'|'PENDING_APPROVAL',
                  'RunCount': 123,
                  'UserCount': 123,
                  'LastPublishedBy': 'string',
                  'LastPublishedAt': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string',
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **FlowSummaryList** *(list) --* 

        A structure that contains all of the flows in your Amazon Web Services account. This structure provides basic information about the flows.

        
        

        - *(dict) --* 

          The basic information of the flow exluding its definition specifying the steps.

          
          

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

            The Amazon Resource Name (ARN) of the flow.

            
          

          - **FlowId** *(string) --* 

            The unique identifier of the flow.

            
          

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

            The display name of the flow.

            
          

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

            The description of the flow.

            
          

          - **CreatedTime** *(datetime) --* 

            The time this flow was created.

            
          

          - **CreatedBy** *(string) --* 

            The identifier of the principal who created the flow.

            
          

          - **LastUpdatedTime** *(datetime) --* 

            The last time this flow was modified.

            
          

          - **LastUpdatedBy** *(string) --* 

            The identifier of the last principal who updated the flow.

            
          

          - **PublishState** *(string) --* 

            The publish state for the flow. The valid values are ``DRAFT``, ``PUBLISHED``, or ``PENDING_APPROVAL``.

            
          

          - **RunCount** *(integer) --* 

            The number of runs done for the flow.

            
          

          - **UserCount** *(integer) --* 

            The number of users who have used the flow.

            
          

          - **LastPublishedBy** *(string) --* 

            The identifier of the last principal who published the flow.

            
          

          - **LastPublishedAt** *(datetime) --* 

            The last time this flow was published.

            
      
    
      

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

        The token for the next set of results, or null if there are no more results.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
  
  **Exceptions**
  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  