:doc:`AIOps <../../aiops>` / Client / list_investigation_groups

*************************
list_investigation_groups
*************************



.. py:method:: AIOps.Client.list_investigation_groups(**kwargs)

  

  Returns the ARN and name of each investigation group in the account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ListInvestigationGroups>`_  


  **Request Syntax**
  ::

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

    Include this value, if it was returned by the previous operation, to get the next set of service operations.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.

    

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

    
    ::

      {
          'nextToken': 'string',
          'investigationGroups': [
              {
                  'arn': 'string',
                  'name': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        Include this value in your next use of this operation to get the next set of service operations.

        
      

      - **investigationGroups** *(list) --* 

        An array of structures, where each structure contains the information about one investigation group in the account.

        
        

        - *(dict) --* 

          This structure contains information about one investigation group in the account.

          
          

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

            The Amazon Resource Name (ARN) of the investigation group.

            
          

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

            The name of the investigation group.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`AIOps.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`AIOps.Client.exceptions.ForbiddenException`

  
  *   :py:class:`AIOps.Client.exceptions.ThrottlingException`

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

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

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

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

  