:doc:`SecurityHub <../../securityhub>` / Client / list_aggregators_v2

*******************
list_aggregators_v2
*******************



.. py:method:: SecurityHub.Client.list_aggregators_v2(**kwargs)

  

  Retrieves a list of V2 aggregators.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListAggregatorsV2>`_  


  **Request Syntax**
  ::

    response = client.list_aggregators_v2(
        NextToken='string',
        MaxResults=123
    )
    
  :type NextToken: string
  :param NextToken: 

    The token required for pagination. On your first call, set the value of this parameter to ``NULL``. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return.

    

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

    
    ::

      {
          'AggregatorsV2': [
              {
                  'AggregatorV2Arn': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AggregatorsV2** *(list) --* 

        An array of aggregators.

        
        

        - *(dict) --* 

          Specifies a cross-Region data aggregation configuration, including the aggregation Region and any linked Regions.

          
          

          - **AggregatorV2Arn** *(string) --* 

            The ARN of the aggregatorV2.

            
      
    
      

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

        The pagination token to use to request the next page of results. Otherwise, this parameter is null.

        
  
  **Exceptions**
  
  *   :py:class:`SecurityHub.Client.exceptions.InternalServerException`

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

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

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

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

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

  