:doc:`ivsrealtime <../../ivs-realtime>` / Client / list_stages

***********
list_stages
***********



.. py:method:: ivsrealtime.Client.list_stages(**kwargs)

  

  Gets summary information about all stages in your account, in the AWS region where the API request is processed.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStages>`_  


  **Request Syntax**
  ::

    response = client.list_stages(
        nextToken='string',
        maxResults=123
    )
    
  :type nextToken: string
  :param nextToken: 

    The first stage to retrieve. This is used for pagination; see the ``nextToken`` response field.

    

  
  :type maxResults: integer
  :param maxResults: 

    Maximum number of results to return. Default: 50.

    

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

    
    ::

      {
          'stages': [
              {
                  'arn': 'string',
                  'name': 'string',
                  'activeSessionId': 'string',
                  'tags': {
                      'string': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **stages** *(list) --* 

        List of the matching stages (summary information only).

        
        

        - *(dict) --* 

          Summary information about a stage.

          
          

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

            Stage ARN.

            
          

          - **name** *(string) --* 

            Stage name.

            
          

          - **activeSessionId** *(string) --* 

            ID of the active session within the stage.

            
          

          - **tags** *(dict) --* 

            Tags attached to the resource. Array of maps, each of the form ``string:string (key:value)``. See `Best practices and strategies <https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html>`__ in *Tagging AWS Resources and Tag Editor* for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
    
      

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

        If there are more stages than ``maxResults``, use ``nextToken`` in the request to get the next set.

        
  
  **Exceptions**
  
  *   :py:class:`ivsrealtime.Client.exceptions.ValidationException`

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

  
  *   :py:class:`ivsrealtime.Client.exceptions.ConflictException`

  