Skip to content

Returns the name of all Elasticsearch domains owned by the current user's account

Description

Returns the name of all Elasticsearch domains owned by the current user's account.

Usage

elasticsearchservice_list_domain_names(EngineType)

Arguments

  • EngineType

    Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.

Value

A list with the following syntax:

list(
  DomainNames = list(
    list(
      DomainName = "string",
      EngineType = "OpenSearch"|"Elasticsearch"
    )
  )
)

Request syntax

svc$list_domain_names(
  EngineType = "OpenSearch"|"Elasticsearch"
)