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

********************
create_aggregator_v2
********************



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

  

  Enables aggregation across Amazon Web Services Regions.

  

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


  **Request Syntax**
  ::

    response = client.create_aggregator_v2(
        RegionLinkingMode='string',
        LinkedRegions=[
            'string',
        ],
        Tags={
            'string': 'string'
        },
        ClientToken='string'
    )
    
  :type RegionLinkingMode: string
  :param RegionLinkingMode: **[REQUIRED]** 

    Determines how Regions are linked to an Aggregator V2.

    

  
  :type LinkedRegions: list
  :param LinkedRegions: 

    The list of Regions that are linked to the aggregation Region.

    

  
    - *(string) --* 

    

  :type Tags: dict
  :param Tags: 

    A list of key-value pairs to be applied to the AggregatorV2.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type ClientToken: string
  :param ClientToken: 

    A unique identifier used to ensure idempotency.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'AggregatorV2Arn': 'string',
          'AggregationRegion': 'string',
          'RegionLinkingMode': 'string',
          'LinkedRegions': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ARN of the AggregatorV2.

        
      

      - **AggregationRegion** *(string) --* 

        The Amazon Web Services Region where data is aggregated.

        
      

      - **RegionLinkingMode** *(string) --* 

        Determines how Regions are linked to an Aggregator V2.

        
      

      - **LinkedRegions** *(list) --* 

        The list of Regions that are linked to the aggregation Region.

        
        

        - *(string) --* 
    
  
  **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`

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

  