delete_resource_explorer_setup
¶
delete_resource_explorer_setup(
*,
config_overrides: Optional[ResourceExplorer2ClientConfig] = None,
region_list: Optional[RegionList] = None,
delete_in_all_regions: Optional[bool] = None,
) -> DeleteResourceExplorerSetupOutput
Deletes a Resource Explorer setup configuration. This operation removes indexes and views from the specified Regions or all Regions where Resource Explorer is configured.
Parameters:
-
region_list(Optional[RegionList], default:None) –A list of Amazon Web Services Regions from which to delete the Resource Explorer configuration. If not specified, the operation uses the
DeleteInAllRegionsparameter to determine scope. -
delete_in_all_regions(Optional[bool], default:None) –Specifies whether to delete Resource Explorer configuration from all Regions where it is currently enabled. If this parameter is set to
true, a value forRegionListmust not be provided. Otherwise, the operation fails with aValidationExceptionerror.
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.