:doc:`ResourceExplorer <../../resource-explorer-2>` / Client / create_resource_explorer_setup

******************************
create_resource_explorer_setup
******************************



.. py:method:: ResourceExplorer.Client.create_resource_explorer_setup(**kwargs)

  

  Creates a Resource Explorer setup configuration across multiple Amazon Web Services Regions. This operation sets up indexes and views in the specified Regions. This operation can also be used to set an aggregator Region for cross-Region resource search.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/CreateResourceExplorerSetup>`_  


  **Request Syntax**
  ::

    response = client.create_resource_explorer_setup(
        RegionList=[
            'string',
        ],
        AggregatorRegions=[
            'string',
        ],
        ViewName='string'
    )
    
  :type RegionList: list
  :param RegionList: **[REQUIRED]** 

    A list of Amazon Web Services Regions where Resource Explorer should be configured. Each Region in the list will have a user-owned index created.

    

  
    - *(string) --* 

    

  :type AggregatorRegions: list
  :param AggregatorRegions: 

    A list of Amazon Web Services Regions that should be configured as aggregator Regions. Aggregator Regions receive replicated index information from all other Regions where there is a user-owned index.

    

  
    - *(string) --* 

    

  :type ViewName: string
  :param ViewName: **[REQUIRED]** 

    The name for the view to be created as part of the Resource Explorer setup. The view name must be unique within the Amazon Web Services account and Region.

    

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

    
    ::

      {
          'TaskId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TaskId** *(string) --* 

        The unique identifier for the setup task. Use this ID with ``GetResourceExplorerSetup`` to monitor the progress of the configuration operation.

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

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

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

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

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

  