create_resource_explorer_setup
¶
create_resource_explorer_setup(
region_list: RegionList,
view_name: str,
*,
config_overrides: Optional[ResourceExplorer2ClientConfig] = None,
aggregator_regions: Optional[RegionList] = None,
) -> CreateResourceExplorerSetupOutput
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.
Parameters:
-
region_list(RegionList) –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.
-
aggregator_regions(Optional[RegionList], default:None) –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.
-
view_name(str) –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.
Raises:
-
AccessDeniedException–The credentials that you used to call this operation don't have the minimum required permissions.
-
ConflictException–If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.
If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.
If you attempted to update an index type to
AGGREGATOR, then the request failed because you already have anAGGREGATORindex in a different Amazon Web Services Region. -
InternalServerException–The request failed because of internal service error. Try your request again later.
-
ThrottlingException–The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.
-
ValidationException–You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.
-
UnknownServiceError–The service returned an error code this client does not model.