delete_index
async
¶
delete_index(
domain_name: DomainName,
index_name: IndexName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
) -> DeleteIndexResponse
Deletes an OpenSearch index. This operation permanently removes the index and cannot be undone.
Parameters:
-
index_name(IndexName) –The name of the index to delete.
Raises:
-
AccessDeniedException–An error occurred because you don't have permissions to access the resource.
-
DependencyFailureException–An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling. Reduce the frequency of your requests and try again.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.