ResourceExplorer / Client / create_resource_explorer_setup

create_resource_explorer_setup

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

Request Syntax

response = client.create_resource_explorer_setup(
    RegionList=[
        'string',
    ],
    AggregatorRegions=[
        'string',
    ],
    ViewName='string'
)
Parameters:
  • RegionList (list) –

    [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) –

  • AggregatorRegions (list) –

    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) –

  • ViewName (string) –

    [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.

Return type:

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

  • ResourceExplorer.Client.exceptions.InternalServerException

  • ResourceExplorer.Client.exceptions.ValidationException

  • ResourceExplorer.Client.exceptions.ConflictException

  • ResourceExplorer.Client.exceptions.ThrottlingException

  • ResourceExplorer.Client.exceptions.AccessDeniedException