Skip to content

Delete Index

opensearchservice_delete_index R Documentation

Deletes an OpenSearch index

Description

Deletes an OpenSearch index. This operation permanently removes the index and cannot be undone.

Usage

opensearchservice_delete_index(DomainName, IndexName)

Arguments

DomainName

[required] The name of an OpenSearch Service domain. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.

IndexName

[required] The name of the index to delete.

Value

A list with the following syntax:

list(
  Status = "CREATED"|"UPDATED"|"DELETED"
)

Request syntax

svc$delete_index(
  DomainName = "string",
  IndexName = "string"
)