:doc:`AgentsforBedrock <../../bedrock-agent>` / Client / list_flow_versions

******************
list_flow_versions
******************



.. py:method:: AgentsforBedrock.Client.list_flow_versions(**kwargs)

  

  Returns a list of information about each flow. For more information, see `Deploy a flow in Amazon Bedrock <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html>`__ in the Amazon Bedrock User Guide.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListFlowVersions>`_  


  **Request Syntax**
  ::

    response = client.list_flow_versions(
        flowIdentifier='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type flowIdentifier: string
  :param flowIdentifier: **[REQUIRED]** 

    The unique identifier of the flow.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the ``nextToken`` field when making another request to return the next batch of results.

    

  
  :type nextToken: string
  :param nextToken: 

    If the total number of results is greater than the ``maxResults`` value provided in the request, enter the token returned in the ``nextToken`` field in the response in this field to return the next batch of results.

    

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

    
    ::

      {
          'flowVersionSummaries': [
              {
                  'id': 'string',
                  'arn': 'string',
                  'status': 'Failed'|'Prepared'|'Preparing'|'NotPrepared',
                  'createdAt': datetime(2015, 1, 1),
                  'version': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **flowVersionSummaries** *(list) --* 

        A list, each member of which contains information about a flow.

        
        

        - *(dict) --* 

          Contains information about a version of a flow.

           

          This data type is used in the following API operations:

           

          
          * `ListFlowVersions response <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowVersions.html#API_agent_ListFlowVersions_ResponseSyntax>`__
          

          
          

          - **id** *(string) --* 

            The unique identifier of the flow.

            
          

          - **arn** *(string) --* 

            The Amazon Resource Name (ARN) of the flow that the version belongs to.

            
          

          - **status** *(string) --* 

            The status of the flow.

            
          

          - **createdAt** *(datetime) --* 

            The time at the version was created.

            
          

          - **version** *(string) --* 

            The version of the flow.

            
      
    
      

      - **nextToken** *(string) --* 

        If the total number of results is greater than the ``maxResults`` value provided in the request, use this token when making another request in the ``nextToken`` field to return the next batch of results.

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

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

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.InternalServerException`

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

  