:doc:`odb <../../odb>` / Client / list_gi_versions

****************
list_gi_versions
****************



.. py:method:: odb.Client.list_gi_versions(**kwargs)

  

  Returns information about Oracle Grid Infrastructure (GI) software versions that are available for a VM cluster for the specified shape.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/odb-2024-08-20/ListGiVersions>`_  


  **Request Syntax**
  ::

    response = client.list_gi_versions(
        maxResults=123,
        nextToken='string',
        shape='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

     

    Default: ``10``

    

  
  :type nextToken: string
  :param nextToken: 

    The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

    

  
  :type shape: string
  :param shape: 

    The shape to return GI versions for. For a list of valid shapes, use the ``ListDbSystemShapes`` operation..

    

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

    
    ::

      {
          'nextToken': 'string',
          'giVersions': [
              {
                  'version': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The token to include in another request to get the next page of items. This value is ``null`` when there are no more items to return.

        
      

      - **giVersions** *(list) --* 

        The list of GI versions and their properties.

        
        

        - *(dict) --* 

          Information about a specific version of Oracle Grid Infrastructure (GI) software that can be installed on a VM cluster.

          
          

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

            The GI software version.

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

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

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

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

  